diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/CHANGELOG.md b/sdk/containerregistry/azure-mgmt-containerregistry/CHANGELOG.md index b4dfb0ef6fb1..12a90721f633 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/CHANGELOG.md +++ b/sdk/containerregistry/azure-mgmt-containerregistry/CHANGELOG.md @@ -1,5 +1,17 @@ # Release History +## 3.0.0rc17 (2021-02-24) + +**Features** + + - Model OperationServiceSpecificationDefinition has a new parameter log_specifications + - Model Registry has a new parameter anonymous_pull_enabled + - Model RegistryUpdateParameters has a new parameter anonymous_pull_enabled + +**Breaking changes** + + - Model Registry no longer has parameter storage_account + ## 3.0.0rc16 (2020-12-09) **Features** diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/__init__.py b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/__init__.py index 2de8ce1f91ae..73655a9a9a41 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/__init__.py +++ b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/__init__.py @@ -60,6 +60,7 @@ from ._models_py3 import NetworkRuleSet from ._models_py3 import OperationDefinition from ._models_py3 import OperationDisplayDefinition + from ._models_py3 import OperationLogSpecificationDefinition from ._models_py3 import OperationMetricSpecificationDefinition from ._models_py3 import OperationServiceSpecificationDefinition from ._models_py3 import OverrideTaskStepProperties @@ -115,7 +116,6 @@ from ._models_py3 import SourceUpdateParameters from ._models_py3 import SourceUploadDefinition from ._models_py3 import Status - from ._models_py3 import StorageAccountProperties from ._models_py3 import SystemData from ._models_py3 import Target from ._models_py3 import Task @@ -192,6 +192,7 @@ from ._models import NetworkRuleSet from ._models import OperationDefinition from ._models import OperationDisplayDefinition + from ._models import OperationLogSpecificationDefinition from ._models import OperationMetricSpecificationDefinition from ._models import OperationServiceSpecificationDefinition from ._models import OverrideTaskStepProperties @@ -247,7 +248,6 @@ from ._models import SourceUpdateParameters from ._models import SourceUploadDefinition from ._models import Status - from ._models import StorageAccountProperties from ._models import SystemData from ._models import Target from ._models import Task @@ -310,6 +310,7 @@ TrustPolicyType, EncryptionStatus, PublicNetworkAccess, + NetworkRuleBypassOptions, PasswordName, RegistryUsageUnit, WebhookStatus, @@ -384,6 +385,7 @@ 'NetworkRuleSet', 'OperationDefinition', 'OperationDisplayDefinition', + 'OperationLogSpecificationDefinition', 'OperationMetricSpecificationDefinition', 'OperationServiceSpecificationDefinition', 'OverrideTaskStepProperties', @@ -439,7 +441,6 @@ 'SourceUpdateParameters', 'SourceUploadDefinition', 'Status', - 'StorageAccountProperties', 'SystemData', 'Target', 'Task', @@ -501,6 +502,7 @@ 'TrustPolicyType', 'EncryptionStatus', 'PublicNetworkAccess', + 'NetworkRuleBypassOptions', 'PasswordName', 'RegistryUsageUnit', 'WebhookStatus', diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_container_registry_management_client_enums.py b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_container_registry_management_client_enums.py index 268567c5d4c0..29082ea233a7 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_container_registry_management_client_enums.py +++ b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_container_registry_management_client_enums.py @@ -145,6 +145,12 @@ class PublicNetworkAccess(str, Enum): disabled = "Disabled" +class NetworkRuleBypassOptions(str, Enum): + + azure_services = "AzureServices" + none = "None" + + class PasswordName(str, Enum): password = "password" 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 cf1811c5377e..d4e4af8b575c 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 @@ -2231,6 +2231,30 @@ def __init__(self, **kwargs): self.description = kwargs.get('description', None) +class OperationLogSpecificationDefinition(Model): + """The definition of Azure Monitoring log. + + :param name: Log name. + :type name: str + :param display_name: Log display name. + :type display_name: str + :param blob_duration: Log blob duration. + :type blob_duration: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'blob_duration': {'key': 'blobDuration', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(OperationLogSpecificationDefinition, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display_name = kwargs.get('display_name', None) + self.blob_duration = kwargs.get('blob_duration', None) + + class OperationMetricSpecificationDefinition(Model): """The definition of Azure Monitoring metric. @@ -2274,15 +2298,20 @@ class OperationServiceSpecificationDefinition(Model): definition. :type metric_specifications: list[~azure.mgmt.containerregistry.v2019_12_01_preview.models.OperationMetricSpecificationDefinition] + :param log_specifications: A list of Azure Monitoring log definitions. + :type log_specifications: + list[~azure.mgmt.containerregistry.v2019_12_01_preview.models.OperationLogSpecificationDefinition] """ _attribute_map = { 'metric_specifications': {'key': 'metricSpecifications', 'type': '[OperationMetricSpecificationDefinition]'}, + 'log_specifications': {'key': 'logSpecifications', 'type': '[OperationLogSpecificationDefinition]'}, } def __init__(self, **kwargs): super(OperationServiceSpecificationDefinition, self).__init__(**kwargs) self.metric_specifications = kwargs.get('metric_specifications', None) + self.log_specifications = kwargs.get('log_specifications', None) class OverrideTaskStepProperties(Model): @@ -2951,10 +2980,6 @@ class Registry(Resource): :param admin_user_enabled: The value that indicates whether the admin user is enabled. Default value: False . :type admin_user_enabled: bool - :param storage_account: The properties of the storage account for the - container registry. Only applicable to Classic SKU. - :type storage_account: - ~azure.mgmt.containerregistry.v2019_12_01_preview.models.StorageAccountProperties :param network_rule_set: The network rule set for a container registry. :type network_rule_set: ~azure.mgmt.containerregistry.v2019_12_01_preview.models.NetworkRuleSet @@ -2979,6 +3004,11 @@ class Registry(Resource): 'Disabled'. Default value: "Enabled" . :type public_network_access: str or ~azure.mgmt.containerregistry.v2019_12_01_preview.models.PublicNetworkAccess + :param network_rule_bypass_options: Whether to allow trusted Azure + services to access a network restricted registry. Possible values include: + 'AzureServices', 'None'. Default value: "AzureServices" . + :type network_rule_bypass_options: str or + ~azure.mgmt.containerregistry.v2019_12_01_preview.models.NetworkRuleBypassOptions """ _validation = { @@ -3010,7 +3040,6 @@ class Registry(Resource): 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'status': {'key': 'properties.status', 'type': 'Status'}, 'admin_user_enabled': {'key': 'properties.adminUserEnabled', 'type': 'bool'}, - 'storage_account': {'key': 'properties.storageAccount', 'type': 'StorageAccountProperties'}, 'network_rule_set': {'key': 'properties.networkRuleSet', 'type': 'NetworkRuleSet'}, 'policies': {'key': 'properties.policies', 'type': 'Policies'}, 'encryption': {'key': 'properties.encryption', 'type': 'EncryptionProperty'}, @@ -3018,6 +3047,7 @@ class Registry(Resource): 'data_endpoint_host_names': {'key': 'properties.dataEndpointHostNames', 'type': '[str]'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, 'public_network_access': {'key': 'properties.publicNetworkAccess', 'type': 'str'}, + 'network_rule_bypass_options': {'key': 'properties.networkRuleBypassOptions', 'type': 'str'}, } def __init__(self, **kwargs): @@ -3029,7 +3059,6 @@ def __init__(self, **kwargs): self.provisioning_state = None self.status = None self.admin_user_enabled = kwargs.get('admin_user_enabled', False) - self.storage_account = kwargs.get('storage_account', None) self.network_rule_set = kwargs.get('network_rule_set', None) self.policies = kwargs.get('policies', None) self.encryption = kwargs.get('encryption', None) @@ -3037,6 +3066,7 @@ def __init__(self, **kwargs): self.data_endpoint_host_names = None self.private_endpoint_connections = None self.public_network_access = kwargs.get('public_network_access', "Enabled") + self.network_rule_bypass_options = kwargs.get('network_rule_bypass_options', "AzureServices") class RegistryListCredentialsResult(Model): @@ -3145,13 +3175,13 @@ def __init__(self, **kwargs): class RegistryUpdateParameters(Model): """The parameters for updating a container registry. + :param identity: The identity of the container registry. + :type identity: + ~azure.mgmt.containerregistry.v2019_12_01_preview.models.IdentityProperties :param tags: The tags for the container registry. :type tags: dict[str, str] :param sku: The SKU of the container registry. :type sku: ~azure.mgmt.containerregistry.v2019_12_01_preview.models.Sku - :param identity: The identity of the container registry. - :type identity: - ~azure.mgmt.containerregistry.v2019_12_01_preview.models.IdentityProperties :param admin_user_enabled: The value that indicates whether the admin user is enabled. :type admin_user_enabled: bool @@ -3172,31 +3202,38 @@ class RegistryUpdateParameters(Model): 'Disabled' :type public_network_access: str or ~azure.mgmt.containerregistry.v2019_12_01_preview.models.PublicNetworkAccess + :param network_rule_bypass_options: Whether to allow trusted Azure + services to access a network restricted registry. Possible values include: + 'AzureServices', 'None'. Default value: "AzureServices" . + :type network_rule_bypass_options: str or + ~azure.mgmt.containerregistry.v2019_12_01_preview.models.NetworkRuleBypassOptions """ _attribute_map = { + 'identity': {'key': 'identity', 'type': 'IdentityProperties'}, 'tags': {'key': 'tags', 'type': '{str}'}, 'sku': {'key': 'sku', 'type': 'Sku'}, - 'identity': {'key': 'identity', 'type': 'IdentityProperties'}, 'admin_user_enabled': {'key': 'properties.adminUserEnabled', 'type': 'bool'}, 'network_rule_set': {'key': 'properties.networkRuleSet', 'type': 'NetworkRuleSet'}, 'policies': {'key': 'properties.policies', 'type': 'Policies'}, 'encryption': {'key': 'properties.encryption', 'type': 'EncryptionProperty'}, 'data_endpoint_enabled': {'key': 'properties.dataEndpointEnabled', 'type': 'bool'}, 'public_network_access': {'key': 'properties.publicNetworkAccess', 'type': 'str'}, + 'network_rule_bypass_options': {'key': 'properties.networkRuleBypassOptions', 'type': 'str'}, } def __init__(self, **kwargs): super(RegistryUpdateParameters, self).__init__(**kwargs) + self.identity = kwargs.get('identity', None) self.tags = kwargs.get('tags', None) self.sku = kwargs.get('sku', None) - self.identity = kwargs.get('identity', None) self.admin_user_enabled = kwargs.get('admin_user_enabled', None) self.network_rule_set = kwargs.get('network_rule_set', None) self.policies = kwargs.get('policies', None) self.encryption = kwargs.get('encryption', None) self.data_endpoint_enabled = kwargs.get('data_endpoint_enabled', None) self.public_network_access = kwargs.get('public_network_access', None) + self.network_rule_bypass_options = kwargs.get('network_rule_bypass_options', "AzureServices") class RegistryUsage(Model): @@ -4133,29 +4170,6 @@ def __init__(self, **kwargs): self.timestamp = None -class StorageAccountProperties(Model): - """The properties of a storage account for a container registry. Only - applicable to Classic SKU. - - All required parameters must be populated in order to send to Azure. - - :param id: Required. The resource ID of the storage account. - :type id: str - """ - - _validation = { - 'id': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(StorageAccountProperties, self).__init__(**kwargs) - self.id = kwargs.get('id', None) - - class SystemData(Model): """Metadata pertaining to creation and last modification of the resource. 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 81a4b6981ce6..fe91294c8898 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 @@ -2231,6 +2231,30 @@ def __init__(self, *, provider: str=None, resource: str=None, operation: str=Non self.description = description +class OperationLogSpecificationDefinition(Model): + """The definition of Azure Monitoring log. + + :param name: Log name. + :type name: str + :param display_name: Log display name. + :type display_name: str + :param blob_duration: Log blob duration. + :type blob_duration: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'blob_duration': {'key': 'blobDuration', 'type': 'str'}, + } + + def __init__(self, *, name: str=None, display_name: str=None, blob_duration: str=None, **kwargs) -> None: + super(OperationLogSpecificationDefinition, self).__init__(**kwargs) + self.name = name + self.display_name = display_name + self.blob_duration = blob_duration + + class OperationMetricSpecificationDefinition(Model): """The definition of Azure Monitoring metric. @@ -2274,15 +2298,20 @@ class OperationServiceSpecificationDefinition(Model): definition. :type metric_specifications: list[~azure.mgmt.containerregistry.v2019_12_01_preview.models.OperationMetricSpecificationDefinition] + :param log_specifications: A list of Azure Monitoring log definitions. + :type log_specifications: + list[~azure.mgmt.containerregistry.v2019_12_01_preview.models.OperationLogSpecificationDefinition] """ _attribute_map = { 'metric_specifications': {'key': 'metricSpecifications', 'type': '[OperationMetricSpecificationDefinition]'}, + 'log_specifications': {'key': 'logSpecifications', 'type': '[OperationLogSpecificationDefinition]'}, } - def __init__(self, *, metric_specifications=None, **kwargs) -> None: + def __init__(self, *, metric_specifications=None, log_specifications=None, **kwargs) -> None: super(OperationServiceSpecificationDefinition, self).__init__(**kwargs) self.metric_specifications = metric_specifications + self.log_specifications = log_specifications class OverrideTaskStepProperties(Model): @@ -2951,10 +2980,6 @@ class Registry(Resource): :param admin_user_enabled: The value that indicates whether the admin user is enabled. Default value: False . :type admin_user_enabled: bool - :param storage_account: The properties of the storage account for the - container registry. Only applicable to Classic SKU. - :type storage_account: - ~azure.mgmt.containerregistry.v2019_12_01_preview.models.StorageAccountProperties :param network_rule_set: The network rule set for a container registry. :type network_rule_set: ~azure.mgmt.containerregistry.v2019_12_01_preview.models.NetworkRuleSet @@ -2979,6 +3004,11 @@ class Registry(Resource): 'Disabled'. Default value: "Enabled" . :type public_network_access: str or ~azure.mgmt.containerregistry.v2019_12_01_preview.models.PublicNetworkAccess + :param network_rule_bypass_options: Whether to allow trusted Azure + services to access a network restricted registry. Possible values include: + 'AzureServices', 'None'. Default value: "AzureServices" . + :type network_rule_bypass_options: str or + ~azure.mgmt.containerregistry.v2019_12_01_preview.models.NetworkRuleBypassOptions """ _validation = { @@ -3010,7 +3040,6 @@ class Registry(Resource): 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'status': {'key': 'properties.status', 'type': 'Status'}, 'admin_user_enabled': {'key': 'properties.adminUserEnabled', 'type': 'bool'}, - 'storage_account': {'key': 'properties.storageAccount', 'type': 'StorageAccountProperties'}, 'network_rule_set': {'key': 'properties.networkRuleSet', 'type': 'NetworkRuleSet'}, 'policies': {'key': 'properties.policies', 'type': 'Policies'}, 'encryption': {'key': 'properties.encryption', 'type': 'EncryptionProperty'}, @@ -3018,9 +3047,10 @@ class Registry(Resource): 'data_endpoint_host_names': {'key': 'properties.dataEndpointHostNames', 'type': '[str]'}, 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, 'public_network_access': {'key': 'properties.publicNetworkAccess', 'type': 'str'}, + 'network_rule_bypass_options': {'key': 'properties.networkRuleBypassOptions', 'type': 'str'}, } - def __init__(self, *, location: str, sku, tags=None, identity=None, admin_user_enabled: bool=False, storage_account=None, network_rule_set=None, policies=None, encryption=None, data_endpoint_enabled: bool=None, public_network_access="Enabled", **kwargs) -> None: + def __init__(self, *, location: str, sku, tags=None, identity=None, admin_user_enabled: bool=False, network_rule_set=None, policies=None, encryption=None, data_endpoint_enabled: bool=None, public_network_access="Enabled", network_rule_bypass_options="AzureServices", **kwargs) -> None: super(Registry, self).__init__(location=location, tags=tags, **kwargs) self.sku = sku self.identity = identity @@ -3029,7 +3059,6 @@ def __init__(self, *, location: str, sku, tags=None, identity=None, admin_user_e self.provisioning_state = None self.status = None self.admin_user_enabled = admin_user_enabled - self.storage_account = storage_account self.network_rule_set = network_rule_set self.policies = policies self.encryption = encryption @@ -3037,6 +3066,7 @@ def __init__(self, *, location: str, sku, tags=None, identity=None, admin_user_e self.data_endpoint_host_names = None self.private_endpoint_connections = None self.public_network_access = public_network_access + self.network_rule_bypass_options = network_rule_bypass_options class RegistryListCredentialsResult(Model): @@ -3145,13 +3175,13 @@ def __init__(self, *, name=None, value: str=None, **kwargs) -> None: class RegistryUpdateParameters(Model): """The parameters for updating a container registry. + :param identity: The identity of the container registry. + :type identity: + ~azure.mgmt.containerregistry.v2019_12_01_preview.models.IdentityProperties :param tags: The tags for the container registry. :type tags: dict[str, str] :param sku: The SKU of the container registry. :type sku: ~azure.mgmt.containerregistry.v2019_12_01_preview.models.Sku - :param identity: The identity of the container registry. - :type identity: - ~azure.mgmt.containerregistry.v2019_12_01_preview.models.IdentityProperties :param admin_user_enabled: The value that indicates whether the admin user is enabled. :type admin_user_enabled: bool @@ -3172,31 +3202,38 @@ class RegistryUpdateParameters(Model): 'Disabled' :type public_network_access: str or ~azure.mgmt.containerregistry.v2019_12_01_preview.models.PublicNetworkAccess + :param network_rule_bypass_options: Whether to allow trusted Azure + services to access a network restricted registry. Possible values include: + 'AzureServices', 'None'. Default value: "AzureServices" . + :type network_rule_bypass_options: str or + ~azure.mgmt.containerregistry.v2019_12_01_preview.models.NetworkRuleBypassOptions """ _attribute_map = { + 'identity': {'key': 'identity', 'type': 'IdentityProperties'}, 'tags': {'key': 'tags', 'type': '{str}'}, 'sku': {'key': 'sku', 'type': 'Sku'}, - 'identity': {'key': 'identity', 'type': 'IdentityProperties'}, 'admin_user_enabled': {'key': 'properties.adminUserEnabled', 'type': 'bool'}, 'network_rule_set': {'key': 'properties.networkRuleSet', 'type': 'NetworkRuleSet'}, 'policies': {'key': 'properties.policies', 'type': 'Policies'}, 'encryption': {'key': 'properties.encryption', 'type': 'EncryptionProperty'}, 'data_endpoint_enabled': {'key': 'properties.dataEndpointEnabled', 'type': 'bool'}, 'public_network_access': {'key': 'properties.publicNetworkAccess', 'type': 'str'}, + 'network_rule_bypass_options': {'key': 'properties.networkRuleBypassOptions', 'type': 'str'}, } - def __init__(self, *, tags=None, sku=None, identity=None, admin_user_enabled: bool=None, network_rule_set=None, policies=None, encryption=None, data_endpoint_enabled: bool=None, public_network_access=None, **kwargs) -> None: + def __init__(self, *, identity=None, tags=None, sku=None, admin_user_enabled: bool=None, network_rule_set=None, policies=None, encryption=None, data_endpoint_enabled: bool=None, public_network_access=None, network_rule_bypass_options="AzureServices", **kwargs) -> None: super(RegistryUpdateParameters, self).__init__(**kwargs) + self.identity = identity self.tags = tags self.sku = sku - self.identity = identity self.admin_user_enabled = admin_user_enabled self.network_rule_set = network_rule_set self.policies = policies self.encryption = encryption self.data_endpoint_enabled = data_endpoint_enabled self.public_network_access = public_network_access + self.network_rule_bypass_options = network_rule_bypass_options class RegistryUsage(Model): @@ -4133,29 +4170,6 @@ def __init__(self, **kwargs) -> None: self.timestamp = None -class StorageAccountProperties(Model): - """The properties of a storage account for a container registry. Only - applicable to Classic SKU. - - All required parameters must be populated in order to send to Azure. - - :param id: Required. The resource ID of the storage account. - :type id: str - """ - - _validation = { - 'id': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - } - - def __init__(self, *, id: str, **kwargs) -> None: - super(StorageAccountProperties, self).__init__(**kwargs) - self.id = id - - class SystemData(Model): """Metadata pertaining to creation and last modification of the resource. diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2020_11_01_preview/models/__init__.py b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2020_11_01_preview/models/__init__.py index abbf1d491aa1..a22f7c3f9e94 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2020_11_01_preview/models/__init__.py +++ b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2020_11_01_preview/models/__init__.py @@ -65,6 +65,7 @@ from ._models_py3 import NetworkRuleSet from ._models_py3 import OperationDefinition from ._models_py3 import OperationDisplayDefinition + from ._models_py3 import OperationLogSpecificationDefinition from ._models_py3 import OperationMetricSpecificationDefinition from ._models_py3 import OperationServiceSpecificationDefinition from ._models_py3 import OverrideTaskStepProperties @@ -122,7 +123,6 @@ from ._models_py3 import SourceUploadDefinition from ._models_py3 import Status from ._models_py3 import StatusDetailProperties - from ._models_py3 import StorageAccountProperties from ._models_py3 import SyncProperties from ._models_py3 import SyncUpdateProperties from ._models_py3 import SystemData @@ -208,6 +208,7 @@ from ._models import NetworkRuleSet from ._models import OperationDefinition from ._models import OperationDisplayDefinition + from ._models import OperationLogSpecificationDefinition from ._models import OperationMetricSpecificationDefinition from ._models import OperationServiceSpecificationDefinition from ._models import OverrideTaskStepProperties @@ -265,7 +266,6 @@ from ._models import SourceUploadDefinition from ._models import Status from ._models import StatusDetailProperties - from ._models import StorageAccountProperties from ._models import SyncProperties from ._models import SyncUpdateProperties from ._models import SystemData @@ -421,6 +421,7 @@ 'NetworkRuleSet', 'OperationDefinition', 'OperationDisplayDefinition', + 'OperationLogSpecificationDefinition', 'OperationMetricSpecificationDefinition', 'OperationServiceSpecificationDefinition', 'OverrideTaskStepProperties', @@ -478,7 +479,6 @@ 'SourceUploadDefinition', 'Status', 'StatusDetailProperties', - 'StorageAccountProperties', 'SyncProperties', 'SyncUpdateProperties', 'SystemData', diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2020_11_01_preview/models/_models.py b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2020_11_01_preview/models/_models.py index a051bac77db3..9dff9713fe39 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2020_11_01_preview/models/_models.py +++ b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2020_11_01_preview/models/_models.py @@ -2448,6 +2448,30 @@ def __init__(self, **kwargs): self.description = kwargs.get('description', None) +class OperationLogSpecificationDefinition(Model): + """The definition of Azure Monitoring log. + + :param name: Log name. + :type name: str + :param display_name: Log display name. + :type display_name: str + :param blob_duration: Log blob duration. + :type blob_duration: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'blob_duration': {'key': 'blobDuration', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(OperationLogSpecificationDefinition, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display_name = kwargs.get('display_name', None) + self.blob_duration = kwargs.get('blob_duration', None) + + class OperationMetricSpecificationDefinition(Model): """The definition of Azure Monitoring metric. @@ -2491,15 +2515,20 @@ class OperationServiceSpecificationDefinition(Model): definition. :type metric_specifications: list[~azure.mgmt.containerregistry.v2020_11_01_preview.models.OperationMetricSpecificationDefinition] + :param log_specifications: A list of Azure Monitoring log definitions. + :type log_specifications: + list[~azure.mgmt.containerregistry.v2020_11_01_preview.models.OperationLogSpecificationDefinition] """ _attribute_map = { 'metric_specifications': {'key': 'metricSpecifications', 'type': '[OperationMetricSpecificationDefinition]'}, + 'log_specifications': {'key': 'logSpecifications', 'type': '[OperationLogSpecificationDefinition]'}, } def __init__(self, **kwargs): super(OperationServiceSpecificationDefinition, self).__init__(**kwargs) self.metric_specifications = kwargs.get('metric_specifications', None) + self.log_specifications = kwargs.get('log_specifications', None) class OverrideTaskStepProperties(Model): @@ -3197,10 +3226,6 @@ class Registry(Resource): :param admin_user_enabled: The value that indicates whether the admin user is enabled. Default value: False . :type admin_user_enabled: bool - :param storage_account: The properties of the storage account for the - container registry. Only applicable to Classic SKU. - :type storage_account: - ~azure.mgmt.containerregistry.v2020_11_01_preview.models.StorageAccountProperties :param network_rule_set: The network rule set for a container registry. :type network_rule_set: ~azure.mgmt.containerregistry.v2020_11_01_preview.models.NetworkRuleSet @@ -3235,6 +3260,9 @@ class Registry(Resource): Default value: "Disabled" . :type zone_redundancy: str or ~azure.mgmt.containerregistry.v2020_11_01_preview.models.ZoneRedundancy + :param anonymous_pull_enabled: Enables registry-wide pull from + unauthenticated clients. + :type anonymous_pull_enabled: bool """ _validation = { @@ -3266,7 +3294,6 @@ class Registry(Resource): 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'status': {'key': 'properties.status', 'type': 'Status'}, 'admin_user_enabled': {'key': 'properties.adminUserEnabled', 'type': 'bool'}, - 'storage_account': {'key': 'properties.storageAccount', 'type': 'StorageAccountProperties'}, 'network_rule_set': {'key': 'properties.networkRuleSet', 'type': 'NetworkRuleSet'}, 'policies': {'key': 'properties.policies', 'type': 'Policies'}, 'encryption': {'key': 'properties.encryption', 'type': 'EncryptionProperty'}, @@ -3276,6 +3303,7 @@ class Registry(Resource): 'public_network_access': {'key': 'properties.publicNetworkAccess', 'type': 'str'}, 'network_rule_bypass_options': {'key': 'properties.networkRuleBypassOptions', 'type': 'str'}, 'zone_redundancy': {'key': 'properties.zoneRedundancy', 'type': 'str'}, + 'anonymous_pull_enabled': {'key': 'properties.anonymousPullEnabled', 'type': 'bool'}, } def __init__(self, **kwargs): @@ -3287,7 +3315,6 @@ def __init__(self, **kwargs): self.provisioning_state = None self.status = None self.admin_user_enabled = kwargs.get('admin_user_enabled', False) - self.storage_account = kwargs.get('storage_account', None) self.network_rule_set = kwargs.get('network_rule_set', None) self.policies = kwargs.get('policies', None) self.encryption = kwargs.get('encryption', None) @@ -3297,6 +3324,7 @@ def __init__(self, **kwargs): self.public_network_access = kwargs.get('public_network_access', "Enabled") self.network_rule_bypass_options = kwargs.get('network_rule_bypass_options', "AzureServices") self.zone_redundancy = kwargs.get('zone_redundancy', "Disabled") + self.anonymous_pull_enabled = kwargs.get('anonymous_pull_enabled', None) class RegistryListCredentialsResult(Model): @@ -3405,13 +3433,13 @@ def __init__(self, **kwargs): class RegistryUpdateParameters(Model): """The parameters for updating a container registry. + :param identity: The identity of the container registry. + :type identity: + ~azure.mgmt.containerregistry.v2020_11_01_preview.models.IdentityProperties :param tags: The tags for the container registry. :type tags: dict[str, str] :param sku: The SKU of the container registry. :type sku: ~azure.mgmt.containerregistry.v2020_11_01_preview.models.Sku - :param identity: The identity of the container registry. - :type identity: - ~azure.mgmt.containerregistry.v2020_11_01_preview.models.IdentityProperties :param admin_user_enabled: The value that indicates whether the admin user is enabled. :type admin_user_enabled: bool @@ -3437,12 +3465,15 @@ class RegistryUpdateParameters(Model): 'AzureServices', 'None'. Default value: "AzureServices" . :type network_rule_bypass_options: str or ~azure.mgmt.containerregistry.v2020_11_01_preview.models.NetworkRuleBypassOptions + :param anonymous_pull_enabled: Enables registry-wide pull from + unauthenticated clients. + :type anonymous_pull_enabled: bool """ _attribute_map = { + 'identity': {'key': 'identity', 'type': 'IdentityProperties'}, 'tags': {'key': 'tags', 'type': '{str}'}, 'sku': {'key': 'sku', 'type': 'Sku'}, - 'identity': {'key': 'identity', 'type': 'IdentityProperties'}, 'admin_user_enabled': {'key': 'properties.adminUserEnabled', 'type': 'bool'}, 'network_rule_set': {'key': 'properties.networkRuleSet', 'type': 'NetworkRuleSet'}, 'policies': {'key': 'properties.policies', 'type': 'Policies'}, @@ -3450,13 +3481,14 @@ class RegistryUpdateParameters(Model): 'data_endpoint_enabled': {'key': 'properties.dataEndpointEnabled', 'type': 'bool'}, 'public_network_access': {'key': 'properties.publicNetworkAccess', 'type': 'str'}, 'network_rule_bypass_options': {'key': 'properties.networkRuleBypassOptions', 'type': 'str'}, + 'anonymous_pull_enabled': {'key': 'properties.anonymousPullEnabled', 'type': 'bool'}, } def __init__(self, **kwargs): super(RegistryUpdateParameters, self).__init__(**kwargs) + self.identity = kwargs.get('identity', None) self.tags = kwargs.get('tags', None) self.sku = kwargs.get('sku', None) - self.identity = kwargs.get('identity', None) self.admin_user_enabled = kwargs.get('admin_user_enabled', None) self.network_rule_set = kwargs.get('network_rule_set', None) self.policies = kwargs.get('policies', None) @@ -3464,6 +3496,7 @@ def __init__(self, **kwargs): self.data_endpoint_enabled = kwargs.get('data_endpoint_enabled', None) self.public_network_access = kwargs.get('public_network_access', None) self.network_rule_bypass_options = kwargs.get('network_rule_bypass_options', "AzureServices") + self.anonymous_pull_enabled = kwargs.get('anonymous_pull_enabled', None) class RegistryUsage(Model): @@ -4451,29 +4484,6 @@ def __init__(self, **kwargs): self.correlation_id = None -class StorageAccountProperties(Model): - """The properties of a storage account for a container registry. Only - applicable to Classic SKU. - - All required parameters must be populated in order to send to Azure. - - :param id: Required. The resource ID of the storage account. - :type id: str - """ - - _validation = { - 'id': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(StorageAccountProperties, self).__init__(**kwargs) - self.id = kwargs.get('id', None) - - class SyncProperties(Model): """The sync properties of the connected registry with its parent. diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2020_11_01_preview/models/_models_py3.py b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2020_11_01_preview/models/_models_py3.py index f46db2d25ec4..d7dbdb6f9fd3 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2020_11_01_preview/models/_models_py3.py +++ b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2020_11_01_preview/models/_models_py3.py @@ -2448,6 +2448,30 @@ def __init__(self, *, provider: str=None, resource: str=None, operation: str=Non self.description = description +class OperationLogSpecificationDefinition(Model): + """The definition of Azure Monitoring log. + + :param name: Log name. + :type name: str + :param display_name: Log display name. + :type display_name: str + :param blob_duration: Log blob duration. + :type blob_duration: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'blob_duration': {'key': 'blobDuration', 'type': 'str'}, + } + + def __init__(self, *, name: str=None, display_name: str=None, blob_duration: str=None, **kwargs) -> None: + super(OperationLogSpecificationDefinition, self).__init__(**kwargs) + self.name = name + self.display_name = display_name + self.blob_duration = blob_duration + + class OperationMetricSpecificationDefinition(Model): """The definition of Azure Monitoring metric. @@ -2491,15 +2515,20 @@ class OperationServiceSpecificationDefinition(Model): definition. :type metric_specifications: list[~azure.mgmt.containerregistry.v2020_11_01_preview.models.OperationMetricSpecificationDefinition] + :param log_specifications: A list of Azure Monitoring log definitions. + :type log_specifications: + list[~azure.mgmt.containerregistry.v2020_11_01_preview.models.OperationLogSpecificationDefinition] """ _attribute_map = { 'metric_specifications': {'key': 'metricSpecifications', 'type': '[OperationMetricSpecificationDefinition]'}, + 'log_specifications': {'key': 'logSpecifications', 'type': '[OperationLogSpecificationDefinition]'}, } - def __init__(self, *, metric_specifications=None, **kwargs) -> None: + def __init__(self, *, metric_specifications=None, log_specifications=None, **kwargs) -> None: super(OperationServiceSpecificationDefinition, self).__init__(**kwargs) self.metric_specifications = metric_specifications + self.log_specifications = log_specifications class OverrideTaskStepProperties(Model): @@ -3197,10 +3226,6 @@ class Registry(Resource): :param admin_user_enabled: The value that indicates whether the admin user is enabled. Default value: False . :type admin_user_enabled: bool - :param storage_account: The properties of the storage account for the - container registry. Only applicable to Classic SKU. - :type storage_account: - ~azure.mgmt.containerregistry.v2020_11_01_preview.models.StorageAccountProperties :param network_rule_set: The network rule set for a container registry. :type network_rule_set: ~azure.mgmt.containerregistry.v2020_11_01_preview.models.NetworkRuleSet @@ -3235,6 +3260,9 @@ class Registry(Resource): Default value: "Disabled" . :type zone_redundancy: str or ~azure.mgmt.containerregistry.v2020_11_01_preview.models.ZoneRedundancy + :param anonymous_pull_enabled: Enables registry-wide pull from + unauthenticated clients. + :type anonymous_pull_enabled: bool """ _validation = { @@ -3266,7 +3294,6 @@ class Registry(Resource): 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'status': {'key': 'properties.status', 'type': 'Status'}, 'admin_user_enabled': {'key': 'properties.adminUserEnabled', 'type': 'bool'}, - 'storage_account': {'key': 'properties.storageAccount', 'type': 'StorageAccountProperties'}, 'network_rule_set': {'key': 'properties.networkRuleSet', 'type': 'NetworkRuleSet'}, 'policies': {'key': 'properties.policies', 'type': 'Policies'}, 'encryption': {'key': 'properties.encryption', 'type': 'EncryptionProperty'}, @@ -3276,9 +3303,10 @@ class Registry(Resource): 'public_network_access': {'key': 'properties.publicNetworkAccess', 'type': 'str'}, 'network_rule_bypass_options': {'key': 'properties.networkRuleBypassOptions', 'type': 'str'}, 'zone_redundancy': {'key': 'properties.zoneRedundancy', 'type': 'str'}, + 'anonymous_pull_enabled': {'key': 'properties.anonymousPullEnabled', 'type': 'bool'}, } - def __init__(self, *, location: str, sku, tags=None, identity=None, admin_user_enabled: bool=False, storage_account=None, network_rule_set=None, policies=None, encryption=None, data_endpoint_enabled: bool=None, public_network_access="Enabled", network_rule_bypass_options="AzureServices", zone_redundancy="Disabled", **kwargs) -> None: + def __init__(self, *, location: str, sku, tags=None, identity=None, admin_user_enabled: bool=False, network_rule_set=None, policies=None, encryption=None, data_endpoint_enabled: bool=None, public_network_access="Enabled", network_rule_bypass_options="AzureServices", zone_redundancy="Disabled", anonymous_pull_enabled: bool=None, **kwargs) -> None: super(Registry, self).__init__(location=location, tags=tags, **kwargs) self.sku = sku self.identity = identity @@ -3287,7 +3315,6 @@ def __init__(self, *, location: str, sku, tags=None, identity=None, admin_user_e self.provisioning_state = None self.status = None self.admin_user_enabled = admin_user_enabled - self.storage_account = storage_account self.network_rule_set = network_rule_set self.policies = policies self.encryption = encryption @@ -3297,6 +3324,7 @@ def __init__(self, *, location: str, sku, tags=None, identity=None, admin_user_e self.public_network_access = public_network_access self.network_rule_bypass_options = network_rule_bypass_options self.zone_redundancy = zone_redundancy + self.anonymous_pull_enabled = anonymous_pull_enabled class RegistryListCredentialsResult(Model): @@ -3405,13 +3433,13 @@ def __init__(self, *, name=None, value: str=None, **kwargs) -> None: class RegistryUpdateParameters(Model): """The parameters for updating a container registry. + :param identity: The identity of the container registry. + :type identity: + ~azure.mgmt.containerregistry.v2020_11_01_preview.models.IdentityProperties :param tags: The tags for the container registry. :type tags: dict[str, str] :param sku: The SKU of the container registry. :type sku: ~azure.mgmt.containerregistry.v2020_11_01_preview.models.Sku - :param identity: The identity of the container registry. - :type identity: - ~azure.mgmt.containerregistry.v2020_11_01_preview.models.IdentityProperties :param admin_user_enabled: The value that indicates whether the admin user is enabled. :type admin_user_enabled: bool @@ -3437,12 +3465,15 @@ class RegistryUpdateParameters(Model): 'AzureServices', 'None'. Default value: "AzureServices" . :type network_rule_bypass_options: str or ~azure.mgmt.containerregistry.v2020_11_01_preview.models.NetworkRuleBypassOptions + :param anonymous_pull_enabled: Enables registry-wide pull from + unauthenticated clients. + :type anonymous_pull_enabled: bool """ _attribute_map = { + 'identity': {'key': 'identity', 'type': 'IdentityProperties'}, 'tags': {'key': 'tags', 'type': '{str}'}, 'sku': {'key': 'sku', 'type': 'Sku'}, - 'identity': {'key': 'identity', 'type': 'IdentityProperties'}, 'admin_user_enabled': {'key': 'properties.adminUserEnabled', 'type': 'bool'}, 'network_rule_set': {'key': 'properties.networkRuleSet', 'type': 'NetworkRuleSet'}, 'policies': {'key': 'properties.policies', 'type': 'Policies'}, @@ -3450,13 +3481,14 @@ class RegistryUpdateParameters(Model): 'data_endpoint_enabled': {'key': 'properties.dataEndpointEnabled', 'type': 'bool'}, 'public_network_access': {'key': 'properties.publicNetworkAccess', 'type': 'str'}, 'network_rule_bypass_options': {'key': 'properties.networkRuleBypassOptions', 'type': 'str'}, + 'anonymous_pull_enabled': {'key': 'properties.anonymousPullEnabled', 'type': 'bool'}, } - def __init__(self, *, tags=None, sku=None, identity=None, admin_user_enabled: bool=None, network_rule_set=None, policies=None, encryption=None, data_endpoint_enabled: bool=None, public_network_access=None, network_rule_bypass_options="AzureServices", **kwargs) -> None: + def __init__(self, *, identity=None, tags=None, sku=None, admin_user_enabled: bool=None, network_rule_set=None, policies=None, encryption=None, data_endpoint_enabled: bool=None, public_network_access=None, network_rule_bypass_options="AzureServices", anonymous_pull_enabled: bool=None, **kwargs) -> None: super(RegistryUpdateParameters, self).__init__(**kwargs) + self.identity = identity self.tags = tags self.sku = sku - self.identity = identity self.admin_user_enabled = admin_user_enabled self.network_rule_set = network_rule_set self.policies = policies @@ -3464,6 +3496,7 @@ def __init__(self, *, tags=None, sku=None, identity=None, admin_user_enabled: bo self.data_endpoint_enabled = data_endpoint_enabled self.public_network_access = public_network_access self.network_rule_bypass_options = network_rule_bypass_options + self.anonymous_pull_enabled = anonymous_pull_enabled class RegistryUsage(Model): @@ -4451,29 +4484,6 @@ def __init__(self, **kwargs) -> None: self.correlation_id = None -class StorageAccountProperties(Model): - """The properties of a storage account for a container registry. Only - applicable to Classic SKU. - - All required parameters must be populated in order to send to Azure. - - :param id: Required. The resource ID of the storage account. - :type id: str - """ - - _validation = { - 'id': {'required': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - } - - def __init__(self, *, id: str, **kwargs) -> None: - super(StorageAccountProperties, self).__init__(**kwargs) - self.id = id - - class SyncProperties(Model): """The sync properties of the connected registry with its parent. 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 24b2c56ddf3d..7c53d15ecb24 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.0rc16" +VERSION = "3.0.0rc17" 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 072138d72f76..562ba4712d0d 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.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 Azure-SDK-For-Python accept-language: - en-US method: POST @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:51:59 GMT + - Wed, 24 Feb 2021 08:36:26 GMT expires: - '-1' pragma: @@ -63,15 +63,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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-12-09T02:52:05.2082516Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]},"policies":{"quarantinePolicy":{"status":"disabled"},"trustPolicy":{"type":"Notary","status":"disabled"},"retentionPolicy":{"days":7,"lastUpdatedTime":"2020-12-09T02:52:07.4563246+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":"2021-02-24T08:36:32.4827683Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]},"policies":{"quarantinePolicy":{"status":"disabled"},"trustPolicy":{"type":"Notary","status":"disabled"},"retentionPolicy":{"days":7,"lastUpdatedTime":"2021-02-24T08:36:42.6537807+00:00","status":"disabled"}}}}' headers: cache-control: - no-cache @@ -80,7 +80,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:52:08 GMT + - Wed, 24 Feb 2021 08:36:43 GMT expires: - '-1' pragma: @@ -110,15 +110,15 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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-12-09T02:52:05.2082516Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]},"policies":{"quarantinePolicy":{"status":"disabled"},"trustPolicy":{"type":"Notary","status":"disabled"},"retentionPolicy":{"days":7,"lastUpdatedTime":"2020-12-09T02:52:07.4563246+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":"2021-02-24T08:36:32.4827683Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]},"policies":{"quarantinePolicy":{"status":"disabled"},"trustPolicy":{"type":"Notary","status":"disabled"},"retentionPolicy":{"days":7,"lastUpdatedTime":"2021-02-24T08:36:42.6537807+00:00","status":"disabled"}}}}]}' headers: cache-control: - no-cache @@ -127,7 +127,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:52:08 GMT + - Wed, 24 Feb 2021 08:36:44 GMT expires: - '-1' pragma: @@ -159,15 +159,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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-12-09T02:52:05.2082516Z","provisioningState":"Succeeded","adminUserEnabled":true,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]},"policies":{"quarantinePolicy":{"status":"disabled"},"trustPolicy":{"type":"Notary","status":"disabled"},"retentionPolicy":{"days":7,"lastUpdatedTime":"2020-12-09T02:52:07.4563246+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":"2021-02-24T08:36:32.4827683Z","provisioningState":"Succeeded","adminUserEnabled":true,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]},"policies":{"quarantinePolicy":{"status":"disabled"},"trustPolicy":{"type":"Notary","status":"disabled"},"retentionPolicy":{"days":7,"lastUpdatedTime":"2021-02-24T08:36:42.6537807+00:00","status":"disabled"}}}}' headers: cache-control: - no-cache @@ -176,7 +176,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:52:11 GMT + - Wed, 24 Feb 2021 08:36:49 GMT expires: - '-1' pragma: @@ -206,15 +206,15 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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-12-09T02:52:05.2082516Z","provisioningState":"Succeeded","adminUserEnabled":true,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]},"policies":{"quarantinePolicy":{"status":"disabled"},"trustPolicy":{"type":"Notary","status":"disabled"},"retentionPolicy":{"days":7,"lastUpdatedTime":"2020-12-09T02:52:07.4563246+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":"2021-02-24T08:36:32.4827683Z","provisioningState":"Succeeded","adminUserEnabled":true,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]},"policies":{"quarantinePolicy":{"status":"disabled"},"trustPolicy":{"type":"Notary","status":"disabled"},"retentionPolicy":{"days":7,"lastUpdatedTime":"2021-02-24T08:36:42.6537807+00:00","status":"disabled"}}}}' headers: cache-control: - no-cache @@ -223,7 +223,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:52:12 GMT + - Wed, 24 Feb 2021 08:36:49 GMT expires: - '-1' pragma: @@ -253,15 +253,15 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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":"irBxSz4SuMcxH19Bwx0TG=0Oph6jTw5S"},{"name":"password2","value":"rfJc8ZFhr2ppZRdL5PybuP=LO1dfsNTx"}]}' + string: '{"username":"pyacrfe331462","passwords":[{"name":"password","value":"SJ6X5YJRtUPrlY887nfKjVwE4VhWyik/"},{"name":"password2","value":"lVBWLgq5gwLNTzu8iQN2XTvByr+se0Fe"}]}' headers: cache-control: - no-cache @@ -270,7 +270,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:52:12 GMT + - Wed, 24 Feb 2021 08:36:50 GMT expires: - '-1' pragma: @@ -304,15 +304,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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":"flKIE+BJEqLrtKhZnaCIeQCi1QXeWWEq"},{"name":"password2","value":"rfJc8ZFhr2ppZRdL5PybuP=LO1dfsNTx"}]}' + string: '{"username":"pyacrfe331462","passwords":[{"name":"password","value":"ESD8IOVyrdW5EGdESGgtIFwfYm0co+X3"},{"name":"password2","value":"lVBWLgq5gwLNTzu8iQN2XTvByr+se0Fe"}]}' headers: cache-control: - no-cache @@ -321,7 +321,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:52:12 GMT + - Wed, 24 Feb 2021 08:36:50 GMT expires: - '-1' pragma: @@ -351,8 +351,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -368,7 +368,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:52:13 GMT + - Wed, 24 Feb 2021 08:36:50 GMT expires: - '-1' pragma: @@ -398,8 +398,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -413,7 +413,7 @@ interactions: content-length: - '0' date: - - Wed, 09 Dec 2020 02:52:19 GMT + - Wed, 24 Feb 2021 08:37:03 GMT expires: - '-1' pragma: @@ -425,7 +425,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14998' 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 6433eeef8a2e..ee427050a68d 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,15 +14,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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-12-09T02:52:35.4830298Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]},"policies":{"quarantinePolicy":{"status":"disabled"},"trustPolicy":{"type":"Notary","status":"disabled"},"retentionPolicy":{"days":7,"lastUpdatedTime":"2020-12-09T02:52:37.4855603+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":"2021-02-24T08:37:20.0819652Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]},"policies":{"quarantinePolicy":{"status":"disabled"},"trustPolicy":{"type":"Notary","status":"disabled"},"retentionPolicy":{"days":7,"lastUpdatedTime":"2021-02-24T08:37:26.6301085+00:00","status":"disabled"}}}}' headers: cache-control: - no-cache @@ -31,7 +31,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:52:38 GMT + - Wed, 24 Feb 2021 08:37:28 GMT expires: - '-1' pragma: @@ -47,7 +47,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1199' status: code: 200 message: OK @@ -66,8 +66,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 Azure-SDK-For-Python accept-language: - en-US method: PUT @@ -83,7 +83,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:52:41 GMT + - Wed, 24 Feb 2021 08:37:32 GMT expires: - '-1' pragma: @@ -99,7 +99,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1198' status: code: 200 message: OK @@ -113,8 +113,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -130,7 +130,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:52:41 GMT + - Wed, 24 Feb 2021 08:37:33 GMT expires: - '-1' pragma: @@ -163,8 +163,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 Azure-SDK-For-Python accept-language: - en-US method: PATCH @@ -180,7 +180,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:52:44 GMT + - Wed, 24 Feb 2021 08:37:35 GMT expires: - '-1' pragma: @@ -196,7 +196,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1197' status: code: 200 message: OK @@ -210,8 +210,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -227,7 +227,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:52:45 GMT + - Wed, 24 Feb 2021 08:37:35 GMT expires: - '-1' pragma: @@ -257,8 +257,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 Azure-SDK-For-Python accept-language: - en-US method: POST @@ -274,7 +274,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:52:45 GMT + - Wed, 24 Feb 2021 08:37:36 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.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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":"7bc8ab63-bbfc-47bb-a39e-4471186428f2"}' + string: '{"id":"18f97e3f-48b4-4a77-aa35-0ebc79b4964d"}' headers: cache-control: - no-cache @@ -323,7 +323,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:52:46 GMT + - Wed, 24 Feb 2021 08:37:36 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.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -370,7 +370,7 @@ interactions: content-length: - '0' date: - - Wed, 09 Dec 2020 02:52:49 GMT + - Wed, 24 Feb 2021 08:37:39 GMT expires: - '-1' pragma: @@ -382,7 +382,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14996' + - '14999' status: code: 200 message: OK @@ -398,8 +398,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -413,7 +413,7 @@ interactions: content-length: - '0' date: - - Wed, 09 Dec 2020 02:52:54 GMT + - Wed, 24 Feb 2021 08:37:49 GMT expires: - '-1' pragma: @@ -425,7 +425,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14995' + - '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 1d6f6469c950..8c15b37e3ddd 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.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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-12-09T02:53:09.7011173Z","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":"2021-02-24T08:38:05.4483193Z","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, 09 Dec 2020 02:53:13 GMT + - Wed, 24 Feb 2021 08:38:12 GMT expires: - '-1' pragma: @@ -63,24 +63,24 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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://eusmanaged8.blob.core.windows.net/f7055c80f5664853a9492d728e36b29e-otq59osvuj/source/202012090000/47e5c8ff-5142-4726-a4e3-1d2f9d4c2e95.tar.gz?sv=2018-03-28&sr=b&sig=c09PVAFh0Bk%2B8iIFGCanyL8ZEd%2B60TG%2B9ga7gga42s0%3D&se=2020-12-09T03%3A53%3A15Z&sp=cw","relativePath":"source/202012090000/47e5c8ff-5142-4726-a4e3-1d2f9d4c2e95.tar.gz"}' + string: '{"uploadUrl":"https://eusmanaged49.blob.core.windows.net/b8b2365cc0774917bec04bbb0d2a0397-1dnt32ov0m/source/202102240000/222ca6e8-129c-4907-b92d-9ae4c6930880.tar.gz?sv=2018-03-28&sr=b&sig=gd9ObT%2F%2FQ6kE5GFUNTXyv%2F0FLwUwJ9LrXK1NFHyqXyQ%3D&se=2021-02-24T09%3A38%3A13Z&sp=cw","relativePath":"source/202102240000/222ca6e8-129c-4907-b92d-9ae4c6930880.tar.gz"}' headers: cache-control: - no-cache content-length: - - '356' + - '357' content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:53:14 GMT + - Wed, 24 Feb 2021 08:38:13 GMT expires: - '-1' pragma: @@ -116,15 +116,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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-12-09T02:53:15+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":"2021-02-24T08:38:14+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, 09 Dec 2020 02:53:15 GMT + - Wed, 24 Feb 2021 08:38:14 GMT expires: - '-1' pragma: @@ -163,24 +163,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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-12-09T02:53:15+00:00","buildType":"QuickBuild","createTime":"2020-12-09T02:53:15.519439+00:00","isArchiveEnabled":false,"platform":{},"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":"Queued","lastUpdatedTime":"2021-02-24T08:38:14+00:00","buildType":"QuickBuild","createTime":"2021-02-24T08:38:14.3440414+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: - - '534' + - '559' content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:53:15 GMT + - Wed, 24 Feb 2021 08:38:14 GMT expires: - '-1' pragma: @@ -208,24 +208,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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":"Queued","lastUpdatedTime":"2020-12-09T02:53:16+00:00","buildType":"QuickBuild","createTime":"2020-12-09T02:53:15.519439+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":"2021-02-24T08:38:14+00:00","buildType":"QuickBuild","createTime":"2021-02-24T08:38:14.3440414+00:00","startTime":"2021-02-24T08:38:14.822102+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: - - '546' + - '595' content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:53:15 GMT + - Wed, 24 Feb 2021 08:38:14 GMT expires: - '-1' pragma: @@ -257,15 +257,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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-12-09T02:53:16+00:00","buildType":"QuickBuild","createTime":"2020-12-09T02:53:15.519439+00:00","startTime":"2020-12-09T02:53:16.2850575+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":"2021-02-24T08:38:15+00:00","buildType":"QuickBuild","createTime":"2021-02-24T08:38:14.3440414+00:00","startTime":"2021-02-24T08:38:14.822102+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, 09 Dec 2020 02:53:16 GMT + - Wed, 24 Feb 2021 08:38:15 GMT expires: - '-1' pragma: @@ -306,24 +306,24 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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://eusmanaged8.blob.core.windows.net/f7055c80f5664853a9492d728e36b29e-otq59osvuj/logs/aa1/rawtext.log?sv=2018-03-28&sr=b&sig=%2FV%2F8ZuO0kNf2flkMliTQAS%2FJ%2BCGEeznM1cKmPqnGphk%3D&se=2020-12-09T04%3A03%3A17Z&sp=r"}' + string: '{"logLink":"https://eusmanaged49.blob.core.windows.net/b8b2365cc0774917bec04bbb0d2a0397-1dnt32ov0m/logs/aa1/rawtext.log?sv=2018-03-28&sr=b&sig=iMcDJ%2BYa9cTb3KMZd7K3qfRaTCyHSb4rrYTcIBT2Q%2Bk%3D&se=2021-02-24T09%3A48%3A16Z&sp=r"}' headers: cache-control: - no-cache content-length: - - '231' + - '228' content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:53:16 GMT + - Wed, 24 Feb 2021 08:38:15 GMT expires: - '-1' pragma: @@ -355,8 +355,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 Azure-SDK-For-Python accept-language: - en-US method: POST @@ -370,7 +370,7 @@ interactions: content-length: - '0' date: - - Wed, 09 Dec 2020 02:53:16 GMT + - Wed, 24 Feb 2021 08:38:16 GMT expires: - '-1' pragma: @@ -398,8 +398,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -413,7 +413,7 @@ interactions: content-length: - '0' date: - - Wed, 09 Dec 2020 02:53:23 GMT + - Wed, 24 Feb 2021 08:38:27 GMT expires: - '-1' pragma: 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 5975be865dae..93ca3ff9a12f 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.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 Azure-SDK-For-Python accept-language: - en-US method: POST @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:53:36 GMT + - Wed, 24 Feb 2021 08:38:46 GMT expires: - '-1' pragma: @@ -63,15 +63,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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-12-09T02:53:41.9227119Z","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":"2021-02-24T08:38:51.5303747Z","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, 09 Dec 2020 02:53:45 GMT + - Wed, 24 Feb 2021 08:38:58 GMT expires: - '-1' pragma: @@ -96,7 +96,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1198' status: code: 200 message: OK @@ -110,15 +110,15 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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-12-09T02:53:41.9227119Z","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":"2021-02-24T08:38:51.5303747Z","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, 09 Dec 2020 02:53:45 GMT + - Wed, 24 Feb 2021 08:38:58 GMT expires: - '-1' pragma: @@ -159,15 +159,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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-12-09T02:53:41.9227119Z","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":"2021-02-24T08:38:51.5303747Z","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, 09 Dec 2020 02:53:49 GMT + - Wed, 24 Feb 2021 08:39:02 GMT expires: - '-1' pragma: @@ -192,7 +192,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1191' + - '1197' status: code: 200 message: OK @@ -206,15 +206,15 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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-12-09T02:53:41.9227119Z","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":"2021-02-24T08:38:51.5303747Z","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, 09 Dec 2020 02:53:49 GMT + - Wed, 24 Feb 2021 08:39:02 GMT expires: - '-1' pragma: @@ -253,15 +253,15 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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":"LQ=EoHoK+ofOljU+Fp7LrRVl2c83SXVj"},{"name":"password2","value":"uoKIkZ26NJUf5X0gjv7rx=3yOZNxwKFR"}]}' + string: '{"username":"pyacr916b1a6e","passwords":[{"name":"password","value":"mGpollkYAldh7pB2aa/vnh3Pna6Nnw5S"},{"name":"password2","value":"YgH1WJXgn2E2knBIIGA9PUWHpy=5hJbV"}]}' headers: cache-control: - no-cache @@ -270,7 +270,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:53:50 GMT + - Wed, 24 Feb 2021 08:39:03 GMT expires: - '-1' pragma: @@ -286,7 +286,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1199' status: code: 200 message: OK @@ -304,15 +304,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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":"ZF54OsMMta/txpALJXx8r8eKnsGQ5vCd"},{"name":"password2","value":"uoKIkZ26NJUf5X0gjv7rx=3yOZNxwKFR"}]}' + string: '{"username":"pyacr916b1a6e","passwords":[{"name":"password","value":"VVPiI9zIx97N1YRaDZmJghvObvoM/71M"},{"name":"password2","value":"YgH1WJXgn2E2knBIIGA9PUWHpy=5hJbV"}]}' headers: cache-control: - no-cache @@ -321,7 +321,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:53:50 GMT + - Wed, 24 Feb 2021 08:39:03 GMT expires: - '-1' pragma: @@ -337,7 +337,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1198' status: code: 200 message: OK @@ -351,8 +351,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -368,7 +368,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:53:50 GMT + - Wed, 24 Feb 2021 08:39:04 GMT expires: - '-1' pragma: @@ -398,8 +398,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -413,7 +413,7 @@ interactions: content-length: - '0' date: - - Wed, 09 Dec 2020 02:53:59 GMT + - Wed, 24 Feb 2021 08:39:14 GMT expires: - '-1' pragma: @@ -425,7 +425,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14994' + - '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 18658de1dde5..7415d4206e05 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.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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-12-09T02:54:15.4288358Z","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":"2021-02-24T08:39:27.7780291Z","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, 09 Dec 2020 02:54:19 GMT + - Wed, 24 Feb 2021 08:39:34 GMT expires: - '-1' pragma: @@ -47,7 +47,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: OK @@ -65,18 +65,18 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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-12-09T02:54:24.9025616Z"}}}' + 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":"2021-02-24T08:39:40.1483925Z"}}}' 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-d5af4018-39c9-11eb-8523-0242ac110002?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-d363ce66-767b-11eb-9bdd-0242ac110003?api-version=2017-10-01 cache-control: - no-cache content-length: @@ -84,7 +84,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:54:25 GMT + - Wed, 24 Feb 2021 08:39:40 GMT expires: - '-1' pragma: @@ -96,7 +96,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 201 message: Created @@ -110,16 +110,61 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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-d363ce66-767b-11eb-9bdd-0242ac110003?api-version=2017-10-01 + response: + body: + string: '{"status":"Creating"}' + 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-d363ce66-767b-11eb-9bdd-0242ac110003?api-version=2017-10-01 + cache-control: + - no-cache + content-length: + - '21' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 24 Feb 2021 08:39:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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-d5af4018-39c9-11eb-8523-0242ac110002?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-d363ce66-767b-11eb-9bdd-0242ac110003?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-d5af4018-39c9-11eb-8523-0242ac110002?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-d363ce66-767b-11eb-9bdd-0242ac110003?api-version=2017-10-01 cache-control: - no-cache content-length: @@ -127,7 +172,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:54:38 GMT + - Wed, 24 Feb 2021 08:40:03 GMT expires: - '-1' pragma: @@ -155,13 +200,13 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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":"Ready","timestamp":"2020-12-09T02:54:34.4627803Z"}}}' + 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":"2021-02-24T08:40:03.0513536Z"}}}' headers: cache-control: - no-cache @@ -170,7 +215,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:54:38 GMT + - Wed, 24 Feb 2021 08:40:04 GMT expires: - '-1' pragma: @@ -198,15 +243,15 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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":"Ready","timestamp":"2020-12-09T02:54:34.4627803Z"}}},{"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-12-09T02:54:27.7397708Z"}}}]}' + 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":"2021-02-24T08:40:03.0513536Z"}}},{"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":"2021-02-24T08:39:47.9628515Z"}}}]}' headers: cache-control: - no-cache @@ -215,7 +260,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:54:38 GMT + - Wed, 24 Feb 2021 08:40:06 GMT expires: - '-1' pragma: @@ -247,15 +292,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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":"Ready","timestamp":"2020-12-09T02:54:34.4627803Z"}}}' + 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":"2021-02-24T08:40:03.0513536Z"}}}' headers: cache-control: - no-cache @@ -264,7 +309,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:54:44 GMT + - Wed, 24 Feb 2021 08:40:12 GMT expires: - '-1' pragma: @@ -280,7 +325,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1197' status: code: 200 message: OK @@ -294,15 +339,15 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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":"Ready","timestamp":"2020-12-09T02:54:34.4627803Z"}}}' + 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":"2021-02-24T08:40:03.0513536Z"}}}' headers: cache-control: - no-cache @@ -311,7 +356,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:54:44 GMT + - Wed, 24 Feb 2021 08:40:12 GMT expires: - '-1' pragma: @@ -341,8 +386,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -358,11 +403,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:54:45 GMT + - Wed, 24 Feb 2021 08:40:13 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-e49ff25c-39c9-11eb-8523-0242ac110002?api-version=2017-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-e95e8a94-767b-11eb-9bdd-0242ac110003?api-version=2017-10-01 pragma: - no-cache server: @@ -386,10 +431,10 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-e49ff25c-39c9-11eb-8523-0242ac110002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-e95e8a94-767b-11eb-9bdd-0242ac110003?api-version=2017-10-01 response: body: string: '' @@ -399,7 +444,7 @@ interactions: content-length: - '0' date: - - Wed, 09 Dec 2020 02:54:56 GMT + - Wed, 24 Feb 2021 08:40:25 GMT expires: - '-1' pragma: @@ -425,15 +470,15 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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-12-09T02:54:15.4288358Z","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":"2021-02-24T08:39:27.7780291Z","provisioningState":"Deleting","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}' headers: cache-control: - no-cache @@ -442,11 +487,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:55:02 GMT + - Wed, 24 Feb 2021 08:40:42 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/eastus/operationResults/registries-ebba0802-39c9-11eb-8523-0242ac110002?api-version=2017-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/eastus/operationResults/registries-f14d1482-767b-11eb-9bdd-0242ac110003?api-version=2017-10-01 pragma: - no-cache server: @@ -470,10 +515,10 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/eastus/operationResults/registries-ebba0802-39c9-11eb-8523-0242ac110002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/eastus/operationResults/registries-f14d1482-767b-11eb-9bdd-0242ac110003?api-version=2017-10-01 response: body: string: '' @@ -483,7 +528,7 @@ interactions: content-length: - '0' date: - - Wed, 09 Dec 2020 02:55:13 GMT + - Wed, 24 Feb 2021 08:40:53 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 9a5a68a61c24..fd7a5dc35dc1 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.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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-12-09T02:55:33.8544109Z","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":"2021-02-24T08:41:10.2580248Z","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, 09 Dec 2020 02:55:36 GMT + - Wed, 24 Feb 2021 08:41:17 GMT expires: - '-1' pragma: @@ -47,7 +47,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 200 message: OK @@ -66,8 +66,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 Azure-SDK-For-Python accept-language: - en-US method: PUT @@ -83,7 +83,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:55:41 GMT + - Wed, 24 Feb 2021 08:41:22 GMT expires: - '-1' pragma: @@ -99,7 +99,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1197' status: code: 200 message: OK @@ -113,8 +113,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -130,7 +130,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:55:41 GMT + - Wed, 24 Feb 2021 08:41:22 GMT expires: - '-1' pragma: @@ -163,8 +163,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 Azure-SDK-For-Python accept-language: - en-US method: PATCH @@ -180,7 +180,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:55:44 GMT + - Wed, 24 Feb 2021 08:41:25 GMT expires: - '-1' pragma: @@ -196,7 +196,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1196' status: code: 200 message: OK @@ -210,8 +210,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -227,7 +227,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:55:44 GMT + - Wed, 24 Feb 2021 08:41:25 GMT expires: - '-1' pragma: @@ -257,8 +257,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 Azure-SDK-For-Python accept-language: - en-US method: POST @@ -274,7 +274,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:55:44 GMT + - Wed, 24 Feb 2021 08:41:25 GMT expires: - '-1' pragma: @@ -290,7 +290,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 200 message: OK @@ -306,15 +306,15 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 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":"de2c2aec-e886-4b46-8d03-f5902101facf"}' + string: '{"id":"40cecda4-8d28-4ef3-b8a0-8ec9702e7ecd"}' headers: cache-control: - no-cache @@ -323,7 +323,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 09 Dec 2020 02:55:45 GMT + - Wed, 24 Feb 2021 08:41:26 GMT expires: - '-1' pragma: @@ -339,7 +339,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1198' status: code: 200 message: OK @@ -355,8 +355,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -370,7 +370,7 @@ interactions: content-length: - '0' date: - - Wed, 09 Dec 2020 02:55:48 GMT + - Wed, 24 Feb 2021 08:41:29 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.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc16 Azure-SDK-For-Python + - python/3.6.9 (Linux-5.4.72-microsoft-standard-WSL2-x86_64-with-Ubuntu-18.04-bionic) + msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-containerregistry/4.0.0 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -413,7 +413,7 @@ interactions: content-length: - '0' date: - - Wed, 09 Dec 2020 02:55:55 GMT + - Wed, 24 Feb 2021 08:41:38 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