Skip to content

Commit 06ba2e9

Browse files
committed
bump to 2025-09-01
1 parent 6dcb802 commit 06ba2e9

File tree

204 files changed

+35753
-21404
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

204 files changed

+35753
-21404
lines changed

src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/_check_file_path_availability.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ class CheckFilePathAvailability(AAZCommand):
2121
"""
2222

2323
_aaz_info = {
24-
"version": "2025-06-01",
24+
"version": "2025-09-01",
2525
"resources": [
26-
["mgmt-plane", "/subscriptions/{}/providers/microsoft.netapp/locations/{}/checkfilepathavailability", "2025-06-01"],
26+
["mgmt-plane", "/subscriptions/{}/providers/microsoft.netapp/locations/{}/checkfilepathavailability", "2025-09-01"],
2727
]
2828
}
2929

@@ -132,7 +132,7 @@ def url_parameters(self):
132132
def query_parameters(self):
133133
parameters = {
134134
**self.serialize_query_param(
135-
"api-version", "2025-06-01",
135+
"api-version", "2025-09-01",
136136
required=True,
137137
),
138138
}

src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/_check_name_availability.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ class CheckNameAvailability(AAZCommand):
2121
"""
2222

2323
_aaz_info = {
24-
"version": "2025-06-01",
24+
"version": "2025-09-01",
2525
"resources": [
26-
["mgmt-plane", "/subscriptions/{}/providers/microsoft.netapp/locations/{}/checknameavailability", "2025-06-01"],
26+
["mgmt-plane", "/subscriptions/{}/providers/microsoft.netapp/locations/{}/checknameavailability", "2025-09-01"],
2727
]
2828
}
2929

@@ -68,7 +68,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
6868
arg_group="Body",
6969
help="Resource type used for verification.",
7070
required=True,
71-
enum={"Microsoft.NetApp/netAppAccounts": "Microsoft.NetApp/netAppAccounts", "Microsoft.NetApp/netAppAccounts/capacityPools": "Microsoft.NetApp/netAppAccounts/capacityPools", "Microsoft.NetApp/netAppAccounts/capacityPools/volumes": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots"},
71+
enum={"Microsoft.NetApp/netAppAccounts": "Microsoft.NetApp/netAppAccounts", "Microsoft.NetApp/netAppAccounts/backupVaults/backups": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", "Microsoft.NetApp/netAppAccounts/capacityPools": "Microsoft.NetApp/netAppAccounts/capacityPools", "Microsoft.NetApp/netAppAccounts/capacityPools/volumes": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups", "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots"},
7272
)
7373
return cls._args_schema
7474

@@ -133,7 +133,7 @@ def url_parameters(self):
133133
def query_parameters(self):
134134
parameters = {
135135
**self.serialize_query_param(
136-
"api-version", "2025-06-01",
136+
"api-version", "2025-09-01",
137137
required=True,
138138
),
139139
}

src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/_check_quota_availability.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ class CheckQuotaAvailability(AAZCommand):
2121
"""
2222

2323
_aaz_info = {
24-
"version": "2025-06-01",
24+
"version": "2025-09-01",
2525
"resources": [
26-
["mgmt-plane", "/subscriptions/{}/providers/microsoft.netapp/locations/{}/checkquotaavailability", "2025-06-01"],
26+
["mgmt-plane", "/subscriptions/{}/providers/microsoft.netapp/locations/{}/checkquotaavailability", "2025-09-01"],
2727
]
2828
}
2929

@@ -68,7 +68,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
6868
arg_group="Body",
6969
help="Resource type used for verification.",
7070
required=True,
71-
enum={"Microsoft.NetApp/netAppAccounts": "Microsoft.NetApp/netAppAccounts", "Microsoft.NetApp/netAppAccounts/capacityPools": "Microsoft.NetApp/netAppAccounts/capacityPools", "Microsoft.NetApp/netAppAccounts/capacityPools/volumes": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots"},
71+
enum={"Microsoft.NetApp/netAppAccounts": "Microsoft.NetApp/netAppAccounts", "Microsoft.NetApp/netAppAccounts/backupVaults/backups": "Microsoft.NetApp/netAppAccounts/backupVaults/backups", "Microsoft.NetApp/netAppAccounts/capacityPools": "Microsoft.NetApp/netAppAccounts/capacityPools", "Microsoft.NetApp/netAppAccounts/capacityPools/volumes": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/backups", "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots"},
7272
)
7373
return cls._args_schema
7474

@@ -133,7 +133,7 @@ def url_parameters(self):
133133
def query_parameters(self):
134134
parameters = {
135135
**self.serialize_query_param(
136-
"api-version", "2025-06-01",
136+
"api-version", "2025-09-01",
137137
required=True,
138138
),
139139
}

src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/_query_network_sibling_set.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ class QueryNetworkSiblingSet(AAZCommand):
2424
"""
2525

2626
_aaz_info = {
27-
"version": "2025-06-01",
27+
"version": "2025-09-01",
2828
"resources": [
29-
["mgmt-plane", "/subscriptions/{}/providers/microsoft.netapp/locations/{}/querynetworksiblingset", "2025-06-01"],
29+
["mgmt-plane", "/subscriptions/{}/providers/microsoft.netapp/locations/{}/querynetworksiblingset", "2025-09-01"],
3030
]
3131
}
3232

@@ -134,7 +134,7 @@ def url_parameters(self):
134134
def query_parameters(self):
135135
parameters = {
136136
**self.serialize_query_param(
137-
"api-version", "2025-06-01",
137+
"api-version", "2025-09-01",
138138
required=True,
139139
),
140140
}

src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/_update_network_sibling_set.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ class UpdateNetworkSiblingSet(AAZCommand):
2424
"""
2525

2626
_aaz_info = {
27-
"version": "2025-06-01",
27+
"version": "2025-09-01",
2828
"resources": [
29-
["mgmt-plane", "/subscriptions/{}/providers/microsoft.netapp/locations/{}/updatenetworksiblingset", "2025-06-01"],
29+
["mgmt-plane", "/subscriptions/{}/providers/microsoft.netapp/locations/{}/updatenetworksiblingset", "2025-09-01"],
3030
]
3131
}
3232

@@ -165,7 +165,7 @@ def url_parameters(self):
165165
def query_parameters(self):
166166
parameters = {
167167
**self.serialize_query_param(
168-
"api-version", "2025-06-01",
168+
"api-version", "2025-09-01",
169169
required=True,
170170
),
171171
}

src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_change_key_vault.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ class ChangeKeyVault(AAZCommand):
2525
"""
2626

2727
_aaz_info = {
28-
"version": "2025-06-01",
28+
"version": "2025-09-01",
2929
"resources": [
30-
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.netapp/netappaccounts/{}/changekeyvault", "2025-06-01"],
30+
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.netapp/netappaccounts/{}/changekeyvault", "2025-09-01"],
3131
]
3232
}
3333

@@ -167,7 +167,7 @@ def url_parameters(self):
167167
def query_parameters(self):
168168
parameters = {
169169
**self.serialize_query_param(
170-
"api-version", "2025-06-01",
170+
"api-version", "2025-09-01",
171171
required=True,
172172
),
173173
}

src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_create.py

Lines changed: 89 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ class Create(AAZCommand):
2525
"""
2626

2727
_aaz_info = {
28-
"version": "2025-06-01",
28+
"version": "2025-09-01",
2929
"resources": [
30-
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.netapp/netappaccounts/{}", "2025-06-01"],
30+
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.netapp/netappaccounts/{}", "2025-09-01"],
3131
]
3232
}
3333

@@ -164,6 +164,11 @@ def _build_arguments_schema(cls, *args, **kwargs):
164164
arg_group="Properties",
165165
help="Active Directories",
166166
)
167+
_args_schema.ldap_configuration = AAZObjectArg(
168+
options=["--ldap-configuration"],
169+
arg_group="Properties",
170+
help="LDAP Configuration for the account.",
171+
)
167172
_args_schema.nfs_v4_id_domain = AAZStrArg(
168173
options=["--nfs-v4-id-domain"],
169174
arg_group="Properties",
@@ -247,12 +252,15 @@ def _build_arguments_schema(cls, *args, **kwargs):
247252
help="The Organizational Unit (OU) within the Windows Active Directory",
248253
default="CN=Computers",
249254
)
250-
_element.password = AAZStrArg(
255+
_element.password = AAZPasswordArg(
251256
options=["password"],
252257
help="Plain text password of Active Directory domain administrator, value is masked in the response",
253258
fmt=AAZStrArgFormat(
254259
max_length=64,
255260
),
261+
blank=AAZPromptPasswordInput(
262+
msg="Password:",
263+
),
256264
)
257265
_element.preferred_servers_for_ldap_client = AAZStrArg(
258266
options=["preferred-servers-for-ldap-client"],
@@ -266,13 +274,16 @@ def _build_arguments_schema(cls, *args, **kwargs):
266274
options=["security-operators"],
267275
help="Domain Users in the Active directory to be given SeSecurityPrivilege privilege (Needed for SMB Continuously available shares for SQL). A list of unique usernames without domain specifier",
268276
)
269-
_element.server_root_ca_certificate = AAZStrArg(
277+
_element.server_root_ca_certificate = AAZPasswordArg(
270278
options=["server-root-ca-certificate"],
271279
help="When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded Active Directory Certificate Service's self-signed root CA certificate, this optional parameter is used only for dual protocol with LDAP user-mapping volumes.",
272280
fmt=AAZStrArgFormat(
273281
max_length=10240,
274282
min_length=1,
275283
),
284+
blank=AAZPromptPasswordInput(
285+
msg="Password:",
286+
),
276287
)
277288
_element.site = AAZStrArg(
278289
options=["site"],
@@ -333,6 +344,43 @@ def _build_arguments_schema(cls, *args, **kwargs):
333344
min_length=1,
334345
),
335346
)
347+
348+
ldap_configuration = cls._args_schema.ldap_configuration
349+
ldap_configuration.certificate_cn_host = AAZStrArg(
350+
options=["certificate-cn-host"],
351+
help="The CN host name used while generating the certificate, LDAP Over TLS requires the CN host name to create DNS host entry.",
352+
nullable=True,
353+
)
354+
ldap_configuration.domain = AAZStrArg(
355+
options=["domain"],
356+
help="Name of the LDAP configuration domain",
357+
fmt=AAZStrArgFormat(
358+
pattern="^[a-zA-Z0-9][a-zA-Z0-9.-]{0,253}[a-zA-Z0-9]$",
359+
max_length=255,
360+
),
361+
)
362+
ldap_configuration.ldap_over_tls = AAZBoolArg(
363+
options=["ldap-over-tls"],
364+
help="Specifies whether or not the LDAP traffic needs to be secured via TLS.",
365+
)
366+
ldap_configuration.ldap_servers = AAZListArg(
367+
options=["ldap-servers"],
368+
help="List of LDAP server IP addresses (IPv4 only) for the LDAP domain.",
369+
)
370+
ldap_configuration.server_ca_certificate = AAZPasswordArg(
371+
options=["server-ca-certificate"],
372+
help="When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded ldap servers CA certificate.",
373+
fmt=AAZStrArgFormat(
374+
max_length=10240,
375+
min_length=1,
376+
),
377+
blank=AAZPromptPasswordInput(
378+
msg="Password:",
379+
),
380+
)
381+
382+
ldap_servers = cls._args_schema.ldap_configuration.ldap_servers
383+
ldap_servers.Element = AAZStrArg()
336384
return cls._args_schema
337385

338386
def _execute_operations(self):
@@ -416,7 +464,7 @@ def url_parameters(self):
416464
def query_parameters(self):
417465
parameters = {
418466
**self.serialize_query_param(
419-
"api-version", "2025-06-01",
467+
"api-version", "2025-09-01",
420468
required=True,
421469
),
422470
}
@@ -465,6 +513,7 @@ def content(self):
465513
if properties is not None:
466514
properties.set_prop("activeDirectories", AAZListType, ".active_directories")
467515
properties.set_prop("encryption", AAZObjectType)
516+
properties.set_prop("ldapConfiguration", AAZObjectType, ".ldap_configuration")
468517
properties.set_prop("nfsV4IDDomain", AAZStrType, ".nfs_v4_id_domain", typ_kwargs={"nullable": True})
469518

470519
active_directories = _builder.get(".properties.activeDirectories")
@@ -530,6 +579,18 @@ def content(self):
530579
key_vault_properties.set_prop("keyVaultResourceId", AAZStrType, ".key_vault_resource_id")
531580
key_vault_properties.set_prop("keyVaultUri", AAZStrType, ".key_vault_uri", typ_kwargs={"flags": {"required": True}})
532581

582+
ldap_configuration = _builder.get(".properties.ldapConfiguration")
583+
if ldap_configuration is not None:
584+
ldap_configuration.set_prop("certificateCNHost", AAZStrType, ".certificate_cn_host", typ_kwargs={"nullable": True})
585+
ldap_configuration.set_prop("domain", AAZStrType, ".domain")
586+
ldap_configuration.set_prop("ldapOverTLS", AAZBoolType, ".ldap_over_tls")
587+
ldap_configuration.set_prop("ldapServers", AAZListType, ".ldap_servers")
588+
ldap_configuration.set_prop("serverCACertificate", AAZStrType, ".server_ca_certificate", typ_kwargs={"flags": {"secret": True}})
589+
590+
ldap_servers = _builder.get(".properties.ldapConfiguration.ldapServers")
591+
if ldap_servers is not None:
592+
ldap_servers.set_elements(AAZStrType, ".")
593+
533594
tags = _builder.get(".tags")
534595
if tags is not None:
535596
tags.set_elements(AAZStrType, ".")
@@ -620,6 +681,9 @@ def _build_schema_on_200_201(cls):
620681
flags={"read_only": True},
621682
)
622683
properties.encryption = AAZObjectType()
684+
properties.ldap_configuration = AAZObjectType(
685+
serialized_name="ldapConfiguration",
686+
)
623687
properties.multi_ad_status = AAZStrType(
624688
serialized_name="multiAdStatus",
625689
flags={"read_only": True},
@@ -761,6 +825,26 @@ def _build_schema_on_200_201(cls):
761825
flags={"read_only": True},
762826
)
763827

828+
ldap_configuration = cls._schema_on_200_201.properties.ldap_configuration
829+
ldap_configuration.certificate_cn_host = AAZStrType(
830+
serialized_name="certificateCNHost",
831+
nullable=True,
832+
)
833+
ldap_configuration.domain = AAZStrType()
834+
ldap_configuration.ldap_over_tls = AAZBoolType(
835+
serialized_name="ldapOverTLS",
836+
)
837+
ldap_configuration.ldap_servers = AAZListType(
838+
serialized_name="ldapServers",
839+
)
840+
ldap_configuration.server_ca_certificate = AAZStrType(
841+
serialized_name="serverCACertificate",
842+
flags={"secret": True},
843+
)
844+
845+
ldap_servers = cls._schema_on_200_201.properties.ldap_configuration.ldap_servers
846+
ldap_servers.Element = AAZStrType()
847+
764848
system_data = cls._schema_on_200_201.system_data
765849
system_data.created_at = AAZStrType(
766850
serialized_name="createdAt",

src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_delete.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ class Delete(AAZCommand):
2323
"""
2424

