From f9d14e1e37912e5ce15e7c80e0d9b30c5c2e5663 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 23 Mar 2021 18:10:49 +0000 Subject: [PATCH] CodeGen from PR 13581 in Azure/azure-rest-api-specs Merge c72309c9732aae34853ba355927f039562927fcf into 5c2185adda8aa915a391ae182c1f02cc587f4f79 --- .../containerregistry/v2020_11_01_preview/models/_models.py | 4 ++-- .../v2020_11_01_preview/models/_models_py3.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 9dff9713fe39..261505ca84be 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 @@ -3261,7 +3261,7 @@ class Registry(Resource): :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. + unauthenticated clients. Default value: False . :type anonymous_pull_enabled: bool """ @@ -3324,7 +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) + self.anonymous_pull_enabled = kwargs.get('anonymous_pull_enabled', False) class RegistryListCredentialsResult(Model): 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 d7dbdb6f9fd3..28f31a67f89d 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 @@ -3261,7 +3261,7 @@ class Registry(Resource): :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. + unauthenticated clients. Default value: False . :type anonymous_pull_enabled: bool """ @@ -3306,7 +3306,7 @@ class Registry(Resource): 'anonymous_pull_enabled': {'key': 'properties.anonymousPullEnabled', 'type': 'bool'}, } - 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: + 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=False, **kwargs) -> None: super(Registry, self).__init__(location=location, tags=tags, **kwargs) self.sku = sku self.identity = identity