Skip to content

Commit be5fe50

Browse files
authored
[NetAppFiles] Bump anf to 2025-06-01 (#28393)
1 parent 0559014 commit be5fe50

File tree

75 files changed

+31085
-26868
lines changed

Some content is hidden

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

75 files changed

+31085
-26868
lines changed

src/NetAppFiles/NetAppFiles.Management.Sdk/Generated/IVolumesOperations.cs

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,38 @@ public partial interface IVolumesOperations
270270
/// </exception>
271271
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<VolumesResetCifsPasswordHeaders>> ResetCifsPasswordWithHttpMessagesAsync(string resourceGroupName, string accountName, string poolName, string volumeName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
272272

273+
/// <summary>
274+
/// Split operation to convert clone volume to an independent volume.
275+
/// </summary>
276+
/// <remarks>
277+
/// Split operation to convert clone volume to an independent volume.
278+
/// </remarks>
279+
/// <param name='resourceGroupName'>
280+
/// The name of the resource group. The name is case insensitive.
281+
/// </param>
282+
/// <param name='accountName'>
283+
/// The name of the NetApp account
284+
/// </param>
285+
/// <param name='poolName'>
286+
/// The name of the capacity pool
287+
/// </param>
288+
/// <param name='volumeName'>
289+
/// The name of the volume
290+
/// </param>
291+
/// <param name='customHeaders'>
292+
/// The headers that will be added to request.
293+
/// </param>
294+
/// <param name='cancellationToken'>
295+
/// The cancellation token.
296+
/// </param>
297+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
298+
/// Thrown when the operation returned an invalid status code
299+
/// </exception>
300+
/// <exception cref="Microsoft.Rest.SerializationException">
301+
/// Thrown when unable to deserialize the response
302+
/// </exception>
303+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Volume,VolumesSplitCloneFromParentHeaders>> SplitCloneFromParentWithHttpMessagesAsync(string resourceGroupName, string accountName, string poolName, string volumeName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
304+
273305
/// <summary>
274306
/// Break all the file locks on a volume
275307
/// </summary>
@@ -1044,6 +1076,38 @@ public partial interface IVolumesOperations
10441076
/// </exception>
10451077
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<VolumesResetCifsPasswordHeaders>> BeginResetCifsPasswordWithHttpMessagesAsync(string resourceGroupName, string accountName, string poolName, string volumeName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
10461078

1079+
/// <summary>
1080+
/// Split operation to convert clone volume to an independent volume.
1081+
/// </summary>
1082+
/// <remarks>
1083+
/// Split operation to convert clone volume to an independent volume.
1084+
/// </remarks>
1085+
/// <param name='resourceGroupName'>
1086+
/// The name of the resource group. The name is case insensitive.
1087+
/// </param>
1088+
/// <param name='accountName'>
1089+
/// The name of the NetApp account
1090+
/// </param>
1091+
/// <param name='poolName'>
1092+
/// The name of the capacity pool
1093+
/// </param>
1094+
/// <param name='volumeName'>
1095+
/// The name of the volume
1096+
/// </param>
1097+
/// <param name='customHeaders'>
1098+
/// The headers that will be added to request.
1099+
/// </param>
1100+
/// <param name='cancellationToken'>
1101+
/// The cancellation token.
1102+
/// </param>
1103+
/// <exception cref="Microsoft.Rest.Azure.CloudException">
1104+
/// Thrown when the operation returned an invalid status code
1105+
/// </exception>
1106+
/// <exception cref="Microsoft.Rest.SerializationException">
1107+
/// Thrown when unable to deserialize the response
1108+
/// </exception>
1109+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Volume,VolumesSplitCloneFromParentHeaders>> BeginSplitCloneFromParentWithHttpMessagesAsync(string resourceGroupName, string accountName, string poolName, string volumeName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
1110+
10471111
/// <summary>
10481112
/// Break all the file locks on a volume
10491113
/// </summary>
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License. See License.txt in the project root for license information.
3+
// Code generated by Microsoft (R) AutoRest Code Generator.
4+
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
5+
6+
namespace Microsoft.Azure.Management.NetApp.Models
7+
{
8+
9+
/// <summary>
10+
/// Defines values for AcceptGrowCapacityPoolForShortTermCloneSplit.
11+
/// </summary>
12+
13+
14+
public static class AcceptGrowCapacityPoolForShortTermCloneSplit
15+
{
16+
/// <summary>
17+
/// Auto grow capacity pool for short term clone split is accepted.
18+
/// </summary>
19+
public const string Accepted = "Accepted";
20+
/// <summary>
21+
/// Auto grow capacity pool for short term clone split is declined. Short term
22+
/// clone volume creation will not be allowed, to create short term clone
23+
/// volume accept auto grow capacity pool.
24+
/// </summary>
25+
public const string Declined = "Declined";
26+
}
27+
}

src/NetAppFiles/NetAppFiles.Management.Sdk/Generated/Models/CapacityPool.cs

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ public CapacityPool()
5050
/// </param>
5151

5252
/// <param name="serviceLevel">The service level of the file system
53-
/// Possible values include: &#39;Standard&#39;, &#39;Premium&#39;, &#39;Ultra&#39;, &#39;StandardZRS&#39;</param>
53+
/// Possible values include: &#39;Standard&#39;, &#39;Premium&#39;, &#39;Ultra&#39;, &#39;StandardZRS&#39;,
54+
/// &#39;Flexible&#39;</param>
5455

5556
/// <param name="qosType">The qos type of the pool
5657
/// Possible values include: &#39;Auto&#39;, &#39;Manual&#39;</param>
@@ -76,9 +77,14 @@ public CapacityPool()
7677
/// <param name="utilizedThroughputMibps">Utilized throughput of pool in MiB/s
7778
/// </param>
7879

80+
/// <param name="customThroughputMibps">Maximum throughput in MiB/s that can be achieved by this pool and this will
81+
/// be accepted as input only for manual qosType pool with Flexible service
82+
/// level
83+
/// </param>
84+
7985
/// <param name="coolAccess">If enabled (true) the pool can contain cool Access enabled volumes.
8086
/// </param>
81-
public CapacityPool(string location, string serviceLevel, long size, string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), System.Collections.Generic.IDictionary<string, string> tags = default(System.Collections.Generic.IDictionary<string, string>), string etag = default(string), string qosType = default(string), string encryptionType = default(string), string poolId = default(string), string provisioningState = default(string), double? totalThroughputMibps = default(double?), double? utilizedThroughputMibps = default(double?), bool? coolAccess = default(bool?))
87+
public CapacityPool(string location, string serviceLevel, long size, string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), System.Collections.Generic.IDictionary<string, string> tags = default(System.Collections.Generic.IDictionary<string, string>), string etag = default(string), string qosType = default(string), string encryptionType = default(string), string poolId = default(string), string provisioningState = default(string), double? totalThroughputMibps = default(double?), double? utilizedThroughputMibps = default(double?), double? customThroughputMibps = default(double?), bool? coolAccess = default(bool?))
8288

8389
: base(location, id, name, type, systemData, tags)
8490
{
@@ -91,6 +97,7 @@ public CapacityPool()
9197
this.ProvisioningState = provisioningState;
9298
this.TotalThroughputMibps = totalThroughputMibps;
9399
this.UtilizedThroughputMibps = utilizedThroughputMibps;
100+
this.CustomThroughputMibps = customThroughputMibps;
94101
this.CoolAccess = coolAccess;
95102
CustomInit();
96103
}
@@ -109,7 +116,7 @@ public CapacityPool()
109116
public string Etag {get; private set; }
110117

111118
/// <summary>
112-
/// Gets or sets the service level of the file system Possible values include: &#39;Standard&#39;, &#39;Premium&#39;, &#39;Ultra&#39;, &#39;StandardZRS&#39;
119+
/// Gets or sets the service level of the file system Possible values include: &#39;Standard&#39;, &#39;Premium&#39;, &#39;Ultra&#39;, &#39;StandardZRS&#39;, &#39;Flexible&#39;
113120
/// </summary>
114121
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.serviceLevel")]
115122
public string ServiceLevel {get; set; }
@@ -159,6 +166,14 @@ public CapacityPool()
159166
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.utilizedThroughputMibps")]
160167
public double? UtilizedThroughputMibps {get; private set; }
161168

169+
/// <summary>
170+
/// Gets or sets maximum throughput in MiB/s that can be achieved by this pool
171+
/// and this will be accepted as input only for manual qosType pool with
172+
/// Flexible service level
173+
/// </summary>
174+
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.customThroughputMibps")]
175+
public double? CustomThroughputMibps {get; set; }
176+
162177
/// <summary>
163178
/// Gets or sets if enabled (true) the pool can contain cool Access enabled
164179
/// volumes.

src/NetAppFiles/NetAppFiles.Management.Sdk/Generated/Models/CapacityPoolPatch.cs

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,12 @@ public CapacityPoolPatch()
4949

5050
/// <param name="coolAccess">If enabled (true) the pool can contain cool Access enabled volumes.
5151
/// </param>
52-
public CapacityPoolPatch(string location = default(string), string id = default(string), string name = default(string), string type = default(string), System.Collections.Generic.IDictionary<string, string> tags = default(System.Collections.Generic.IDictionary<string, string>), string qosType = default(string), long? size = default(long?), bool? coolAccess = default(bool?))
52+
53+
/// <param name="customThroughputMibps">Maximum throughput in MiB/s that can be achieved by this pool and this will
54+
/// be accepted as input only for manual qosType pool with Flexible service
55+
/// level
56+
/// </param>
57+
public CapacityPoolPatch(string location = default(string), string id = default(string), string name = default(string), string type = default(string), System.Collections.Generic.IDictionary<string, string> tags = default(System.Collections.Generic.IDictionary<string, string>), string qosType = default(string), long? size = default(long?), bool? coolAccess = default(bool?), double? customThroughputMibps = default(double?))
5358

5459
{
5560
this.Location = location;
@@ -60,6 +65,7 @@ public CapacityPoolPatch()
6065
this.QosType = qosType;
6166
this.Size = size;
6267
this.CoolAccess = coolAccess;
68+
this.CustomThroughputMibps = customThroughputMibps;
6369
CustomInit();
6470
}
6571

@@ -118,5 +124,13 @@ public CapacityPoolPatch()
118124
/// </summary>
119125
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.coolAccess")]
120126
public bool? CoolAccess {get; set; }
127+
128+
/// <summary>
129+
/// Gets or sets maximum throughput in MiB/s that can be achieved by this pool
130+
/// and this will be accepted as input only for manual qosType pool with
131+
/// Flexible service level
132+
/// </summary>
133+
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.customThroughputMibps")]
134+
public double? CustomThroughputMibps {get; set; }
121135
}
122136
}

src/NetAppFiles/NetAppFiles.Management.Sdk/Generated/Models/PoolPatchProperties.cs

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,18 @@ public PoolPatchProperties()
3333

3434
/// <param name="coolAccess">If enabled (true) the pool can contain cool Access enabled volumes.
3535
/// </param>
36-
public PoolPatchProperties(long? size = default(long?), string qosType = default(string), bool? coolAccess = default(bool?))
36+
37+
/// <param name="customThroughputMibps">Maximum throughput in MiB/s that can be achieved by this pool and this will
38+
/// be accepted as input only for manual qosType pool with Flexible service
39+
/// level
40+
/// </param>
41+
public PoolPatchProperties(long? size = default(long?), string qosType = default(string), bool? coolAccess = default(bool?), double? customThroughputMibps = default(double?))
3742

3843
{
3944
this.Size = size;
4045
this.QosType = qosType;
4146
this.CoolAccess = coolAccess;
47+
this.CustomThroughputMibps = customThroughputMibps;
4248
CustomInit();
4349
}
4450

@@ -67,5 +73,13 @@ public PoolPatchProperties()
6773
/// </summary>
6874
[Newtonsoft.Json.JsonProperty(PropertyName = "coolAccess")]
6975
public bool? CoolAccess {get; set; }
76+
77+
/// <summary>
78+
/// Gets or sets maximum throughput in MiB/s that can be achieved by this pool
79+
/// and this will be accepted as input only for manual qosType pool with
80+
/// Flexible service level
81+
/// </summary>
82+
[Newtonsoft.Json.JsonProperty(PropertyName = "customThroughputMibps")]
83+
public double? CustomThroughputMibps {get; set; }
7084
}
7185
}

src/NetAppFiles/NetAppFiles.Management.Sdk/Generated/Models/PoolProperties.cs

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ public PoolProperties()
3232
/// </param>
3333

3434
/// <param name="serviceLevel">The service level of the file system
35-
/// Possible values include: &#39;Standard&#39;, &#39;Premium&#39;, &#39;Ultra&#39;, &#39;StandardZRS&#39;</param>
35+
/// Possible values include: &#39;Standard&#39;, &#39;Premium&#39;, &#39;Ultra&#39;, &#39;StandardZRS&#39;,
36+
/// &#39;Flexible&#39;</param>
3637

3738
/// <param name="provisioningState">Azure lifecycle management
3839
/// </param>
@@ -43,6 +44,11 @@ public PoolProperties()
4344
/// <param name="utilizedThroughputMibps">Utilized throughput of pool in MiB/s
4445
/// </param>
4546

47+
/// <param name="customThroughputMibps">Maximum throughput in MiB/s that can be achieved by this pool and this will
48+
/// be accepted as input only for manual qosType pool with Flexible service
49+
/// level
50+
/// </param>
51+
4652
/// <param name="qosType">The qos type of the pool
4753
/// Possible values include: &#39;Auto&#39;, &#39;Manual&#39;</param>
4854

@@ -53,7 +59,7 @@ public PoolProperties()
5359
/// for this pool and all volumes in it. This value can only be set when
5460
/// creating new pool.
5561
/// Possible values include: &#39;Single&#39;, &#39;Double&#39;</param>
56-
public PoolProperties(long size, string serviceLevel, string poolId = default(string), string provisioningState = default(string), double? totalThroughputMibps = default(double?), double? utilizedThroughputMibps = default(double?), string qosType = default(string), bool? coolAccess = default(bool?), string encryptionType = default(string))
62+
public PoolProperties(long size, string serviceLevel, string poolId = default(string), string provisioningState = default(string), double? totalThroughputMibps = default(double?), double? utilizedThroughputMibps = default(double?), double? customThroughputMibps = default(double?), string qosType = default(string), bool? coolAccess = default(bool?), string encryptionType = default(string))
5763

5864
{
5965
this.PoolId = poolId;
@@ -62,6 +68,7 @@ public PoolProperties()
6268
this.ProvisioningState = provisioningState;
6369
this.TotalThroughputMibps = totalThroughputMibps;
6470
this.UtilizedThroughputMibps = utilizedThroughputMibps;
71+
this.CustomThroughputMibps = customThroughputMibps;
6572
this.QosType = qosType;
6673
this.CoolAccess = coolAccess;
6774
this.EncryptionType = encryptionType;
@@ -88,7 +95,7 @@ public PoolProperties()
8895
public long Size {get; set; }
8996

9097
/// <summary>
91-
/// Gets or sets the service level of the file system Possible values include: &#39;Standard&#39;, &#39;Premium&#39;, &#39;Ultra&#39;, &#39;StandardZRS&#39;
98+
/// Gets or sets the service level of the file system Possible values include: &#39;Standard&#39;, &#39;Premium&#39;, &#39;Ultra&#39;, &#39;StandardZRS&#39;, &#39;Flexible&#39;
9299
/// </summary>
93100
[Newtonsoft.Json.JsonProperty(PropertyName = "serviceLevel")]
94101
public string ServiceLevel {get; set; }
@@ -111,6 +118,14 @@ public PoolProperties()
111118
[Newtonsoft.Json.JsonProperty(PropertyName = "utilizedThroughputMibps")]
112119
public double? UtilizedThroughputMibps {get; private set; }
113120

121+
/// <summary>
122+
/// Gets or sets maximum throughput in MiB/s that can be achieved by this pool
123+
/// and this will be accepted as input only for manual qosType pool with
124+
/// Flexible service level
125+
/// </summary>
126+
[Newtonsoft.Json.JsonProperty(PropertyName = "customThroughputMibps")]
127+
public double? CustomThroughputMibps {get; set; }
128+
114129
/// <summary>
115130
/// Gets or sets the qos type of the pool Possible values include: &#39;Auto&#39;, &#39;Manual&#39;
116131
/// </summary>

src/NetAppFiles/NetAppFiles.Management.Sdk/Generated/Models/ServiceLevel.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,9 @@ public static class ServiceLevel
2929
/// Zone redundant storage service level. This will be deprecated soon.
3030
/// </summary>
3131
public const string StandardZRS = "StandardZRS";
32+
/// <summary>
33+
/// Flexible service level
34+
/// </summary>
35+
public const string Flexible = "Flexible";
3236
}
3337
}

0 commit comments

Comments
 (0)