From bb5973beacb09fa6e0575384819705e782f14be3 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Wed, 6 May 2020 19:53:26 +0000 Subject: [PATCH] Generated from e4079bae282770b1dcba84ef10d51d0f97d7e4e5 Revert "Add 'capabilities' field to Cognitive Services account properties. (#9309)" This reverts commit 7ef4edfd9594b96df2bd202885493db50368ffc4. --- .../azure/mgmt/cognitiveservices/models/_models.py | 7 ------- .../azure/mgmt/cognitiveservices/models/_models_py3.py | 7 ------- 2 files changed, 14 deletions(-) diff --git a/sdk/cognitiveservices/azure-mgmt-cognitiveservices/azure/mgmt/cognitiveservices/models/_models.py b/sdk/cognitiveservices/azure-mgmt-cognitiveservices/azure/mgmt/cognitiveservices/models/_models.py index 7d1b8c040624..ac6a65b67bf4 100644 --- a/sdk/cognitiveservices/azure-mgmt-cognitiveservices/azure/mgmt/cognitiveservices/models/_models.py +++ b/sdk/cognitiveservices/azure-mgmt-cognitiveservices/azure/mgmt/cognitiveservices/models/_models.py @@ -400,10 +400,6 @@ class CognitiveServicesAccountProperties(Model): :vartype endpoint: str :ivar internal_id: The internal identifier. :vartype internal_id: str - :ivar capabilities: Gets the capabilities of the cognitive services - account. Each item indicates a specific feature is supported by this - account. The value is read only and for reference only. - :vartype capabilities: list[str] :param custom_sub_domain_name: Optional subdomain name used for token-based authentication. :type custom_sub_domain_name: str @@ -433,14 +429,12 @@ class CognitiveServicesAccountProperties(Model): 'provisioning_state': {'readonly': True}, 'endpoint': {'readonly': True}, 'internal_id': {'readonly': True}, - 'capabilities': {'readonly': True}, } _attribute_map = { 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, 'endpoint': {'key': 'endpoint', 'type': 'str'}, 'internal_id': {'key': 'internalId', 'type': 'str'}, - 'capabilities': {'key': 'capabilities', 'type': '[str]'}, 'custom_sub_domain_name': {'key': 'customSubDomainName', 'type': 'str'}, 'network_acls': {'key': 'networkAcls', 'type': 'NetworkRuleSet'}, 'encryption': {'key': 'encryption', 'type': 'Encryption'}, @@ -455,7 +449,6 @@ def __init__(self, **kwargs): self.provisioning_state = None self.endpoint = None self.internal_id = None - self.capabilities = None self.custom_sub_domain_name = kwargs.get('custom_sub_domain_name', None) self.network_acls = kwargs.get('network_acls', None) self.encryption = kwargs.get('encryption', None) diff --git a/sdk/cognitiveservices/azure-mgmt-cognitiveservices/azure/mgmt/cognitiveservices/models/_models_py3.py b/sdk/cognitiveservices/azure-mgmt-cognitiveservices/azure/mgmt/cognitiveservices/models/_models_py3.py index b999ddaed2ed..71533ceeea0a 100644 --- a/sdk/cognitiveservices/azure-mgmt-cognitiveservices/azure/mgmt/cognitiveservices/models/_models_py3.py +++ b/sdk/cognitiveservices/azure-mgmt-cognitiveservices/azure/mgmt/cognitiveservices/models/_models_py3.py @@ -400,10 +400,6 @@ class CognitiveServicesAccountProperties(Model): :vartype endpoint: str :ivar internal_id: The internal identifier. :vartype internal_id: str - :ivar capabilities: Gets the capabilities of the cognitive services - account. Each item indicates a specific feature is supported by this - account. The value is read only and for reference only. - :vartype capabilities: list[str] :param custom_sub_domain_name: Optional subdomain name used for token-based authentication. :type custom_sub_domain_name: str @@ -433,14 +429,12 @@ class CognitiveServicesAccountProperties(Model): 'provisioning_state': {'readonly': True}, 'endpoint': {'readonly': True}, 'internal_id': {'readonly': True}, - 'capabilities': {'readonly': True}, } _attribute_map = { 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, 'endpoint': {'key': 'endpoint', 'type': 'str'}, 'internal_id': {'key': 'internalId', 'type': 'str'}, - 'capabilities': {'key': 'capabilities', 'type': '[str]'}, 'custom_sub_domain_name': {'key': 'customSubDomainName', 'type': 'str'}, 'network_acls': {'key': 'networkAcls', 'type': 'NetworkRuleSet'}, 'encryption': {'key': 'encryption', 'type': 'Encryption'}, @@ -455,7 +449,6 @@ def __init__(self, *, custom_sub_domain_name: str=None, network_acls=None, encry self.provisioning_state = None self.endpoint = None self.internal_id = None - self.capabilities = None self.custom_sub_domain_name = custom_sub_domain_name self.network_acls = network_acls self.encryption = encryption