From 4ee78a550582d19b7e760dec4d6bb55fcb6cc705 Mon Sep 17 00:00:00 2001 From: audunn Date: Fri, 14 Nov 2025 11:12:02 +0000 Subject: [PATCH 1/7] bump to 2025-09-01 --- .../aaz/latest/netappfiles/account/_create.py | 78 +++++++++++++++++ .../aaz/latest/netappfiles/account/_list.py | 46 ++++++++++ .../aaz/latest/netappfiles/account/_show.py | 23 +++++ .../aaz/latest/netappfiles/account/_update.py | 85 +++++++++++++++++++ .../aaz/latest/netappfiles/account/_wait.py | 23 +++++ .../aaz/latest/netappfiles/account/ad/_add.py | 23 +++++ .../latest/netappfiles/account/ad/_list.py | 23 +++++ .../latest/netappfiles/account/ad/_remove.py | 23 +++++ .../latest/netappfiles/account/ad/_show.py | 23 +++++ .../latest/netappfiles/account/ad/_update.py | 23 +++++ .../latest/netappfiles/account/ad/_wait.py | 23 +++++ .../netappfiles/snapshot/policy/_volumes.py | 20 +++++ .../aaz/latest/netappfiles/volume/_create.py | 34 ++++++++ .../aaz/latest/netappfiles/volume/_list.py | 20 +++++ .../aaz/latest/netappfiles/volume/_show.py | 20 +++++ .../volume/_splitclonefromparent.py | 20 +++++ .../aaz/latest/netappfiles/volume/_update.py | 28 ++++++ .../aaz/latest/netappfiles/volume/_wait.py | 20 +++++ .../netappfiles/volume/export_policy/_add.py | 20 +++++ .../netappfiles/volume/export_policy/_list.py | 20 +++++ .../volume/export_policy/_remove.py | 20 +++++ .../netappfiles/volume/export_policy/_show.py | 20 +++++ .../volume/export_policy/_update.py | 20 +++++ .../netappfiles/volume/export_policy/_wait.py | 20 +++++ .../_populate_availability_zone.py | 20 +++++ .../netappfiles/volume_group/_create.py | 32 +++++++ .../latest/netappfiles/volume_group/_show.py | 20 +++++ .../netappfiles/volume_group/_update.py | 27 ++++++ .../latest/netappfiles/volume_group/_wait.py | 20 +++++ .../cli/command_modules/netappfiles/custom.py | 2 +- 30 files changed, 795 insertions(+), 1 deletion(-) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_create.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_create.py index aae58bcde63..8e7fce24676 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_create.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_create.py @@ -164,6 +164,11 @@ def _build_arguments_schema(cls, *args, **kwargs): arg_group="Properties", help="Active Directories", ) + _args_schema.ldap_configuration = AAZObjectArg( + options=["--ldap-configuration"], + arg_group="Properties", + help="LDAP Configuration for the account.", + ) _args_schema.nfs_v4_id_domain = AAZStrArg( options=["--nfs-v4-id-domain"], arg_group="Properties", @@ -339,6 +344,43 @@ def _build_arguments_schema(cls, *args, **kwargs): min_length=1, ), ) + + ldap_configuration = cls._args_schema.ldap_configuration + ldap_configuration.certificate_cn_host = AAZStrArg( + options=["certificate-cn-host"], + help="The CN host name used while generating the certificate, LDAP Over TLS requires the CN host name to create DNS host entry.", + nullable=True, + ) + ldap_configuration.domain = AAZStrArg( + options=["domain"], + help="Name of the LDAP configuration domain", + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z0-9][a-zA-Z0-9.-]{0,253}[a-zA-Z0-9]$", + max_length=255, + ), + ) + ldap_configuration.ldap_over_tls = AAZBoolArg( + options=["ldap-over-tls"], + help="Specifies whether or not the LDAP traffic needs to be secured via TLS.", + ) + ldap_configuration.ldap_servers = AAZListArg( + options=["ldap-servers"], + help="List of LDAP server IP addresses (IPv4 only) for the LDAP domain.", + ) + ldap_configuration.server_ca_certificate = AAZPasswordArg( + options=["server-ca-certificate"], + help="When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded ldap servers CA certificate.", + fmt=AAZStrArgFormat( + max_length=10240, + min_length=1, + ), + blank=AAZPromptPasswordInput( + msg="Password:", + ), + ) + + ldap_servers = cls._args_schema.ldap_configuration.ldap_servers + ldap_servers.Element = AAZStrArg() return cls._args_schema def _execute_operations(self): @@ -471,6 +513,7 @@ def content(self): if properties is not None: properties.set_prop("activeDirectories", AAZListType, ".active_directories") properties.set_prop("encryption", AAZObjectType) + properties.set_prop("ldapConfiguration", AAZObjectType, ".ldap_configuration") properties.set_prop("nfsV4IDDomain", AAZStrType, ".nfs_v4_id_domain", typ_kwargs={"nullable": True}) active_directories = _builder.get(".properties.activeDirectories") @@ -536,6 +579,18 @@ def content(self): key_vault_properties.set_prop("keyVaultResourceId", AAZStrType, ".key_vault_resource_id") key_vault_properties.set_prop("keyVaultUri", AAZStrType, ".key_vault_uri", typ_kwargs={"flags": {"required": True}}) + ldap_configuration = _builder.get(".properties.ldapConfiguration") + if ldap_configuration is not None: + ldap_configuration.set_prop("certificateCNHost", AAZStrType, ".certificate_cn_host", typ_kwargs={"nullable": True}) + ldap_configuration.set_prop("domain", AAZStrType, ".domain") + ldap_configuration.set_prop("ldapOverTLS", AAZBoolType, ".ldap_over_tls") + ldap_configuration.set_prop("ldapServers", AAZListType, ".ldap_servers") + ldap_configuration.set_prop("serverCACertificate", AAZStrType, ".server_ca_certificate", typ_kwargs={"flags": {"secret": True}}) + + ldap_servers = _builder.get(".properties.ldapConfiguration.ldapServers") + if ldap_servers is not None: + ldap_servers.set_elements(AAZStrType, ".") + tags = _builder.get(".tags") if tags is not None: tags.set_elements(AAZStrType, ".") @@ -626,6 +681,9 @@ def _build_schema_on_200_201(cls): flags={"read_only": True}, ) properties.encryption = AAZObjectType() + properties.ldap_configuration = AAZObjectType( + serialized_name="ldapConfiguration", + ) properties.multi_ad_status = AAZStrType( serialized_name="multiAdStatus", flags={"read_only": True}, @@ -767,6 +825,26 @@ def _build_schema_on_200_201(cls): flags={"read_only": True}, ) + ldap_configuration = cls._schema_on_200_201.properties.ldap_configuration + ldap_configuration.certificate_cn_host = AAZStrType( + serialized_name="certificateCNHost", + nullable=True, + ) + ldap_configuration.domain = AAZStrType() + ldap_configuration.ldap_over_tls = AAZBoolType( + serialized_name="ldapOverTLS", + ) + ldap_configuration.ldap_servers = AAZListType( + serialized_name="ldapServers", + ) + ldap_configuration.server_ca_certificate = AAZStrType( + serialized_name="serverCACertificate", + flags={"secret": True}, + ) + + ldap_servers = cls._schema_on_200_201.properties.ldap_configuration.ldap_servers + ldap_servers.Element = AAZStrType() + system_data = cls._schema_on_200_201.system_data system_data.created_at = AAZStrType( serialized_name="createdAt", diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_list.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_list.py index 5d140124167..83a5a3faeec 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_list.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_list.py @@ -222,6 +222,9 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) properties.encryption = AAZObjectType() + properties.ldap_configuration = AAZObjectType( + serialized_name="ldapConfiguration", + ) properties.multi_ad_status = AAZStrType( serialized_name="multiAdStatus", flags={"read_only": True}, @@ -363,6 +366,26 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) + ldap_configuration = cls._schema_on_200.value.Element.properties.ldap_configuration + ldap_configuration.certificate_cn_host = AAZStrType( + serialized_name="certificateCNHost", + nullable=True, + ) + ldap_configuration.domain = AAZStrType() + ldap_configuration.ldap_over_tls = AAZBoolType( + serialized_name="ldapOverTLS", + ) + ldap_configuration.ldap_servers = AAZListType( + serialized_name="ldapServers", + ) + ldap_configuration.server_ca_certificate = AAZStrType( + serialized_name="serverCACertificate", + flags={"secret": True}, + ) + + ldap_servers = cls._schema_on_200.value.Element.properties.ldap_configuration.ldap_servers + ldap_servers.Element = AAZStrType() + system_data = cls._schema_on_200.value.Element.system_data system_data.created_at = AAZStrType( serialized_name="createdAt", @@ -542,6 +565,9 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) properties.encryption = AAZObjectType() + properties.ldap_configuration = AAZObjectType( + serialized_name="ldapConfiguration", + ) properties.multi_ad_status = AAZStrType( serialized_name="multiAdStatus", flags={"read_only": True}, @@ -683,6 +709,26 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) + ldap_configuration = cls._schema_on_200.value.Element.properties.ldap_configuration + ldap_configuration.certificate_cn_host = AAZStrType( + serialized_name="certificateCNHost", + nullable=True, + ) + ldap_configuration.domain = AAZStrType() + ldap_configuration.ldap_over_tls = AAZBoolType( + serialized_name="ldapOverTLS", + ) + ldap_configuration.ldap_servers = AAZListType( + serialized_name="ldapServers", + ) + ldap_configuration.server_ca_certificate = AAZStrType( + serialized_name="serverCACertificate", + flags={"secret": True}, + ) + + ldap_servers = cls._schema_on_200.value.Element.properties.ldap_configuration.ldap_servers + ldap_servers.Element = AAZStrType() + system_data = cls._schema_on_200.value.Element.system_data system_data.created_at = AAZStrType( serialized_name="createdAt", diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_show.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_show.py index 5a8efc6d188..8bc1d130ea4 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_show.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_show.py @@ -222,6 +222,9 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) properties.encryption = AAZObjectType() + properties.ldap_configuration = AAZObjectType( + serialized_name="ldapConfiguration", + ) properties.multi_ad_status = AAZStrType( serialized_name="multiAdStatus", flags={"read_only": True}, @@ -363,6 +366,26 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) + ldap_configuration = cls._schema_on_200.properties.ldap_configuration + ldap_configuration.certificate_cn_host = AAZStrType( + serialized_name="certificateCNHost", + nullable=True, + ) + ldap_configuration.domain = AAZStrType() + ldap_configuration.ldap_over_tls = AAZBoolType( + serialized_name="ldapOverTLS", + ) + ldap_configuration.ldap_servers = AAZListType( + serialized_name="ldapServers", + ) + ldap_configuration.server_ca_certificate = AAZStrType( + serialized_name="serverCACertificate", + flags={"secret": True}, + ) + + ldap_servers = cls._schema_on_200.properties.ldap_configuration.ldap_servers + ldap_servers.Element = AAZStrType() + system_data = cls._schema_on_200.system_data system_data.created_at = AAZStrType( serialized_name="createdAt", diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_update.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_update.py index d64d6585d34..94e4e83bd23 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_update.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_update.py @@ -152,6 +152,12 @@ def _build_arguments_schema(cls, *args, **kwargs): help="Active Directories", nullable=True, ) + _args_schema.ldap_configuration = AAZObjectArg( + options=["--ldap-configuration"], + arg_group="Properties", + help="LDAP Configuration for the account.", + nullable=True, + ) _args_schema.nfs_v4_id_domain = AAZStrArg( options=["--nfs-v4-id-domain"], arg_group="Properties", @@ -354,6 +360,49 @@ def _build_arguments_schema(cls, *args, **kwargs): min_length=1, ), ) + + ldap_configuration = cls._args_schema.ldap_configuration + ldap_configuration.certificate_cn_host = AAZStrArg( + options=["certificate-cn-host"], + help="The CN host name used while generating the certificate, LDAP Over TLS requires the CN host name to create DNS host entry.", + nullable=True, + ) + ldap_configuration.domain = AAZStrArg( + options=["domain"], + help="Name of the LDAP configuration domain", + nullable=True, + fmt=AAZStrArgFormat( + pattern="^[a-zA-Z0-9][a-zA-Z0-9.-]{0,253}[a-zA-Z0-9]$", + max_length=255, + ), + ) + ldap_configuration.ldap_over_tls = AAZBoolArg( + options=["ldap-over-tls"], + help="Specifies whether or not the LDAP traffic needs to be secured via TLS.", + nullable=True, + ) + ldap_configuration.ldap_servers = AAZListArg( + options=["ldap-servers"], + help="List of LDAP server IP addresses (IPv4 only) for the LDAP domain.", + nullable=True, + ) + ldap_configuration.server_ca_certificate = AAZPasswordArg( + options=["server-ca-certificate"], + help="When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded ldap servers CA certificate.", + nullable=True, + fmt=AAZStrArgFormat( + max_length=10240, + min_length=1, + ), + blank=AAZPromptPasswordInput( + msg="Password:", + ), + ) + + ldap_servers = cls._args_schema.ldap_configuration.ldap_servers + ldap_servers.Element = AAZStrArg( + nullable=True, + ) return cls._args_schema def _execute_operations(self): @@ -608,6 +657,7 @@ def _update_instance(self, instance): if properties is not None: properties.set_prop("activeDirectories", AAZListType, ".active_directories") properties.set_prop("encryption", AAZObjectType) + properties.set_prop("ldapConfiguration", AAZObjectType, ".ldap_configuration") properties.set_prop("nfsV4IDDomain", AAZStrType, ".nfs_v4_id_domain", typ_kwargs={"nullable": True}) active_directories = _builder.get(".properties.activeDirectories") @@ -673,6 +723,18 @@ def _update_instance(self, instance): key_vault_properties.set_prop("keyVaultResourceId", AAZStrType, ".key_vault_resource_id") key_vault_properties.set_prop("keyVaultUri", AAZStrType, ".key_vault_uri", typ_kwargs={"flags": {"required": True}}) + ldap_configuration = _builder.get(".properties.ldapConfiguration") + if ldap_configuration is not None: + ldap_configuration.set_prop("certificateCNHost", AAZStrType, ".certificate_cn_host", typ_kwargs={"nullable": True}) + ldap_configuration.set_prop("domain", AAZStrType, ".domain") + ldap_configuration.set_prop("ldapOverTLS", AAZBoolType, ".ldap_over_tls") + ldap_configuration.set_prop("ldapServers", AAZListType, ".ldap_servers") + ldap_configuration.set_prop("serverCACertificate", AAZStrType, ".server_ca_certificate", typ_kwargs={"flags": {"secret": True}}) + + ldap_servers = _builder.get(".properties.ldapConfiguration.ldapServers") + if ldap_servers is not None: + ldap_servers.set_elements(AAZStrType, ".") + tags = _builder.get(".tags") if tags is not None: tags.set_elements(AAZStrType, ".") @@ -776,6 +838,9 @@ def _build_schema_net_app_account_read(cls, _schema): flags={"read_only": True}, ) properties.encryption = AAZObjectType() + properties.ldap_configuration = AAZObjectType( + serialized_name="ldapConfiguration", + ) properties.multi_ad_status = AAZStrType( serialized_name="multiAdStatus", flags={"read_only": True}, @@ -917,6 +982,26 @@ def _build_schema_net_app_account_read(cls, _schema): flags={"read_only": True}, ) + ldap_configuration = _schema_net_app_account_read.properties.ldap_configuration + ldap_configuration.certificate_cn_host = AAZStrType( + serialized_name="certificateCNHost", + nullable=True, + ) + ldap_configuration.domain = AAZStrType() + ldap_configuration.ldap_over_tls = AAZBoolType( + serialized_name="ldapOverTLS", + ) + ldap_configuration.ldap_servers = AAZListType( + serialized_name="ldapServers", + ) + ldap_configuration.server_ca_certificate = AAZStrType( + serialized_name="serverCACertificate", + flags={"secret": True}, + ) + + ldap_servers = _schema_net_app_account_read.properties.ldap_configuration.ldap_servers + ldap_servers.Element = AAZStrType() + system_data = _schema_net_app_account_read.system_data system_data.created_at = AAZStrType( serialized_name="createdAt", diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_wait.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_wait.py index b9c5201bd3d..a3184db4c5f 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_wait.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_wait.py @@ -218,6 +218,9 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) properties.encryption = AAZObjectType() + properties.ldap_configuration = AAZObjectType( + serialized_name="ldapConfiguration", + ) properties.multi_ad_status = AAZStrType( serialized_name="multiAdStatus", flags={"read_only": True}, @@ -359,6 +362,26 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) + ldap_configuration = cls._schema_on_200.properties.ldap_configuration + ldap_configuration.certificate_cn_host = AAZStrType( + serialized_name="certificateCNHost", + nullable=True, + ) + ldap_configuration.domain = AAZStrType() + ldap_configuration.ldap_over_tls = AAZBoolType( + serialized_name="ldapOverTLS", + ) + ldap_configuration.ldap_servers = AAZListType( + serialized_name="ldapServers", + ) + ldap_configuration.server_ca_certificate = AAZStrType( + serialized_name="serverCACertificate", + flags={"secret": True}, + ) + + ldap_servers = cls._schema_on_200.properties.ldap_configuration.ldap_servers + ldap_servers.Element = AAZStrType() + system_data = cls._schema_on_200.system_data system_data.created_at = AAZStrType( serialized_name="createdAt", diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_add.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_add.py index 98991a31678..865422482a7 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_add.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_add.py @@ -632,6 +632,9 @@ def _build_schema_net_app_account_read(cls, _schema): flags={"read_only": True}, ) properties.encryption = AAZObjectType() + properties.ldap_configuration = AAZObjectType( + serialized_name="ldapConfiguration", + ) properties.multi_ad_status = AAZStrType( serialized_name="multiAdStatus", flags={"read_only": True}, @@ -773,6 +776,26 @@ def _build_schema_net_app_account_read(cls, _schema): flags={"read_only": True}, ) + ldap_configuration = _schema_net_app_account_read.properties.ldap_configuration + ldap_configuration.certificate_cn_host = AAZStrType( + serialized_name="certificateCNHost", + nullable=True, + ) + ldap_configuration.domain = AAZStrType() + ldap_configuration.ldap_over_tls = AAZBoolType( + serialized_name="ldapOverTLS", + ) + ldap_configuration.ldap_servers = AAZListType( + serialized_name="ldapServers", + ) + ldap_configuration.server_ca_certificate = AAZStrType( + serialized_name="serverCACertificate", + flags={"secret": True}, + ) + + ldap_servers = _schema_net_app_account_read.properties.ldap_configuration.ldap_servers + ldap_servers.Element = AAZStrType() + system_data = _schema_net_app_account_read.system_data system_data.created_at = AAZStrType( serialized_name="createdAt", diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_list.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_list.py index 5ce32cee07b..0e17cbabdf2 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_list.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_list.py @@ -258,6 +258,9 @@ def _build_schema_net_app_account_read(cls, _schema): flags={"read_only": True}, ) properties.encryption = AAZObjectType() + properties.ldap_configuration = AAZObjectType( + serialized_name="ldapConfiguration", + ) properties.multi_ad_status = AAZStrType( serialized_name="multiAdStatus", flags={"read_only": True}, @@ -399,6 +402,26 @@ def _build_schema_net_app_account_read(cls, _schema): flags={"read_only": True}, ) + ldap_configuration = _schema_net_app_account_read.properties.ldap_configuration + ldap_configuration.certificate_cn_host = AAZStrType( + serialized_name="certificateCNHost", + nullable=True, + ) + ldap_configuration.domain = AAZStrType() + ldap_configuration.ldap_over_tls = AAZBoolType( + serialized_name="ldapOverTLS", + ) + ldap_configuration.ldap_servers = AAZListType( + serialized_name="ldapServers", + ) + ldap_configuration.server_ca_certificate = AAZStrType( + serialized_name="serverCACertificate", + flags={"secret": True}, + ) + + ldap_servers = _schema_net_app_account_read.properties.ldap_configuration.ldap_servers + ldap_servers.Element = AAZStrType() + system_data = _schema_net_app_account_read.system_data system_data.created_at = AAZStrType( serialized_name="createdAt", diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_remove.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_remove.py index 9a59fc86771..640558d1f74 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_remove.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_remove.py @@ -404,6 +404,9 @@ def _build_schema_net_app_account_read(cls, _schema): flags={"read_only": True}, ) properties.encryption = AAZObjectType() + properties.ldap_configuration = AAZObjectType( + serialized_name="ldapConfiguration", + ) properties.multi_ad_status = AAZStrType( serialized_name="multiAdStatus", flags={"read_only": True}, @@ -545,6 +548,26 @@ def _build_schema_net_app_account_read(cls, _schema): flags={"read_only": True}, ) + ldap_configuration = _schema_net_app_account_read.properties.ldap_configuration + ldap_configuration.certificate_cn_host = AAZStrType( + serialized_name="certificateCNHost", + nullable=True, + ) + ldap_configuration.domain = AAZStrType() + ldap_configuration.ldap_over_tls = AAZBoolType( + serialized_name="ldapOverTLS", + ) + ldap_configuration.ldap_servers = AAZListType( + serialized_name="ldapServers", + ) + ldap_configuration.server_ca_certificate = AAZStrType( + serialized_name="serverCACertificate", + flags={"secret": True}, + ) + + ldap_servers = _schema_net_app_account_read.properties.ldap_configuration.ldap_servers + ldap_servers.Element = AAZStrType() + system_data = _schema_net_app_account_read.system_data system_data.created_at = AAZStrType( serialized_name="createdAt", diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_show.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_show.py index f7131c1564c..2966be5f8f7 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_show.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_show.py @@ -278,6 +278,9 @@ def _build_schema_net_app_account_read(cls, _schema): flags={"read_only": True}, ) properties.encryption = AAZObjectType() + properties.ldap_configuration = AAZObjectType( + serialized_name="ldapConfiguration", + ) properties.multi_ad_status = AAZStrType( serialized_name="multiAdStatus", flags={"read_only": True}, @@ -419,6 +422,26 @@ def _build_schema_net_app_account_read(cls, _schema): flags={"read_only": True}, ) + ldap_configuration = _schema_net_app_account_read.properties.ldap_configuration + ldap_configuration.certificate_cn_host = AAZStrType( + serialized_name="certificateCNHost", + nullable=True, + ) + ldap_configuration.domain = AAZStrType() + ldap_configuration.ldap_over_tls = AAZBoolType( + serialized_name="ldapOverTLS", + ) + ldap_configuration.ldap_servers = AAZListType( + serialized_name="ldapServers", + ) + ldap_configuration.server_ca_certificate = AAZStrType( + serialized_name="serverCACertificate", + flags={"secret": True}, + ) + + ldap_servers = _schema_net_app_account_read.properties.ldap_configuration.ldap_servers + ldap_servers.Element = AAZStrType() + system_data = _schema_net_app_account_read.system_data system_data.created_at = AAZStrType( serialized_name="createdAt", diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_update.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_update.py index 5786801dafb..bb2ba3ab5b2 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_update.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_update.py @@ -669,6 +669,9 @@ def _build_schema_net_app_account_read(cls, _schema): flags={"read_only": True}, ) properties.encryption = AAZObjectType() + properties.ldap_configuration = AAZObjectType( + serialized_name="ldapConfiguration", + ) properties.multi_ad_status = AAZStrType( serialized_name="multiAdStatus", flags={"read_only": True}, @@ -810,6 +813,26 @@ def _build_schema_net_app_account_read(cls, _schema): flags={"read_only": True}, ) + ldap_configuration = _schema_net_app_account_read.properties.ldap_configuration + ldap_configuration.certificate_cn_host = AAZStrType( + serialized_name="certificateCNHost", + nullable=True, + ) + ldap_configuration.domain = AAZStrType() + ldap_configuration.ldap_over_tls = AAZBoolType( + serialized_name="ldapOverTLS", + ) + ldap_configuration.ldap_servers = AAZListType( + serialized_name="ldapServers", + ) + ldap_configuration.server_ca_certificate = AAZStrType( + serialized_name="serverCACertificate", + flags={"secret": True}, + ) + + ldap_servers = _schema_net_app_account_read.properties.ldap_configuration.ldap_servers + ldap_servers.Element = AAZStrType() + system_data = _schema_net_app_account_read.system_data system_data.created_at = AAZStrType( serialized_name="createdAt", diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_wait.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_wait.py index 75ed08a94bc..7a4fcebe126 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_wait.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_wait.py @@ -243,6 +243,9 @@ def _build_schema_net_app_account_read(cls, _schema): flags={"read_only": True}, ) properties.encryption = AAZObjectType() + properties.ldap_configuration = AAZObjectType( + serialized_name="ldapConfiguration", + ) properties.multi_ad_status = AAZStrType( serialized_name="multiAdStatus", flags={"read_only": True}, @@ -384,6 +387,26 @@ def _build_schema_net_app_account_read(cls, _schema): flags={"read_only": True}, ) + ldap_configuration = _schema_net_app_account_read.properties.ldap_configuration + ldap_configuration.certificate_cn_host = AAZStrType( + serialized_name="certificateCNHost", + nullable=True, + ) + ldap_configuration.domain = AAZStrType() + ldap_configuration.ldap_over_tls = AAZBoolType( + serialized_name="ldapOverTLS", + ) + ldap_configuration.ldap_servers = AAZListType( + serialized_name="ldapServers", + ) + ldap_configuration.server_ca_certificate = AAZStrType( + serialized_name="serverCACertificate", + flags={"secret": True}, + ) + + ldap_servers = _schema_net_app_account_read.properties.ldap_configuration.ldap_servers + ldap_servers.Element = AAZStrType() + system_data = _schema_net_app_account_read.system_data system_data.created_at = AAZStrType( serialized_name="createdAt", diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/snapshot/policy/_volumes.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/snapshot/policy/_volumes.py index 5f185ac02e2..625401d0ea6 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/snapshot/policy/_volumes.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/snapshot/policy/_volumes.py @@ -308,9 +308,13 @@ def _build_schema_on_200(cls): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) + properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) + properties.ldap_server_type = AAZStrType( + serialized_name="ldapServerType", + ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -438,6 +442,22 @@ def _build_schema_on_200(cls): serialized_name="endpointType", flags={"read_only": True}, ) + replication.external_replication_setup_info = AAZStrType( + serialized_name="externalReplicationSetupInfo", + flags={"read_only": True}, + ) + replication.external_replication_setup_status = AAZStrType( + serialized_name="externalReplicationSetupStatus", + flags={"read_only": True}, + ) + replication.mirror_state = AAZStrType( + serialized_name="mirrorState", + flags={"read_only": True}, + ) + replication.relationship_status = AAZStrType( + serialized_name="relationshipStatus", + flags={"read_only": True}, + ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_create.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_create.py index 4c0c7bc3b2f..a79f79e6a33 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_create.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_create.py @@ -338,12 +338,24 @@ def _build_arguments_schema(cls, *args, **kwargs): help="Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later", default=False, ) + _args_schema.language = AAZStrArg( + options=["--language"], + arg_group="Properties", + help="Language supported for volume.", + enum={"ar": "ar", "ar.utf-8": "ar.utf-8", "c": "c", "c.utf-8": "c.utf-8", "cs": "cs", "cs.utf-8": "cs.utf-8", "da": "da", "da.utf-8": "da.utf-8", "de": "de", "de.utf-8": "de.utf-8", "en": "en", "en-us": "en-us", "en-us.utf-8": "en-us.utf-8", "en.utf-8": "en.utf-8", "es": "es", "es.utf-8": "es.utf-8", "fi": "fi", "fi.utf-8": "fi.utf-8", "fr": "fr", "fr.utf-8": "fr.utf-8", "he": "he", "he.utf-8": "he.utf-8", "hr": "hr", "hr.utf-8": "hr.utf-8", "hu": "hu", "hu.utf-8": "hu.utf-8", "it": "it", "it.utf-8": "it.utf-8", "ja": "ja", "ja-jp.932": "ja-jp.932", "ja-jp.932.utf-8": "ja-jp.932.utf-8", "ja-jp.pck": "ja-jp.pck", "ja-jp.pck-v2": "ja-jp.pck-v2", "ja-jp.pck-v2.utf-8": "ja-jp.pck-v2.utf-8", "ja-jp.pck.utf-8": "ja-jp.pck.utf-8", "ja-v1": "ja-v1", "ja-v1.utf-8": "ja-v1.utf-8", "ja.utf-8": "ja.utf-8", "ko": "ko", "ko.utf-8": "ko.utf-8", "nl": "nl", "nl.utf-8": "nl.utf-8", "no": "no", "no.utf-8": "no.utf-8", "pl": "pl", "pl.utf-8": "pl.utf-8", "pt": "pt", "pt.utf-8": "pt.utf-8", "ro": "ro", "ro.utf-8": "ro.utf-8", "ru": "ru", "ru.utf-8": "ru.utf-8", "sk": "sk", "sk.utf-8": "sk.utf-8", "sl": "sl", "sl.utf-8": "sl.utf-8", "sv": "sv", "sv.utf-8": "sv.utf-8", "tr": "tr", "tr.utf-8": "tr.utf-8", "utf8mb4": "utf8mb4", "zh": "zh", "zh-tw": "zh-tw", "zh-tw.big5": "zh-tw.big5", "zh-tw.big5.utf-8": "zh-tw.big5.utf-8", "zh-tw.utf-8": "zh-tw.utf-8", "zh.gbk": "zh.gbk", "zh.gbk.utf-8": "zh.gbk.utf-8", "zh.utf-8": "zh.utf-8"}, + ) _args_schema.ldap_enabled = AAZBoolArg( options=["--ldap-enabled"], arg_group="Properties", help="Specifies whether LDAP is enabled or not for a given NFS volume.", default=False, ) + _args_schema.ldap_server_type = AAZStrArg( + options=["--ldap-server-type"], + arg_group="Properties", + help="Specifies the type of LDAP server for a given NFS volume.", + enum={"ActiveDirectory": "ActiveDirectory", "OpenLDAP": "OpenLDAP"}, + ) _args_schema.network_features = AAZStrArg( options=["--network-features"], arg_group="Properties", @@ -679,7 +691,9 @@ def content(self): properties.set_prop("isLargeVolume", AAZBoolType, ".is_large_volume") properties.set_prop("kerberosEnabled", AAZBoolType, ".kerberos_enabled") properties.set_prop("keyVaultPrivateEndpointResourceId", AAZStrType, ".key_vault_private_endpoint_resource_id") + properties.set_prop("language", AAZStrType, ".language") properties.set_prop("ldapEnabled", AAZBoolType, ".ldap_enabled") + properties.set_prop("ldapServerType", AAZStrType, ".ldap_server_type") properties.set_prop("networkFeatures", AAZStrType, ".network_features") properties.set_prop("placementRules", AAZListType, ".placement_rules") properties.set_prop("protocolTypes", AAZListType, ".protocol_types") @@ -929,9 +943,13 @@ def _build_schema_on_200_201(cls): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) + properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) + properties.ldap_server_type = AAZStrType( + serialized_name="ldapServerType", + ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -1059,6 +1077,22 @@ def _build_schema_on_200_201(cls): serialized_name="endpointType", flags={"read_only": True}, ) + replication.external_replication_setup_info = AAZStrType( + serialized_name="externalReplicationSetupInfo", + flags={"read_only": True}, + ) + replication.external_replication_setup_status = AAZStrType( + serialized_name="externalReplicationSetupStatus", + flags={"read_only": True}, + ) + replication.mirror_state = AAZStrType( + serialized_name="mirrorState", + flags={"read_only": True}, + ) + replication.relationship_status = AAZStrType( + serialized_name="relationshipStatus", + flags={"read_only": True}, + ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_list.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_list.py index 82a1a6e4b38..5cbf0982ad2 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_list.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_list.py @@ -311,9 +311,13 @@ def _build_schema_on_200(cls): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) + properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) + properties.ldap_server_type = AAZStrType( + serialized_name="ldapServerType", + ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -441,6 +445,22 @@ def _build_schema_on_200(cls): serialized_name="endpointType", flags={"read_only": True}, ) + replication.external_replication_setup_info = AAZStrType( + serialized_name="externalReplicationSetupInfo", + flags={"read_only": True}, + ) + replication.external_replication_setup_status = AAZStrType( + serialized_name="externalReplicationSetupStatus", + flags={"read_only": True}, + ) + replication.mirror_state = AAZStrType( + serialized_name="mirrorState", + flags={"read_only": True}, + ) + replication.relationship_status = AAZStrType( + serialized_name="relationshipStatus", + flags={"read_only": True}, + ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_show.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_show.py index 6d53fb171eb..eedb5111112 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_show.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_show.py @@ -315,9 +315,13 @@ def _build_schema_on_200(cls): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) + properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) + properties.ldap_server_type = AAZStrType( + serialized_name="ldapServerType", + ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -445,6 +449,22 @@ def _build_schema_on_200(cls): serialized_name="endpointType", flags={"read_only": True}, ) + replication.external_replication_setup_info = AAZStrType( + serialized_name="externalReplicationSetupInfo", + flags={"read_only": True}, + ) + replication.external_replication_setup_status = AAZStrType( + serialized_name="externalReplicationSetupStatus", + flags={"read_only": True}, + ) + replication.mirror_state = AAZStrType( + serialized_name="mirrorState", + flags={"read_only": True}, + ) + replication.relationship_status = AAZStrType( + serialized_name="relationshipStatus", + flags={"read_only": True}, + ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_splitclonefromparent.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_splitclonefromparent.py index 367ff83c884..4ebb4a5e9b6 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_splitclonefromparent.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_splitclonefromparent.py @@ -332,9 +332,13 @@ def _build_schema_on_200(cls): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) + properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) + properties.ldap_server_type = AAZStrType( + serialized_name="ldapServerType", + ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -462,6 +466,22 @@ def _build_schema_on_200(cls): serialized_name="endpointType", flags={"read_only": True}, ) + replication.external_replication_setup_info = AAZStrType( + serialized_name="externalReplicationSetupInfo", + flags={"read_only": True}, + ) + replication.external_replication_setup_status = AAZStrType( + serialized_name="externalReplicationSetupStatus", + flags={"read_only": True}, + ) + replication.mirror_state = AAZStrType( + serialized_name="mirrorState", + flags={"read_only": True}, + ) + replication.relationship_status = AAZStrType( + serialized_name="relationshipStatus", + flags={"read_only": True}, + ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_update.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_update.py index 950ea34d213..ff1cb425112 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_update.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_update.py @@ -299,6 +299,13 @@ def _build_arguments_schema(cls, *args, **kwargs): help="Specifies if default quota is enabled for the volume.", nullable=True, ) + _args_schema.language = AAZStrArg( + options=["--language"], + arg_group="Properties", + help="Language supported for volume.", + nullable=True, + enum={"ar": "ar", "ar.utf-8": "ar.utf-8", "c": "c", "c.utf-8": "c.utf-8", "cs": "cs", "cs.utf-8": "cs.utf-8", "da": "da", "da.utf-8": "da.utf-8", "de": "de", "de.utf-8": "de.utf-8", "en": "en", "en-us": "en-us", "en-us.utf-8": "en-us.utf-8", "en.utf-8": "en.utf-8", "es": "es", "es.utf-8": "es.utf-8", "fi": "fi", "fi.utf-8": "fi.utf-8", "fr": "fr", "fr.utf-8": "fr.utf-8", "he": "he", "he.utf-8": "he.utf-8", "hr": "hr", "hr.utf-8": "hr.utf-8", "hu": "hu", "hu.utf-8": "hu.utf-8", "it": "it", "it.utf-8": "it.utf-8", "ja": "ja", "ja-jp.932": "ja-jp.932", "ja-jp.932.utf-8": "ja-jp.932.utf-8", "ja-jp.pck": "ja-jp.pck", "ja-jp.pck-v2": "ja-jp.pck-v2", "ja-jp.pck-v2.utf-8": "ja-jp.pck-v2.utf-8", "ja-jp.pck.utf-8": "ja-jp.pck.utf-8", "ja-v1": "ja-v1", "ja-v1.utf-8": "ja-v1.utf-8", "ja.utf-8": "ja.utf-8", "ko": "ko", "ko.utf-8": "ko.utf-8", "nl": "nl", "nl.utf-8": "nl.utf-8", "no": "no", "no.utf-8": "no.utf-8", "pl": "pl", "pl.utf-8": "pl.utf-8", "pt": "pt", "pt.utf-8": "pt.utf-8", "ro": "ro", "ro.utf-8": "ro.utf-8", "ru": "ru", "ru.utf-8": "ru.utf-8", "sk": "sk", "sk.utf-8": "sk.utf-8", "sl": "sl", "sl.utf-8": "sl.utf-8", "sv": "sv", "sv.utf-8": "sv.utf-8", "tr": "tr", "tr.utf-8": "tr.utf-8", "utf8mb4": "utf8mb4", "zh": "zh", "zh-tw": "zh-tw", "zh-tw.big5": "zh-tw.big5", "zh-tw.big5.utf-8": "zh-tw.big5.utf-8", "zh-tw.utf-8": "zh-tw.utf-8", "zh.gbk": "zh.gbk", "zh.gbk.utf-8": "zh.gbk.utf-8", "zh.utf-8": "zh.utf-8"}, + ) _args_schema.placement_rules = AAZListArg( options=["--placement-rules"], arg_group="Properties", @@ -721,6 +728,7 @@ def _update_instance(self, instance): properties.set_prop("exportPolicy", AAZObjectType) properties.set_prop("isDefaultQuotaEnabled", AAZBoolType, ".is_default_quota_enabled") properties.set_prop("keyVaultPrivateEndpointResourceId", AAZStrType, ".key_vault_private_endpoint_resource_id") + properties.set_prop("language", AAZStrType, ".language") properties.set_prop("placementRules", AAZListType, ".placement_rules") properties.set_prop("protocolTypes", AAZListType, ".protocol_types") properties.set_prop("proximityPlacementGroup", AAZStrType, ".proximity_placement_group") @@ -967,9 +975,13 @@ def _build_schema_volume_read(cls, _schema): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) + properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) + properties.ldap_server_type = AAZStrType( + serialized_name="ldapServerType", + ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -1097,6 +1109,22 @@ def _build_schema_volume_read(cls, _schema): serialized_name="endpointType", flags={"read_only": True}, ) + replication.external_replication_setup_info = AAZStrType( + serialized_name="externalReplicationSetupInfo", + flags={"read_only": True}, + ) + replication.external_replication_setup_status = AAZStrType( + serialized_name="externalReplicationSetupStatus", + flags={"read_only": True}, + ) + replication.mirror_state = AAZStrType( + serialized_name="mirrorState", + flags={"read_only": True}, + ) + replication.relationship_status = AAZStrType( + serialized_name="relationshipStatus", + flags={"read_only": True}, + ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_wait.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_wait.py index 3fc581517c7..5ff089bb485 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_wait.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_wait.py @@ -311,9 +311,13 @@ def _build_schema_on_200(cls): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) + properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) + properties.ldap_server_type = AAZStrType( + serialized_name="ldapServerType", + ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -441,6 +445,22 @@ def _build_schema_on_200(cls): serialized_name="endpointType", flags={"read_only": True}, ) + replication.external_replication_setup_info = AAZStrType( + serialized_name="externalReplicationSetupInfo", + flags={"read_only": True}, + ) + replication.external_replication_setup_status = AAZStrType( + serialized_name="externalReplicationSetupStatus", + flags={"read_only": True}, + ) + replication.mirror_state = AAZStrType( + serialized_name="mirrorState", + flags={"read_only": True}, + ) + replication.relationship_status = AAZStrType( + serialized_name="relationshipStatus", + flags={"read_only": True}, + ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_add.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_add.py index e7afa22eec8..4db12362737 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_add.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_add.py @@ -615,9 +615,13 @@ def _build_schema_volume_read(cls, _schema): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) + properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) + properties.ldap_server_type = AAZStrType( + serialized_name="ldapServerType", + ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -745,6 +749,22 @@ def _build_schema_volume_read(cls, _schema): serialized_name="endpointType", flags={"read_only": True}, ) + replication.external_replication_setup_info = AAZStrType( + serialized_name="externalReplicationSetupInfo", + flags={"read_only": True}, + ) + replication.external_replication_setup_status = AAZStrType( + serialized_name="externalReplicationSetupStatus", + flags={"read_only": True}, + ) + replication.mirror_state = AAZStrType( + serialized_name="mirrorState", + flags={"read_only": True}, + ) + replication.relationship_status = AAZStrType( + serialized_name="relationshipStatus", + flags={"read_only": True}, + ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_list.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_list.py index 072ebb52eb5..28c91116d98 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_list.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_list.py @@ -349,9 +349,13 @@ def _build_schema_volume_read(cls, _schema): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) + properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) + properties.ldap_server_type = AAZStrType( + serialized_name="ldapServerType", + ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -479,6 +483,22 @@ def _build_schema_volume_read(cls, _schema): serialized_name="endpointType", flags={"read_only": True}, ) + replication.external_replication_setup_info = AAZStrType( + serialized_name="externalReplicationSetupInfo", + flags={"read_only": True}, + ) + replication.external_replication_setup_status = AAZStrType( + serialized_name="externalReplicationSetupStatus", + flags={"read_only": True}, + ) + replication.mirror_state = AAZStrType( + serialized_name="mirrorState", + flags={"read_only": True}, + ) + replication.relationship_status = AAZStrType( + serialized_name="relationshipStatus", + flags={"read_only": True}, + ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_remove.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_remove.py index 0693b461ef7..40347712add 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_remove.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_remove.py @@ -502,9 +502,13 @@ def _build_schema_volume_read(cls, _schema): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) + properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) + properties.ldap_server_type = AAZStrType( + serialized_name="ldapServerType", + ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -632,6 +636,22 @@ def _build_schema_volume_read(cls, _schema): serialized_name="endpointType", flags={"read_only": True}, ) + replication.external_replication_setup_info = AAZStrType( + serialized_name="externalReplicationSetupInfo", + flags={"read_only": True}, + ) + replication.external_replication_setup_status = AAZStrType( + serialized_name="externalReplicationSetupStatus", + flags={"read_only": True}, + ) + replication.mirror_state = AAZStrType( + serialized_name="mirrorState", + flags={"read_only": True}, + ) + replication.relationship_status = AAZStrType( + serialized_name="relationshipStatus", + flags={"read_only": True}, + ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_show.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_show.py index 8f111c2486c..5fd7b58bccd 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_show.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_show.py @@ -368,9 +368,13 @@ def _build_schema_volume_read(cls, _schema): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) + properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) + properties.ldap_server_type = AAZStrType( + serialized_name="ldapServerType", + ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -498,6 +502,22 @@ def _build_schema_volume_read(cls, _schema): serialized_name="endpointType", flags={"read_only": True}, ) + replication.external_replication_setup_info = AAZStrType( + serialized_name="externalReplicationSetupInfo", + flags={"read_only": True}, + ) + replication.external_replication_setup_status = AAZStrType( + serialized_name="externalReplicationSetupStatus", + flags={"read_only": True}, + ) + replication.mirror_state = AAZStrType( + serialized_name="mirrorState", + flags={"read_only": True}, + ) + replication.relationship_status = AAZStrType( + serialized_name="relationshipStatus", + flags={"read_only": True}, + ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_update.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_update.py index 35feacd6c0d..70c0fb92b04 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_update.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_update.py @@ -633,9 +633,13 @@ def _build_schema_volume_read(cls, _schema): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) + properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) + properties.ldap_server_type = AAZStrType( + serialized_name="ldapServerType", + ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -763,6 +767,22 @@ def _build_schema_volume_read(cls, _schema): serialized_name="endpointType", flags={"read_only": True}, ) + replication.external_replication_setup_info = AAZStrType( + serialized_name="externalReplicationSetupInfo", + flags={"read_only": True}, + ) + replication.external_replication_setup_status = AAZStrType( + serialized_name="externalReplicationSetupStatus", + flags={"read_only": True}, + ) + replication.mirror_state = AAZStrType( + serialized_name="mirrorState", + flags={"read_only": True}, + ) + replication.relationship_status = AAZStrType( + serialized_name="relationshipStatus", + flags={"read_only": True}, + ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_wait.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_wait.py index 78f10e28b55..88e11990945 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_wait.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_wait.py @@ -336,9 +336,13 @@ def _build_schema_volume_read(cls, _schema): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) + properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) + properties.ldap_server_type = AAZStrType( + serialized_name="ldapServerType", + ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -466,6 +470,22 @@ def _build_schema_volume_read(cls, _schema): serialized_name="endpointType", flags={"read_only": True}, ) + replication.external_replication_setup_info = AAZStrType( + serialized_name="externalReplicationSetupInfo", + flags={"read_only": True}, + ) + replication.external_replication_setup_status = AAZStrType( + serialized_name="externalReplicationSetupStatus", + flags={"read_only": True}, + ) + replication.mirror_state = AAZStrType( + serialized_name="mirrorState", + flags={"read_only": True}, + ) + replication.relationship_status = AAZStrType( + serialized_name="relationshipStatus", + flags={"read_only": True}, + ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/replication/_populate_availability_zone.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/replication/_populate_availability_zone.py index d4e33108d52..32b9bee9616 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/replication/_populate_availability_zone.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/replication/_populate_availability_zone.py @@ -332,9 +332,13 @@ def _build_schema_on_200(cls): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) + properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) + properties.ldap_server_type = AAZStrType( + serialized_name="ldapServerType", + ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -462,6 +466,22 @@ def _build_schema_on_200(cls): serialized_name="endpointType", flags={"read_only": True}, ) + replication.external_replication_setup_info = AAZStrType( + serialized_name="externalReplicationSetupInfo", + flags={"read_only": True}, + ) + replication.external_replication_setup_status = AAZStrType( + serialized_name="externalReplicationSetupStatus", + flags={"read_only": True}, + ) + replication.mirror_state = AAZStrType( + serialized_name="mirrorState", + flags={"read_only": True}, + ) + replication.relationship_status = AAZStrType( + serialized_name="relationshipStatus", + flags={"read_only": True}, + ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_create.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_create.py index aec8d382c8a..ce93414bdea 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_create.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_create.py @@ -245,11 +245,21 @@ def _build_arguments_schema(cls, *args, **kwargs): options=["key-vault-private-endpoint-resource-id"], help="The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'.", ) + _element.language = AAZStrArg( + options=["language"], + help="Language supported for volume.", + enum={"ar": "ar", "ar.utf-8": "ar.utf-8", "c": "c", "c.utf-8": "c.utf-8", "cs": "cs", "cs.utf-8": "cs.utf-8", "da": "da", "da.utf-8": "da.utf-8", "de": "de", "de.utf-8": "de.utf-8", "en": "en", "en-us": "en-us", "en-us.utf-8": "en-us.utf-8", "en.utf-8": "en.utf-8", "es": "es", "es.utf-8": "es.utf-8", "fi": "fi", "fi.utf-8": "fi.utf-8", "fr": "fr", "fr.utf-8": "fr.utf-8", "he": "he", "he.utf-8": "he.utf-8", "hr": "hr", "hr.utf-8": "hr.utf-8", "hu": "hu", "hu.utf-8": "hu.utf-8", "it": "it", "it.utf-8": "it.utf-8", "ja": "ja", "ja-jp.932": "ja-jp.932", "ja-jp.932.utf-8": "ja-jp.932.utf-8", "ja-jp.pck": "ja-jp.pck", "ja-jp.pck-v2": "ja-jp.pck-v2", "ja-jp.pck-v2.utf-8": "ja-jp.pck-v2.utf-8", "ja-jp.pck.utf-8": "ja-jp.pck.utf-8", "ja-v1": "ja-v1", "ja-v1.utf-8": "ja-v1.utf-8", "ja.utf-8": "ja.utf-8", "ko": "ko", "ko.utf-8": "ko.utf-8", "nl": "nl", "nl.utf-8": "nl.utf-8", "no": "no", "no.utf-8": "no.utf-8", "pl": "pl", "pl.utf-8": "pl.utf-8", "pt": "pt", "pt.utf-8": "pt.utf-8", "ro": "ro", "ro.utf-8": "ro.utf-8", "ru": "ru", "ru.utf-8": "ru.utf-8", "sk": "sk", "sk.utf-8": "sk.utf-8", "sl": "sl", "sl.utf-8": "sl.utf-8", "sv": "sv", "sv.utf-8": "sv.utf-8", "tr": "tr", "tr.utf-8": "tr.utf-8", "utf8mb4": "utf8mb4", "zh": "zh", "zh-tw": "zh-tw", "zh-tw.big5": "zh-tw.big5", "zh-tw.big5.utf-8": "zh-tw.big5.utf-8", "zh-tw.utf-8": "zh-tw.utf-8", "zh.gbk": "zh.gbk", "zh.gbk.utf-8": "zh.gbk.utf-8", "zh.utf-8": "zh.utf-8"}, + ) _element.ldap_enabled = AAZBoolArg( options=["ldap-enabled"], help="Specifies whether LDAP is enabled or not for a given NFS volume.", default=False, ) + _element.ldap_server_type = AAZStrArg( + options=["ldap-server-type"], + help="Specifies the type of LDAP server for a given NFS volume.", + enum={"ActiveDirectory": "ActiveDirectory", "OpenLDAP": "OpenLDAP"}, + ) _element.network_features = AAZStrArg( options=["network-features"], help="Network features available to the volume, or current state of update.", @@ -724,7 +734,9 @@ def content(self): properties.set_prop("isLargeVolume", AAZBoolType, ".is_large_volume") properties.set_prop("kerberosEnabled", AAZBoolType, ".kerberos_enabled") properties.set_prop("keyVaultPrivateEndpointResourceId", AAZStrType, ".key_vault_private_endpoint_resource_id") + properties.set_prop("language", AAZStrType, ".language") properties.set_prop("ldapEnabled", AAZBoolType, ".ldap_enabled") + properties.set_prop("ldapServerType", AAZStrType, ".ldap_server_type") properties.set_prop("networkFeatures", AAZStrType, ".network_features") properties.set_prop("placementRules", AAZListType, ".placement_rules") properties.set_prop("protocolTypes", AAZListType, ".protocol_types") @@ -1011,9 +1023,13 @@ def _build_schema_on_201(cls): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) + properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) + properties.ldap_server_type = AAZStrType( + serialized_name="ldapServerType", + ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -1141,6 +1157,22 @@ def _build_schema_on_201(cls): serialized_name="endpointType", flags={"read_only": True}, ) + replication.external_replication_setup_info = AAZStrType( + serialized_name="externalReplicationSetupInfo", + flags={"read_only": True}, + ) + replication.external_replication_setup_status = AAZStrType( + serialized_name="externalReplicationSetupStatus", + flags={"read_only": True}, + ) + replication.mirror_state = AAZStrType( + serialized_name="mirrorState", + flags={"read_only": True}, + ) + replication.relationship_status = AAZStrType( + serialized_name="relationshipStatus", + flags={"read_only": True}, + ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_show.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_show.py index 20e3c139f4d..7aca4379ab7 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_show.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_show.py @@ -342,9 +342,13 @@ def _build_schema_on_200(cls): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) + properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) + properties.ldap_server_type = AAZStrType( + serialized_name="ldapServerType", + ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -472,6 +476,22 @@ def _build_schema_on_200(cls): serialized_name="endpointType", flags={"read_only": True}, ) + replication.external_replication_setup_info = AAZStrType( + serialized_name="externalReplicationSetupInfo", + flags={"read_only": True}, + ) + replication.external_replication_setup_status = AAZStrType( + serialized_name="externalReplicationSetupStatus", + flags={"read_only": True}, + ) + replication.mirror_state = AAZStrType( + serialized_name="mirrorState", + flags={"read_only": True}, + ) + replication.relationship_status = AAZStrType( + serialized_name="relationshipStatus", + flags={"read_only": True}, + ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_update.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_update.py index 3411e35886c..1ec655a0555 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_update.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_update.py @@ -203,6 +203,12 @@ def _build_arguments_schema(cls, *args, **kwargs): help="The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'.", nullable=True, ) + _element.language = AAZStrArg( + options=["language"], + help="Language supported for volume.", + nullable=True, + enum={"ar": "ar", "ar.utf-8": "ar.utf-8", "c": "c", "c.utf-8": "c.utf-8", "cs": "cs", "cs.utf-8": "cs.utf-8", "da": "da", "da.utf-8": "da.utf-8", "de": "de", "de.utf-8": "de.utf-8", "en": "en", "en-us": "en-us", "en-us.utf-8": "en-us.utf-8", "en.utf-8": "en.utf-8", "es": "es", "es.utf-8": "es.utf-8", "fi": "fi", "fi.utf-8": "fi.utf-8", "fr": "fr", "fr.utf-8": "fr.utf-8", "he": "he", "he.utf-8": "he.utf-8", "hr": "hr", "hr.utf-8": "hr.utf-8", "hu": "hu", "hu.utf-8": "hu.utf-8", "it": "it", "it.utf-8": "it.utf-8", "ja": "ja", "ja-jp.932": "ja-jp.932", "ja-jp.932.utf-8": "ja-jp.932.utf-8", "ja-jp.pck": "ja-jp.pck", "ja-jp.pck-v2": "ja-jp.pck-v2", "ja-jp.pck-v2.utf-8": "ja-jp.pck-v2.utf-8", "ja-jp.pck.utf-8": "ja-jp.pck.utf-8", "ja-v1": "ja-v1", "ja-v1.utf-8": "ja-v1.utf-8", "ja.utf-8": "ja.utf-8", "ko": "ko", "ko.utf-8": "ko.utf-8", "nl": "nl", "nl.utf-8": "nl.utf-8", "no": "no", "no.utf-8": "no.utf-8", "pl": "pl", "pl.utf-8": "pl.utf-8", "pt": "pt", "pt.utf-8": "pt.utf-8", "ro": "ro", "ro.utf-8": "ro.utf-8", "ru": "ru", "ru.utf-8": "ru.utf-8", "sk": "sk", "sk.utf-8": "sk.utf-8", "sl": "sl", "sl.utf-8": "sl.utf-8", "sv": "sv", "sv.utf-8": "sv.utf-8", "tr": "tr", "tr.utf-8": "tr.utf-8", "utf8mb4": "utf8mb4", "zh": "zh", "zh-tw": "zh-tw", "zh-tw.big5": "zh-tw.big5", "zh-tw.big5.utf-8": "zh-tw.big5.utf-8", "zh-tw.utf-8": "zh-tw.utf-8", "zh.gbk": "zh.gbk", "zh.gbk.utf-8": "zh.gbk.utf-8", "zh.utf-8": "zh.utf-8"}, + ) _element.placement_rules = AAZListArg( options=["placement-rules"], help="Application specific placement rules for the particular volume", @@ -774,6 +780,7 @@ def _update_instance(self, instance): properties.set_prop("exportPolicy", AAZObjectType, ".export_policy") properties.set_prop("isDefaultQuotaEnabled", AAZBoolType, ".is_default_quota_enabled") properties.set_prop("keyVaultPrivateEndpointResourceId", AAZStrType, ".key_vault_private_endpoint_resource_id") + properties.set_prop("language", AAZStrType, ".language") properties.set_prop("placementRules", AAZListType, ".placement_rules") properties.set_prop("protocolTypes", AAZListType, ".protocol_types") properties.set_prop("proximityPlacementGroup", AAZStrType, ".proximity_placement_group") @@ -1083,9 +1090,13 @@ def _build_schema_volume_group_details_read(cls, _schema): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) + properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) + properties.ldap_server_type = AAZStrType( + serialized_name="ldapServerType", + ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -1213,6 +1224,22 @@ def _build_schema_volume_group_details_read(cls, _schema): serialized_name="endpointType", flags={"read_only": True}, ) + replication.external_replication_setup_info = AAZStrType( + serialized_name="externalReplicationSetupInfo", + flags={"read_only": True}, + ) + replication.external_replication_setup_status = AAZStrType( + serialized_name="externalReplicationSetupStatus", + flags={"read_only": True}, + ) + replication.mirror_state = AAZStrType( + serialized_name="mirrorState", + flags={"read_only": True}, + ) + replication.relationship_status = AAZStrType( + serialized_name="relationshipStatus", + flags={"read_only": True}, + ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_wait.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_wait.py index 14fb244d1aa..9cf8b1da710 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_wait.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_wait.py @@ -338,9 +338,13 @@ def _build_schema_on_200(cls): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) + properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) + properties.ldap_server_type = AAZStrType( + serialized_name="ldapServerType", + ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -468,6 +472,22 @@ def _build_schema_on_200(cls): serialized_name="endpointType", flags={"read_only": True}, ) + replication.external_replication_setup_info = AAZStrType( + serialized_name="externalReplicationSetupInfo", + flags={"read_only": True}, + ) + replication.external_replication_setup_status = AAZStrType( + serialized_name="externalReplicationSetupStatus", + flags={"read_only": True}, + ) + replication.mirror_state = AAZStrType( + serialized_name="mirrorState", + flags={"read_only": True}, + ) + replication.relationship_status = AAZStrType( + serialized_name="relationshipStatus", + flags={"read_only": True}, + ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/custom.py b/src/azure-cli/azure/cli/command_modules/netappfiles/custom.py index 092be5b8baf..f45c268e663 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/custom.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/custom.py @@ -793,7 +793,7 @@ def _build_arguments_schema(cls, *args, **kwargs): required=False, ) args_schema.shared_network_features = AAZStrArg( - options=["--shared-network-features", "--network-features"], + options=["--shared-network-features"], arg_group="Shared Volume", help="Network features available to the volumes in the volume group.", default="Basic", From 87a98d6a824801fefd9a8d38b50c883701efa0bf Mon Sep 17 00:00:00 2001 From: audunn Date: Fri, 14 Nov 2025 13:04:02 +0000 Subject: [PATCH 2/7] fix things should be in preview --- .../aaz/latest/netappfiles/account/_create.py | 78 ----------------- .../aaz/latest/netappfiles/account/_list.py | 46 ---------- .../aaz/latest/netappfiles/account/_show.py | 23 ----- .../aaz/latest/netappfiles/account/_update.py | 85 ------------------- .../aaz/latest/netappfiles/account/_wait.py | 23 ----- .../aaz/latest/netappfiles/account/ad/_add.py | 23 ----- .../latest/netappfiles/account/ad/_list.py | 23 ----- .../latest/netappfiles/account/ad/_remove.py | 23 ----- .../latest/netappfiles/account/ad/_show.py | 23 ----- .../latest/netappfiles/account/ad/_update.py | 23 ----- .../latest/netappfiles/account/ad/_wait.py | 23 ----- .../netappfiles/snapshot/policy/_volumes.py | 20 ----- .../aaz/latest/netappfiles/volume/_create.py | 34 -------- .../aaz/latest/netappfiles/volume/_list.py | 20 ----- .../aaz/latest/netappfiles/volume/_show.py | 20 ----- .../volume/_splitclonefromparent.py | 20 ----- .../aaz/latest/netappfiles/volume/_update.py | 28 ------ .../aaz/latest/netappfiles/volume/_wait.py | 20 ----- .../netappfiles/volume/export_policy/_add.py | 20 ----- .../netappfiles/volume/export_policy/_list.py | 20 ----- .../volume/export_policy/_remove.py | 20 ----- .../netappfiles/volume/export_policy/_show.py | 20 ----- .../volume/export_policy/_update.py | 20 ----- .../netappfiles/volume/export_policy/_wait.py | 20 ----- .../_populate_availability_zone.py | 20 ----- .../netappfiles/volume_group/_create.py | 32 ------- .../latest/netappfiles/volume_group/_show.py | 20 ----- .../netappfiles/volume_group/_update.py | 27 ------ .../latest/netappfiles/volume_group/_wait.py | 20 ----- 29 files changed, 794 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_create.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_create.py index 8e7fce24676..aae58bcde63 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_create.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_create.py @@ -164,11 +164,6 @@ def _build_arguments_schema(cls, *args, **kwargs): arg_group="Properties", help="Active Directories", ) - _args_schema.ldap_configuration = AAZObjectArg( - options=["--ldap-configuration"], - arg_group="Properties", - help="LDAP Configuration for the account.", - ) _args_schema.nfs_v4_id_domain = AAZStrArg( options=["--nfs-v4-id-domain"], arg_group="Properties", @@ -344,43 +339,6 @@ def _build_arguments_schema(cls, *args, **kwargs): min_length=1, ), ) - - ldap_configuration = cls._args_schema.ldap_configuration - ldap_configuration.certificate_cn_host = AAZStrArg( - options=["certificate-cn-host"], - help="The CN host name used while generating the certificate, LDAP Over TLS requires the CN host name to create DNS host entry.", - nullable=True, - ) - ldap_configuration.domain = AAZStrArg( - options=["domain"], - help="Name of the LDAP configuration domain", - fmt=AAZStrArgFormat( - pattern="^[a-zA-Z0-9][a-zA-Z0-9.-]{0,253}[a-zA-Z0-9]$", - max_length=255, - ), - ) - ldap_configuration.ldap_over_tls = AAZBoolArg( - options=["ldap-over-tls"], - help="Specifies whether or not the LDAP traffic needs to be secured via TLS.", - ) - ldap_configuration.ldap_servers = AAZListArg( - options=["ldap-servers"], - help="List of LDAP server IP addresses (IPv4 only) for the LDAP domain.", - ) - ldap_configuration.server_ca_certificate = AAZPasswordArg( - options=["server-ca-certificate"], - help="When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded ldap servers CA certificate.", - fmt=AAZStrArgFormat( - max_length=10240, - min_length=1, - ), - blank=AAZPromptPasswordInput( - msg="Password:", - ), - ) - - ldap_servers = cls._args_schema.ldap_configuration.ldap_servers - ldap_servers.Element = AAZStrArg() return cls._args_schema def _execute_operations(self): @@ -513,7 +471,6 @@ def content(self): if properties is not None: properties.set_prop("activeDirectories", AAZListType, ".active_directories") properties.set_prop("encryption", AAZObjectType) - properties.set_prop("ldapConfiguration", AAZObjectType, ".ldap_configuration") properties.set_prop("nfsV4IDDomain", AAZStrType, ".nfs_v4_id_domain", typ_kwargs={"nullable": True}) active_directories = _builder.get(".properties.activeDirectories") @@ -579,18 +536,6 @@ def content(self): key_vault_properties.set_prop("keyVaultResourceId", AAZStrType, ".key_vault_resource_id") key_vault_properties.set_prop("keyVaultUri", AAZStrType, ".key_vault_uri", typ_kwargs={"flags": {"required": True}}) - ldap_configuration = _builder.get(".properties.ldapConfiguration") - if ldap_configuration is not None: - ldap_configuration.set_prop("certificateCNHost", AAZStrType, ".certificate_cn_host", typ_kwargs={"nullable": True}) - ldap_configuration.set_prop("domain", AAZStrType, ".domain") - ldap_configuration.set_prop("ldapOverTLS", AAZBoolType, ".ldap_over_tls") - ldap_configuration.set_prop("ldapServers", AAZListType, ".ldap_servers") - ldap_configuration.set_prop("serverCACertificate", AAZStrType, ".server_ca_certificate", typ_kwargs={"flags": {"secret": True}}) - - ldap_servers = _builder.get(".properties.ldapConfiguration.ldapServers") - if ldap_servers is not None: - ldap_servers.set_elements(AAZStrType, ".") - tags = _builder.get(".tags") if tags is not None: tags.set_elements(AAZStrType, ".") @@ -681,9 +626,6 @@ def _build_schema_on_200_201(cls): flags={"read_only": True}, ) properties.encryption = AAZObjectType() - properties.ldap_configuration = AAZObjectType( - serialized_name="ldapConfiguration", - ) properties.multi_ad_status = AAZStrType( serialized_name="multiAdStatus", flags={"read_only": True}, @@ -825,26 +767,6 @@ def _build_schema_on_200_201(cls): flags={"read_only": True}, ) - ldap_configuration = cls._schema_on_200_201.properties.ldap_configuration - ldap_configuration.certificate_cn_host = AAZStrType( - serialized_name="certificateCNHost", - nullable=True, - ) - ldap_configuration.domain = AAZStrType() - ldap_configuration.ldap_over_tls = AAZBoolType( - serialized_name="ldapOverTLS", - ) - ldap_configuration.ldap_servers = AAZListType( - serialized_name="ldapServers", - ) - ldap_configuration.server_ca_certificate = AAZStrType( - serialized_name="serverCACertificate", - flags={"secret": True}, - ) - - ldap_servers = cls._schema_on_200_201.properties.ldap_configuration.ldap_servers - ldap_servers.Element = AAZStrType() - system_data = cls._schema_on_200_201.system_data system_data.created_at = AAZStrType( serialized_name="createdAt", diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_list.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_list.py index 83a5a3faeec..5d140124167 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_list.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_list.py @@ -222,9 +222,6 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) properties.encryption = AAZObjectType() - properties.ldap_configuration = AAZObjectType( - serialized_name="ldapConfiguration", - ) properties.multi_ad_status = AAZStrType( serialized_name="multiAdStatus", flags={"read_only": True}, @@ -366,26 +363,6 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) - ldap_configuration = cls._schema_on_200.value.Element.properties.ldap_configuration - ldap_configuration.certificate_cn_host = AAZStrType( - serialized_name="certificateCNHost", - nullable=True, - ) - ldap_configuration.domain = AAZStrType() - ldap_configuration.ldap_over_tls = AAZBoolType( - serialized_name="ldapOverTLS", - ) - ldap_configuration.ldap_servers = AAZListType( - serialized_name="ldapServers", - ) - ldap_configuration.server_ca_certificate = AAZStrType( - serialized_name="serverCACertificate", - flags={"secret": True}, - ) - - ldap_servers = cls._schema_on_200.value.Element.properties.ldap_configuration.ldap_servers - ldap_servers.Element = AAZStrType() - system_data = cls._schema_on_200.value.Element.system_data system_data.created_at = AAZStrType( serialized_name="createdAt", @@ -565,9 +542,6 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) properties.encryption = AAZObjectType() - properties.ldap_configuration = AAZObjectType( - serialized_name="ldapConfiguration", - ) properties.multi_ad_status = AAZStrType( serialized_name="multiAdStatus", flags={"read_only": True}, @@ -709,26 +683,6 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) - ldap_configuration = cls._schema_on_200.value.Element.properties.ldap_configuration - ldap_configuration.certificate_cn_host = AAZStrType( - serialized_name="certificateCNHost", - nullable=True, - ) - ldap_configuration.domain = AAZStrType() - ldap_configuration.ldap_over_tls = AAZBoolType( - serialized_name="ldapOverTLS", - ) - ldap_configuration.ldap_servers = AAZListType( - serialized_name="ldapServers", - ) - ldap_configuration.server_ca_certificate = AAZStrType( - serialized_name="serverCACertificate", - flags={"secret": True}, - ) - - ldap_servers = cls._schema_on_200.value.Element.properties.ldap_configuration.ldap_servers - ldap_servers.Element = AAZStrType() - system_data = cls._schema_on_200.value.Element.system_data system_data.created_at = AAZStrType( serialized_name="createdAt", diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_show.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_show.py index 8bc1d130ea4..5a8efc6d188 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_show.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_show.py @@ -222,9 +222,6 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) properties.encryption = AAZObjectType() - properties.ldap_configuration = AAZObjectType( - serialized_name="ldapConfiguration", - ) properties.multi_ad_status = AAZStrType( serialized_name="multiAdStatus", flags={"read_only": True}, @@ -366,26 +363,6 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) - ldap_configuration = cls._schema_on_200.properties.ldap_configuration - ldap_configuration.certificate_cn_host = AAZStrType( - serialized_name="certificateCNHost", - nullable=True, - ) - ldap_configuration.domain = AAZStrType() - ldap_configuration.ldap_over_tls = AAZBoolType( - serialized_name="ldapOverTLS", - ) - ldap_configuration.ldap_servers = AAZListType( - serialized_name="ldapServers", - ) - ldap_configuration.server_ca_certificate = AAZStrType( - serialized_name="serverCACertificate", - flags={"secret": True}, - ) - - ldap_servers = cls._schema_on_200.properties.ldap_configuration.ldap_servers - ldap_servers.Element = AAZStrType() - system_data = cls._schema_on_200.system_data system_data.created_at = AAZStrType( serialized_name="createdAt", diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_update.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_update.py index 94e4e83bd23..d64d6585d34 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_update.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_update.py @@ -152,12 +152,6 @@ def _build_arguments_schema(cls, *args, **kwargs): help="Active Directories", nullable=True, ) - _args_schema.ldap_configuration = AAZObjectArg( - options=["--ldap-configuration"], - arg_group="Properties", - help="LDAP Configuration for the account.", - nullable=True, - ) _args_schema.nfs_v4_id_domain = AAZStrArg( options=["--nfs-v4-id-domain"], arg_group="Properties", @@ -360,49 +354,6 @@ def _build_arguments_schema(cls, *args, **kwargs): min_length=1, ), ) - - ldap_configuration = cls._args_schema.ldap_configuration - ldap_configuration.certificate_cn_host = AAZStrArg( - options=["certificate-cn-host"], - help="The CN host name used while generating the certificate, LDAP Over TLS requires the CN host name to create DNS host entry.", - nullable=True, - ) - ldap_configuration.domain = AAZStrArg( - options=["domain"], - help="Name of the LDAP configuration domain", - nullable=True, - fmt=AAZStrArgFormat( - pattern="^[a-zA-Z0-9][a-zA-Z0-9.-]{0,253}[a-zA-Z0-9]$", - max_length=255, - ), - ) - ldap_configuration.ldap_over_tls = AAZBoolArg( - options=["ldap-over-tls"], - help="Specifies whether or not the LDAP traffic needs to be secured via TLS.", - nullable=True, - ) - ldap_configuration.ldap_servers = AAZListArg( - options=["ldap-servers"], - help="List of LDAP server IP addresses (IPv4 only) for the LDAP domain.", - nullable=True, - ) - ldap_configuration.server_ca_certificate = AAZPasswordArg( - options=["server-ca-certificate"], - help="When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded ldap servers CA certificate.", - nullable=True, - fmt=AAZStrArgFormat( - max_length=10240, - min_length=1, - ), - blank=AAZPromptPasswordInput( - msg="Password:", - ), - ) - - ldap_servers = cls._args_schema.ldap_configuration.ldap_servers - ldap_servers.Element = AAZStrArg( - nullable=True, - ) return cls._args_schema def _execute_operations(self): @@ -657,7 +608,6 @@ def _update_instance(self, instance): if properties is not None: properties.set_prop("activeDirectories", AAZListType, ".active_directories") properties.set_prop("encryption", AAZObjectType) - properties.set_prop("ldapConfiguration", AAZObjectType, ".ldap_configuration") properties.set_prop("nfsV4IDDomain", AAZStrType, ".nfs_v4_id_domain", typ_kwargs={"nullable": True}) active_directories = _builder.get(".properties.activeDirectories") @@ -723,18 +673,6 @@ def _update_instance(self, instance): key_vault_properties.set_prop("keyVaultResourceId", AAZStrType, ".key_vault_resource_id") key_vault_properties.set_prop("keyVaultUri", AAZStrType, ".key_vault_uri", typ_kwargs={"flags": {"required": True}}) - ldap_configuration = _builder.get(".properties.ldapConfiguration") - if ldap_configuration is not None: - ldap_configuration.set_prop("certificateCNHost", AAZStrType, ".certificate_cn_host", typ_kwargs={"nullable": True}) - ldap_configuration.set_prop("domain", AAZStrType, ".domain") - ldap_configuration.set_prop("ldapOverTLS", AAZBoolType, ".ldap_over_tls") - ldap_configuration.set_prop("ldapServers", AAZListType, ".ldap_servers") - ldap_configuration.set_prop("serverCACertificate", AAZStrType, ".server_ca_certificate", typ_kwargs={"flags": {"secret": True}}) - - ldap_servers = _builder.get(".properties.ldapConfiguration.ldapServers") - if ldap_servers is not None: - ldap_servers.set_elements(AAZStrType, ".") - tags = _builder.get(".tags") if tags is not None: tags.set_elements(AAZStrType, ".") @@ -838,9 +776,6 @@ def _build_schema_net_app_account_read(cls, _schema): flags={"read_only": True}, ) properties.encryption = AAZObjectType() - properties.ldap_configuration = AAZObjectType( - serialized_name="ldapConfiguration", - ) properties.multi_ad_status = AAZStrType( serialized_name="multiAdStatus", flags={"read_only": True}, @@ -982,26 +917,6 @@ def _build_schema_net_app_account_read(cls, _schema): flags={"read_only": True}, ) - ldap_configuration = _schema_net_app_account_read.properties.ldap_configuration - ldap_configuration.certificate_cn_host = AAZStrType( - serialized_name="certificateCNHost", - nullable=True, - ) - ldap_configuration.domain = AAZStrType() - ldap_configuration.ldap_over_tls = AAZBoolType( - serialized_name="ldapOverTLS", - ) - ldap_configuration.ldap_servers = AAZListType( - serialized_name="ldapServers", - ) - ldap_configuration.server_ca_certificate = AAZStrType( - serialized_name="serverCACertificate", - flags={"secret": True}, - ) - - ldap_servers = _schema_net_app_account_read.properties.ldap_configuration.ldap_servers - ldap_servers.Element = AAZStrType() - system_data = _schema_net_app_account_read.system_data system_data.created_at = AAZStrType( serialized_name="createdAt", diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_wait.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_wait.py index a3184db4c5f..b9c5201bd3d 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_wait.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_wait.py @@ -218,9 +218,6 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) properties.encryption = AAZObjectType() - properties.ldap_configuration = AAZObjectType( - serialized_name="ldapConfiguration", - ) properties.multi_ad_status = AAZStrType( serialized_name="multiAdStatus", flags={"read_only": True}, @@ -362,26 +359,6 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) - ldap_configuration = cls._schema_on_200.properties.ldap_configuration - ldap_configuration.certificate_cn_host = AAZStrType( - serialized_name="certificateCNHost", - nullable=True, - ) - ldap_configuration.domain = AAZStrType() - ldap_configuration.ldap_over_tls = AAZBoolType( - serialized_name="ldapOverTLS", - ) - ldap_configuration.ldap_servers = AAZListType( - serialized_name="ldapServers", - ) - ldap_configuration.server_ca_certificate = AAZStrType( - serialized_name="serverCACertificate", - flags={"secret": True}, - ) - - ldap_servers = cls._schema_on_200.properties.ldap_configuration.ldap_servers - ldap_servers.Element = AAZStrType() - system_data = cls._schema_on_200.system_data system_data.created_at = AAZStrType( serialized_name="createdAt", diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_add.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_add.py index 865422482a7..98991a31678 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_add.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_add.py @@ -632,9 +632,6 @@ def _build_schema_net_app_account_read(cls, _schema): flags={"read_only": True}, ) properties.encryption = AAZObjectType() - properties.ldap_configuration = AAZObjectType( - serialized_name="ldapConfiguration", - ) properties.multi_ad_status = AAZStrType( serialized_name="multiAdStatus", flags={"read_only": True}, @@ -776,26 +773,6 @@ def _build_schema_net_app_account_read(cls, _schema): flags={"read_only": True}, ) - ldap_configuration = _schema_net_app_account_read.properties.ldap_configuration - ldap_configuration.certificate_cn_host = AAZStrType( - serialized_name="certificateCNHost", - nullable=True, - ) - ldap_configuration.domain = AAZStrType() - ldap_configuration.ldap_over_tls = AAZBoolType( - serialized_name="ldapOverTLS", - ) - ldap_configuration.ldap_servers = AAZListType( - serialized_name="ldapServers", - ) - ldap_configuration.server_ca_certificate = AAZStrType( - serialized_name="serverCACertificate", - flags={"secret": True}, - ) - - ldap_servers = _schema_net_app_account_read.properties.ldap_configuration.ldap_servers - ldap_servers.Element = AAZStrType() - system_data = _schema_net_app_account_read.system_data system_data.created_at = AAZStrType( serialized_name="createdAt", diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_list.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_list.py index 0e17cbabdf2..5ce32cee07b 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_list.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_list.py @@ -258,9 +258,6 @@ def _build_schema_net_app_account_read(cls, _schema): flags={"read_only": True}, ) properties.encryption = AAZObjectType() - properties.ldap_configuration = AAZObjectType( - serialized_name="ldapConfiguration", - ) properties.multi_ad_status = AAZStrType( serialized_name="multiAdStatus", flags={"read_only": True}, @@ -402,26 +399,6 @@ def _build_schema_net_app_account_read(cls, _schema): flags={"read_only": True}, ) - ldap_configuration = _schema_net_app_account_read.properties.ldap_configuration - ldap_configuration.certificate_cn_host = AAZStrType( - serialized_name="certificateCNHost", - nullable=True, - ) - ldap_configuration.domain = AAZStrType() - ldap_configuration.ldap_over_tls = AAZBoolType( - serialized_name="ldapOverTLS", - ) - ldap_configuration.ldap_servers = AAZListType( - serialized_name="ldapServers", - ) - ldap_configuration.server_ca_certificate = AAZStrType( - serialized_name="serverCACertificate", - flags={"secret": True}, - ) - - ldap_servers = _schema_net_app_account_read.properties.ldap_configuration.ldap_servers - ldap_servers.Element = AAZStrType() - system_data = _schema_net_app_account_read.system_data system_data.created_at = AAZStrType( serialized_name="createdAt", diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_remove.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_remove.py index 640558d1f74..9a59fc86771 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_remove.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_remove.py @@ -404,9 +404,6 @@ def _build_schema_net_app_account_read(cls, _schema): flags={"read_only": True}, ) properties.encryption = AAZObjectType() - properties.ldap_configuration = AAZObjectType( - serialized_name="ldapConfiguration", - ) properties.multi_ad_status = AAZStrType( serialized_name="multiAdStatus", flags={"read_only": True}, @@ -548,26 +545,6 @@ def _build_schema_net_app_account_read(cls, _schema): flags={"read_only": True}, ) - ldap_configuration = _schema_net_app_account_read.properties.ldap_configuration - ldap_configuration.certificate_cn_host = AAZStrType( - serialized_name="certificateCNHost", - nullable=True, - ) - ldap_configuration.domain = AAZStrType() - ldap_configuration.ldap_over_tls = AAZBoolType( - serialized_name="ldapOverTLS", - ) - ldap_configuration.ldap_servers = AAZListType( - serialized_name="ldapServers", - ) - ldap_configuration.server_ca_certificate = AAZStrType( - serialized_name="serverCACertificate", - flags={"secret": True}, - ) - - ldap_servers = _schema_net_app_account_read.properties.ldap_configuration.ldap_servers - ldap_servers.Element = AAZStrType() - system_data = _schema_net_app_account_read.system_data system_data.created_at = AAZStrType( serialized_name="createdAt", diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_show.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_show.py index 2966be5f8f7..f7131c1564c 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_show.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_show.py @@ -278,9 +278,6 @@ def _build_schema_net_app_account_read(cls, _schema): flags={"read_only": True}, ) properties.encryption = AAZObjectType() - properties.ldap_configuration = AAZObjectType( - serialized_name="ldapConfiguration", - ) properties.multi_ad_status = AAZStrType( serialized_name="multiAdStatus", flags={"read_only": True}, @@ -422,26 +419,6 @@ def _build_schema_net_app_account_read(cls, _schema): flags={"read_only": True}, ) - ldap_configuration = _schema_net_app_account_read.properties.ldap_configuration - ldap_configuration.certificate_cn_host = AAZStrType( - serialized_name="certificateCNHost", - nullable=True, - ) - ldap_configuration.domain = AAZStrType() - ldap_configuration.ldap_over_tls = AAZBoolType( - serialized_name="ldapOverTLS", - ) - ldap_configuration.ldap_servers = AAZListType( - serialized_name="ldapServers", - ) - ldap_configuration.server_ca_certificate = AAZStrType( - serialized_name="serverCACertificate", - flags={"secret": True}, - ) - - ldap_servers = _schema_net_app_account_read.properties.ldap_configuration.ldap_servers - ldap_servers.Element = AAZStrType() - system_data = _schema_net_app_account_read.system_data system_data.created_at = AAZStrType( serialized_name="createdAt", diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_update.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_update.py index bb2ba3ab5b2..5786801dafb 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_update.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_update.py @@ -669,9 +669,6 @@ def _build_schema_net_app_account_read(cls, _schema): flags={"read_only": True}, ) properties.encryption = AAZObjectType() - properties.ldap_configuration = AAZObjectType( - serialized_name="ldapConfiguration", - ) properties.multi_ad_status = AAZStrType( serialized_name="multiAdStatus", flags={"read_only": True}, @@ -813,26 +810,6 @@ def _build_schema_net_app_account_read(cls, _schema): flags={"read_only": True}, ) - ldap_configuration = _schema_net_app_account_read.properties.ldap_configuration - ldap_configuration.certificate_cn_host = AAZStrType( - serialized_name="certificateCNHost", - nullable=True, - ) - ldap_configuration.domain = AAZStrType() - ldap_configuration.ldap_over_tls = AAZBoolType( - serialized_name="ldapOverTLS", - ) - ldap_configuration.ldap_servers = AAZListType( - serialized_name="ldapServers", - ) - ldap_configuration.server_ca_certificate = AAZStrType( - serialized_name="serverCACertificate", - flags={"secret": True}, - ) - - ldap_servers = _schema_net_app_account_read.properties.ldap_configuration.ldap_servers - ldap_servers.Element = AAZStrType() - system_data = _schema_net_app_account_read.system_data system_data.created_at = AAZStrType( serialized_name="createdAt", diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_wait.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_wait.py index 7a4fcebe126..75ed08a94bc 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_wait.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/ad/_wait.py @@ -243,9 +243,6 @@ def _build_schema_net_app_account_read(cls, _schema): flags={"read_only": True}, ) properties.encryption = AAZObjectType() - properties.ldap_configuration = AAZObjectType( - serialized_name="ldapConfiguration", - ) properties.multi_ad_status = AAZStrType( serialized_name="multiAdStatus", flags={"read_only": True}, @@ -387,26 +384,6 @@ def _build_schema_net_app_account_read(cls, _schema): flags={"read_only": True}, ) - ldap_configuration = _schema_net_app_account_read.properties.ldap_configuration - ldap_configuration.certificate_cn_host = AAZStrType( - serialized_name="certificateCNHost", - nullable=True, - ) - ldap_configuration.domain = AAZStrType() - ldap_configuration.ldap_over_tls = AAZBoolType( - serialized_name="ldapOverTLS", - ) - ldap_configuration.ldap_servers = AAZListType( - serialized_name="ldapServers", - ) - ldap_configuration.server_ca_certificate = AAZStrType( - serialized_name="serverCACertificate", - flags={"secret": True}, - ) - - ldap_servers = _schema_net_app_account_read.properties.ldap_configuration.ldap_servers - ldap_servers.Element = AAZStrType() - system_data = _schema_net_app_account_read.system_data system_data.created_at = AAZStrType( serialized_name="createdAt", diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/snapshot/policy/_volumes.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/snapshot/policy/_volumes.py index 625401d0ea6..5f185ac02e2 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/snapshot/policy/_volumes.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/snapshot/policy/_volumes.py @@ -308,13 +308,9 @@ def _build_schema_on_200(cls): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) - properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) - properties.ldap_server_type = AAZStrType( - serialized_name="ldapServerType", - ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -442,22 +438,6 @@ def _build_schema_on_200(cls): serialized_name="endpointType", flags={"read_only": True}, ) - replication.external_replication_setup_info = AAZStrType( - serialized_name="externalReplicationSetupInfo", - flags={"read_only": True}, - ) - replication.external_replication_setup_status = AAZStrType( - serialized_name="externalReplicationSetupStatus", - flags={"read_only": True}, - ) - replication.mirror_state = AAZStrType( - serialized_name="mirrorState", - flags={"read_only": True}, - ) - replication.relationship_status = AAZStrType( - serialized_name="relationshipStatus", - flags={"read_only": True}, - ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_create.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_create.py index a79f79e6a33..4c0c7bc3b2f 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_create.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_create.py @@ -338,24 +338,12 @@ def _build_arguments_schema(cls, *args, **kwargs): help="Describe if a volume is KerberosEnabled. To be use with swagger version 2020-05-01 or later", default=False, ) - _args_schema.language = AAZStrArg( - options=["--language"], - arg_group="Properties", - help="Language supported for volume.", - enum={"ar": "ar", "ar.utf-8": "ar.utf-8", "c": "c", "c.utf-8": "c.utf-8", "cs": "cs", "cs.utf-8": "cs.utf-8", "da": "da", "da.utf-8": "da.utf-8", "de": "de", "de.utf-8": "de.utf-8", "en": "en", "en-us": "en-us", "en-us.utf-8": "en-us.utf-8", "en.utf-8": "en.utf-8", "es": "es", "es.utf-8": "es.utf-8", "fi": "fi", "fi.utf-8": "fi.utf-8", "fr": "fr", "fr.utf-8": "fr.utf-8", "he": "he", "he.utf-8": "he.utf-8", "hr": "hr", "hr.utf-8": "hr.utf-8", "hu": "hu", "hu.utf-8": "hu.utf-8", "it": "it", "it.utf-8": "it.utf-8", "ja": "ja", "ja-jp.932": "ja-jp.932", "ja-jp.932.utf-8": "ja-jp.932.utf-8", "ja-jp.pck": "ja-jp.pck", "ja-jp.pck-v2": "ja-jp.pck-v2", "ja-jp.pck-v2.utf-8": "ja-jp.pck-v2.utf-8", "ja-jp.pck.utf-8": "ja-jp.pck.utf-8", "ja-v1": "ja-v1", "ja-v1.utf-8": "ja-v1.utf-8", "ja.utf-8": "ja.utf-8", "ko": "ko", "ko.utf-8": "ko.utf-8", "nl": "nl", "nl.utf-8": "nl.utf-8", "no": "no", "no.utf-8": "no.utf-8", "pl": "pl", "pl.utf-8": "pl.utf-8", "pt": "pt", "pt.utf-8": "pt.utf-8", "ro": "ro", "ro.utf-8": "ro.utf-8", "ru": "ru", "ru.utf-8": "ru.utf-8", "sk": "sk", "sk.utf-8": "sk.utf-8", "sl": "sl", "sl.utf-8": "sl.utf-8", "sv": "sv", "sv.utf-8": "sv.utf-8", "tr": "tr", "tr.utf-8": "tr.utf-8", "utf8mb4": "utf8mb4", "zh": "zh", "zh-tw": "zh-tw", "zh-tw.big5": "zh-tw.big5", "zh-tw.big5.utf-8": "zh-tw.big5.utf-8", "zh-tw.utf-8": "zh-tw.utf-8", "zh.gbk": "zh.gbk", "zh.gbk.utf-8": "zh.gbk.utf-8", "zh.utf-8": "zh.utf-8"}, - ) _args_schema.ldap_enabled = AAZBoolArg( options=["--ldap-enabled"], arg_group="Properties", help="Specifies whether LDAP is enabled or not for a given NFS volume.", default=False, ) - _args_schema.ldap_server_type = AAZStrArg( - options=["--ldap-server-type"], - arg_group="Properties", - help="Specifies the type of LDAP server for a given NFS volume.", - enum={"ActiveDirectory": "ActiveDirectory", "OpenLDAP": "OpenLDAP"}, - ) _args_schema.network_features = AAZStrArg( options=["--network-features"], arg_group="Properties", @@ -691,9 +679,7 @@ def content(self): properties.set_prop("isLargeVolume", AAZBoolType, ".is_large_volume") properties.set_prop("kerberosEnabled", AAZBoolType, ".kerberos_enabled") properties.set_prop("keyVaultPrivateEndpointResourceId", AAZStrType, ".key_vault_private_endpoint_resource_id") - properties.set_prop("language", AAZStrType, ".language") properties.set_prop("ldapEnabled", AAZBoolType, ".ldap_enabled") - properties.set_prop("ldapServerType", AAZStrType, ".ldap_server_type") properties.set_prop("networkFeatures", AAZStrType, ".network_features") properties.set_prop("placementRules", AAZListType, ".placement_rules") properties.set_prop("protocolTypes", AAZListType, ".protocol_types") @@ -943,13 +929,9 @@ def _build_schema_on_200_201(cls): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) - properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) - properties.ldap_server_type = AAZStrType( - serialized_name="ldapServerType", - ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -1077,22 +1059,6 @@ def _build_schema_on_200_201(cls): serialized_name="endpointType", flags={"read_only": True}, ) - replication.external_replication_setup_info = AAZStrType( - serialized_name="externalReplicationSetupInfo", - flags={"read_only": True}, - ) - replication.external_replication_setup_status = AAZStrType( - serialized_name="externalReplicationSetupStatus", - flags={"read_only": True}, - ) - replication.mirror_state = AAZStrType( - serialized_name="mirrorState", - flags={"read_only": True}, - ) - replication.relationship_status = AAZStrType( - serialized_name="relationshipStatus", - flags={"read_only": True}, - ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_list.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_list.py index 5cbf0982ad2..82a1a6e4b38 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_list.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_list.py @@ -311,13 +311,9 @@ def _build_schema_on_200(cls): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) - properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) - properties.ldap_server_type = AAZStrType( - serialized_name="ldapServerType", - ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -445,22 +441,6 @@ def _build_schema_on_200(cls): serialized_name="endpointType", flags={"read_only": True}, ) - replication.external_replication_setup_info = AAZStrType( - serialized_name="externalReplicationSetupInfo", - flags={"read_only": True}, - ) - replication.external_replication_setup_status = AAZStrType( - serialized_name="externalReplicationSetupStatus", - flags={"read_only": True}, - ) - replication.mirror_state = AAZStrType( - serialized_name="mirrorState", - flags={"read_only": True}, - ) - replication.relationship_status = AAZStrType( - serialized_name="relationshipStatus", - flags={"read_only": True}, - ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_show.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_show.py index eedb5111112..6d53fb171eb 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_show.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_show.py @@ -315,13 +315,9 @@ def _build_schema_on_200(cls): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) - properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) - properties.ldap_server_type = AAZStrType( - serialized_name="ldapServerType", - ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -449,22 +445,6 @@ def _build_schema_on_200(cls): serialized_name="endpointType", flags={"read_only": True}, ) - replication.external_replication_setup_info = AAZStrType( - serialized_name="externalReplicationSetupInfo", - flags={"read_only": True}, - ) - replication.external_replication_setup_status = AAZStrType( - serialized_name="externalReplicationSetupStatus", - flags={"read_only": True}, - ) - replication.mirror_state = AAZStrType( - serialized_name="mirrorState", - flags={"read_only": True}, - ) - replication.relationship_status = AAZStrType( - serialized_name="relationshipStatus", - flags={"read_only": True}, - ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_splitclonefromparent.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_splitclonefromparent.py index 4ebb4a5e9b6..367ff83c884 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_splitclonefromparent.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_splitclonefromparent.py @@ -332,13 +332,9 @@ def _build_schema_on_200(cls): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) - properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) - properties.ldap_server_type = AAZStrType( - serialized_name="ldapServerType", - ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -466,22 +462,6 @@ def _build_schema_on_200(cls): serialized_name="endpointType", flags={"read_only": True}, ) - replication.external_replication_setup_info = AAZStrType( - serialized_name="externalReplicationSetupInfo", - flags={"read_only": True}, - ) - replication.external_replication_setup_status = AAZStrType( - serialized_name="externalReplicationSetupStatus", - flags={"read_only": True}, - ) - replication.mirror_state = AAZStrType( - serialized_name="mirrorState", - flags={"read_only": True}, - ) - replication.relationship_status = AAZStrType( - serialized_name="relationshipStatus", - flags={"read_only": True}, - ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_update.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_update.py index ff1cb425112..950ea34d213 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_update.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_update.py @@ -299,13 +299,6 @@ def _build_arguments_schema(cls, *args, **kwargs): help="Specifies if default quota is enabled for the volume.", nullable=True, ) - _args_schema.language = AAZStrArg( - options=["--language"], - arg_group="Properties", - help="Language supported for volume.", - nullable=True, - enum={"ar": "ar", "ar.utf-8": "ar.utf-8", "c": "c", "c.utf-8": "c.utf-8", "cs": "cs", "cs.utf-8": "cs.utf-8", "da": "da", "da.utf-8": "da.utf-8", "de": "de", "de.utf-8": "de.utf-8", "en": "en", "en-us": "en-us", "en-us.utf-8": "en-us.utf-8", "en.utf-8": "en.utf-8", "es": "es", "es.utf-8": "es.utf-8", "fi": "fi", "fi.utf-8": "fi.utf-8", "fr": "fr", "fr.utf-8": "fr.utf-8", "he": "he", "he.utf-8": "he.utf-8", "hr": "hr", "hr.utf-8": "hr.utf-8", "hu": "hu", "hu.utf-8": "hu.utf-8", "it": "it", "it.utf-8": "it.utf-8", "ja": "ja", "ja-jp.932": "ja-jp.932", "ja-jp.932.utf-8": "ja-jp.932.utf-8", "ja-jp.pck": "ja-jp.pck", "ja-jp.pck-v2": "ja-jp.pck-v2", "ja-jp.pck-v2.utf-8": "ja-jp.pck-v2.utf-8", "ja-jp.pck.utf-8": "ja-jp.pck.utf-8", "ja-v1": "ja-v1", "ja-v1.utf-8": "ja-v1.utf-8", "ja.utf-8": "ja.utf-8", "ko": "ko", "ko.utf-8": "ko.utf-8", "nl": "nl", "nl.utf-8": "nl.utf-8", "no": "no", "no.utf-8": "no.utf-8", "pl": "pl", "pl.utf-8": "pl.utf-8", "pt": "pt", "pt.utf-8": "pt.utf-8", "ro": "ro", "ro.utf-8": "ro.utf-8", "ru": "ru", "ru.utf-8": "ru.utf-8", "sk": "sk", "sk.utf-8": "sk.utf-8", "sl": "sl", "sl.utf-8": "sl.utf-8", "sv": "sv", "sv.utf-8": "sv.utf-8", "tr": "tr", "tr.utf-8": "tr.utf-8", "utf8mb4": "utf8mb4", "zh": "zh", "zh-tw": "zh-tw", "zh-tw.big5": "zh-tw.big5", "zh-tw.big5.utf-8": "zh-tw.big5.utf-8", "zh-tw.utf-8": "zh-tw.utf-8", "zh.gbk": "zh.gbk", "zh.gbk.utf-8": "zh.gbk.utf-8", "zh.utf-8": "zh.utf-8"}, - ) _args_schema.placement_rules = AAZListArg( options=["--placement-rules"], arg_group="Properties", @@ -728,7 +721,6 @@ def _update_instance(self, instance): properties.set_prop("exportPolicy", AAZObjectType) properties.set_prop("isDefaultQuotaEnabled", AAZBoolType, ".is_default_quota_enabled") properties.set_prop("keyVaultPrivateEndpointResourceId", AAZStrType, ".key_vault_private_endpoint_resource_id") - properties.set_prop("language", AAZStrType, ".language") properties.set_prop("placementRules", AAZListType, ".placement_rules") properties.set_prop("protocolTypes", AAZListType, ".protocol_types") properties.set_prop("proximityPlacementGroup", AAZStrType, ".proximity_placement_group") @@ -975,13 +967,9 @@ def _build_schema_volume_read(cls, _schema): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) - properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) - properties.ldap_server_type = AAZStrType( - serialized_name="ldapServerType", - ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -1109,22 +1097,6 @@ def _build_schema_volume_read(cls, _schema): serialized_name="endpointType", flags={"read_only": True}, ) - replication.external_replication_setup_info = AAZStrType( - serialized_name="externalReplicationSetupInfo", - flags={"read_only": True}, - ) - replication.external_replication_setup_status = AAZStrType( - serialized_name="externalReplicationSetupStatus", - flags={"read_only": True}, - ) - replication.mirror_state = AAZStrType( - serialized_name="mirrorState", - flags={"read_only": True}, - ) - replication.relationship_status = AAZStrType( - serialized_name="relationshipStatus", - flags={"read_only": True}, - ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_wait.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_wait.py index 5ff089bb485..3fc581517c7 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_wait.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/_wait.py @@ -311,13 +311,9 @@ def _build_schema_on_200(cls): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) - properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) - properties.ldap_server_type = AAZStrType( - serialized_name="ldapServerType", - ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -445,22 +441,6 @@ def _build_schema_on_200(cls): serialized_name="endpointType", flags={"read_only": True}, ) - replication.external_replication_setup_info = AAZStrType( - serialized_name="externalReplicationSetupInfo", - flags={"read_only": True}, - ) - replication.external_replication_setup_status = AAZStrType( - serialized_name="externalReplicationSetupStatus", - flags={"read_only": True}, - ) - replication.mirror_state = AAZStrType( - serialized_name="mirrorState", - flags={"read_only": True}, - ) - replication.relationship_status = AAZStrType( - serialized_name="relationshipStatus", - flags={"read_only": True}, - ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_add.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_add.py index 4db12362737..e7afa22eec8 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_add.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_add.py @@ -615,13 +615,9 @@ def _build_schema_volume_read(cls, _schema): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) - properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) - properties.ldap_server_type = AAZStrType( - serialized_name="ldapServerType", - ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -749,22 +745,6 @@ def _build_schema_volume_read(cls, _schema): serialized_name="endpointType", flags={"read_only": True}, ) - replication.external_replication_setup_info = AAZStrType( - serialized_name="externalReplicationSetupInfo", - flags={"read_only": True}, - ) - replication.external_replication_setup_status = AAZStrType( - serialized_name="externalReplicationSetupStatus", - flags={"read_only": True}, - ) - replication.mirror_state = AAZStrType( - serialized_name="mirrorState", - flags={"read_only": True}, - ) - replication.relationship_status = AAZStrType( - serialized_name="relationshipStatus", - flags={"read_only": True}, - ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_list.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_list.py index 28c91116d98..072ebb52eb5 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_list.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_list.py @@ -349,13 +349,9 @@ def _build_schema_volume_read(cls, _schema): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) - properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) - properties.ldap_server_type = AAZStrType( - serialized_name="ldapServerType", - ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -483,22 +479,6 @@ def _build_schema_volume_read(cls, _schema): serialized_name="endpointType", flags={"read_only": True}, ) - replication.external_replication_setup_info = AAZStrType( - serialized_name="externalReplicationSetupInfo", - flags={"read_only": True}, - ) - replication.external_replication_setup_status = AAZStrType( - serialized_name="externalReplicationSetupStatus", - flags={"read_only": True}, - ) - replication.mirror_state = AAZStrType( - serialized_name="mirrorState", - flags={"read_only": True}, - ) - replication.relationship_status = AAZStrType( - serialized_name="relationshipStatus", - flags={"read_only": True}, - ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_remove.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_remove.py index 40347712add..0693b461ef7 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_remove.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_remove.py @@ -502,13 +502,9 @@ def _build_schema_volume_read(cls, _schema): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) - properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) - properties.ldap_server_type = AAZStrType( - serialized_name="ldapServerType", - ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -636,22 +632,6 @@ def _build_schema_volume_read(cls, _schema): serialized_name="endpointType", flags={"read_only": True}, ) - replication.external_replication_setup_info = AAZStrType( - serialized_name="externalReplicationSetupInfo", - flags={"read_only": True}, - ) - replication.external_replication_setup_status = AAZStrType( - serialized_name="externalReplicationSetupStatus", - flags={"read_only": True}, - ) - replication.mirror_state = AAZStrType( - serialized_name="mirrorState", - flags={"read_only": True}, - ) - replication.relationship_status = AAZStrType( - serialized_name="relationshipStatus", - flags={"read_only": True}, - ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_show.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_show.py index 5fd7b58bccd..8f111c2486c 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_show.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_show.py @@ -368,13 +368,9 @@ def _build_schema_volume_read(cls, _schema): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) - properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) - properties.ldap_server_type = AAZStrType( - serialized_name="ldapServerType", - ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -502,22 +498,6 @@ def _build_schema_volume_read(cls, _schema): serialized_name="endpointType", flags={"read_only": True}, ) - replication.external_replication_setup_info = AAZStrType( - serialized_name="externalReplicationSetupInfo", - flags={"read_only": True}, - ) - replication.external_replication_setup_status = AAZStrType( - serialized_name="externalReplicationSetupStatus", - flags={"read_only": True}, - ) - replication.mirror_state = AAZStrType( - serialized_name="mirrorState", - flags={"read_only": True}, - ) - replication.relationship_status = AAZStrType( - serialized_name="relationshipStatus", - flags={"read_only": True}, - ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_update.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_update.py index 70c0fb92b04..35feacd6c0d 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_update.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_update.py @@ -633,13 +633,9 @@ def _build_schema_volume_read(cls, _schema): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) - properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) - properties.ldap_server_type = AAZStrType( - serialized_name="ldapServerType", - ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -767,22 +763,6 @@ def _build_schema_volume_read(cls, _schema): serialized_name="endpointType", flags={"read_only": True}, ) - replication.external_replication_setup_info = AAZStrType( - serialized_name="externalReplicationSetupInfo", - flags={"read_only": True}, - ) - replication.external_replication_setup_status = AAZStrType( - serialized_name="externalReplicationSetupStatus", - flags={"read_only": True}, - ) - replication.mirror_state = AAZStrType( - serialized_name="mirrorState", - flags={"read_only": True}, - ) - replication.relationship_status = AAZStrType( - serialized_name="relationshipStatus", - flags={"read_only": True}, - ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_wait.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_wait.py index 88e11990945..78f10e28b55 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_wait.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/export_policy/_wait.py @@ -336,13 +336,9 @@ def _build_schema_volume_read(cls, _schema): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) - properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) - properties.ldap_server_type = AAZStrType( - serialized_name="ldapServerType", - ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -470,22 +466,6 @@ def _build_schema_volume_read(cls, _schema): serialized_name="endpointType", flags={"read_only": True}, ) - replication.external_replication_setup_info = AAZStrType( - serialized_name="externalReplicationSetupInfo", - flags={"read_only": True}, - ) - replication.external_replication_setup_status = AAZStrType( - serialized_name="externalReplicationSetupStatus", - flags={"read_only": True}, - ) - replication.mirror_state = AAZStrType( - serialized_name="mirrorState", - flags={"read_only": True}, - ) - replication.relationship_status = AAZStrType( - serialized_name="relationshipStatus", - flags={"read_only": True}, - ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/replication/_populate_availability_zone.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/replication/_populate_availability_zone.py index 32b9bee9616..d4e33108d52 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/replication/_populate_availability_zone.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/replication/_populate_availability_zone.py @@ -332,13 +332,9 @@ def _build_schema_on_200(cls): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) - properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) - properties.ldap_server_type = AAZStrType( - serialized_name="ldapServerType", - ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -466,22 +462,6 @@ def _build_schema_on_200(cls): serialized_name="endpointType", flags={"read_only": True}, ) - replication.external_replication_setup_info = AAZStrType( - serialized_name="externalReplicationSetupInfo", - flags={"read_only": True}, - ) - replication.external_replication_setup_status = AAZStrType( - serialized_name="externalReplicationSetupStatus", - flags={"read_only": True}, - ) - replication.mirror_state = AAZStrType( - serialized_name="mirrorState", - flags={"read_only": True}, - ) - replication.relationship_status = AAZStrType( - serialized_name="relationshipStatus", - flags={"read_only": True}, - ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_create.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_create.py index ce93414bdea..aec8d382c8a 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_create.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_create.py @@ -245,21 +245,11 @@ def _build_arguments_schema(cls, *args, **kwargs): options=["key-vault-private-endpoint-resource-id"], help="The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'.", ) - _element.language = AAZStrArg( - options=["language"], - help="Language supported for volume.", - enum={"ar": "ar", "ar.utf-8": "ar.utf-8", "c": "c", "c.utf-8": "c.utf-8", "cs": "cs", "cs.utf-8": "cs.utf-8", "da": "da", "da.utf-8": "da.utf-8", "de": "de", "de.utf-8": "de.utf-8", "en": "en", "en-us": "en-us", "en-us.utf-8": "en-us.utf-8", "en.utf-8": "en.utf-8", "es": "es", "es.utf-8": "es.utf-8", "fi": "fi", "fi.utf-8": "fi.utf-8", "fr": "fr", "fr.utf-8": "fr.utf-8", "he": "he", "he.utf-8": "he.utf-8", "hr": "hr", "hr.utf-8": "hr.utf-8", "hu": "hu", "hu.utf-8": "hu.utf-8", "it": "it", "it.utf-8": "it.utf-8", "ja": "ja", "ja-jp.932": "ja-jp.932", "ja-jp.932.utf-8": "ja-jp.932.utf-8", "ja-jp.pck": "ja-jp.pck", "ja-jp.pck-v2": "ja-jp.pck-v2", "ja-jp.pck-v2.utf-8": "ja-jp.pck-v2.utf-8", "ja-jp.pck.utf-8": "ja-jp.pck.utf-8", "ja-v1": "ja-v1", "ja-v1.utf-8": "ja-v1.utf-8", "ja.utf-8": "ja.utf-8", "ko": "ko", "ko.utf-8": "ko.utf-8", "nl": "nl", "nl.utf-8": "nl.utf-8", "no": "no", "no.utf-8": "no.utf-8", "pl": "pl", "pl.utf-8": "pl.utf-8", "pt": "pt", "pt.utf-8": "pt.utf-8", "ro": "ro", "ro.utf-8": "ro.utf-8", "ru": "ru", "ru.utf-8": "ru.utf-8", "sk": "sk", "sk.utf-8": "sk.utf-8", "sl": "sl", "sl.utf-8": "sl.utf-8", "sv": "sv", "sv.utf-8": "sv.utf-8", "tr": "tr", "tr.utf-8": "tr.utf-8", "utf8mb4": "utf8mb4", "zh": "zh", "zh-tw": "zh-tw", "zh-tw.big5": "zh-tw.big5", "zh-tw.big5.utf-8": "zh-tw.big5.utf-8", "zh-tw.utf-8": "zh-tw.utf-8", "zh.gbk": "zh.gbk", "zh.gbk.utf-8": "zh.gbk.utf-8", "zh.utf-8": "zh.utf-8"}, - ) _element.ldap_enabled = AAZBoolArg( options=["ldap-enabled"], help="Specifies whether LDAP is enabled or not for a given NFS volume.", default=False, ) - _element.ldap_server_type = AAZStrArg( - options=["ldap-server-type"], - help="Specifies the type of LDAP server for a given NFS volume.", - enum={"ActiveDirectory": "ActiveDirectory", "OpenLDAP": "OpenLDAP"}, - ) _element.network_features = AAZStrArg( options=["network-features"], help="Network features available to the volume, or current state of update.", @@ -734,9 +724,7 @@ def content(self): properties.set_prop("isLargeVolume", AAZBoolType, ".is_large_volume") properties.set_prop("kerberosEnabled", AAZBoolType, ".kerberos_enabled") properties.set_prop("keyVaultPrivateEndpointResourceId", AAZStrType, ".key_vault_private_endpoint_resource_id") - properties.set_prop("language", AAZStrType, ".language") properties.set_prop("ldapEnabled", AAZBoolType, ".ldap_enabled") - properties.set_prop("ldapServerType", AAZStrType, ".ldap_server_type") properties.set_prop("networkFeatures", AAZStrType, ".network_features") properties.set_prop("placementRules", AAZListType, ".placement_rules") properties.set_prop("protocolTypes", AAZListType, ".protocol_types") @@ -1023,13 +1011,9 @@ def _build_schema_on_201(cls): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) - properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) - properties.ldap_server_type = AAZStrType( - serialized_name="ldapServerType", - ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -1157,22 +1141,6 @@ def _build_schema_on_201(cls): serialized_name="endpointType", flags={"read_only": True}, ) - replication.external_replication_setup_info = AAZStrType( - serialized_name="externalReplicationSetupInfo", - flags={"read_only": True}, - ) - replication.external_replication_setup_status = AAZStrType( - serialized_name="externalReplicationSetupStatus", - flags={"read_only": True}, - ) - replication.mirror_state = AAZStrType( - serialized_name="mirrorState", - flags={"read_only": True}, - ) - replication.relationship_status = AAZStrType( - serialized_name="relationshipStatus", - flags={"read_only": True}, - ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_show.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_show.py index 7aca4379ab7..20e3c139f4d 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_show.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_show.py @@ -342,13 +342,9 @@ def _build_schema_on_200(cls): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) - properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) - properties.ldap_server_type = AAZStrType( - serialized_name="ldapServerType", - ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -476,22 +472,6 @@ def _build_schema_on_200(cls): serialized_name="endpointType", flags={"read_only": True}, ) - replication.external_replication_setup_info = AAZStrType( - serialized_name="externalReplicationSetupInfo", - flags={"read_only": True}, - ) - replication.external_replication_setup_status = AAZStrType( - serialized_name="externalReplicationSetupStatus", - flags={"read_only": True}, - ) - replication.mirror_state = AAZStrType( - serialized_name="mirrorState", - flags={"read_only": True}, - ) - replication.relationship_status = AAZStrType( - serialized_name="relationshipStatus", - flags={"read_only": True}, - ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_update.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_update.py index 1ec655a0555..3411e35886c 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_update.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_update.py @@ -203,12 +203,6 @@ def _build_arguments_schema(cls, *args, **kwargs): help="The resource ID of private endpoint for KeyVault. It must reside in the same VNET as the volume. Only applicable if encryptionKeySource = 'Microsoft.KeyVault'.", nullable=True, ) - _element.language = AAZStrArg( - options=["language"], - help="Language supported for volume.", - nullable=True, - enum={"ar": "ar", "ar.utf-8": "ar.utf-8", "c": "c", "c.utf-8": "c.utf-8", "cs": "cs", "cs.utf-8": "cs.utf-8", "da": "da", "da.utf-8": "da.utf-8", "de": "de", "de.utf-8": "de.utf-8", "en": "en", "en-us": "en-us", "en-us.utf-8": "en-us.utf-8", "en.utf-8": "en.utf-8", "es": "es", "es.utf-8": "es.utf-8", "fi": "fi", "fi.utf-8": "fi.utf-8", "fr": "fr", "fr.utf-8": "fr.utf-8", "he": "he", "he.utf-8": "he.utf-8", "hr": "hr", "hr.utf-8": "hr.utf-8", "hu": "hu", "hu.utf-8": "hu.utf-8", "it": "it", "it.utf-8": "it.utf-8", "ja": "ja", "ja-jp.932": "ja-jp.932", "ja-jp.932.utf-8": "ja-jp.932.utf-8", "ja-jp.pck": "ja-jp.pck", "ja-jp.pck-v2": "ja-jp.pck-v2", "ja-jp.pck-v2.utf-8": "ja-jp.pck-v2.utf-8", "ja-jp.pck.utf-8": "ja-jp.pck.utf-8", "ja-v1": "ja-v1", "ja-v1.utf-8": "ja-v1.utf-8", "ja.utf-8": "ja.utf-8", "ko": "ko", "ko.utf-8": "ko.utf-8", "nl": "nl", "nl.utf-8": "nl.utf-8", "no": "no", "no.utf-8": "no.utf-8", "pl": "pl", "pl.utf-8": "pl.utf-8", "pt": "pt", "pt.utf-8": "pt.utf-8", "ro": "ro", "ro.utf-8": "ro.utf-8", "ru": "ru", "ru.utf-8": "ru.utf-8", "sk": "sk", "sk.utf-8": "sk.utf-8", "sl": "sl", "sl.utf-8": "sl.utf-8", "sv": "sv", "sv.utf-8": "sv.utf-8", "tr": "tr", "tr.utf-8": "tr.utf-8", "utf8mb4": "utf8mb4", "zh": "zh", "zh-tw": "zh-tw", "zh-tw.big5": "zh-tw.big5", "zh-tw.big5.utf-8": "zh-tw.big5.utf-8", "zh-tw.utf-8": "zh-tw.utf-8", "zh.gbk": "zh.gbk", "zh.gbk.utf-8": "zh.gbk.utf-8", "zh.utf-8": "zh.utf-8"}, - ) _element.placement_rules = AAZListArg( options=["placement-rules"], help="Application specific placement rules for the particular volume", @@ -780,7 +774,6 @@ def _update_instance(self, instance): properties.set_prop("exportPolicy", AAZObjectType, ".export_policy") properties.set_prop("isDefaultQuotaEnabled", AAZBoolType, ".is_default_quota_enabled") properties.set_prop("keyVaultPrivateEndpointResourceId", AAZStrType, ".key_vault_private_endpoint_resource_id") - properties.set_prop("language", AAZStrType, ".language") properties.set_prop("placementRules", AAZListType, ".placement_rules") properties.set_prop("protocolTypes", AAZListType, ".protocol_types") properties.set_prop("proximityPlacementGroup", AAZStrType, ".proximity_placement_group") @@ -1090,13 +1083,9 @@ def _build_schema_volume_group_details_read(cls, _schema): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) - properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) - properties.ldap_server_type = AAZStrType( - serialized_name="ldapServerType", - ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -1224,22 +1213,6 @@ def _build_schema_volume_group_details_read(cls, _schema): serialized_name="endpointType", flags={"read_only": True}, ) - replication.external_replication_setup_info = AAZStrType( - serialized_name="externalReplicationSetupInfo", - flags={"read_only": True}, - ) - replication.external_replication_setup_status = AAZStrType( - serialized_name="externalReplicationSetupStatus", - flags={"read_only": True}, - ) - replication.mirror_state = AAZStrType( - serialized_name="mirrorState", - flags={"read_only": True}, - ) - replication.relationship_status = AAZStrType( - serialized_name="relationshipStatus", - flags={"read_only": True}, - ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_wait.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_wait.py index 9cf8b1da710..14fb244d1aa 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_wait.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume_group/_wait.py @@ -338,13 +338,9 @@ def _build_schema_on_200(cls): properties.key_vault_private_endpoint_resource_id = AAZStrType( serialized_name="keyVaultPrivateEndpointResourceId", ) - properties.language = AAZStrType() properties.ldap_enabled = AAZBoolType( serialized_name="ldapEnabled", ) - properties.ldap_server_type = AAZStrType( - serialized_name="ldapServerType", - ) properties.maximum_number_of_files = AAZIntType( serialized_name="maximumNumberOfFiles", flags={"read_only": True}, @@ -472,22 +468,6 @@ def _build_schema_on_200(cls): serialized_name="endpointType", flags={"read_only": True}, ) - replication.external_replication_setup_info = AAZStrType( - serialized_name="externalReplicationSetupInfo", - flags={"read_only": True}, - ) - replication.external_replication_setup_status = AAZStrType( - serialized_name="externalReplicationSetupStatus", - flags={"read_only": True}, - ) - replication.mirror_state = AAZStrType( - serialized_name="mirrorState", - flags={"read_only": True}, - ) - replication.relationship_status = AAZStrType( - serialized_name="relationshipStatus", - flags={"read_only": True}, - ) replication.remote_path = AAZObjectType( serialized_name="remotePath", ) From 4102d1d64e58e7fb27ffe9614f67db25037c76a9 Mon Sep 17 00:00:00 2001 From: audunn Date: Fri, 14 Nov 2025 15:42:57 +0000 Subject: [PATCH 3/7] network features --- src/azure-cli/azure/cli/command_modules/netappfiles/custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/custom.py b/src/azure-cli/azure/cli/command_modules/netappfiles/custom.py index f45c268e663..bef0cfb1374 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/custom.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/custom.py @@ -793,7 +793,7 @@ def _build_arguments_schema(cls, *args, **kwargs): required=False, ) args_schema.shared_network_features = AAZStrArg( - options=["--shared-network-features"], + options=["--shared-network-features --network-features"], arg_group="Shared Volume", help="Network features available to the volumes in the volume group.", default="Basic", From 9e00e00a9e4913e0b77c1c62b5c5e99a6317563c Mon Sep 17 00:00:00 2001 From: audunn Date: Fri, 14 Nov 2025 16:04:25 +0000 Subject: [PATCH 4/7] network features2 --- src/azure-cli/azure/cli/command_modules/netappfiles/custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/custom.py b/src/azure-cli/azure/cli/command_modules/netappfiles/custom.py index bef0cfb1374..092be5b8baf 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/custom.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/custom.py @@ -793,7 +793,7 @@ def _build_arguments_schema(cls, *args, **kwargs): required=False, ) args_schema.shared_network_features = AAZStrArg( - options=["--shared-network-features --network-features"], + options=["--shared-network-features", "--network-features"], arg_group="Shared Volume", help="Network features available to the volumes in the volume group.", default="Basic", From 7d5d805f00f98a5f5c64b41acecfb85d31792c51 Mon Sep 17 00:00:00 2001 From: audunn Date: Sat, 15 Nov 2025 00:26:52 +0000 Subject: [PATCH 5/7] --remote-volume-resource-id breaking --- .../azure/cli/command_modules/netappfiles/_breaking_change.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/_breaking_change.py b/src/azure-cli/azure/cli/command_modules/netappfiles/_breaking_change.py index ea158f48a1e..b990dfdf5aa 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/_breaking_change.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/_breaking_change.py @@ -3,4 +3,8 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- from azure.cli.core.breaking_change import register_argument_deprecate +<<<<<<< HEAD register_argument_deprecate('netappfiles volume update', '--remote-volume-resource-id') +======= +register_argument_deprecate('netappfiles volume update', '--remote-volume-resource-id') +>>>>>>> c5608151f3 (--remote-volume-resource-id breaking) From 52b06c4458ef9c9c2d8a6ef61ab2289fe7166a7c Mon Sep 17 00:00:00 2001 From: audunn Date: Sun, 16 Nov 2025 13:12:48 +0000 Subject: [PATCH 6/7] style --- .../azure/cli/command_modules/netappfiles/_breaking_change.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/_breaking_change.py b/src/azure-cli/azure/cli/command_modules/netappfiles/_breaking_change.py index b990dfdf5aa..ea158f48a1e 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/_breaking_change.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/_breaking_change.py @@ -3,8 +3,4 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- from azure.cli.core.breaking_change import register_argument_deprecate -<<<<<<< HEAD register_argument_deprecate('netappfiles volume update', '--remote-volume-resource-id') -======= -register_argument_deprecate('netappfiles volume update', '--remote-volume-resource-id') ->>>>>>> c5608151f3 (--remote-volume-resource-id breaking) From f125def98f8141bee44b38f0e00a7bfedce99deb Mon Sep 17 00:00:00 2001 From: audunn Date: Mon, 15 Dec 2025 17:25:05 +0000 Subject: [PATCH 7/7] update exmple --- .../aaz/latest/netappfiles/_check_file_path_availability.py | 3 +++ .../aaz/latest/netappfiles/_check_name_availability.py | 3 +++ .../volume/replication/_authorize_external_replication.py | 3 +++ .../volume/replication/_finalize_external_replication.py | 3 +++ .../netappfiles/volume/replication/_peer_external_cluster.py | 3 +++ .../volume/replication/_perform_replication_transfer.py | 3 +++ 6 files changed, 18 insertions(+) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/_check_file_path_availability.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/_check_file_path_availability.py index 503938420a6..68906f9a2db 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/_check_file_path_availability.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/_check_file_path_availability.py @@ -18,6 +18,9 @@ class CheckFilePathAvailability(AAZCommand): """Check if a file path is available. Check if a file path is available + + :example: CheckFilePathAvailability + az netappfiles check-file-path-availability --location eastus --name my-exact-filepth --subnet-id /subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3 """ _aaz_info = { diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/_check_name_availability.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/_check_name_availability.py index fed747df651..13b27fce909 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/_check_name_availability.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/_check_name_availability.py @@ -18,6 +18,9 @@ class CheckNameAvailability(AAZCommand): """Check if a resource name is available. Check if a resource name is available + + :example: CheckNameAvailability + az netappfiles check-name-availability --location eastus --name accName --type Microsoft.NetApp/netAppAccounts --resource-group myRG """ _aaz_info = { diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/replication/_authorize_external_replication.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/replication/_authorize_external_replication.py index e63fdf8dcca..d933c6e90bd 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/replication/_authorize_external_replication.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/replication/_authorize_external_replication.py @@ -16,6 +16,9 @@ ) class AuthorizeExternalReplication(AAZCommand): """Starts SVM peering and returns a command to be run on the external ONTAP to accept it. Once the SVM have been peered a SnapMirror will be created + + :example: Volumes_AuthorizeExternalReplication + az netappfiles volume replication authorize-external-replication --resource-group myRG --account-name account1 --pool-name pool1 --volume-name volume1 """ _aaz_info = { diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/replication/_finalize_external_replication.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/replication/_finalize_external_replication.py index 89d0bbe630e..bfd9354dd6e 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/replication/_finalize_external_replication.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/replication/_finalize_external_replication.py @@ -16,6 +16,9 @@ ) class FinalizeExternalReplication(AAZCommand): """Finalizes the migration of an external volume by releasing the replication and breaking the external cluster peering if no other migration is active. + + :example: Volumes_FinalizeExternalReplication + az netappfiles volume replication finalize-external-replication --resource-group myRG --account-name account1 --pool-name pool1 --volume-name volume1 """ _aaz_info = { diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/replication/_peer_external_cluster.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/replication/_peer_external_cluster.py index 94437e191a3..f19b915c7da 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/replication/_peer_external_cluster.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/replication/_peer_external_cluster.py @@ -16,6 +16,9 @@ ) class PeerExternalCluster(AAZCommand): """Starts peering the external cluster for this migration volume + + :example: Volumes_PeerExternalCluster + az netappfiles volume replication peer-external-cluster --resource-group myRG --account-name account1 --pool-name pool1 --volume-name volume1 --peer-ip-addresses "[0.0.0.1,0.0.0.2,0.0.0.3,0.0.0.4,0.0.0.5,0.0.0.6]" """ _aaz_info = { diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/replication/_perform_replication_transfer.py b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/replication/_perform_replication_transfer.py index 13431471c1f..8fca257a104 100644 --- a/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/replication/_perform_replication_transfer.py +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/volume/replication/_perform_replication_transfer.py @@ -16,6 +16,9 @@ ) class PerformReplicationTransfer(AAZCommand): """Performs an adhoc replication transfer on a volume with volumeType Migration + + :example: Volumes_PerformReplicationTransfer + az netappfiles volume replication perform-replication-transfer --resource-group myRG --account-name account1 --pool-name pool1 --volume-name volume1 """ _aaz_info = {