2525
_aaz_info = {
26-
"version": "2025-06-01",
26+
"version": "2025-09-01",
2727
"resources": [
28-
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.netapp/netappaccounts/{}", "2025-06-01"],
28+
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.netapp/netappaccounts/{}", "2025-09-01"],
2929
]
3030
}
3131

@@ -146,7 +146,7 @@ def url_parameters(self):
146146
def query_parameters(self):
147147
parameters = {
148148
**self.serialize_query_param(
149-
"api-version", "2025-06-01",
149+
"api-version", "2025-09-01",
150150
required=True,
151151
),
152152
}

src/azure-cli/azure/cli/command_modules/netappfiles/aaz/latest/netappfiles/account/_get_key_vault_status.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ class GetKeyVaultStatus(AAZCommand):
2222
"""
2323

2424
_aaz_info = {
25-
"version": "2025-06-01",
25+
"version": "2025-09-01",
2626
"resources": [
27-
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.netapp/netappaccounts/{}/getkeyvaultstatus", "2025-06-01"],
27+
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.netapp/netappaccounts/{}/getkeyvaultstatus", "2025-09-01"],
2828
]
2929
}
3030

@@ -140,7 +140,7 @@ def url_parameters(self):
140140
def query_parameters(self):
141141
parameters = {
142142
**self.serialize_query_param(
143-
"api-version", "2025-06-01",
143+
"api-version", "2025-09-01",
144144
required=True,
145145
),
146146
}

0 commit comments

Comments
 (0)