diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/models/managed_cluster_aad_profile.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/models/managed_cluster_aad_profile.py index 50e3acd14b60..6a48639de342 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/models/managed_cluster_aad_profile.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/models/managed_cluster_aad_profile.py @@ -21,7 +21,7 @@ class ManagedClusterAADProfile(Model): :type client_app_id: str :param server_app_id: Required. The server AAD application ID. :type server_app_id: str - :param server_app_secret: Required. The server AAD application secret. + :param server_app_secret: The server AAD application secret. :type server_app_secret: str :param tenant_id: The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription. @@ -31,7 +31,6 @@ class ManagedClusterAADProfile(Model): _validation = { 'client_app_id': {'required': True}, 'server_app_id': {'required': True}, - 'server_app_secret': {'required': True}, } _attribute_map = { diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/models/managed_cluster_aad_profile_py3.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/models/managed_cluster_aad_profile_py3.py index 6db15c1dd6c2..76289f3ddc3f 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/models/managed_cluster_aad_profile_py3.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/models/managed_cluster_aad_profile_py3.py @@ -21,7 +21,7 @@ class ManagedClusterAADProfile(Model): :type client_app_id: str :param server_app_id: Required. The server AAD application ID. :type server_app_id: str - :param server_app_secret: Required. The server AAD application secret. + :param server_app_secret: The server AAD application secret. :type server_app_secret: str :param tenant_id: The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription. @@ -31,7 +31,6 @@ class ManagedClusterAADProfile(Model): _validation = { 'client_app_id': {'required': True}, 'server_app_id': {'required': True}, - 'server_app_secret': {'required': True}, } _attribute_map = { @@ -41,7 +40,7 @@ class ManagedClusterAADProfile(Model): 'tenant_id': {'key': 'tenantID', 'type': 'str'}, } - def __init__(self, *, client_app_id: str, server_app_id: str, server_app_secret: str, tenant_id: str=None, **kwargs) -> None: + def __init__(self, *, client_app_id: str, server_app_id: str, server_app_secret: str=None, tenant_id: str=None, **kwargs) -> None: super(ManagedClusterAADProfile, self).__init__(**kwargs) self.client_app_id = client_app_id self.server_app_id = server_app_id diff --git a/azure-mgmt-containerservice/azure/mgmt/containerservice/version.py b/azure-mgmt-containerservice/azure/mgmt/containerservice/version.py index c215e51b49fe..204d7f82b78a 100644 --- a/azure-mgmt-containerservice/azure/mgmt/containerservice/version.py +++ b/azure-mgmt-containerservice/azure/mgmt/containerservice/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "4.2.2" +VERSION = "4.1.0"