Skip to content

Commit c309fcd

Browse files
committed
2025-01-01
1 parent 1fab3f4 commit c309fcd

File tree

176 files changed

+16401
-11727
lines changed

Some content is hidden

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

176 files changed

+16401
-11727
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": "2024-09-01",
24+
"version": "2025-01-01",
2525
"resources": [
26-
["mgmt-plane", "/subscriptions/{}/providers/microsoft.netapp/locations/{}/checkfilepathavailability", "2024-09-01"],
26+
["mgmt-plane", "/subscriptions/{}/providers/microsoft.netapp/locations/{}/checkfilepathavailability", "2025-01-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", "2024-09-01",
135+
"api-version", "2025-01-01",
136136
required=True,
137137
),
138138
}

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

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

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

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

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

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

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

@@ -133,7 +133,7 @@ def url_parameters(self):
133133
def query_parameters(self):
134134
parameters = {
135135
**self.serialize_query_param(
136-
"api-version", "2024-09-01",
136+
"api-version", "2025-01-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": "2024-09-01",
27+
"version": "2025-01-01",
2828
"resources": [
29-
["mgmt-plane", "/subscriptions/{}/providers/microsoft.netapp/locations/{}/querynetworksiblingset", "2024-09-01"],
29+
["mgmt-plane", "/subscriptions/{}/providers/microsoft.netapp/locations/{}/querynetworksiblingset", "2025-01-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", "2024-09-01",
137+
"api-version", "2025-01-01",
138138
required=True,
139139
),
140140
}

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ class UpdateNetworkSiblingSet(AAZCommand):
2020
Update the network features of the specified network sibling set
2121
2222
:example: Update Network sibling set
23-
az -l westus2 --network-sibling-set-id {SIBLIING_SET_ID} --subnet-id {SUBNET_ID} --network-sibling-set-state-id {SIBLING_SET_STATE_ID} --network-features Standard
23+
az netappfiles update-network-sibling-set -l westus2 --network-sibling-set-id {SIBLIING_SET_ID} --subnet-id {SUBNET_ID} --network-sibling-set-state-id='{SIBLING_SET_STATE_ID}' --network-features Standard
2424
"""
2525

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

@@ -77,7 +77,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
7777
_args_schema.network_sibling_set_state_id = AAZStrArg(
7878
options=["--state-id", "--network-sibling-set-state-id"],
7979
arg_group="Body",
80-
help="Network sibling set state Id identifying the current state of the sibling set.",
80+
help="Network sibling set state Id identifying the current state of the sibling set. Value can start with a dash, use ='-value'",
8181
required=True,
8282
)
8383
_args_schema.subnet_id = AAZResourceIdArg(
@@ -165,7 +165,7 @@ def url_parameters(self):
165165
def query_parameters(self):
166166
parameters = {
167167
**self.serialize_query_param(
168-
"api-version", "2024-09-01",
168+
"api-version", "2025-01-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": "2024-09-01",
28+
"version": "2025-01-01",
2929
"resources": [
30-
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.netapp/netappaccounts/{}/changekeyvault", "2024-09-01"],
30+
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.netapp/netappaccounts/{}/changekeyvault", "2025-01-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", "2024-09-01",
170+
"api-version", "2025-01-01",
171171
required=True,
172172
),
173173
}

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

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

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

@@ -83,11 +83,6 @@ def _build_arguments_schema(cls, *args, **kwargs):
8383
# define Arg Group "Encryption"
8484

8585
_args_schema = cls._args_schema
86-
_args_schema.encryption_identity = AAZObjectArg(
87-
options=["--encryption-identity"],
88-
arg_group="Encryption",
89-
help="Identity used to authenticate to KeyVault. Applicable if keySource is 'Microsoft.KeyVault'.",
90-
)
9186
_args_schema.key_source = AAZStrArg(
9287
options=["--key-source"],
9388
arg_group="Encryption",
@@ -111,9 +106,17 @@ def _build_arguments_schema(cls, *args, **kwargs):
111106
help="The Uri of KeyVault.",
112107
)
113108

114-
encryption_identity = cls._args_schema.encryption_identity
115-
encryption_identity.user_assigned_identity = AAZStrArg(
116-
options=["user-assigned-identity"],
109+
# define Arg Group "EncryptionIdentity"
110+
111+
_args_schema = cls._args_schema
112+
_args_schema.federated_client_id = AAZStrArg(
113+
options=["--federated-client-id"],
114+
arg_group="EncryptionIdentity",
115+
help="ClientId of the multi-tenant AAD Application. Used to access cross-tenant keyvaults.",
116+
)
117+
_args_schema.user_assigned_identity = AAZStrArg(
118+
options=["--user-assigned-identity"],
119+
arg_group="EncryptionIdentity",
117120
help="The ARM resource identifier of the user assigned identity used to authenticate with key vault. Applicable if identity.type has 'UserAssigned'. It should match key of identity.userAssignedIdentities.",
118121
)
119122

@@ -146,6 +149,16 @@ def _build_arguments_schema(cls, *args, **kwargs):
146149
arg_group="Properties",
147150
help="Active Directories",
148151
)
152+
_args_schema.nfs_v4_id_domain = AAZStrArg(
153+
options=["--nfs-v4-id-domain"],
154+
arg_group="Properties",
155+
help="Domain for NFSv4 user ID mapping. This property will be set for all NetApp accounts in the subscription and region and only affect non ldap NFSv4 volumes.",
156+
nullable=True,
157+
fmt=AAZStrArgFormat(
158+
pattern="^[a-zA-Z0-9][a-zA-Z0-9.-]{0,253}[a-zA-Z0-9]$",
159+
max_length=255,
160+
),
161+
)
149162

150163
active_directories = cls._args_schema.active_directories
151164
active_directories.Element = AAZObjectArg()
@@ -388,7 +401,7 @@ def url_parameters(self):
388401
def query_parameters(self):
389402
parameters = {
390403
**self.serialize_query_param(
391-
"api-version", "2024-09-01",
404+
"api-version", "2025-01-01",
392405
required=True,
393406
),
394407
}
@@ -431,6 +444,7 @@ def content(self):
431444
if properties is not None:
432445
properties.set_prop("activeDirectories", AAZListType, ".active_directories")
433446
properties.set_prop("encryption", AAZObjectType)
447+
properties.set_prop("nfsV4IDDomain", AAZStrType, ".nfs_v4_id_domain", typ_kwargs={"nullable": True})
434448

435449
active_directories = _builder.get(".properties.activeDirectories")
436450
if active_directories is not None:
@@ -480,12 +494,13 @@ def content(self):
480494

481495
encryption = _builder.get(".properties.encryption")
482496
if encryption is not None:
483-
encryption.set_prop("identity", AAZObjectType, ".encryption_identity")
497+
encryption.set_prop("identity", AAZObjectType)
484498
encryption.set_prop("keySource", AAZStrType, ".key_source")
485499
encryption.set_prop("keyVaultProperties", AAZObjectType)
486500

487501
identity = _builder.get(".properties.encryption.identity")
488502
if identity is not None:
503+
identity.set_prop("federatedClientId", AAZStrType, ".federated_client_id")
489504
identity.set_prop("userAssignedIdentity", AAZStrType, ".user_assigned_identity")
490505

491506
key_vault_properties = _builder.get(".properties.encryption.keyVaultProperties")
@@ -584,6 +599,14 @@ def _build_schema_on_200_201(cls):
584599
flags={"read_only": True},
585600
)
586601
properties.encryption = AAZObjectType()
602+
properties.multi_ad_status = AAZStrType(
603+
serialized_name="multiAdStatus",
604+
flags={"read_only": True},
605+
)
606+
properties.nfs_v4_id_domain = AAZStrType(
607+
serialized_name="nfsV4IDDomain",
608+
nullable=True,
609+
)
587610
properties.provisioning_state = AAZStrType(
588611
serialized_name="provisioningState",
589612
flags={"read_only": True},
@@ -686,6 +709,9 @@ def _build_schema_on_200_201(cls):
686709
)
687710

688711
identity = cls._schema_on_200_201.properties.encryption.identity
712+
identity.federated_client_id = AAZStrType(
713+
serialized_name="federatedClientId",
714+
)
689715
identity.principal_id = AAZStrType(
690716
serialized_name="principalId",
691717
flags={"read_only": True},

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": "2024-09-01",
26+
"version": "2025-01-01",
2727
"resources": [
28-
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.netapp/netappaccounts/{}", "2024-09-01"],
28+
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.netapp/netappaccounts/{}", "2025-01-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", "2024-09-01",
149+
"api-version", "2025-01-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": "2024-09-01",
25+
"version": "2025-01-01",
2626
"resources": [
27-
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.netapp/netappaccounts/{}/getkeyvaultstatus", "2024-09-01"],
27+
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.netapp/netappaccounts/{}/getkeyvaultstatus", "2025-01-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", "2024-09-01",
143+
"api-version", "2025-01-01",
144144
required=True,
145145
),
146146
}

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

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ class List(AAZCommand):
2222
"""
2323

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

@@ -116,7 +116,7 @@ def url_parameters(self):
116116
def query_parameters(self):
117117
parameters = {
118118
**self.serialize_query_param(
119-
"api-version", "2024-09-01",
119+
"api-version", "2025-01-01",
120120
required=True,
121121
),
122122
}
@@ -224,6 +224,14 @@ def _build_schema_on_200(cls):
224224
flags={"read_only": True},
225225
)
226226
properties.encryption = AAZObjectType()
227+
properties.multi_ad_status = AAZStrType(
228+
serialized_name="multiAdStatus",
229+
flags={"read_only": True},
230+
)
231+
properties.nfs_v4_id_domain = AAZStrType(
232+
serialized_name="nfsV4IDDomain",
233+
nullable=True,
234+
)
227235
properties.provisioning_state = AAZStrType(
228236
serialized_name="provisioningState",
229237
flags={"read_only": True},
@@ -326,6 +334,9 @@ def _build_schema_on_200(cls):
326334
)
327335

328336
identity = cls._schema_on_200.value.Element.properties.encryption.identity
337+
identity.federated_client_id = AAZStrType(
338+
serialized_name="federatedClientId",
339+
)
329340
identity.principal_id = AAZStrType(
330341
serialized_name="principalId",
331342
flags={"read_only": True},
@@ -419,7 +430,7 @@ def url_parameters(self):
419430
def query_parameters(self):
420431
parameters = {
421432
**self.serialize_query_param(
422-
"api-version", "2024-09-01",
433+
"api-version", "2025-01-01",
423434
required=True,
424435
),
425436
}
@@ -527,6 +538,14 @@ def _build_schema_on_200(cls):
527538
flags={"read_only": True},
528539
)
529540
properties.encryption = AAZObjectType()
541+
properties.multi_ad_status = AAZStrType(
542+
serialized_name="multiAdStatus",
543+
flags={"read_only": True},
544+
)
545+
properties.nfs_v4_id_domain = AAZStrType(
546+
serialized_name="nfsV4IDDomain",
547+
nullable=True,
548+
)
530549
properties.provisioning_state = AAZStrType(
531550
serialized_name="provisioningState",
532551
flags={"read_only": True},
@@ -629,6 +648,9 @@ def _build_schema_on_200(cls):
629648
)
630649

631650
identity = cls._schema_on_200.value.Element.properties.encryption.identity
651+
identity.federated_client_id = AAZStrType(
652+
serialized_name="federatedClientId",
653+
)
632654
identity.principal_id = AAZStrType(
633655
serialized_name="principalId",
634656
flags={"read_only": True},

0 commit comments

Comments
 (0)