diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/authentication_settings_contract.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/authentication_settings_contract.py index b4eaf5654446..3c434fa4da8b 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/authentication_settings_contract.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/authentication_settings_contract.py @@ -21,21 +21,14 @@ class AuthenticationSettingsContract(Model): :param openid: OpenID Connect Authentication Settings :type openid: ~azure.mgmt.apimanagement.models.OpenIdAuthenticationSettingsContract - :param subscription_key_required: Specifies whether subscription key is - required during call to this API, true - API is included into closed - products only, false - API is included into open products alone, null - - there is a mix of products. - :type subscription_key_required: bool """ _attribute_map = { 'o_auth2': {'key': 'oAuth2', 'type': 'OAuth2AuthenticationSettingsContract'}, 'openid': {'key': 'openid', 'type': 'OpenIdAuthenticationSettingsContract'}, - 'subscription_key_required': {'key': 'subscriptionKeyRequired', 'type': 'bool'}, } def __init__(self, **kwargs): super(AuthenticationSettingsContract, self).__init__(**kwargs) self.o_auth2 = kwargs.get('o_auth2', None) self.openid = kwargs.get('openid', None) - self.subscription_key_required = kwargs.get('subscription_key_required', None) diff --git a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/authentication_settings_contract_py3.py b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/authentication_settings_contract_py3.py index 725dc936e94f..328870d86c82 100644 --- a/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/authentication_settings_contract_py3.py +++ b/sdk/apimanagement/azure-mgmt-apimanagement/azure/mgmt/apimanagement/models/authentication_settings_contract_py3.py @@ -21,21 +21,14 @@ class AuthenticationSettingsContract(Model): :param openid: OpenID Connect Authentication Settings :type openid: ~azure.mgmt.apimanagement.models.OpenIdAuthenticationSettingsContract - :param subscription_key_required: Specifies whether subscription key is - required during call to this API, true - API is included into closed - products only, false - API is included into open products alone, null - - there is a mix of products. - :type subscription_key_required: bool """ _attribute_map = { 'o_auth2': {'key': 'oAuth2', 'type': 'OAuth2AuthenticationSettingsContract'}, 'openid': {'key': 'openid', 'type': 'OpenIdAuthenticationSettingsContract'}, - 'subscription_key_required': {'key': 'subscriptionKeyRequired', 'type': 'bool'}, } - def __init__(self, *, o_auth2=None, openid=None, subscription_key_required: bool=None, **kwargs) -> None: + def __init__(self, *, o_auth2=None, openid=None, **kwargs) -> None: super(AuthenticationSettingsContract, self).__init__(**kwargs) self.o_auth2 = o_auth2 self.openid = openid - self.subscription_key_required = subscription_key_required