Skip to content

Commit 32542d4

Browse files
audunndanieljurekmikeharder
authored andcommitted
[NetAppFiles] Update to 2025-09-01 (Azure#38406)
* Update to 2025-09-01 * VolumeQuotaRulesProperties provisioningState * VolumeQuotaRulesProperties provisioningState * Pretty, elastic snapshotpolicy fix * elastic volum patch fix * example * volume fix * lindiff fixes * format * principal string * ElasticSnapshotPolicies_ListVolumes * ElasticSnapshotPolicies_ListVolumes * ElasticSnapshotPolicies_ListVolumes * format * example filepath * client rename * client rename * review comments * review comments * rebase refactor folder structure * readme * readme * format * patch fixes * patch properties * read-create * remove max min on list * rename service folder * Revert "rename service folder" This reverts commit 45ca15f. * rename service folder * Revert "rename service folder" This reverts commit b2e2352. * Fixes * Fixes 2 * Fixes 3 * Fixes 4 * Fixes 5 * tsv fix * TSP fix * clean temp file * example * example * TSP fix * TSP fix * TSP fix * TSP fix * name --------- Co-authored-by: Daniel Jurek <djurek@microsoft.com> Co-authored-by: Mike Harder <mharder@microsoft.com>
1 parent be33ae9 commit 32542d4

File tree

677 files changed

+75454
-151
lines changed

Some content is hidden

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

677 files changed

+75454
-151
lines changed
Lines changed: 187 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,187 @@
1+
import "@typespec/rest";
2+
import "@typespec/versioning";
3+
import "@azure-tools/typespec-azure-core";
4+
import "@azure-tools/typespec-azure-resource-manager";
5+
import "./models.tsp";
6+
7+
using TypeSpec.Rest;
8+
using TypeSpec.Http;
9+
using TypeSpec.Versioning;
10+
using Azure.ResourceManager;
11+
using Azure.Core;
12+
13+
namespace Microsoft.NetApp;
14+
15+
/**
16+
* Active Directory Configuration resource
17+
*/
18+
@added(Versions.v2025_09_01_preview)
19+
model ActiveDirectoryConfig
20+
is TrackedResource<ActiveDirectoryConfigProperties> {
21+
...ResourceNameParameter<
22+
Resource = ActiveDirectoryConfig,
23+
KeyName = "activeDirectoryConfigName",
24+
SegmentName = "activeDirectoryConfigs",
25+
NamePattern = "^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$"
26+
>;
27+
...Azure.ResourceManager.Legacy.EntityTagProperty;
28+
...Azure.ResourceManager.ManagedServiceIdentityProperty;
29+
}
30+
31+
/**
32+
* Active Directory Configuration properties
33+
*/
34+
@added(Versions.v2025_09_01_preview)
35+
model ActiveDirectoryConfigProperties {
36+
...ActiveDirectoryConfigCommonProperties;
37+
38+
/**
39+
* Azure lifecycle management.
40+
*/
41+
@visibility(Lifecycle.Read)
42+
provisioningState?: NetAppProvisioningState;
43+
44+
/** Name of the Active Directory domain */
45+
@maxLength(255)
46+
domain: string;
47+
48+
/** Access password from Azure KeyVault Secrets to connect Active Directory */
49+
secretPassword: SecretPassword;
50+
}
51+
52+
/** Active Directory Configuration common properties */
53+
@added(Versions.v2025_09_01_preview)
54+
model ActiveDirectoryConfigCommonProperties {
55+
/** A domain user account with permission to create machine accounts */
56+
@maxLength(255)
57+
userName?: string;
58+
59+
/** An array of DNS server IP addresses(IPv4 only) for the Active Directory */
60+
dns?: ipV4Address[];
61+
62+
/** NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes */
63+
@maxLength(10)
64+
smbServerName?: string;
65+
66+
/** The Organizational Unit (OU) within the Windows Active Directory */
67+
@maxLength(255)
68+
organizationalUnit?: string;
69+
70+
/** The Active Directory site the service will limit Domain Controller discovery to */
71+
@maxLength(63)
72+
site?: string;
73+
74+
/** Users to be added to the Built-in Backup Operator active directory group. A list of unique usernames without domain specifier */
75+
backupOperators?: string[];
76+
77+
/** Users to be added to the Built-in Administrators active directory group. A list of unique usernames without domain specifier */
78+
administrators?: string[];
79+
80+
/** Domain Users in the Active directory to be given SecurityPrivilege privilege (Needed for SMB Continuously available shares for SQL). A list of unique usernames without domain specifier */
81+
securityOperators?: string[];
82+
83+
/** Status of the Active Directory */
84+
@visibility(Lifecycle.Read)
85+
activeDirectoryStatus?: ActiveDirectoryStatus;
86+
}
87+
88+
/** Access password from Azure KeyVault Secrets to connect Active Directory */
89+
@added(Versions.v2025_09_01_preview)
90+
model SecretPassword {
91+
/** Properties provided by KeyVault. */
92+
keyVaultProperties?: SecretPasswordKeyVaultProperties;
93+
94+
/** Identity used to authenticate to KeyVault. Applicable if keySource is 'Microsoft.KeyVault'. */
95+
identity?: SecretPasswordIdentity;
96+
}
97+
98+
/** Properties of key vault to get the secrets for password. */
99+
@added(Versions.v2025_09_01_preview)
100+
model SecretPasswordKeyVaultProperties {
101+
/** The Uri of KeyVault. */
102+
@maxLength(255)
103+
keyVaultUri: url;
104+
105+
/** The name of KeyVault password secret. */
106+
@maxLength(127)
107+
secretName: string;
108+
}
109+
110+
/** Identity used to authenticate with key vault. */
111+
@added(Versions.v2025_09_01_preview)
112+
model SecretPasswordIdentity {
113+
/** The principal ID (object ID) of the identity used to authenticate with key vault. Read-only. */
114+
@visibility(Lifecycle.Read)
115+
principalId?: string;
116+
117+
/** The Azure 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. */
118+
userAssignedIdentity?: string;
119+
}
120+
121+
/** Active Directory Configuration patch properties */
122+
@added(Versions.v2025_09_01_preview)
123+
model ActiveDirectoryConfigPatchProperties {
124+
...ActiveDirectoryConfigCommonProperties;
125+
126+
/** Access Password from Azure KeyVault Secret to connect Active Directory on patch */
127+
secretPassword?: SecretPasswordPatch;
128+
}
129+
130+
/** Access Password from Azure KeyVault Secret to connect Active Directory on patch */
131+
@added(Versions.v2025_09_01_preview)
132+
model SecretPasswordPatch {
133+
/** Patch Properties provided by KeyVault. */
134+
keyVaultProperties?: SecretPasswordKeyVaultPatchProperties;
135+
136+
/** Identity used to authenticate to KeyVault. Applicable if keySource is 'Microsoft.KeyVault'. */
137+
identity?: SecretPasswordIdentity;
138+
}
139+
140+
/** Patch Properties of key vault to get the secrets for password. */
141+
@added(Versions.v2025_09_01_preview)
142+
model SecretPasswordKeyVaultPatchProperties {
143+
/** The Uri of KeyVault. */
144+
@maxLength(255)
145+
keyVaultUri?: url;
146+
147+
/** The name of KeyVault password secret. */
148+
@maxLength(127)
149+
secretName?: string;
150+
}
151+
152+
@armResourceOperations
153+
interface ActiveDirectoryConfigs {
154+
/** Get the details of the specified active directory configuration */
155+
@added(Versions.v2025_09_01_preview)
156+
get is ArmResourceRead<ActiveDirectoryConfig>;
157+
158+
/** Create or update the specified active directory configuration */
159+
@added(Versions.v2025_09_01_preview)
160+
createOrUpdate is ArmResourceCreateOrUpdateAsync<ActiveDirectoryConfig>;
161+
162+
/** Patch the specified active directory configuration */
163+
@added(Versions.v2025_09_01_preview)
164+
@patch(#{ implicitOptionality: true })
165+
update is ArmCustomPatchAsync<
166+
ActiveDirectoryConfig,
167+
Azure.ResourceManager.Foundations.ResourceUpdateModel<
168+
ActiveDirectoryConfig,
169+
ActiveDirectoryConfigProperties
170+
>
171+
>;
172+
173+
/** Delete the specified Active Directory configuration */
174+
@added(Versions.v2025_09_01_preview)
175+
delete is ArmResourceDeleteWithoutOkAsync<ActiveDirectoryConfig>;
176+
177+
/** List all active directory configurations within the resource group. */
178+
@added(Versions.v2025_09_01_preview)
179+
listByResourceGroup is ArmResourceListByParent<ActiveDirectoryConfig>;
180+
181+
/** List all active directory configurations within the subscription */
182+
@added(Versions.v2025_09_01_preview)
183+
listBySubscription is ArmListBySubscription<ActiveDirectoryConfig>;
184+
}
185+
186+
@@maxLength(ActiveDirectoryConfig.name, 64);
187+
@@minLength(ActiveDirectoryConfig.name, 1);

specification/netapp/resource-manager/Microsoft.NetApp/NetApp/Bucket.tsp

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ namespace Microsoft.NetApp;
1818
@added(Versions.v2025_07_01_preview)
1919
@removed(Versions.v2025_08_01)
2020
@added(Versions.v2025_08_01_preview)
21+
@removed(Versions.v2025_09_01)
22+
@added(Versions.v2025_09_01_preview)
2123
@parentResource(Volume)
2224
model Bucket is Azure.ResourceManager.ProxyResource<BucketProperties> {
2325
...ResourceNameParameter<
@@ -34,6 +36,8 @@ model Bucket is Azure.ResourceManager.ProxyResource<BucketProperties> {
3436
@added(Versions.v2025_07_01_preview)
3537
@removed(Versions.v2025_08_01)
3638
@added(Versions.v2025_08_01_preview)
39+
@removed(Versions.v2025_09_01)
40+
@added(Versions.v2025_09_01_preview)
3741
model BucketList is Azure.Core.Page<Bucket>;
3842

3943
/**
@@ -42,6 +46,8 @@ model BucketList is Azure.Core.Page<Bucket>;
4246
@added(Versions.v2025_07_01_preview)
4347
@removed(Versions.v2025_08_01)
4448
@added(Versions.v2025_08_01_preview)
49+
@removed(Versions.v2025_09_01)
50+
@added(Versions.v2025_09_01_preview)
4551
model BucketProperties {
4652
/**
4753
* The volume path mounted inside the bucket. The default is the root path '/' if no value is provided when the bucket is created.
@@ -86,6 +92,8 @@ model BucketProperties {
8692
@added(Versions.v2025_07_01_preview)
8793
@removed(Versions.v2025_08_01)
8894
@added(Versions.v2025_08_01_preview)
95+
@removed(Versions.v2025_09_01)
96+
@added(Versions.v2025_09_01_preview)
8997
model FileSystemUser {
9098
/**
9199
* The effective NFS User ID and Group ID when accessing the volume data.
@@ -104,6 +112,8 @@ model FileSystemUser {
104112
@added(Versions.v2025_07_01_preview)
105113
@removed(Versions.v2025_08_01)
106114
@added(Versions.v2025_08_01_preview)
115+
@removed(Versions.v2025_09_01)
116+
@added(Versions.v2025_09_01_preview)
107117
model NfsUser {
108118
/**
109119
* The NFS user's UID
@@ -122,6 +132,8 @@ model NfsUser {
122132
@added(Versions.v2025_07_01_preview)
123133
@removed(Versions.v2025_08_01)
124134
@added(Versions.v2025_08_01_preview)
135+
@removed(Versions.v2025_09_01)
136+
@added(Versions.v2025_09_01_preview)
125137
model CifsUser {
126138
/**
127139
* The CIFS user's username
@@ -135,6 +147,8 @@ model CifsUser {
135147
@added(Versions.v2025_07_01_preview)
136148
@removed(Versions.v2025_08_01)
137149
@added(Versions.v2025_08_01_preview)
150+
@removed(Versions.v2025_09_01)
151+
@added(Versions.v2025_09_01_preview)
138152
model BucketServerProperties {
139153
/**
140154
* The host part of the bucket URL, resolving to the bucket IP address and allowed by the server certificate.
@@ -178,6 +192,8 @@ model BucketServerProperties {
178192
@added(Versions.v2025_07_01_preview)
179193
@removed(Versions.v2025_08_01)
180194
@added(Versions.v2025_08_01_preview)
195+
@removed(Versions.v2025_09_01)
196+
@added(Versions.v2025_09_01_preview)
181197
model BucketPatch extends Azure.ResourceManager.CommonTypes.ProxyResource {
182198
/**
183199
* Bucket properties
@@ -191,6 +207,8 @@ model BucketPatch extends Azure.ResourceManager.CommonTypes.ProxyResource {
191207
@added(Versions.v2025_07_01_preview)
192208
@removed(Versions.v2025_08_01)
193209
@added(Versions.v2025_08_01_preview)
210+
@removed(Versions.v2025_09_01)
211+
@added(Versions.v2025_09_01_preview)
194212
model BucketPatchProperties {
195213
/**
196214
* The volume path mounted inside the bucket.
@@ -225,6 +243,8 @@ model BucketPatchProperties {
225243
@added(Versions.v2025_07_01_preview)
226244
@removed(Versions.v2025_08_01)
227245
@added(Versions.v2025_08_01_preview)
246+
@removed(Versions.v2025_09_01)
247+
@added(Versions.v2025_09_01_preview)
228248
model BucketServerPatchProperties {
229249
/**
230250
* The host part of the bucket URL, resolving to the bucket IP address and allowed by the server certificate.
@@ -246,6 +266,8 @@ model BucketServerPatchProperties {
246266
@added(Versions.v2025_07_01_preview)
247267
@removed(Versions.v2025_08_01)
248268
@added(Versions.v2025_08_01_preview)
269+
@removed(Versions.v2025_09_01)
270+
@added(Versions.v2025_09_01_preview)
249271
model BucketCredentialsExpiry {
250272
/**
251273
* The number of days from now until the newly generated Access and Secret key pair will expire.
@@ -260,6 +282,8 @@ model BucketCredentialsExpiry {
260282
@added(Versions.v2025_07_01_preview)
261283
@removed(Versions.v2025_08_01)
262284
@added(Versions.v2025_08_01_preview)
285+
@removed(Versions.v2025_09_01)
286+
@added(Versions.v2025_09_01_preview)
263287
model BucketGenerateCredentials {
264288
/**
265289
* The Access Key that is required along with the Secret Key to access the bucket.
@@ -291,6 +315,8 @@ model BucketGenerateCredentials {
291315
@added(Versions.v2025_07_01_preview)
292316
@removed(Versions.v2025_08_01)
293317
@added(Versions.v2025_08_01_preview)
318+
@removed(Versions.v2025_09_01)
319+
@added(Versions.v2025_09_01_preview)
294320
union CredentialsStatus {
295321
string,
296322

@@ -316,6 +342,8 @@ union CredentialsStatus {
316342
@added(Versions.v2025_07_01_preview)
317343
@removed(Versions.v2025_08_01)
318344
@added(Versions.v2025_08_01_preview)
345+
@removed(Versions.v2025_09_01)
346+
@added(Versions.v2025_09_01_preview)
319347
union BucketPermissions {
320348
string,
321349

@@ -336,6 +364,8 @@ union BucketPermissions {
336364
@added(Versions.v2025_07_01_preview)
337365
@removed(Versions.v2025_08_01)
338366
@added(Versions.v2025_08_01_preview)
367+
@removed(Versions.v2025_09_01)
368+
@added(Versions.v2025_09_01_preview)
339369
union BucketPatchPermissions {
340370
string,
341371

@@ -353,6 +383,8 @@ union BucketPatchPermissions {
353383
@added(Versions.v2025_07_01_preview)
354384
@removed(Versions.v2025_08_01)
355385
@added(Versions.v2025_08_01_preview)
386+
@removed(Versions.v2025_09_01)
387+
@added(Versions.v2025_09_01_preview)
356388
@armResourceOperations
357389
interface Buckets {
358390
/**

0 commit comments

Comments
 (0)