diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/CHANGELOG.md b/sdk/containerregistry/azure-mgmt-containerregistry/CHANGELOG.md index af44bb8d3558..be5d61ad6a3b 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/CHANGELOG.md +++ b/sdk/containerregistry/azure-mgmt-containerregistry/CHANGELOG.md @@ -1,5 +1,18 @@ # Release History +## 3.0.0rc13(2020-05-15) + +**Features** + + - Model Replication has a new parameter region_endpoint_enabled + - Model ReplicationUpdateParameters has a new parameter region_endpoint_enabled + +**Breaking changes** + + - Operation ReplicationsOperations.create has a new signature + - Operation ReplicationsOperations.update has a new signature + - Operation ReplicationsOperations.create has a new signature + ## 3.0.0rc12(2020-05-06) **Features** diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_models.py b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_models.py index b1c8ea6d4522..4c5cd5fc0c82 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_models.py +++ b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_models.py @@ -3187,6 +3187,11 @@ class Replication(Resource): called. :vartype status: ~azure.mgmt.containerregistry.v2019_12_01_preview.models.Status + :param region_endpoint_enabled: Specifies whether the replication's + regional endpoint is enabled. Requests will not be routed to a replication + whose regional endpoint is disabled, however its data will continue to be + synced with other replications. Default value: True . + :type region_endpoint_enabled: bool """ _validation = { @@ -3206,12 +3211,14 @@ class Replication(Resource): 'tags': {'key': 'tags', 'type': '{str}'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'status': {'key': 'properties.status', 'type': 'Status'}, + 'region_endpoint_enabled': {'key': 'properties.regionEndpointEnabled', 'type': 'bool'}, } def __init__(self, **kwargs): super(Replication, self).__init__(**kwargs) self.provisioning_state = None self.status = None + self.region_endpoint_enabled = kwargs.get('region_endpoint_enabled', True) class ReplicationUpdateParameters(Model): @@ -3219,15 +3226,22 @@ class ReplicationUpdateParameters(Model): :param tags: The tags for the replication. :type tags: dict[str, str] + :param region_endpoint_enabled: Specifies whether the replication's + regional endpoint is enabled. Requests will not be routed to a replication + whose regional endpoint is disabled, however its data will continue to be + synced with other replications. + :type region_endpoint_enabled: bool """ _attribute_map = { 'tags': {'key': 'tags', 'type': '{str}'}, + 'region_endpoint_enabled': {'key': 'properties.regionEndpointEnabled', 'type': 'bool'}, } def __init__(self, **kwargs): super(ReplicationUpdateParameters, self).__init__(**kwargs) self.tags = kwargs.get('tags', None) + self.region_endpoint_enabled = kwargs.get('region_endpoint_enabled', None) class Request(Model): diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_models_py3.py b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_models_py3.py index d2d25b9f342c..e7513de90501 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_models_py3.py +++ b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_models_py3.py @@ -3187,6 +3187,11 @@ class Replication(Resource): called. :vartype status: ~azure.mgmt.containerregistry.v2019_12_01_preview.models.Status + :param region_endpoint_enabled: Specifies whether the replication's + regional endpoint is enabled. Requests will not be routed to a replication + whose regional endpoint is disabled, however its data will continue to be + synced with other replications. Default value: True . + :type region_endpoint_enabled: bool """ _validation = { @@ -3206,12 +3211,14 @@ class Replication(Resource): 'tags': {'key': 'tags', 'type': '{str}'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'status': {'key': 'properties.status', 'type': 'Status'}, + 'region_endpoint_enabled': {'key': 'properties.regionEndpointEnabled', 'type': 'bool'}, } - def __init__(self, *, location: str, tags=None, **kwargs) -> None: + def __init__(self, *, location: str, tags=None, region_endpoint_enabled: bool=True, **kwargs) -> None: super(Replication, self).__init__(location=location, tags=tags, **kwargs) self.provisioning_state = None self.status = None + self.region_endpoint_enabled = region_endpoint_enabled class ReplicationUpdateParameters(Model): @@ -3219,15 +3226,22 @@ class ReplicationUpdateParameters(Model): :param tags: The tags for the replication. :type tags: dict[str, str] + :param region_endpoint_enabled: Specifies whether the replication's + regional endpoint is enabled. Requests will not be routed to a replication + whose regional endpoint is disabled, however its data will continue to be + synced with other replications. + :type region_endpoint_enabled: bool """ _attribute_map = { 'tags': {'key': 'tags', 'type': '{str}'}, + 'region_endpoint_enabled': {'key': 'properties.regionEndpointEnabled', 'type': 'bool'}, } - def __init__(self, *, tags=None, **kwargs) -> None: + def __init__(self, *, tags=None, region_endpoint_enabled: bool=None, **kwargs) -> None: super(ReplicationUpdateParameters, self).__init__(**kwargs) self.tags = tags + self.region_endpoint_enabled = region_endpoint_enabled class Request(Model): diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/operations/_replications_operations.py b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/operations/_replications_operations.py index 70906d859d57..ecbea2de5d15 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/operations/_replications_operations.py +++ b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/operations/_replications_operations.py @@ -109,9 +109,7 @@ def get( def _create_initial( - self, resource_group_name, registry_name, replication_name, location, tags=None, custom_headers=None, raw=False, **operation_config): - replication = models.Replication(location=location, tags=tags) - + self, resource_group_name, registry_name, replication_name, replication, custom_headers=None, raw=False, **operation_config): # Construct URL url = self.create.metadata['url'] path_format_arguments = { @@ -163,7 +161,7 @@ def _create_initial( return deserialized def create( - self, resource_group_name, registry_name, replication_name, location, tags=None, custom_headers=None, raw=False, polling=True, **operation_config): + self, resource_group_name, registry_name, replication_name, replication, custom_headers=None, raw=False, polling=True, **operation_config): """Creates a replication for a container registry with the specified parameters. @@ -174,11 +172,9 @@ def create( :type registry_name: str :param replication_name: The name of the replication. :type replication_name: str - :param location: The location of the resource. This cannot be changed - after the resource is created. - :type location: str - :param tags: The tags of the resource. - :type tags: dict[str, str] + :param replication: The parameters for creating a replication. + :type replication: + ~azure.mgmt.containerregistry.v2019_12_01_preview.models.Replication :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -196,8 +192,7 @@ def create( resource_group_name=resource_group_name, registry_name=registry_name, replication_name=replication_name, - location=location, - tags=tags, + replication=replication, custom_headers=custom_headers, raw=True, **operation_config @@ -307,8 +302,8 @@ def get_long_running_output(response): def _update_initial( - self, resource_group_name, registry_name, replication_name, tags=None, custom_headers=None, raw=False, **operation_config): - replication_update_parameters = models.ReplicationUpdateParameters(tags=tags) + self, resource_group_name, registry_name, replication_name, tags=None, region_endpoint_enabled=None, custom_headers=None, raw=False, **operation_config): + replication_update_parameters = models.ReplicationUpdateParameters(tags=tags, region_endpoint_enabled=region_endpoint_enabled) # Construct URL url = self.update.metadata['url'] @@ -361,7 +356,7 @@ def _update_initial( return deserialized def update( - self, resource_group_name, registry_name, replication_name, tags=None, custom_headers=None, raw=False, polling=True, **operation_config): + self, resource_group_name, registry_name, replication_name, tags=None, region_endpoint_enabled=None, custom_headers=None, raw=False, polling=True, **operation_config): """Updates a replication for a container registry with the specified parameters. @@ -374,6 +369,11 @@ def update( :type replication_name: str :param tags: The tags for the replication. :type tags: dict[str, str] + :param region_endpoint_enabled: Specifies whether the replication's + regional endpoint is enabled. Requests will not be routed to a + replication whose regional endpoint is disabled, however its data will + continue to be synced with other replications. + :type region_endpoint_enabled: bool :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -392,6 +392,7 @@ def update( registry_name=registry_name, replication_name=replication_name, tags=tags, + region_endpoint_enabled=region_endpoint_enabled, custom_headers=custom_headers, raw=True, **operation_config diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/version.py b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/version.py index 9c57948fc4f2..72054155775a 100755 --- a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/version.py +++ b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/version.py @@ -9,4 +9,4 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "3.0.0rc12" +VERSION = "3.0.0rc13" diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry.test_managed_registry.yaml b/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry.test_managed_registry.yaml index 928888cf0865..1dca86c4bd4c 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry.test_managed_registry.yaml +++ b/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry.test_managed_registry.yaml @@ -13,8 +13,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: POST @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:57:10 GMT + - Fri, 15 May 2020 13:01:04 GMT expires: - '-1' pragma: @@ -63,24 +63,24 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_managed_registryfe331462/providers/Microsoft.ContainerRegistry/registries/pyacrfe331462?api-version=2019-05-01 response: body: - string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_managed_registryfe331462/providers/Microsoft.ContainerRegistry/registries/pyacrfe331462","name":"pyacrfe331462","location":"westcentralus","tags":{},"properties":{"loginServer":"pyacrfe331462.azurecr.io","creationDate":"2020-05-06T07:57:17.124468Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]},"policies":{"quarantinePolicy":{"status":"disabled"},"trustPolicy":{"type":"Notary","status":"disabled"},"retentionPolicy":{"days":7,"lastUpdatedTime":"2020-05-06T07:57:18.0193386+00:00","status":"disabled"}}}}' + string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_managed_registryfe331462/providers/Microsoft.ContainerRegistry/registries/pyacrfe331462","name":"pyacrfe331462","location":"westcentralus","tags":{},"properties":{"loginServer":"pyacrfe331462.azurecr.io","creationDate":"2020-05-15T13:01:10.7332924Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]},"policies":{"quarantinePolicy":{"status":"disabled"},"trustPolicy":{"type":"Notary","status":"disabled"},"retentionPolicy":{"days":7,"lastUpdatedTime":"2020-05-15T13:01:11.6853282+00:00","status":"disabled"}}}}' headers: cache-control: - no-cache content-length: - - '794' + - '795' content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:57:19 GMT + - Fri, 15 May 2020 13:01:12 GMT expires: - '-1' pragma: @@ -96,7 +96,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1199' status: code: 200 message: OK @@ -110,24 +110,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_managed_registryfe331462/providers/Microsoft.ContainerRegistry/registries?api-version=2019-05-01 response: body: - string: '{"value":[{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_managed_registryfe331462/providers/Microsoft.ContainerRegistry/registries/pyacrfe331462","name":"pyacrfe331462","location":"westcentralus","tags":{},"properties":{"loginServer":"pyacrfe331462.azurecr.io","creationDate":"2020-05-06T07:57:17.124468Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]},"policies":{"quarantinePolicy":{"status":"disabled"},"trustPolicy":{"type":"Notary","status":"disabled"},"retentionPolicy":{"days":7,"lastUpdatedTime":"2020-05-06T07:57:18.0193386+00:00","status":"disabled"}}}}]}' + string: '{"value":[{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_managed_registryfe331462/providers/Microsoft.ContainerRegistry/registries/pyacrfe331462","name":"pyacrfe331462","location":"westcentralus","tags":{},"properties":{"loginServer":"pyacrfe331462.azurecr.io","creationDate":"2020-05-15T13:01:10.7332924Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]},"policies":{"quarantinePolicy":{"status":"disabled"},"trustPolicy":{"type":"Notary","status":"disabled"},"retentionPolicy":{"days":7,"lastUpdatedTime":"2020-05-15T13:01:11.6853282+00:00","status":"disabled"}}}}]}' headers: cache-control: - no-cache content-length: - - '806' + - '807' content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:57:19 GMT + - Fri, 15 May 2020 13:01:13 GMT expires: - '-1' pragma: @@ -159,24 +159,24 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_managed_registryfe331462/providers/Microsoft.ContainerRegistry/registries/pyacrfe331462?api-version=2019-05-01 response: body: - string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_managed_registryfe331462/providers/Microsoft.ContainerRegistry/registries/pyacrfe331462","name":"pyacrfe331462","location":"westcentralus","tags":{"key":"value"},"properties":{"loginServer":"pyacrfe331462.azurecr.io","creationDate":"2020-05-06T07:57:17.124468Z","provisioningState":"Succeeded","adminUserEnabled":true,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]},"policies":{"quarantinePolicy":{"status":"disabled"},"trustPolicy":{"type":"Notary","status":"disabled"},"retentionPolicy":{"days":7,"lastUpdatedTime":"2020-05-06T07:57:18.0193386+00:00","status":"disabled"}}}}' + string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_managed_registryfe331462/providers/Microsoft.ContainerRegistry/registries/pyacrfe331462","name":"pyacrfe331462","location":"westcentralus","tags":{"key":"value"},"properties":{"loginServer":"pyacrfe331462.azurecr.io","creationDate":"2020-05-15T13:01:10.7332924Z","provisioningState":"Succeeded","adminUserEnabled":true,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]},"policies":{"quarantinePolicy":{"status":"disabled"},"trustPolicy":{"type":"Notary","status":"disabled"},"retentionPolicy":{"days":7,"lastUpdatedTime":"2020-05-15T13:01:11.6853282+00:00","status":"disabled"}}}}' headers: cache-control: - no-cache content-length: - - '806' + - '807' content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:57:22 GMT + - Fri, 15 May 2020 13:01:15 GMT expires: - '-1' pragma: @@ -192,7 +192,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1198' status: code: 200 message: OK @@ -206,24 +206,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_managed_registryfe331462/providers/Microsoft.ContainerRegistry/registries/pyacrfe331462?api-version=2019-05-01 response: body: - string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_managed_registryfe331462/providers/Microsoft.ContainerRegistry/registries/pyacrfe331462","name":"pyacrfe331462","location":"westcentralus","tags":{"key":"value"},"properties":{"loginServer":"pyacrfe331462.azurecr.io","creationDate":"2020-05-06T07:57:17.124468Z","provisioningState":"Succeeded","adminUserEnabled":true,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]},"policies":{"quarantinePolicy":{"status":"disabled"},"trustPolicy":{"type":"Notary","status":"disabled"},"retentionPolicy":{"days":7,"lastUpdatedTime":"2020-05-06T07:57:18.0193386+00:00","status":"disabled"}}}}' + string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_managed_registryfe331462/providers/Microsoft.ContainerRegistry/registries/pyacrfe331462","name":"pyacrfe331462","location":"westcentralus","tags":{"key":"value"},"properties":{"loginServer":"pyacrfe331462.azurecr.io","creationDate":"2020-05-15T13:01:10.7332924Z","provisioningState":"Succeeded","adminUserEnabled":true,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]},"policies":{"quarantinePolicy":{"status":"disabled"},"trustPolicy":{"type":"Notary","status":"disabled"},"retentionPolicy":{"days":7,"lastUpdatedTime":"2020-05-15T13:01:11.6853282+00:00","status":"disabled"}}}}' headers: cache-control: - no-cache content-length: - - '806' + - '807' content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:57:22 GMT + - Fri, 15 May 2020 13:01:15 GMT expires: - '-1' pragma: @@ -253,15 +253,15 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_managed_registryfe331462/providers/Microsoft.ContainerRegistry/registries/pyacrfe331462/listCredentials?api-version=2019-05-01 response: body: - string: '{"username":"pyacrfe331462","passwords":[{"name":"password","value":"CDX9jzAc3AcSXSK=7DZUgI1hbiN9ndeN"},{"name":"password2","value":"myAVs1osORMJOLYat8Tn6j+iYZPPjsER"}]}' + string: '{"username":"pyacrfe331462","passwords":[{"name":"password","value":"Yy98oDUrlgSMlx0OLvZSfXjnrAFZr2j/"},{"name":"password2","value":"5MLqhgRXiAdNYWSlsIC9Mt2lv+liVFqS"}]}' headers: cache-control: - no-cache @@ -270,7 +270,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:57:23 GMT + - Fri, 15 May 2020 13:01:15 GMT expires: - '-1' pragma: @@ -304,15 +304,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_managed_registryfe331462/providers/Microsoft.ContainerRegistry/registries/pyacrfe331462/regenerateCredential?api-version=2019-05-01 response: body: - string: '{"username":"pyacrfe331462","passwords":[{"name":"password","value":"mDPh3XGVJ3qs9GnQyTSuPkCXr0rabp=5"},{"name":"password2","value":"myAVs1osORMJOLYat8Tn6j+iYZPPjsER"}]}' + string: '{"username":"pyacrfe331462","passwords":[{"name":"password","value":"LNCAH1y+Yy=+DR8ohZNA2r9jIaj8Bewd"},{"name":"password2","value":"5MLqhgRXiAdNYWSlsIC9Mt2lv+liVFqS"}]}' headers: cache-control: - no-cache @@ -321,7 +321,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:57:23 GMT + - Fri, 15 May 2020 13:01:16 GMT expires: - '-1' pragma: @@ -351,8 +351,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -368,7 +368,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:57:23 GMT + - Fri, 15 May 2020 13:01:16 GMT expires: - '-1' pragma: @@ -398,8 +398,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -413,7 +413,7 @@ interactions: content-length: - '0' date: - - Wed, 06 May 2020 07:57:27 GMT + - Fri, 15 May 2020 13:01:19 GMT expires: - '-1' pragma: @@ -425,7 +425,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14999' status: code: 200 message: OK diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry.test_webhook.yaml b/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry.test_webhook.yaml index b4635b5a80dc..a99c74192c26 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry.test_webhook.yaml +++ b/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry.test_webhook.yaml @@ -14,24 +14,24 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_webhook572410ac/providers/Microsoft.ContainerRegistry/registries/pyacr572410ac?api-version=2019-05-01 response: body: - string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_webhook572410ac/providers/Microsoft.ContainerRegistry/registries/pyacr572410ac","name":"pyacr572410ac","location":"westcentralus","tags":{},"properties":{"loginServer":"pyacr572410ac.azurecr.io","creationDate":"2020-05-06T07:57:47.0773124Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]},"policies":{"quarantinePolicy":{"status":"disabled"},"trustPolicy":{"type":"Notary","status":"disabled"},"retentionPolicy":{"days":7,"lastUpdatedTime":"2020-05-06T07:57:47.8174941+00:00","status":"disabled"}}}}' + string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_webhook572410ac/providers/Microsoft.ContainerRegistry/registries/pyacr572410ac","name":"pyacr572410ac","location":"westcentralus","tags":{},"properties":{"loginServer":"pyacr572410ac.azurecr.io","creationDate":"2020-05-15T13:01:38.89938Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]},"policies":{"quarantinePolicy":{"status":"disabled"},"trustPolicy":{"type":"Notary","status":"disabled"},"retentionPolicy":{"days":7,"lastUpdatedTime":"2020-05-15T13:01:40.0369477+00:00","status":"disabled"}}}}' headers: cache-control: - no-cache content-length: - - '786' + - '784' content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:57:49 GMT + - Fri, 15 May 2020 13:01:40 GMT expires: - '-1' pragma: @@ -47,7 +47,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 200 message: OK @@ -66,8 +66,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: PUT @@ -83,7 +83,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:57:53 GMT + - Fri, 15 May 2020 13:01:44 GMT expires: - '-1' pragma: @@ -99,7 +99,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1198' status: code: 200 message: OK @@ -113,8 +113,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -130,7 +130,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:57:53 GMT + - Fri, 15 May 2020 13:01:45 GMT expires: - '-1' pragma: @@ -163,8 +163,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: PATCH @@ -180,7 +180,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:57:55 GMT + - Fri, 15 May 2020 13:01:46 GMT expires: - '-1' pragma: @@ -196,7 +196,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1197' status: code: 200 message: OK @@ -210,8 +210,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -227,7 +227,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:57:55 GMT + - Fri, 15 May 2020 13:01:47 GMT expires: - '-1' pragma: @@ -257,8 +257,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: POST @@ -274,7 +274,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:57:55 GMT + - Fri, 15 May 2020 13:01:47 GMT expires: - '-1' pragma: @@ -306,15 +306,15 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_webhook572410ac/providers/Microsoft.ContainerRegistry/registries/pyacr572410ac/webhooks/pyacr572410ac/ping?api-version=2019-05-01 response: body: - string: '{"id":"ea2cfee4-265c-4b9f-9473-377ffbbd2a3e"}' + string: '{"id":"4c5765ec-97e2-4a83-b372-2458c7359ea3"}' headers: cache-control: - no-cache @@ -323,7 +323,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:57:56 GMT + - Fri, 15 May 2020 13:01:48 GMT expires: - '-1' pragma: @@ -355,8 +355,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -370,7 +370,7 @@ interactions: content-length: - '0' date: - - Wed, 06 May 2020 07:57:59 GMT + - Fri, 15 May 2020 13:01:51 GMT expires: - '-1' pragma: @@ -382,7 +382,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 200 message: OK @@ -398,8 +398,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -413,7 +413,7 @@ interactions: content-length: - '0' date: - - Wed, 06 May 2020 07:58:02 GMT + - Fri, 15 May 2020 13:01:53 GMT expires: - '-1' pragma: @@ -425,7 +425,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14998' status: code: 200 message: OK diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_build.yaml b/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_build.yaml index 27611ebebc0f..51d9b0565fdd 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_build.yaml +++ b/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_build.yaml @@ -14,15 +14,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9?api-version=2017-10-01 response: body: - string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9","name":"pyacr86c515d9","location":"eastus","tags":{},"properties":{"loginServer":"pyacr86c515d9.azurecr.io","creationDate":"2020-05-06T07:58:16.3799069Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}' + string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9","name":"pyacr86c515d9","location":"eastus","tags":{},"properties":{"loginServer":"pyacr86c515d9.azurecr.io","creationDate":"2020-05-15T13:02:15.7572981Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}' headers: cache-control: - no-cache @@ -31,7 +31,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:58:19 GMT + - Fri, 15 May 2020 13:02:18 GMT expires: - '-1' pragma: @@ -47,7 +47,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 200 message: OK @@ -63,24 +63,24 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9/getBuildSourceUploadUrl?api-version=2018-02-01-preview response: body: - string: '{"uploadUrl":"https://eusmanaged96.blob.core.windows.net/ad94296e81dd4b41bd6f57302730ccdb-pei7jmnyp5/source/202005060000/47872270-a69b-4dd3-88b8-4f5de8bb37c9.tar.gz?sv=2018-03-28&sr=b&sig=o07kaJ4bSMwtMNxwpZqkBBUHwOPQvXXwidjiQWcjNyc%3D&se=2020-05-06T08%3A58%3A20Z&sp=cw","relativePath":"source/202005060000/47872270-a69b-4dd3-88b8-4f5de8bb37c9.tar.gz"}' + string: '{"uploadUrl":"https://eusmanaged197.blob.core.windows.net/e415c8caa0274615bd732500c4955192-bpreu1s7jv/source/202005150000/5cc3c360-b5a8-451e-86f2-dab7fe8b80c0.tar.gz?sv=2018-03-28&sr=b&sig=h%2FDZQ2Mied1qAnaEaEbGnJzzhbYZ%2B2S9rs7LBK2NftA%3D&se=2020-05-15T14%3A02%3A19Z&sp=cw","relativePath":"source/202005150000/5cc3c360-b5a8-451e-86f2-dab7fe8b80c0.tar.gz"}' headers: cache-control: - no-cache content-length: - - '351' + - '356' content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:58:20 GMT + - Fri, 15 May 2020 13:02:19 GMT expires: - '-1' pragma: @@ -116,15 +116,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9/queueBuild?api-version=2018-02-01-preview response: body: - string: '{"type":"Microsoft.ContainerRegistry/registries/builds","properties":{"buildId":"aa1","status":"Queued","lastUpdatedTime":"2020-05-06T07:58:21+00:00","isArchiveEnabled":false,"provisioningState":"Succeeded"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9/builds/aa1","name":"aa1"}' + string: '{"type":"Microsoft.ContainerRegistry/registries/builds","properties":{"buildId":"aa1","status":"Queued","lastUpdatedTime":"2020-05-15T13:02:20+00:00","isArchiveEnabled":false,"provisioningState":"Succeeded"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9/builds/aa1","name":"aa1"}' headers: cache-control: - no-cache @@ -133,7 +133,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:58:21 GMT + - Fri, 15 May 2020 13:02:20 GMT expires: - '-1' pragma: @@ -163,24 +163,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9/builds?api-version=2018-02-01-preview response: body: - string: '{"value":[{"type":"Microsoft.ContainerRegistry/registries/builds","properties":{"buildId":"aa1","status":"Queued","lastUpdatedTime":"2020-05-06T07:58:21+00:00","buildType":"QuickBuild","createTime":"2020-05-06T07:58:21.0956421+00:00","isArchiveEnabled":false,"platform":{"osType":"Linux","cpu":2},"provisioningState":"Succeeded"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9/builds/aa1","name":"aa1"}]}' + string: '{"value":[{"type":"Microsoft.ContainerRegistry/registries/builds","properties":{"buildId":"aa1","status":"Running","lastUpdatedTime":"2020-05-15T13:02:20+00:00","buildType":"QuickBuild","createTime":"2020-05-15T13:02:20.2198019+00:00","startTime":"2020-05-15T13:02:20.5623313+00:00","isArchiveEnabled":false,"platform":{"osType":"Linux","cpu":2},"provisioningState":"Succeeded"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9/builds/aa1","name":"aa1"}]}' headers: cache-control: - no-cache content-length: - - '559' + - '608' content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:58:21 GMT + - Fri, 15 May 2020 13:02:20 GMT expires: - '-1' pragma: @@ -208,15 +208,15 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9/builds/aa1?api-version=2018-02-01-preview response: body: - string: '{"type":"Microsoft.ContainerRegistry/registries/builds","properties":{"buildId":"aa1","status":"Running","lastUpdatedTime":"2020-05-06T07:58:21+00:00","buildType":"QuickBuild","createTime":"2020-05-06T07:58:21.0956421+00:00","startTime":"2020-05-06T07:58:21.6332773+00:00","isArchiveEnabled":false,"platform":{"osType":"Linux","cpu":2},"provisioningState":"Succeeded"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9/builds/aa1","name":"aa1"}' + string: '{"type":"Microsoft.ContainerRegistry/registries/builds","properties":{"buildId":"aa1","status":"Running","lastUpdatedTime":"2020-05-15T13:02:20+00:00","buildType":"QuickBuild","createTime":"2020-05-15T13:02:20.2198019+00:00","startTime":"2020-05-15T13:02:20.5623313+00:00","isArchiveEnabled":false,"platform":{"osType":"Linux","cpu":2},"provisioningState":"Succeeded"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9/builds/aa1","name":"aa1"}' headers: cache-control: - no-cache @@ -225,7 +225,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:58:21 GMT + - Fri, 15 May 2020 13:02:21 GMT expires: - '-1' pragma: @@ -257,15 +257,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9/builds/aa1?api-version=2018-02-01-preview response: body: - string: '{"type":"Microsoft.ContainerRegistry/registries/builds","properties":{"buildId":"aa1","status":"Running","lastUpdatedTime":"2020-05-06T07:58:22+00:00","buildType":"QuickBuild","createTime":"2020-05-06T07:58:21.0956421+00:00","startTime":"2020-05-06T07:58:21.6332773+00:00","isArchiveEnabled":true,"platform":{"osType":"Linux","cpu":2},"provisioningState":"Succeeded"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9/builds/aa1","name":"aa1"}' + string: '{"type":"Microsoft.ContainerRegistry/registries/builds","properties":{"buildId":"aa1","status":"Running","lastUpdatedTime":"2020-05-15T13:02:21+00:00","buildType":"QuickBuild","createTime":"2020-05-15T13:02:20.2198019+00:00","startTime":"2020-05-15T13:02:20.5623313+00:00","isArchiveEnabled":true,"platform":{"osType":"Linux","cpu":2},"provisioningState":"Succeeded"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9/builds/aa1","name":"aa1"}' headers: cache-control: - no-cache @@ -274,7 +274,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:58:22 GMT + - Fri, 15 May 2020 13:02:21 GMT expires: - '-1' pragma: @@ -290,7 +290,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1198' status: code: 200 message: OK @@ -306,24 +306,24 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9/builds/aa1/getLogLink?api-version=2018-02-01-preview response: body: - string: '{"logLink":"https://eusmanaged96.blob.core.windows.net/ad94296e81dd4b41bd6f57302730ccdb-pei7jmnyp5/logs/aa1/rawtext.log?sv=2018-03-28&sr=b&sig=wY%2BQAcj%2FrDeqzGLcipi8vOiRW2vVIjTZeXNfvbePfNA%3D&se=2020-05-06T09%3A08%3A22Z&sp=r"}' + string: '{"logLink":"https://eusmanaged197.blob.core.windows.net/e415c8caa0274615bd732500c4955192-bpreu1s7jv/logs/aa1/rawtext.log?sv=2018-03-28&sr=b&sig=5iBrDgcmqLcgRv3I9C3njWEhKNEHwOvDK9qqW1GYlsU%3D&se=2020-05-15T14%3A12%3A22Z&sp=r"}' headers: cache-control: - no-cache content-length: - - '228' + - '225' content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:58:22 GMT + - Fri, 15 May 2020 13:02:22 GMT expires: - '-1' pragma: @@ -355,8 +355,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: POST @@ -370,7 +370,7 @@ interactions: content-length: - '0' date: - - Wed, 06 May 2020 07:58:23 GMT + - Fri, 15 May 2020 13:02:22 GMT expires: - '-1' pragma: @@ -398,8 +398,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -413,7 +413,7 @@ interactions: content-length: - '0' date: - - Wed, 06 May 2020 07:58:26 GMT + - Fri, 15 May 2020 13:02:26 GMT expires: - '-1' pragma: @@ -425,7 +425,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 200 message: OK diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_managed_registry.yaml b/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_managed_registry.yaml index b863b5c15b18..46699b7f56f8 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_managed_registry.yaml +++ b/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_managed_registry.yaml @@ -13,8 +13,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: POST @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:58:36 GMT + - Fri, 15 May 2020 13:02:42 GMT expires: - '-1' pragma: @@ -63,15 +63,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_managed_registry916b1a6e/providers/Microsoft.ContainerRegistry/registries/pyacr916b1a6e?api-version=2017-10-01 response: body: - string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_managed_registry916b1a6e/providers/Microsoft.ContainerRegistry/registries/pyacr916b1a6e","name":"pyacr916b1a6e","location":"eastus","tags":{},"properties":{"loginServer":"pyacr916b1a6e.azurecr.io","creationDate":"2020-05-06T07:58:42.1613447Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}' + string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_managed_registry916b1a6e/providers/Microsoft.ContainerRegistry/registries/pyacr916b1a6e","name":"pyacr916b1a6e","location":"eastus","tags":{},"properties":{"loginServer":"pyacr916b1a6e.azurecr.io","creationDate":"2020-05-15T13:02:52.1324792Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}' headers: cache-control: - no-cache @@ -80,7 +80,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:58:44 GMT + - Fri, 15 May 2020 13:02:54 GMT expires: - '-1' pragma: @@ -96,7 +96,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 200 message: OK @@ -110,15 +110,15 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_managed_registry916b1a6e/providers/Microsoft.ContainerRegistry/registries?api-version=2017-10-01 response: body: - string: '{"value":[{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_managed_registry916b1a6e/providers/Microsoft.ContainerRegistry/registries/pyacr916b1a6e","name":"pyacr916b1a6e","location":"eastus","tags":{},"properties":{"loginServer":"pyacr916b1a6e.azurecr.io","creationDate":"2020-05-06T07:58:42.1613447Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}]}' + string: '{"value":[{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_managed_registry916b1a6e/providers/Microsoft.ContainerRegistry/registries/pyacr916b1a6e","name":"pyacr916b1a6e","location":"eastus","tags":{},"properties":{"loginServer":"pyacr916b1a6e.azurecr.io","creationDate":"2020-05-15T13:02:52.1324792Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}]}' headers: cache-control: - no-cache @@ -127,7 +127,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:58:44 GMT + - Fri, 15 May 2020 13:02:55 GMT expires: - '-1' pragma: @@ -159,15 +159,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_managed_registry916b1a6e/providers/Microsoft.ContainerRegistry/registries/pyacr916b1a6e?api-version=2017-10-01 response: body: - string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_managed_registry916b1a6e/providers/Microsoft.ContainerRegistry/registries/pyacr916b1a6e","name":"pyacr916b1a6e","location":"eastus","tags":{"key":"value"},"properties":{"loginServer":"pyacr916b1a6e.azurecr.io","creationDate":"2020-05-06T07:58:42.1613447Z","provisioningState":"Succeeded","adminUserEnabled":true,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}' + string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_managed_registry916b1a6e/providers/Microsoft.ContainerRegistry/registries/pyacr916b1a6e","name":"pyacr916b1a6e","location":"eastus","tags":{"key":"value"},"properties":{"loginServer":"pyacr916b1a6e.azurecr.io","creationDate":"2020-05-15T13:02:52.1324792Z","provisioningState":"Succeeded","adminUserEnabled":true,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}' headers: cache-control: - no-cache @@ -176,7 +176,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:58:47 GMT + - Fri, 15 May 2020 13:02:57 GMT expires: - '-1' pragma: @@ -192,7 +192,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1198' status: code: 200 message: OK @@ -206,15 +206,15 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_managed_registry916b1a6e/providers/Microsoft.ContainerRegistry/registries/pyacr916b1a6e?api-version=2017-10-01 response: body: - string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_managed_registry916b1a6e/providers/Microsoft.ContainerRegistry/registries/pyacr916b1a6e","name":"pyacr916b1a6e","location":"eastus","tags":{"key":"value"},"properties":{"loginServer":"pyacr916b1a6e.azurecr.io","creationDate":"2020-05-06T07:58:42.1613447Z","provisioningState":"Succeeded","adminUserEnabled":true,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}' + string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_managed_registry916b1a6e/providers/Microsoft.ContainerRegistry/registries/pyacr916b1a6e","name":"pyacr916b1a6e","location":"eastus","tags":{"key":"value"},"properties":{"loginServer":"pyacr916b1a6e.azurecr.io","creationDate":"2020-05-15T13:02:52.1324792Z","provisioningState":"Succeeded","adminUserEnabled":true,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}' headers: cache-control: - no-cache @@ -223,7 +223,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:58:48 GMT + - Fri, 15 May 2020 13:02:58 GMT expires: - '-1' pragma: @@ -253,15 +253,15 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_managed_registry916b1a6e/providers/Microsoft.ContainerRegistry/registries/pyacr916b1a6e/listCredentials?api-version=2017-10-01 response: body: - string: '{"username":"pyacr916b1a6e","passwords":[{"name":"password","value":"hBZkvaBIlyovubBB=6H2vFKFyNL0644w"},{"name":"password2","value":"4pCtjaaRoHX=4Cz3WuLWJ/3btsEDWTrx"}]}' + string: '{"username":"pyacr916b1a6e","passwords":[{"name":"password","value":"f=NCA7vei5hh4gI8mcyBcQrj7b23yIQ7"},{"name":"password2","value":"aQMjUSD6CC1Zw+Atpww0oWUKNj8J5DXZ"}]}' headers: cache-control: - no-cache @@ -270,7 +270,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:58:48 GMT + - Fri, 15 May 2020 13:02:59 GMT expires: - '-1' pragma: @@ -304,15 +304,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_managed_registry916b1a6e/providers/Microsoft.ContainerRegistry/registries/pyacr916b1a6e/regenerateCredential?api-version=2017-10-01 response: body: - string: '{"username":"pyacr916b1a6e","passwords":[{"name":"password","value":"dHg0OPwgviwwbHlnq3dcaX+WqPssGPI+"},{"name":"password2","value":"4pCtjaaRoHX=4Cz3WuLWJ/3btsEDWTrx"}]}' + string: '{"username":"pyacr916b1a6e","passwords":[{"name":"password","value":"NbRR4cnAnKNFn9d4TSVeXW2Qkkm15l=B"},{"name":"password2","value":"aQMjUSD6CC1Zw+Atpww0oWUKNj8J5DXZ"}]}' headers: cache-control: - no-cache @@ -321,7 +321,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:58:48 GMT + - Fri, 15 May 2020 13:02:59 GMT expires: - '-1' pragma: @@ -351,8 +351,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -368,7 +368,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:58:49 GMT + - Fri, 15 May 2020 13:03:00 GMT expires: - '-1' pragma: @@ -398,8 +398,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -413,7 +413,7 @@ interactions: content-length: - '0' date: - - Wed, 06 May 2020 07:58:53 GMT + - Fri, 15 May 2020 13:03:03 GMT expires: - '-1' pragma: @@ -425,7 +425,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14999' status: code: 200 message: OK diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_replication.yaml b/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_replication.yaml index 8325d0f10e32..c4f6e29afffc 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_replication.yaml +++ b/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_replication.yaml @@ -14,15 +14,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863?api-version=2017-10-01 response: body: - string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863","name":"pyacr12ea1863","location":"eastus","tags":{},"properties":{"loginServer":"pyacr12ea1863.azurecr.io","creationDate":"2020-05-06T07:59:06.9271462Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}' + string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863","name":"pyacr12ea1863","location":"eastus","tags":{},"properties":{"loginServer":"pyacr12ea1863.azurecr.io","creationDate":"2020-05-15T13:03:22.3983566Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}' headers: cache-control: - no-cache @@ -31,7 +31,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:59:08 GMT + - Fri, 15 May 2020 13:03:24 GMT expires: - '-1' pragma: @@ -65,26 +65,26 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus?api-version=2017-10-01 response: body: - string: '{"type":"Microsoft.ContainerRegistry/registries/replications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus","name":"southcentralus","location":"southcentralus","tags":{},"properties":{"provisioningState":"Creating","status":{"timestamp":"2020-05-06T07:59:13.947014Z"}}}' + string: '{"type":"Microsoft.ContainerRegistry/registries/replications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus","name":"southcentralus","location":"southcentralus","tags":{},"properties":{"provisioningState":"Creating","status":{"timestamp":"2020-05-15T13:03:28.7248364Z"}}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus/operationStatuses/replications-7730a002-8f6f-11ea-bb15-84a93e6af0a2?api-version=2017-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus/operationStatuses/replications-76273632-96ac-11ea-a286-70bc107fb78d?api-version=2017-10-01 cache-control: - no-cache content-length: - - '460' + - '461' content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:59:15 GMT + - Fri, 15 May 2020 13:03:30 GMT expires: - '-1' pragma: @@ -110,16 +110,16 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus/operationStatuses/replications-7730a002-8f6f-11ea-bb15-84a93e6af0a2?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus/operationStatuses/replications-76273632-96ac-11ea-a286-70bc107fb78d?api-version=2017-10-01 response: body: string: '{"status":"Succeeded"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus/operationStatuses/replications-7730a002-8f6f-11ea-bb15-84a93e6af0a2?api-version=2017-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus/operationStatuses/replications-76273632-96ac-11ea-a286-70bc107fb78d?api-version=2017-10-01 cache-control: - no-cache content-length: @@ -127,7 +127,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:59:27 GMT + - Fri, 15 May 2020 13:03:41 GMT expires: - '-1' pragma: @@ -155,22 +155,22 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus?api-version=2017-10-01 response: body: - string: '{"type":"Microsoft.ContainerRegistry/registries/replications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus","name":"southcentralus","location":"southcentralus","tags":{},"properties":{"provisioningState":"Succeeded","status":{"displayStatus":"Syncing","timestamp":"2020-05-06T07:59:23.0592435Z"}}}' + string: '{"type":"Microsoft.ContainerRegistry/registries/replications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus","name":"southcentralus","location":"southcentralus","tags":{},"properties":{"provisioningState":"Succeeded","status":{"displayStatus":"Ready","timestamp":"2020-05-15T13:03:42.0831154Z"}}}' headers: cache-control: - no-cache content-length: - - '488' + - '486' content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:59:28 GMT + - Fri, 15 May 2020 13:03:41 GMT expires: - '-1' pragma: @@ -198,24 +198,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications?api-version=2017-10-01 response: body: - string: '{"value":[{"type":"Microsoft.ContainerRegistry/registries/replications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus","name":"southcentralus","location":"southcentralus","tags":{},"properties":{"provisioningState":"Succeeded","status":{"displayStatus":"Syncing","timestamp":"2020-05-06T07:59:23.0592435Z"}}},{"type":"Microsoft.ContainerRegistry/registries/replications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/eastus","name":"eastus","location":"eastus","tags":{},"properties":{"provisioningState":"Succeeded","status":{"displayStatus":"Ready","timestamp":"2020-05-06T07:59:18.5428894Z"}}}]}' + string: '{"value":[{"type":"Microsoft.ContainerRegistry/registries/replications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus","name":"southcentralus","location":"southcentralus","tags":{},"properties":{"provisioningState":"Succeeded","status":{"displayStatus":"Ready","timestamp":"2020-05-15T13:03:42.0831154Z"}}},{"type":"Microsoft.ContainerRegistry/registries/replications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/eastus","name":"eastus","location":"eastus","tags":{},"properties":{"provisioningState":"Succeeded","status":{"displayStatus":"Ready","timestamp":"2020-05-15T13:03:32.6211908Z"}}}]}' headers: cache-control: - no-cache content-length: - - '963' + - '961' content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:59:28 GMT + - Fri, 15 May 2020 13:03:42 GMT expires: - '-1' pragma: @@ -247,24 +247,24 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus?api-version=2017-10-01 response: body: - string: '{"type":"Microsoft.ContainerRegistry/registries/replications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus","name":"southcentralus","location":"southcentralus","tags":{"key":"value"},"properties":{"provisioningState":"Succeeded","status":{"displayStatus":"Syncing","timestamp":"2020-05-06T07:59:23.0592435Z"}}}' + string: '{"type":"Microsoft.ContainerRegistry/registries/replications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus","name":"southcentralus","location":"southcentralus","tags":{"key":"value"},"properties":{"provisioningState":"Succeeded","status":{"displayStatus":"Ready","timestamp":"2020-05-15T13:03:42.0831154Z"}}}' headers: cache-control: - no-cache content-length: - - '501' + - '499' content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:59:31 GMT + - Fri, 15 May 2020 13:03:44 GMT expires: - '-1' pragma: @@ -294,24 +294,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus?api-version=2017-10-01 response: body: - string: '{"type":"Microsoft.ContainerRegistry/registries/replications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus","name":"southcentralus","location":"southcentralus","tags":{"key":"value"},"properties":{"provisioningState":"Succeeded","status":{"displayStatus":"Syncing","timestamp":"2020-05-06T07:59:23.0592435Z"}}}' + string: '{"type":"Microsoft.ContainerRegistry/registries/replications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus","name":"southcentralus","location":"southcentralus","tags":{"key":"value"},"properties":{"provisioningState":"Succeeded","status":{"displayStatus":"Ready","timestamp":"2020-05-15T13:03:42.0831154Z"}}}' headers: cache-control: - no-cache content-length: - - '501' + - '499' content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:59:32 GMT + - Fri, 15 May 2020 13:03:44 GMT expires: - '-1' pragma: @@ -341,8 +341,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -358,11 +358,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:59:33 GMT + - Fri, 15 May 2020 13:03:45 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-855ef428-8f6f-11ea-9b11-84a93e6af0a2?api-version=2017-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-8235ea15-96ac-11ea-a5ba-70bc107fb78d?api-version=2017-10-01 pragma: - no-cache server: @@ -386,10 +386,10 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-855ef428-8f6f-11ea-9b11-84a93e6af0a2?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-8235ea15-96ac-11ea-a5ba-70bc107fb78d?api-version=2017-10-01 response: body: string: 'null' @@ -401,11 +401,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:59:45 GMT + - Fri, 15 May 2020 13:03:56 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-855ef428-8f6f-11ea-9b11-84a93e6af0a2?api-version=2017-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-8235ea15-96ac-11ea-a5ba-70bc107fb78d?api-version=2017-10-01 pragma: - no-cache server: @@ -427,10 +427,10 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-855ef428-8f6f-11ea-9b11-84a93e6af0a2?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-8235ea15-96ac-11ea-a5ba-70bc107fb78d?api-version=2017-10-01 response: body: string: 'null' @@ -442,11 +442,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 07:59:55 GMT + - Fri, 15 May 2020 13:04:06 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-855ef428-8f6f-11ea-9b11-84a93e6af0a2?api-version=2017-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-8235ea15-96ac-11ea-a5ba-70bc107fb78d?api-version=2017-10-01 pragma: - no-cache server: @@ -468,10 +468,174 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-855ef428-8f6f-11ea-9b11-84a93e6af0a2?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-8235ea15-96ac-11ea-a5ba-70bc107fb78d?api-version=2017-10-01 + response: + body: + string: 'null' + headers: + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 13:04:17 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-8235ea15-96ac-11ea-a5ba-70bc107fb78d?api-version=2017-10-01 + 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: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-8235ea15-96ac-11ea-a5ba-70bc107fb78d?api-version=2017-10-01 + response: + body: + string: 'null' + headers: + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 13:04:28 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-8235ea15-96ac-11ea-a5ba-70bc107fb78d?api-version=2017-10-01 + 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: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-8235ea15-96ac-11ea-a5ba-70bc107fb78d?api-version=2017-10-01 + response: + body: + string: 'null' + headers: + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 13:04:38 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-8235ea15-96ac-11ea-a5ba-70bc107fb78d?api-version=2017-10-01 + 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: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-8235ea15-96ac-11ea-a5ba-70bc107fb78d?api-version=2017-10-01 + response: + body: + string: 'null' + headers: + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 15 May 2020 13:04:49 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-8235ea15-96ac-11ea-a5ba-70bc107fb78d?api-version=2017-10-01 + 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: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-8235ea15-96ac-11ea-a5ba-70bc107fb78d?api-version=2017-10-01 response: body: string: '' @@ -481,7 +645,7 @@ interactions: content-length: - '0' date: - - Wed, 06 May 2020 08:00:06 GMT + - Fri, 15 May 2020 13:04:59 GMT expires: - '-1' pragma: @@ -507,15 +671,15 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863?api-version=2017-10-01 response: body: - string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863","name":"pyacr12ea1863","location":"eastus","tags":{},"properties":{"loginServer":"pyacr12ea1863.azurecr.io","creationDate":"2020-05-06T07:59:06.9271462Z","provisioningState":"Deleting","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}' + string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863","name":"pyacr12ea1863","location":"eastus","tags":{},"properties":{"loginServer":"pyacr12ea1863.azurecr.io","creationDate":"2020-05-15T13:03:22.3983566Z","provisioningState":"Deleting","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}' headers: cache-control: - no-cache @@ -524,11 +688,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 08:00:17 GMT + - Fri, 15 May 2020 13:05:11 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/eastus/operationResults/registries-998174f0-8f6f-11ea-9d89-84a93e6af0a2?api-version=2017-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/eastus/operationResults/registries-af118be8-96ac-11ea-a3d3-70bc107fb78d?api-version=2017-10-01 pragma: - no-cache server: @@ -552,10 +716,10 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/eastus/operationResults/registries-998174f0-8f6f-11ea-9d89-84a93e6af0a2?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/eastus/operationResults/registries-af118be8-96ac-11ea-a3d3-70bc107fb78d?api-version=2017-10-01 response: body: string: '' @@ -565,7 +729,7 @@ interactions: content-length: - '0' date: - - Wed, 06 May 2020 08:00:27 GMT + - Fri, 15 May 2020 13:05:23 GMT expires: - '-1' pragma: diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_webhook.yaml b/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_webhook.yaml index d3995b9f7ace..18ddb02be0e1 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_webhook.yaml +++ b/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_webhook.yaml @@ -14,15 +14,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_webhookb3e116b8/providers/Microsoft.ContainerRegistry/registries/pyacrb3e116b8?api-version=2017-10-01 response: body: - string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_webhookb3e116b8/providers/Microsoft.ContainerRegistry/registries/pyacrb3e116b8","name":"pyacrb3e116b8","location":"eastus","tags":{},"properties":{"loginServer":"pyacrb3e116b8.azurecr.io","creationDate":"2020-05-06T08:00:44.0685199Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}' + string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_webhookb3e116b8/providers/Microsoft.ContainerRegistry/registries/pyacrb3e116b8","name":"pyacrb3e116b8","location":"eastus","tags":{},"properties":{"loginServer":"pyacrb3e116b8.azurecr.io","creationDate":"2020-05-15T13:05:45.0867599Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}' headers: cache-control: - no-cache @@ -31,7 +31,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 08:00:46 GMT + - Fri, 15 May 2020 13:05:46 GMT expires: - '-1' pragma: @@ -47,7 +47,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 200 message: OK @@ -66,8 +66,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: PUT @@ -83,7 +83,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 08:00:51 GMT + - Fri, 15 May 2020 13:05:50 GMT expires: - '-1' pragma: @@ -99,7 +99,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1198' status: code: 200 message: OK @@ -113,8 +113,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -130,7 +130,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 08:00:51 GMT + - Fri, 15 May 2020 13:05:50 GMT expires: - '-1' pragma: @@ -163,8 +163,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: PATCH @@ -180,7 +180,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 08:00:53 GMT + - Fri, 15 May 2020 13:05:52 GMT expires: - '-1' pragma: @@ -196,7 +196,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1197' status: code: 200 message: OK @@ -210,8 +210,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -227,7 +227,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 08:00:54 GMT + - Fri, 15 May 2020 13:05:52 GMT expires: - '-1' pragma: @@ -257,8 +257,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: POST @@ -274,7 +274,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 08:00:54 GMT + - Fri, 15 May 2020 13:05:53 GMT expires: - '-1' pragma: @@ -290,7 +290,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1199' status: code: 200 message: OK @@ -306,15 +306,15 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_webhookb3e116b8/providers/Microsoft.ContainerRegistry/registries/pyacrb3e116b8/webhooks/pyacrb3e116b8/ping?api-version=2017-10-01 response: body: - string: '{"id":"bc07085c-2753-4478-90f9-916a613da90e"}' + string: '{"id":"149dc2d0-9658-4c7d-97a7-ad6051c7aaff"}' headers: cache-control: - no-cache @@ -323,7 +323,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 06 May 2020 08:00:55 GMT + - Fri, 15 May 2020 13:05:53 GMT expires: - '-1' pragma: @@ -339,7 +339,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1198' status: code: 200 message: OK @@ -355,8 +355,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -370,7 +370,7 @@ interactions: content-length: - '0' date: - - Wed, 06 May 2020 08:00:58 GMT + - Fri, 15 May 2020 13:05:56 GMT expires: - '-1' pragma: @@ -398,8 +398,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.8 (Windows-10-10.0.17763-SP0) msrest/0.6.13 msrest_azure/0.4.34 - azure-mgmt-containerregistry/3.0.0rc11 Azure-SDK-For-Python + - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 + azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -413,7 +413,7 @@ interactions: content-length: - '0' date: - - Wed, 06 May 2020 08:01:01 GMT + - Fri, 15 May 2020 13:06:00 GMT expires: - '-1' pragma: