Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,38 @@ public partial interface IVolumesOperations
/// </exception>
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));

/// <summary>
/// Split operation to convert clone volume to an independent volume.
/// </summary>
/// <remarks>
/// Split operation to convert clone volume to an independent volume.
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='accountName'>
/// The name of the NetApp account
/// </param>
/// <param name='poolName'>
/// The name of the capacity pool
/// </param>
/// <param name='volumeName'>
/// The name of the volume
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
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));

/// <summary>
/// Break all the file locks on a volume
/// </summary>
Expand Down Expand Up @@ -1044,6 +1076,38 @@ public partial interface IVolumesOperations
/// </exception>
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));

/// <summary>
/// Split operation to convert clone volume to an independent volume.
/// </summary>
/// <remarks>
/// Split operation to convert clone volume to an independent volume.
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='accountName'>
/// The name of the NetApp account
/// </param>
/// <param name='poolName'>
/// The name of the capacity pool
/// </param>
/// <param name='volumeName'>
/// The name of the volume
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
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));

/// <summary>
/// Break all the file locks on a volume
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.

namespace Microsoft.Azure.Management.NetApp.Models
{

/// <summary>
/// Defines values for AcceptGrowCapacityPoolForShortTermCloneSplit.
/// </summary>


public static class AcceptGrowCapacityPoolForShortTermCloneSplit
{
/// <summary>
/// Auto grow capacity pool for short term clone split is accepted.
/// </summary>
public const string Accepted = "Accepted";
/// <summary>
/// Auto grow capacity pool for short term clone split is declined. Short term
/// clone volume creation will not be allowed, to create short term clone
/// volume accept auto grow capacity pool.
/// </summary>
public const string Declined = "Declined";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ public CapacityPool()
/// </param>

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

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

/// <param name="customThroughputMibps">Maximum throughput in MiB/s that can be achieved by this pool and this will
/// be accepted as input only for manual qosType pool with Flexible service
/// level
/// </param>

/// <param name="coolAccess">If enabled (true) the pool can contain cool Access enabled volumes.
/// </param>
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?))
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?))

: base(location, id, name, type, systemData, tags)
{
Expand All @@ -91,6 +97,7 @@ public CapacityPool()
this.ProvisioningState = provisioningState;
this.TotalThroughputMibps = totalThroughputMibps;
this.UtilizedThroughputMibps = utilizedThroughputMibps;
this.CustomThroughputMibps = customThroughputMibps;
this.CoolAccess = coolAccess;
CustomInit();
}
Expand All @@ -109,7 +116,7 @@ public CapacityPool()
public string Etag {get; private set; }

/// <summary>
/// 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;
/// 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;
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.serviceLevel")]
public string ServiceLevel {get; set; }
Expand Down Expand Up @@ -159,6 +166,14 @@ public CapacityPool()
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.utilizedThroughputMibps")]
public double? UtilizedThroughputMibps {get; private set; }

/// <summary>
/// Gets or sets maximum throughput in MiB/s that can be achieved by this pool
/// and this will be accepted as input only for manual qosType pool with
/// Flexible service level
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.customThroughputMibps")]
public double? CustomThroughputMibps {get; set; }

/// <summary>
/// Gets or sets if enabled (true) the pool can contain cool Access enabled
/// volumes.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,12 @@ public CapacityPoolPatch()

/// <param name="coolAccess">If enabled (true) the pool can contain cool Access enabled volumes.
/// </param>
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?))

/// <param name="customThroughputMibps">Maximum throughput in MiB/s that can be achieved by this pool and this will
/// be accepted as input only for manual qosType pool with Flexible service
/// level
/// </param>
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?))

{
this.Location = location;
Expand All @@ -60,6 +65,7 @@ public CapacityPoolPatch()
this.QosType = qosType;
this.Size = size;
this.CoolAccess = coolAccess;
this.CustomThroughputMibps = customThroughputMibps;
CustomInit();
}

Expand Down Expand Up @@ -118,5 +124,13 @@ public CapacityPoolPatch()
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.coolAccess")]
public bool? CoolAccess {get; set; }

/// <summary>
/// Gets or sets maximum throughput in MiB/s that can be achieved by this pool
/// and this will be accepted as input only for manual qosType pool with
/// Flexible service level
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "properties.customThroughputMibps")]
public double? CustomThroughputMibps {get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,18 @@ public PoolPatchProperties()

/// <param name="coolAccess">If enabled (true) the pool can contain cool Access enabled volumes.
/// </param>
public PoolPatchProperties(long? size = default(long?), string qosType = default(string), bool? coolAccess = default(bool?))

/// <param name="customThroughputMibps">Maximum throughput in MiB/s that can be achieved by this pool and this will
/// be accepted as input only for manual qosType pool with Flexible service
/// level
/// </param>
public PoolPatchProperties(long? size = default(long?), string qosType = default(string), bool? coolAccess = default(bool?), double? customThroughputMibps = default(double?))

{
this.Size = size;
this.QosType = qosType;
this.CoolAccess = coolAccess;
this.CustomThroughputMibps = customThroughputMibps;
CustomInit();
}

Expand Down Expand Up @@ -67,5 +73,13 @@ public PoolPatchProperties()
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "coolAccess")]
public bool? CoolAccess {get; set; }

/// <summary>
/// Gets or sets maximum throughput in MiB/s that can be achieved by this pool
/// and this will be accepted as input only for manual qosType pool with
/// Flexible service level
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "customThroughputMibps")]
public double? CustomThroughputMibps {get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ public PoolProperties()
/// </param>

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

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

/// <param name="customThroughputMibps">Maximum throughput in MiB/s that can be achieved by this pool and this will
/// be accepted as input only for manual qosType pool with Flexible service
/// level
/// </param>

/// <param name="qosType">The qos type of the pool
/// Possible values include: &#39;Auto&#39;, &#39;Manual&#39;</param>

Expand All @@ -53,7 +59,7 @@ public PoolProperties()
/// for this pool and all volumes in it. This value can only be set when
/// creating new pool.
/// Possible values include: &#39;Single&#39;, &#39;Double&#39;</param>
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))
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))

{
this.PoolId = poolId;
Expand All @@ -62,6 +68,7 @@ public PoolProperties()
this.ProvisioningState = provisioningState;
this.TotalThroughputMibps = totalThroughputMibps;
this.UtilizedThroughputMibps = utilizedThroughputMibps;
this.CustomThroughputMibps = customThroughputMibps;
this.QosType = qosType;
this.CoolAccess = coolAccess;
this.EncryptionType = encryptionType;
Expand All @@ -88,7 +95,7 @@ public PoolProperties()
public long Size {get; set; }

/// <summary>
/// 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;
/// 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;
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "serviceLevel")]
public string ServiceLevel {get; set; }
Expand All @@ -111,6 +118,14 @@ public PoolProperties()
[Newtonsoft.Json.JsonProperty(PropertyName = "utilizedThroughputMibps")]
public double? UtilizedThroughputMibps {get; private set; }

/// <summary>
/// Gets or sets maximum throughput in MiB/s that can be achieved by this pool
/// and this will be accepted as input only for manual qosType pool with
/// Flexible service level
/// </summary>
[Newtonsoft.Json.JsonProperty(PropertyName = "customThroughputMibps")]
public double? CustomThroughputMibps {get; set; }

/// <summary>
/// Gets or sets the qos type of the pool Possible values include: &#39;Auto&#39;, &#39;Manual&#39;
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,9 @@ public static class ServiceLevel
/// Zone redundant storage service level. This will be deprecated soon.
/// </summary>
public const string StandardZRS = "StandardZRS";
/// <summary>
/// Flexible service level
/// </summary>
public const string Flexible = "Flexible";
}
}
Loading