From a0a6f8e28fc5afeba73d6f6f38a0196bcfb943a5 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 19 Aug 2021 09:07:52 +0000 Subject: [PATCH] CodeGen from PR 15691 in Azure/azure-rest-api-specs Merge e10698d11f5ff0794acba3fd968297119929ad82 into 30d1537f0c9aa49e6e04401b1d16f612b31231e7 --- .../src/Generated/AccountsOperations.cs | 364 ++++++++++++++++++ .../Generated/AccountsOperationsExtensions.cs | 74 ++++ .../AzureNetAppFilesManagementClient.cs | 2 +- .../src/Generated/IAccountsOperations.cs | 47 +++ .../Generated/ISnapshotPoliciesOperations.cs | 14 +- .../src/Generated/ISnapshotsOperations.cs | 14 +- .../src/Generated/Models/AvsDataStore.cs | 28 ++ .../src/Generated/Models/BackupPolicy.cs | 37 +- .../Generated/Models/BackupPolicyDetails.cs | 27 +- .../src/Generated/Models/BackupPolicyPatch.cs | 27 +- .../src/Generated/Models/CapacityPool.cs | 30 +- .../src/Generated/Models/CapacityPoolPatch.cs | 15 +- .../src/Generated/Models/EncryptionType.cs | 28 ++ .../Generated/Models/MetricAggregationType.cs | 21 + .../Generated/Models/MetricSpecification.cs | 44 ++- .../src/Generated/Models/NetAppAccount.cs | 12 +- .../src/Generated/Models/ServiceLevel.cs | 4 + .../src/Generated/Models/SnapshotPolicy.cs | 12 +- .../src/Generated/Models/Volume.cs | 106 ++++- .../src/Generated/Models/VolumePatch.cs | 67 +++- .../SdkInfo_NetAppManagementClient.cs | 33 +- .../Generated/SnapshotPoliciesOperations.cs | 14 +- .../SnapshotPoliciesOperationsExtensions.cs | 28 +- .../src/Generated/SnapshotsOperations.cs | 14 +- .../SnapshotsOperationsExtensions.cs | 28 +- 25 files changed, 912 insertions(+), 178 deletions(-) create mode 100644 sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/AvsDataStore.cs create mode 100644 sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/EncryptionType.cs create mode 100644 sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/MetricAggregationType.cs diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/AccountsOperations.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/AccountsOperations.cs index c9cdc864d3949..7e8ed09b5215a 100644 --- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/AccountsOperations.cs +++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/AccountsOperations.cs @@ -50,6 +50,194 @@ internal AccountsOperations(AzureNetAppFilesManagementClient client) /// public AzureNetAppFilesManagementClient Client { get; private set; } + /// + /// Describe all NetApp Accounts in a subscription + /// + /// + /// List and describe all NetApp accounts in the subscription. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListBySubscriptionWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.ApiVersion != null) + { + if (Client.ApiVersion.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); + } + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListBySubscription", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.NetApp/netAppAccounts").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Describe all NetApp Accounts in a resource group /// @@ -1274,6 +1462,182 @@ internal AccountsOperations(AzureNetAppFilesManagementClient client) return _result; } + /// + /// Describe all NetApp Accounts in a subscription + /// + /// + /// List and describe all NetApp accounts in the subscription. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListBySubscriptionNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListBySubscriptionNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Describe all NetApp Accounts in a resource group /// diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/AccountsOperationsExtensions.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/AccountsOperationsExtensions.cs index b8d0557052be4..94317ddb2efbb 100644 --- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/AccountsOperationsExtensions.cs +++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/AccountsOperationsExtensions.cs @@ -21,6 +21,40 @@ namespace Microsoft.Azure.Management.NetApp /// public static partial class AccountsOperationsExtensions { + /// + /// Describe all NetApp Accounts in a subscription + /// + /// + /// List and describe all NetApp accounts in the subscription. + /// + /// + /// The operations group for this extension method. + /// + public static IPage ListBySubscription(this IAccountsOperations operations) + { + return operations.ListBySubscriptionAsync().GetAwaiter().GetResult(); + } + + /// + /// Describe all NetApp Accounts in a subscription + /// + /// + /// List and describe all NetApp accounts in the subscription. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The cancellation token. + /// + public static async Task> ListBySubscriptionAsync(this IAccountsOperations operations, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListBySubscriptionWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// Describe all NetApp Accounts in a resource group /// @@ -401,6 +435,46 @@ public static NetAppAccount BeginUpdate(this IAccountsOperations operations, Net } } + /// + /// Describe all NetApp Accounts in a subscription + /// + /// + /// List and describe all NetApp accounts in the subscription. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListBySubscriptionNext(this IAccountsOperations operations, string nextPageLink) + { + return operations.ListBySubscriptionNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Describe all NetApp Accounts in a subscription + /// + /// + /// List and describe all NetApp accounts in the subscription. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListBySubscriptionNextAsync(this IAccountsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListBySubscriptionNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// Describe all NetApp Accounts in a resource group /// diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/AzureNetAppFilesManagementClient.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/AzureNetAppFilesManagementClient.cs index d00bee4fd0579..929f17078ce48 100644 --- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/AzureNetAppFilesManagementClient.cs +++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/AzureNetAppFilesManagementClient.cs @@ -384,7 +384,7 @@ private void Initialize() BackupPolicies = new BackupPoliciesOperations(this); Vaults = new VaultsOperations(this); BaseUri = new System.Uri("https://management.azure.com"); - ApiVersion = "2021-04-01"; + ApiVersion = "2021-06-01"; AcceptLanguage = "en-US"; LongRunningOperationRetryTimeout = 30; GenerateClientRequestId = true; diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/IAccountsOperations.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/IAccountsOperations.cs index 5d603460b3ed1..e7c467ee81dc6 100644 --- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/IAccountsOperations.cs +++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/IAccountsOperations.cs @@ -23,6 +23,28 @@ namespace Microsoft.Azure.Management.NetApp /// public partial interface IAccountsOperations { + /// + /// Describe all NetApp Accounts in a subscription + /// + /// + /// List and describe all NetApp accounts in the subscription. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListBySubscriptionWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Describe all NetApp Accounts in a resource group /// @@ -253,6 +275,31 @@ public partial interface IAccountsOperations /// Task> BeginUpdateWithHttpMessagesAsync(NetAppAccountPatch body, string resourceGroupName, string accountName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Describe all NetApp Accounts in a subscription + /// + /// + /// List and describe all NetApp accounts in the subscription. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListBySubscriptionNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Describe all NetApp Accounts in a resource group /// /// diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/ISnapshotPoliciesOperations.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/ISnapshotPoliciesOperations.cs index 548391655b5b0..21faa038066b4 100644 --- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/ISnapshotPoliciesOperations.cs +++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/ISnapshotPoliciesOperations.cs @@ -58,7 +58,7 @@ public partial interface ISnapshotPoliciesOperations /// The name of the NetApp account /// /// - /// The name of the snapshot policy target + /// The name of the snapshot policy /// /// /// The headers that will be added to request. @@ -89,7 +89,7 @@ public partial interface ISnapshotPoliciesOperations /// The name of the NetApp account /// /// - /// The name of the snapshot policy target + /// The name of the snapshot policy /// /// /// The headers that will be added to request. @@ -120,7 +120,7 @@ public partial interface ISnapshotPoliciesOperations /// The name of the NetApp account /// /// - /// The name of the snapshot policy target + /// The name of the snapshot policy /// /// /// The headers that will be added to request. @@ -148,7 +148,7 @@ public partial interface ISnapshotPoliciesOperations /// The name of the NetApp account /// /// - /// The name of the snapshot policy target + /// The name of the snapshot policy /// /// /// The headers that will be added to request. @@ -176,7 +176,7 @@ public partial interface ISnapshotPoliciesOperations /// The name of the NetApp account /// /// - /// The name of the snapshot policy target + /// The name of the snapshot policy /// /// /// The headers that will be added to request. @@ -207,7 +207,7 @@ public partial interface ISnapshotPoliciesOperations /// The name of the NetApp account /// /// - /// The name of the snapshot policy target + /// The name of the snapshot policy /// /// /// The headers that will be added to request. @@ -235,7 +235,7 @@ public partial interface ISnapshotPoliciesOperations /// The name of the NetApp account /// /// - /// The name of the snapshot policy target + /// The name of the snapshot policy /// /// /// The headers that will be added to request. diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/ISnapshotsOperations.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/ISnapshotsOperations.cs index edf541e4dd0f8..d86fc80514e25 100644 --- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/ISnapshotsOperations.cs +++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/ISnapshotsOperations.cs @@ -76,7 +76,7 @@ public partial interface ISnapshotsOperations /// The name of the volume /// /// - /// The name of the mount target + /// The name of the snapshot /// /// /// The headers that will be added to request. @@ -116,7 +116,7 @@ public partial interface ISnapshotsOperations /// The name of the volume /// /// - /// The name of the mount target + /// The name of the snapshot /// /// /// The headers that will be added to request. @@ -156,7 +156,7 @@ public partial interface ISnapshotsOperations /// The name of the volume /// /// - /// The name of the mount target + /// The name of the snapshot /// /// /// The headers that will be added to request. @@ -193,7 +193,7 @@ public partial interface ISnapshotsOperations /// The name of the volume /// /// - /// The name of the mount target + /// The name of the snapshot /// /// /// The headers that will be added to request. @@ -230,7 +230,7 @@ public partial interface ISnapshotsOperations /// The name of the volume /// /// - /// The name of the mount target + /// The name of the snapshot /// /// /// The headers that will be added to request. @@ -270,7 +270,7 @@ public partial interface ISnapshotsOperations /// The name of the volume /// /// - /// The name of the mount target + /// The name of the snapshot /// /// /// The headers that will be added to request. @@ -307,7 +307,7 @@ public partial interface ISnapshotsOperations /// The name of the volume /// /// - /// The name of the mount target + /// The name of the snapshot /// /// /// The headers that will be added to request. diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/AvsDataStore.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/AvsDataStore.cs new file mode 100644 index 0000000000000..ef6800bb09ad2 --- /dev/null +++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/AvsDataStore.cs @@ -0,0 +1,28 @@ +// +// 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 +{ + + /// + /// Defines values for AvsDataStore. + /// + public static class AvsDataStore + { + /// + /// avsDataStore is enabled + /// + public const string Enabled = "Enabled"; + /// + /// avsDataStore is disabled + /// + public const string Disabled = "Disabled"; + } +} diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/BackupPolicy.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/BackupPolicy.cs index e639960b9b658..9339ff74f4e81 100644 --- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/BackupPolicy.cs +++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/BackupPolicy.cs @@ -38,9 +38,12 @@ public BackupPolicy() /// Resource location /// Resource Id /// Resource name + /// A unique read-only string that changes whenever + /// the resource is updated. /// Resource type /// Resource tags /// Name of backup policy + /// Backup Policy Resource ID /// Azure lifecycle management /// Daily backups count to /// keep @@ -48,27 +51,26 @@ public BackupPolicy() /// keep /// Monthly backups count to /// keep - /// Yearly backups count to - /// keep /// Volumes using current backup /// policy /// The property to decide policy is enabled or /// not /// A list of volumes assigned to this /// policy - public BackupPolicy(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string name1 = default(string), string provisioningState = default(string), int? dailyBackupsToKeep = default(int?), int? weeklyBackupsToKeep = default(int?), int? monthlyBackupsToKeep = default(int?), int? yearlyBackupsToKeep = default(int?), int? volumesAssigned = default(int?), bool? enabled = default(bool?), IList volumeBackups = default(IList)) + public BackupPolicy(string location, string id = default(string), string name = default(string), string etag = default(string), string type = default(string), IDictionary tags = default(IDictionary), string name1 = default(string), string backupPolicyId = default(string), string provisioningState = default(string), int? dailyBackupsToKeep = default(int?), int? weeklyBackupsToKeep = default(int?), int? monthlyBackupsToKeep = default(int?), int? volumesAssigned = default(int?), bool? enabled = default(bool?), IList volumeBackups = default(IList)) { Location = location; Id = id; Name = name; + Etag = etag; Type = type; Tags = tags; Name1 = name1; + BackupPolicyId = backupPolicyId; ProvisioningState = provisioningState; DailyBackupsToKeep = dailyBackupsToKeep; WeeklyBackupsToKeep = weeklyBackupsToKeep; MonthlyBackupsToKeep = monthlyBackupsToKeep; - YearlyBackupsToKeep = yearlyBackupsToKeep; VolumesAssigned = volumesAssigned; Enabled = enabled; VolumeBackups = volumeBackups; @@ -98,6 +100,13 @@ public BackupPolicy() [JsonProperty(PropertyName = "name")] public string Name { get; private set; } + /// + /// Gets a unique read-only string that changes whenever the resource + /// is updated. + /// + [JsonProperty(PropertyName = "etag")] + public string Etag { get; private set; } + /// /// Gets resource type /// @@ -116,6 +125,12 @@ public BackupPolicy() [JsonProperty(PropertyName = "properties.name")] public string Name1 { get; private set; } + /// + /// Gets backup Policy Resource ID + /// + [JsonProperty(PropertyName = "properties.backupPolicyId")] + public string BackupPolicyId { get; private set; } + /// /// Gets azure lifecycle management /// @@ -141,16 +156,10 @@ public BackupPolicy() public int? MonthlyBackupsToKeep { get; set; } /// - /// Gets or sets yearly backups count to keep - /// - [JsonProperty(PropertyName = "properties.yearlyBackupsToKeep")] - public int? YearlyBackupsToKeep { get; set; } - - /// - /// Gets or sets volumes using current backup policy + /// Gets volumes using current backup policy /// [JsonProperty(PropertyName = "properties.volumesAssigned")] - public int? VolumesAssigned { get; set; } + public int? VolumesAssigned { get; private set; } /// /// Gets or sets the property to decide policy is enabled or not @@ -159,10 +168,10 @@ public BackupPolicy() public bool? Enabled { get; set; } /// - /// Gets or sets a list of volumes assigned to this policy + /// Gets a list of volumes assigned to this policy /// [JsonProperty(PropertyName = "properties.volumeBackups")] - public IList VolumeBackups { get; set; } + public IList VolumeBackups { get; private set; } /// /// Validate the object. diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/BackupPolicyDetails.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/BackupPolicyDetails.cs index 5cb32aaf56b33..d91b6c5528c53 100644 --- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/BackupPolicyDetails.cs +++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/BackupPolicyDetails.cs @@ -41,6 +41,7 @@ public BackupPolicyDetails() /// Resource type /// Resource tags /// Name of backup policy + /// Backup Policy Resource ID /// Azure lifecycle management /// Daily backups count to /// keep @@ -48,15 +49,13 @@ public BackupPolicyDetails() /// keep /// Monthly backups count to /// keep - /// Yearly backups count to - /// keep /// Volumes using current backup /// policy /// The property to decide policy is enabled or /// not /// A list of volumes assigned to this /// policy - public BackupPolicyDetails(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string name1 = default(string), string provisioningState = default(string), int? dailyBackupsToKeep = default(int?), int? weeklyBackupsToKeep = default(int?), int? monthlyBackupsToKeep = default(int?), int? yearlyBackupsToKeep = default(int?), int? volumesAssigned = default(int?), bool? enabled = default(bool?), IList volumeBackups = default(IList)) + public BackupPolicyDetails(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string name1 = default(string), string backupPolicyId = default(string), string provisioningState = default(string), int? dailyBackupsToKeep = default(int?), int? weeklyBackupsToKeep = default(int?), int? monthlyBackupsToKeep = default(int?), int? volumesAssigned = default(int?), bool? enabled = default(bool?), IList volumeBackups = default(IList)) { Location = location; Id = id; @@ -64,11 +63,11 @@ public BackupPolicyDetails() Type = type; Tags = tags; Name1 = name1; + BackupPolicyId = backupPolicyId; ProvisioningState = provisioningState; DailyBackupsToKeep = dailyBackupsToKeep; WeeklyBackupsToKeep = weeklyBackupsToKeep; MonthlyBackupsToKeep = monthlyBackupsToKeep; - YearlyBackupsToKeep = yearlyBackupsToKeep; VolumesAssigned = volumesAssigned; Enabled = enabled; VolumeBackups = volumeBackups; @@ -116,6 +115,12 @@ public BackupPolicyDetails() [JsonProperty(PropertyName = "properties.name")] public string Name1 { get; private set; } + /// + /// Gets backup Policy Resource ID + /// + [JsonProperty(PropertyName = "properties.backupPolicyId")] + public string BackupPolicyId { get; private set; } + /// /// Gets azure lifecycle management /// @@ -141,16 +146,10 @@ public BackupPolicyDetails() public int? MonthlyBackupsToKeep { get; set; } /// - /// Gets or sets yearly backups count to keep - /// - [JsonProperty(PropertyName = "properties.yearlyBackupsToKeep")] - public int? YearlyBackupsToKeep { get; set; } - - /// - /// Gets or sets volumes using current backup policy + /// Gets volumes using current backup policy /// [JsonProperty(PropertyName = "properties.volumesAssigned")] - public int? VolumesAssigned { get; set; } + public int? VolumesAssigned { get; private set; } /// /// Gets or sets the property to decide policy is enabled or not @@ -159,10 +158,10 @@ public BackupPolicyDetails() public bool? Enabled { get; set; } /// - /// Gets or sets a list of volumes assigned to this policy + /// Gets a list of volumes assigned to this policy /// [JsonProperty(PropertyName = "properties.volumeBackups")] - public IList VolumeBackups { get; set; } + public IList VolumeBackups { get; private set; } } } diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/BackupPolicyPatch.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/BackupPolicyPatch.cs index af8c0407aca65..2129f2c1eedad 100644 --- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/BackupPolicyPatch.cs +++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/BackupPolicyPatch.cs @@ -41,6 +41,7 @@ public BackupPolicyPatch() /// Resource type /// Resource tags /// Name of backup policy + /// Backup Policy Resource ID /// Azure lifecycle management /// Daily backups count to /// keep @@ -48,15 +49,13 @@ public BackupPolicyPatch() /// keep /// Monthly backups count to /// keep - /// Yearly backups count to - /// keep /// Volumes using current backup /// policy /// The property to decide policy is enabled or /// not /// A list of volumes assigned to this /// policy - public BackupPolicyPatch(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string name1 = default(string), string provisioningState = default(string), int? dailyBackupsToKeep = default(int?), int? weeklyBackupsToKeep = default(int?), int? monthlyBackupsToKeep = default(int?), int? yearlyBackupsToKeep = default(int?), int? volumesAssigned = default(int?), bool? enabled = default(bool?), IList volumeBackups = default(IList)) + public BackupPolicyPatch(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string name1 = default(string), string backupPolicyId = default(string), string provisioningState = default(string), int? dailyBackupsToKeep = default(int?), int? weeklyBackupsToKeep = default(int?), int? monthlyBackupsToKeep = default(int?), int? volumesAssigned = default(int?), bool? enabled = default(bool?), IList volumeBackups = default(IList)) { Location = location; Id = id; @@ -64,11 +63,11 @@ public BackupPolicyPatch() Type = type; Tags = tags; Name1 = name1; + BackupPolicyId = backupPolicyId; ProvisioningState = provisioningState; DailyBackupsToKeep = dailyBackupsToKeep; WeeklyBackupsToKeep = weeklyBackupsToKeep; MonthlyBackupsToKeep = monthlyBackupsToKeep; - YearlyBackupsToKeep = yearlyBackupsToKeep; VolumesAssigned = volumesAssigned; Enabled = enabled; VolumeBackups = volumeBackups; @@ -116,6 +115,12 @@ public BackupPolicyPatch() [JsonProperty(PropertyName = "properties.name")] public string Name1 { get; private set; } + /// + /// Gets backup Policy Resource ID + /// + [JsonProperty(PropertyName = "properties.backupPolicyId")] + public string BackupPolicyId { get; private set; } + /// /// Gets azure lifecycle management /// @@ -141,16 +146,10 @@ public BackupPolicyPatch() public int? MonthlyBackupsToKeep { get; set; } /// - /// Gets or sets yearly backups count to keep - /// - [JsonProperty(PropertyName = "properties.yearlyBackupsToKeep")] - public int? YearlyBackupsToKeep { get; set; } - - /// - /// Gets or sets volumes using current backup policy + /// Gets volumes using current backup policy /// [JsonProperty(PropertyName = "properties.volumesAssigned")] - public int? VolumesAssigned { get; set; } + public int? VolumesAssigned { get; private set; } /// /// Gets or sets the property to decide policy is enabled or not @@ -159,10 +158,10 @@ public BackupPolicyPatch() public bool? Enabled { get; set; } /// - /// Gets or sets a list of volumes assigned to this policy + /// Gets a list of volumes assigned to this policy /// [JsonProperty(PropertyName = "properties.volumeBackups")] - public IList VolumeBackups { get; set; } + public IList VolumeBackups { get; private set; } } } diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/CapacityPool.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/CapacityPool.cs index 16ed2af390be3..61b4137454219 100644 --- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/CapacityPool.cs +++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/CapacityPool.cs @@ -40,6 +40,8 @@ public CapacityPool() /// serviceLevel /// Resource Id /// Resource name + /// A unique read-only string that changes whenever + /// the resource is updated. /// Resource type /// Resource tags /// poolId @@ -51,11 +53,13 @@ public CapacityPool() /// qosType /// If enabled (true) the pool can contain /// cool Access enabled volumes. - public CapacityPool(string location, long size, string serviceLevel, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string poolId = default(string), string provisioningState = default(string), double? totalThroughputMibps = default(double?), double? utilizedThroughputMibps = default(double?), string qosType = default(string), bool? coolAccess = default(bool?)) + /// encryptionType + public CapacityPool(string location, long size, string serviceLevel, string id = default(string), string name = default(string), string etag = default(string), string type = default(string), IDictionary tags = default(IDictionary), 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)) { Location = location; Id = id; Name = name; + Etag = etag; Type = type; Tags = tags; PoolId = poolId; @@ -66,6 +70,7 @@ public CapacityPool() UtilizedThroughputMibps = utilizedThroughputMibps; QosType = qosType; CoolAccess = coolAccess; + EncryptionType = encryptionType; CustomInit(); } @@ -92,6 +97,13 @@ public CapacityPool() [JsonProperty(PropertyName = "name")] public string Name { get; private set; } + /// + /// Gets a unique read-only string that changes whenever the resource + /// is updated. + /// + [JsonProperty(PropertyName = "etag")] + public string Etag { get; private set; } + /// /// Gets resource type /// @@ -127,8 +139,8 @@ public CapacityPool() /// Gets or sets serviceLevel /// /// - /// The service level of the file system. Possible values include: - /// 'Standard', 'Premium', 'Ultra' + /// Possible values include: 'Standard', 'Premium', 'Ultra', + /// 'StandardZRS' /// [JsonProperty(PropertyName = "properties.serviceLevel")] public string ServiceLevel { get; set; } @@ -167,6 +179,18 @@ public CapacityPool() [JsonProperty(PropertyName = "properties.coolAccess")] public bool? CoolAccess { get; set; } + /// + /// Gets or sets encryptionType + /// + /// + /// Encryption type of the capacity pool, set encryption type for data + /// at rest for this pool and all volumes in it. This value can only be + /// set when creating new pool. Possible values include: 'Single', + /// 'Double' + /// + [JsonProperty(PropertyName = "properties.encryptionType")] + public string EncryptionType { get; set; } + /// /// Validate the object. /// diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/CapacityPoolPatch.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/CapacityPoolPatch.cs index b4113f746648f..a1824484d4bf2 100644 --- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/CapacityPoolPatch.cs +++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/CapacityPoolPatch.cs @@ -116,16 +116,13 @@ public CapacityPoolPatch() /// public virtual void Validate() { - if (Size != null) + if (Size > 549755813888000) { - if (Size > 549755813888000) - { - throw new ValidationException(ValidationRules.InclusiveMaximum, "Size", 549755813888000); - } - if (Size < 4398046511104) - { - throw new ValidationException(ValidationRules.InclusiveMinimum, "Size", 4398046511104); - } + throw new ValidationException(ValidationRules.InclusiveMaximum, "Size", 549755813888000); + } + if (Size < 4398046511104) + { + throw new ValidationException(ValidationRules.InclusiveMinimum, "Size", 4398046511104); } } } diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/EncryptionType.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/EncryptionType.cs new file mode 100644 index 0000000000000..ff4d29dfe516c --- /dev/null +++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/EncryptionType.cs @@ -0,0 +1,28 @@ +// +// 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 +{ + + /// + /// Defines values for EncryptionType. + /// + public static class EncryptionType + { + /// + /// EncryptionType Single, volumes will use single encryption at rest + /// + public const string Single = "Single"; + /// + /// EncryptionType Double, volumes will use double encryption at rest + /// + public const string Double = "Double"; + } +} diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/MetricAggregationType.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/MetricAggregationType.cs new file mode 100644 index 0000000000000..c2dd2f5d1c48c --- /dev/null +++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/MetricAggregationType.cs @@ -0,0 +1,21 @@ +// +// 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 +{ + + /// + /// Defines values for MetricAggregationType. + /// + public static class MetricAggregationType + { + public const string Average = "Average"; + } +} diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/MetricSpecification.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/MetricSpecification.cs index e48dcfb075336..1f2361becbc5a 100644 --- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/MetricSpecification.cs +++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/MetricSpecification.cs @@ -37,6 +37,13 @@ public MetricSpecification() /// Display description of metric /// specification. /// Unit could be Bytes or Count. + /// Support metric aggregation + /// type. + /// The supported time grain + /// types for the metrics. + /// The internal metric name. + /// The source MDM account. + /// The source MDM namespace. /// Dimensions of blobs, including blob type /// and access tier. /// Aggregation type could be @@ -47,12 +54,17 @@ public MetricSpecification() /// belong to, could be Capacity. /// Account Resource /// Id. - public MetricSpecification(string name = default(string), string displayName = default(string), string displayDescription = default(string), string unit = default(string), IList dimensions = default(IList), string aggregationType = default(string), bool? fillGapWithZero = default(bool?), string category = default(string), string resourceIdDimensionNameOverride = default(string)) + public MetricSpecification(string name = default(string), string displayName = default(string), string displayDescription = default(string), string unit = default(string), IList supportedAggregationTypes = default(IList), IList supportedTimeGrainTypes = default(IList), string internalMetricName = default(string), string sourceMdmAccount = default(string), string sourceMdmNamespace = default(string), IList dimensions = default(IList), string aggregationType = default(string), bool? fillGapWithZero = default(bool?), string category = default(string), string resourceIdDimensionNameOverride = default(string)) { Name = name; DisplayName = displayName; DisplayDescription = displayDescription; Unit = unit; + SupportedAggregationTypes = supportedAggregationTypes; + SupportedTimeGrainTypes = supportedTimeGrainTypes; + InternalMetricName = internalMetricName; + SourceMdmAccount = sourceMdmAccount; + SourceMdmNamespace = sourceMdmNamespace; Dimensions = dimensions; AggregationType = aggregationType; FillGapWithZero = fillGapWithZero; @@ -90,6 +102,36 @@ public MetricSpecification() [JsonProperty(PropertyName = "unit")] public string Unit { get; set; } + /// + /// Gets or sets support metric aggregation type. + /// + [JsonProperty(PropertyName = "supportedAggregationTypes")] + public IList SupportedAggregationTypes { get; set; } + + /// + /// Gets or sets the supported time grain types for the metrics. + /// + [JsonProperty(PropertyName = "supportedTimeGrainTypes")] + public IList SupportedTimeGrainTypes { get; set; } + + /// + /// Gets or sets the internal metric name. + /// + [JsonProperty(PropertyName = "internalMetricName")] + public string InternalMetricName { get; set; } + + /// + /// Gets or sets the source MDM account. + /// + [JsonProperty(PropertyName = "sourceMdmAccount")] + public string SourceMdmAccount { get; set; } + + /// + /// Gets or sets the source MDM namespace. + /// + [JsonProperty(PropertyName = "sourceMdmNamespace")] + public string SourceMdmNamespace { get; set; } + /// /// Gets or sets dimensions of blobs, including blob type and access /// tier. diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/NetAppAccount.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/NetAppAccount.cs index 5288875ffe445..92cc373accb4b 100644 --- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/NetAppAccount.cs +++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/NetAppAccount.cs @@ -38,6 +38,8 @@ public NetAppAccount() /// Resource location /// Resource Id /// Resource name + /// A unique read-only string that changes whenever + /// the resource is updated. /// Resource type /// Resource tags /// Azure lifecycle management @@ -45,11 +47,12 @@ public NetAppAccount() /// Encryption settings /// The system meta data relating to this /// resource. - public NetAppAccount(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string provisioningState = default(string), IList activeDirectories = default(IList), AccountEncryption encryption = default(AccountEncryption), SystemData systemData = default(SystemData)) + public NetAppAccount(string location, string id = default(string), string name = default(string), string etag = default(string), string type = default(string), IDictionary tags = default(IDictionary), string provisioningState = default(string), IList activeDirectories = default(IList), AccountEncryption encryption = default(AccountEncryption), SystemData systemData = default(SystemData)) { Location = location; Id = id; Name = name; + Etag = etag; Type = type; Tags = tags; ProvisioningState = provisioningState; @@ -82,6 +85,13 @@ public NetAppAccount() [JsonProperty(PropertyName = "name")] public string Name { get; private set; } + /// + /// Gets a unique read-only string that changes whenever the resource + /// is updated. + /// + [JsonProperty(PropertyName = "etag")] + public string Etag { get; private set; } + /// /// Gets resource type /// diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/ServiceLevel.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/ServiceLevel.cs index f2c2b9ed34d3d..ff8ebb82c26de 100644 --- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/ServiceLevel.cs +++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/ServiceLevel.cs @@ -28,5 +28,9 @@ public static class ServiceLevel /// Ultra service level /// public const string Ultra = "Ultra"; + /// + /// Zone redundant storage service level + /// + public const string StandardZRS = "StandardZRS"; } } diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/SnapshotPolicy.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/SnapshotPolicy.cs index 269187f0e8b08..d7e26e947a6c5 100644 --- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/SnapshotPolicy.cs +++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/SnapshotPolicy.cs @@ -38,6 +38,8 @@ public SnapshotPolicy() /// Resource location /// Resource Id /// Resource name + /// A unique read-only string that changes whenever + /// the resource is updated. /// Resource type /// Resource tags /// hourlySchedule @@ -47,11 +49,12 @@ public SnapshotPolicy() /// The property to decide policy is enabled or /// not /// Azure lifecycle management - public SnapshotPolicy(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), HourlySchedule hourlySchedule = default(HourlySchedule), DailySchedule dailySchedule = default(DailySchedule), WeeklySchedule weeklySchedule = default(WeeklySchedule), MonthlySchedule monthlySchedule = default(MonthlySchedule), bool? enabled = default(bool?), string provisioningState = default(string)) + public SnapshotPolicy(string location, string id = default(string), string name = default(string), string etag = default(string), string type = default(string), IDictionary tags = default(IDictionary), HourlySchedule hourlySchedule = default(HourlySchedule), DailySchedule dailySchedule = default(DailySchedule), WeeklySchedule weeklySchedule = default(WeeklySchedule), MonthlySchedule monthlySchedule = default(MonthlySchedule), bool? enabled = default(bool?), string provisioningState = default(string)) { Location = location; Id = id; Name = name; + Etag = etag; Type = type; Tags = tags; HourlySchedule = hourlySchedule; @@ -86,6 +89,13 @@ public SnapshotPolicy() [JsonProperty(PropertyName = "name")] public string Name { get; private set; } + /// + /// Gets a unique read-only string that changes whenever the resource + /// is updated. + /// + [JsonProperty(PropertyName = "etag")] + public string Etag { get; private set; } + /// /// Gets resource type /// diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/Volume.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/Volume.cs index d45998fceb224..75c7728005a1f 100644 --- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/Volume.cs +++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/Volume.cs @@ -42,6 +42,8 @@ public Volume() /// subnet. Must have the delegation Microsoft.NetApp/volumes /// Resource Id /// Resource name + /// A unique read-only string that changes whenever + /// the resource is updated. /// Resource type /// Resource tags /// FileSystem ID @@ -89,11 +91,26 @@ public Volume() /// same group. the fourth for other users not in the group. 0755 - /// gives read/write/execute permissions to owner and read/execute to /// group and other users. - public Volume(string location, string creationToken, long usageThreshold, string subnetId, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string fileSystemId = default(string), string serviceLevel = default(string), VolumePropertiesExportPolicy exportPolicy = default(VolumePropertiesExportPolicy), IList protocolTypes = default(IList), string provisioningState = default(string), string snapshotId = default(string), string backupId = default(string), string baremetalTenantId = default(string), IList mountTargets = default(IList), string volumeType = default(string), VolumePropertiesDataProtection dataProtection = default(VolumePropertiesDataProtection), bool? isRestoring = default(bool?), bool? snapshotDirectoryVisible = default(bool?), bool? kerberosEnabled = default(bool?), string securityStyle = default(string), bool? smbEncryption = default(bool?), bool? smbContinuouslyAvailable = default(bool?), double? throughputMibps = default(double?), string encryptionKeySource = default(string), bool? ldapEnabled = default(bool?), bool? coolAccess = default(bool?), int? coolnessPeriod = default(int?), string unixPermissions = default(string)) + /// When a volume is being restored from + /// another volume's snapshot, will show the percentage completion of + /// this cloning process. When this value is empty/null there is no + /// cloning process currently happening on this volume. This value will + /// update every 5 minutes during cloning. + /// avsDataStore + /// Specifies if default quota is + /// enabled for the volume. + /// Default user quota for volume + /// in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 + /// KiBs applies . + /// Default group quota for + /// volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value + /// of 4 KiBs applies. + public Volume(string location, string creationToken, long usageThreshold, string subnetId, string id = default(string), string name = default(string), string etag = default(string), string type = default(string), IDictionary tags = default(IDictionary), string fileSystemId = default(string), string serviceLevel = default(string), VolumePropertiesExportPolicy exportPolicy = default(VolumePropertiesExportPolicy), IList protocolTypes = default(IList), string provisioningState = default(string), string snapshotId = default(string), string backupId = default(string), string baremetalTenantId = default(string), IList mountTargets = default(IList), string volumeType = default(string), VolumePropertiesDataProtection dataProtection = default(VolumePropertiesDataProtection), bool? isRestoring = default(bool?), bool? snapshotDirectoryVisible = default(bool?), bool? kerberosEnabled = default(bool?), string securityStyle = default(string), bool? smbEncryption = default(bool?), bool? smbContinuouslyAvailable = default(bool?), double? throughputMibps = default(double?), string encryptionKeySource = default(string), bool? ldapEnabled = default(bool?), bool? coolAccess = default(bool?), int? coolnessPeriod = default(int?), string unixPermissions = default(string), int? cloneProgress = default(int?), string avsDataStore = default(string), bool? isDefaultQuotaEnabled = default(bool?), long? defaultUserQuotaInKiBs = default(long?), long? defaultGroupQuotaInKiBs = default(long?)) { Location = location; Id = id; Name = name; + Etag = etag; Type = type; Tags = tags; FileSystemId = fileSystemId; @@ -122,6 +139,11 @@ public Volume() CoolAccess = coolAccess; CoolnessPeriod = coolnessPeriod; UnixPermissions = unixPermissions; + CloneProgress = cloneProgress; + AvsDataStore = avsDataStore; + IsDefaultQuotaEnabled = isDefaultQuotaEnabled; + DefaultUserQuotaInKiBs = defaultUserQuotaInKiBs; + DefaultGroupQuotaInKiBs = defaultGroupQuotaInKiBs; CustomInit(); } @@ -148,6 +170,13 @@ public Volume() [JsonProperty(PropertyName = "name")] public string Name { get; private set; } + /// + /// Gets a unique read-only string that changes whenever the resource + /// is updated. + /// + [JsonProperty(PropertyName = "etag")] + public string Etag { get; private set; } + /// /// Gets resource type /// @@ -182,8 +211,8 @@ public Volume() /// Gets or sets serviceLevel /// /// - /// The service level of the file system. Possible values include: - /// 'Standard', 'Premium', 'Ultra' + /// Possible values include: 'Standard', 'Premium', 'Ultra', + /// 'StandardZRS' /// [JsonProperty(PropertyName = "properties.serviceLevel")] public string ServiceLevel { get; set; } @@ -373,6 +402,47 @@ public Volume() [JsonProperty(PropertyName = "properties.unixPermissions")] public string UnixPermissions { get; set; } + /// + /// Gets when a volume is being restored from another volume's + /// snapshot, will show the percentage completion of this cloning + /// process. When this value is empty/null there is no cloning process + /// currently happening on this volume. This value will update every 5 + /// minutes during cloning. + /// + [JsonProperty(PropertyName = "properties.cloneProgress")] + public int? CloneProgress { get; private set; } + + /// + /// Gets or sets avsDataStore + /// + /// + /// Specifies whether the volume is enabled for Azure VMware Solution + /// (AVS) datastore purpose. Possible values include: 'Enabled', + /// 'Disabled' + /// + [JsonProperty(PropertyName = "properties.avsDataStore")] + public string AvsDataStore { get; set; } + + /// + /// Gets or sets specifies if default quota is enabled for the volume. + /// + [JsonProperty(PropertyName = "properties.isDefaultQuotaEnabled")] + public bool? IsDefaultQuotaEnabled { get; set; } + + /// + /// Gets or sets default user quota for volume in KiBs. If + /// isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies . + /// + [JsonProperty(PropertyName = "properties.defaultUserQuotaInKiBs")] + public long? DefaultUserQuotaInKiBs { get; set; } + + /// + /// Gets or sets default group quota for volume in KiBs. If + /// isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies. + /// + [JsonProperty(PropertyName = "properties.defaultGroupQuotaInKiBs")] + public long? DefaultGroupQuotaInKiBs { get; set; } + /// /// Validate the object. /// @@ -475,27 +545,21 @@ public virtual void Validate() { DataProtection.Validate(); } - if (ThroughputMibps != null) + if (ThroughputMibps > 4500) { - if (ThroughputMibps > 4500) - { - throw new ValidationException(ValidationRules.InclusiveMaximum, "ThroughputMibps", 4500); - } - if (ThroughputMibps < 0) - { - throw new ValidationException(ValidationRules.InclusiveMinimum, "ThroughputMibps", 0); - } + throw new ValidationException(ValidationRules.InclusiveMaximum, "ThroughputMibps", 4500); } - if (CoolnessPeriod != null) + if (ThroughputMibps < 0) { - if (CoolnessPeriod > 63) - { - throw new ValidationException(ValidationRules.InclusiveMaximum, "CoolnessPeriod", 63); - } - if (CoolnessPeriod < 7) - { - throw new ValidationException(ValidationRules.InclusiveMinimum, "CoolnessPeriod", 7); - } + throw new ValidationException(ValidationRules.InclusiveMinimum, "ThroughputMibps", 0); + } + if (CoolnessPeriod > 63) + { + throw new ValidationException(ValidationRules.InclusiveMaximum, "CoolnessPeriod", 63); + } + if (CoolnessPeriod < 7) + { + throw new ValidationException(ValidationRules.InclusiveMinimum, "CoolnessPeriod", 7); } if (UnixPermissions != null) { diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/VolumePatch.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/VolumePatch.cs index 70212c81a0b95..f097ba32c7df9 100644 --- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/VolumePatch.cs +++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/Models/VolumePatch.cs @@ -46,7 +46,15 @@ public VolumePatch() /// Maximum throughput in Mibps that can /// be achieved by this volume /// DataProtection - public VolumePatch(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string serviceLevel = default(string), long? usageThreshold = default(long?), VolumePatchPropertiesExportPolicy exportPolicy = default(VolumePatchPropertiesExportPolicy), double? throughputMibps = default(double?), VolumePatchPropertiesDataProtection dataProtection = default(VolumePatchPropertiesDataProtection)) + /// Specifies if default quota is + /// enabled for the volume. + /// Default user quota for volume + /// in KiBs. If isDefaultQuotaEnabled is set, the minimum value of 4 + /// KiBs applies . + /// Default group quota for + /// volume in KiBs. If isDefaultQuotaEnabled is set, the minimum value + /// of 4 KiBs applies. + public VolumePatch(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string serviceLevel = default(string), long? usageThreshold = default(long?), VolumePatchPropertiesExportPolicy exportPolicy = default(VolumePatchPropertiesExportPolicy), double? throughputMibps = default(double?), VolumePatchPropertiesDataProtection dataProtection = default(VolumePatchPropertiesDataProtection), bool? isDefaultQuotaEnabled = default(bool?), long? defaultUserQuotaInKiBs = default(long?), long? defaultGroupQuotaInKiBs = default(long?)) { Location = location; Id = id; @@ -58,6 +66,9 @@ public VolumePatch() ExportPolicy = exportPolicy; ThroughputMibps = throughputMibps; DataProtection = dataProtection; + IsDefaultQuotaEnabled = isDefaultQuotaEnabled; + DefaultUserQuotaInKiBs = defaultUserQuotaInKiBs; + DefaultGroupQuotaInKiBs = defaultGroupQuotaInKiBs; CustomInit(); } @@ -100,8 +111,8 @@ public VolumePatch() /// Gets or sets serviceLevel /// /// - /// The service level of the file system. Possible values include: - /// 'Standard', 'Premium', 'Ultra' + /// Possible values include: 'Standard', 'Premium', 'Ultra', + /// 'StandardZRS' /// [JsonProperty(PropertyName = "properties.serviceLevel")] public string ServiceLevel { get; set; } @@ -143,6 +154,26 @@ public VolumePatch() [JsonProperty(PropertyName = "properties.dataProtection")] public VolumePatchPropertiesDataProtection DataProtection { get; set; } + /// + /// Gets or sets specifies if default quota is enabled for the volume. + /// + [JsonProperty(PropertyName = "properties.isDefaultQuotaEnabled")] + public bool? IsDefaultQuotaEnabled { get; set; } + + /// + /// Gets or sets default user quota for volume in KiBs. If + /// isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies . + /// + [JsonProperty(PropertyName = "properties.defaultUserQuotaInKiBs")] + public long? DefaultUserQuotaInKiBs { get; set; } + + /// + /// Gets or sets default group quota for volume in KiBs. If + /// isDefaultQuotaEnabled is set, the minimum value of 4 KiBs applies. + /// + [JsonProperty(PropertyName = "properties.defaultGroupQuotaInKiBs")] + public long? DefaultGroupQuotaInKiBs { get; set; } + /// /// Validate the object. /// @@ -151,27 +182,21 @@ public VolumePatch() /// public virtual void Validate() { - if (UsageThreshold != null) + if (UsageThreshold > 109951162777600) + { + throw new ValidationException(ValidationRules.InclusiveMaximum, "UsageThreshold", 109951162777600); + } + if (UsageThreshold < 107374182400) + { + throw new ValidationException(ValidationRules.InclusiveMinimum, "UsageThreshold", 107374182400); + } + if (ThroughputMibps > 4500) { - if (UsageThreshold > 109951162777600) - { - throw new ValidationException(ValidationRules.InclusiveMaximum, "UsageThreshold", 109951162777600); - } - if (UsageThreshold < 107374182400) - { - throw new ValidationException(ValidationRules.InclusiveMinimum, "UsageThreshold", 107374182400); - } + throw new ValidationException(ValidationRules.InclusiveMaximum, "ThroughputMibps", 4500); } - if (ThroughputMibps != null) + if (ThroughputMibps < 1) { - if (ThroughputMibps > 4500) - { - throw new ValidationException(ValidationRules.InclusiveMaximum, "ThroughputMibps", 4500); - } - if (ThroughputMibps < 1) - { - throw new ValidationException(ValidationRules.InclusiveMinimum, "ThroughputMibps", 1); - } + throw new ValidationException(ValidationRules.InclusiveMinimum, "ThroughputMibps", 1); } } } diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/SdkInfo_NetAppManagementClient.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/SdkInfo_NetAppManagementClient.cs index e46b18bb5a79f..9cbe7cd167c3d 100644 --- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/SdkInfo_NetAppManagementClient.cs +++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/SdkInfo_NetAppManagementClient.cs @@ -19,30 +19,19 @@ public static IEnumerable> ApiInfo_NetAppManagemen { return new Tuple[] { - new Tuple("NetApp", "AccountBackups", "2021-04-01"), - new Tuple("NetApp", "Accounts", "2021-04-01"), - new Tuple("NetApp", "BackupPolicies", "2021-04-01"), - new Tuple("NetApp", "Backups", "2021-04-01"), - new Tuple("NetApp", "NetAppResource", "2021-04-01"), - new Tuple("NetApp", "Operations", "2021-04-01"), - new Tuple("NetApp", "Pools", "2021-04-01"), - new Tuple("NetApp", "SnapshotPolicies", "2021-04-01"), - new Tuple("NetApp", "Snapshots", "2021-04-01"), - new Tuple("NetApp", "Vaults", "2021-04-01"), - new Tuple("NetApp", "Volumes", "2021-04-01"), + new Tuple("NetApp", "AccountBackups", "2021-06-01"), + new Tuple("NetApp", "Accounts", "2021-06-01"), + new Tuple("NetApp", "BackupPolicies", "2021-06-01"), + new Tuple("NetApp", "Backups", "2021-06-01"), + new Tuple("NetApp", "NetAppResource", "2021-06-01"), + new Tuple("NetApp", "Operations", "2021-06-01"), + new Tuple("NetApp", "Pools", "2021-06-01"), + new Tuple("NetApp", "SnapshotPolicies", "2021-06-01"), + new Tuple("NetApp", "Snapshots", "2021-06-01"), + new Tuple("NetApp", "Vaults", "2021-06-01"), + new Tuple("NetApp", "Volumes", "2021-06-01"), }.AsEnumerable(); } } - // BEGIN: Code Generation Metadata Section - public static readonly String AutoRestVersion = "v2"; - public static readonly String AutoRestBootStrapperVersion = "autorest@1.9.1"; - public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/netapp/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --use:@microsoft.azure/autorest.csharp@2.3.90 --csharp-sdks-folder=C:\\Users\\audunn\\Source\\repos\\azure\\azure-sdk-for-net\\sdk"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "9c4f909644f4b0194bd17d02b87c3fd2cd6fb47d"; - public static readonly String CodeGenerationErrors = ""; - public static readonly String GithubRepoName = "azure-rest-api-specs"; - // END: Code Generation Metadata Section } } - diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/SnapshotPoliciesOperations.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/SnapshotPoliciesOperations.cs index 35fe98ea1e1d5..aaaaf0504d9ce 100644 --- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/SnapshotPoliciesOperations.cs +++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/SnapshotPoliciesOperations.cs @@ -278,7 +278,7 @@ internal SnapshotPoliciesOperations(AzureNetAppFilesManagementClient client) /// The name of the NetApp account /// /// - /// The name of the snapshot policy target + /// The name of the snapshot policy /// /// /// Headers that will be added to request. @@ -508,7 +508,7 @@ internal SnapshotPoliciesOperations(AzureNetAppFilesManagementClient client) /// The name of the NetApp account /// /// - /// The name of the snapshot policy target + /// The name of the snapshot policy /// /// /// Headers that will be added to request. @@ -771,7 +771,7 @@ internal SnapshotPoliciesOperations(AzureNetAppFilesManagementClient client) /// The name of the NetApp account /// /// - /// The name of the snapshot policy target + /// The name of the snapshot policy /// /// /// The headers that will be added to request. @@ -796,7 +796,7 @@ internal SnapshotPoliciesOperations(AzureNetAppFilesManagementClient client) /// The name of the NetApp account /// /// - /// The name of the snapshot policy target + /// The name of the snapshot policy /// /// /// The headers that will be added to request. @@ -824,7 +824,7 @@ internal SnapshotPoliciesOperations(AzureNetAppFilesManagementClient client) /// The name of the NetApp account /// /// - /// The name of the snapshot policy target + /// The name of the snapshot policy /// /// /// Headers that will be added to request. @@ -1054,7 +1054,7 @@ internal SnapshotPoliciesOperations(AzureNetAppFilesManagementClient client) /// The name of the NetApp account /// /// - /// The name of the snapshot policy target + /// The name of the snapshot policy /// /// /// Headers that will be added to request. @@ -1310,7 +1310,7 @@ internal SnapshotPoliciesOperations(AzureNetAppFilesManagementClient client) /// The name of the NetApp account /// /// - /// The name of the snapshot policy target + /// The name of the snapshot policy /// /// /// Headers that will be added to request. diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/SnapshotPoliciesOperationsExtensions.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/SnapshotPoliciesOperationsExtensions.cs index 9424eb40c9f38..a64c4ede217c4 100644 --- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/SnapshotPoliciesOperationsExtensions.cs +++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/SnapshotPoliciesOperationsExtensions.cs @@ -76,7 +76,7 @@ public static IEnumerable List(this ISnapshotPoliciesOperations /// The name of the NetApp account /// /// - /// The name of the snapshot policy target + /// The name of the snapshot policy /// public static SnapshotPolicy Get(this ISnapshotPoliciesOperations operations, string resourceGroupName, string accountName, string snapshotPolicyName) { @@ -96,7 +96,7 @@ public static SnapshotPolicy Get(this ISnapshotPoliciesOperations operations, st /// The name of the NetApp account /// /// - /// The name of the snapshot policy target + /// The name of the snapshot policy /// /// /// The cancellation token. @@ -125,7 +125,7 @@ public static SnapshotPolicy Get(this ISnapshotPoliciesOperations operations, st /// The name of the NetApp account /// /// - /// The name of the snapshot policy target + /// The name of the snapshot policy /// public static SnapshotPolicy Create(this ISnapshotPoliciesOperations operations, SnapshotPolicy body, string resourceGroupName, string accountName, string snapshotPolicyName) { @@ -148,7 +148,7 @@ public static SnapshotPolicy Create(this ISnapshotPoliciesOperations operations, /// The name of the NetApp account /// /// - /// The name of the snapshot policy target + /// The name of the snapshot policy /// /// /// The cancellation token. @@ -177,7 +177,7 @@ public static SnapshotPolicy Create(this ISnapshotPoliciesOperations operations, /// The name of the NetApp account /// /// - /// The name of the snapshot policy target + /// The name of the snapshot policy /// public static SnapshotPolicy Update(this ISnapshotPoliciesOperations operations, SnapshotPolicyPatch body, string resourceGroupName, string accountName, string snapshotPolicyName) { @@ -200,7 +200,7 @@ public static SnapshotPolicy Update(this ISnapshotPoliciesOperations operations, /// The name of the NetApp account /// /// - /// The name of the snapshot policy target + /// The name of the snapshot policy /// /// /// The cancellation token. @@ -226,7 +226,7 @@ public static SnapshotPolicy Update(this ISnapshotPoliciesOperations operations, /// The name of the NetApp account /// /// - /// The name of the snapshot policy target + /// The name of the snapshot policy /// public static void Delete(this ISnapshotPoliciesOperations operations, string resourceGroupName, string accountName, string snapshotPolicyName) { @@ -246,7 +246,7 @@ public static void Delete(this ISnapshotPoliciesOperations operations, string re /// The name of the NetApp account /// /// - /// The name of the snapshot policy target + /// The name of the snapshot policy /// /// /// The cancellation token. @@ -272,7 +272,7 @@ public static void Delete(this ISnapshotPoliciesOperations operations, string re /// The name of the NetApp account /// /// - /// The name of the snapshot policy target + /// The name of the snapshot policy /// public static SnapshotPolicyVolumeList ListVolumes(this ISnapshotPoliciesOperations operations, string resourceGroupName, string accountName, string snapshotPolicyName) { @@ -295,7 +295,7 @@ public static SnapshotPolicyVolumeList ListVolumes(this ISnapshotPoliciesOperati /// The name of the NetApp account /// /// - /// The name of the snapshot policy target + /// The name of the snapshot policy /// /// /// The cancellation token. @@ -324,7 +324,7 @@ public static SnapshotPolicyVolumeList ListVolumes(this ISnapshotPoliciesOperati /// The name of the NetApp account /// /// - /// The name of the snapshot policy target + /// The name of the snapshot policy /// public static SnapshotPolicy BeginUpdate(this ISnapshotPoliciesOperations operations, SnapshotPolicyPatch body, string resourceGroupName, string accountName, string snapshotPolicyName) { @@ -347,7 +347,7 @@ public static SnapshotPolicy BeginUpdate(this ISnapshotPoliciesOperations operat /// The name of the NetApp account /// /// - /// The name of the snapshot policy target + /// The name of the snapshot policy /// /// /// The cancellation token. @@ -373,7 +373,7 @@ public static SnapshotPolicy BeginUpdate(this ISnapshotPoliciesOperations operat /// The name of the NetApp account /// /// - /// The name of the snapshot policy target + /// The name of the snapshot policy /// public static void BeginDelete(this ISnapshotPoliciesOperations operations, string resourceGroupName, string accountName, string snapshotPolicyName) { @@ -393,7 +393,7 @@ public static void BeginDelete(this ISnapshotPoliciesOperations operations, stri /// The name of the NetApp account /// /// - /// The name of the snapshot policy target + /// The name of the snapshot policy /// /// /// The cancellation token. diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/SnapshotsOperations.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/SnapshotsOperations.cs index a693ef1f002d7..048c8cdd6b0d5 100644 --- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/SnapshotsOperations.cs +++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/SnapshotsOperations.cs @@ -338,7 +338,7 @@ internal SnapshotsOperations(AzureNetAppFilesManagementClient client) /// The name of the volume /// /// - /// The name of the mount target + /// The name of the snapshot /// /// /// Headers that will be added to request. @@ -619,7 +619,7 @@ internal SnapshotsOperations(AzureNetAppFilesManagementClient client) /// The name of the volume /// /// - /// The name of the mount target + /// The name of the snapshot /// /// /// The headers that will be added to request. @@ -656,7 +656,7 @@ internal SnapshotsOperations(AzureNetAppFilesManagementClient client) /// The name of the volume /// /// - /// The name of the mount target + /// The name of the snapshot /// /// /// The headers that will be added to request. @@ -690,7 +690,7 @@ internal SnapshotsOperations(AzureNetAppFilesManagementClient client) /// The name of the volume /// /// - /// The name of the mount target + /// The name of the snapshot /// /// /// The headers that will be added to request. @@ -727,7 +727,7 @@ internal SnapshotsOperations(AzureNetAppFilesManagementClient client) /// The name of the volume /// /// - /// The name of the mount target + /// The name of the snapshot /// /// /// Headers that will be added to request. @@ -1023,7 +1023,7 @@ internal SnapshotsOperations(AzureNetAppFilesManagementClient client) /// The name of the volume /// /// - /// The name of the mount target + /// The name of the snapshot /// /// /// Headers that will be added to request. @@ -1312,7 +1312,7 @@ internal SnapshotsOperations(AzureNetAppFilesManagementClient client) /// The name of the volume /// /// - /// The name of the mount target + /// The name of the snapshot /// /// /// Headers that will be added to request. diff --git a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/SnapshotsOperationsExtensions.cs b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/SnapshotsOperationsExtensions.cs index c6d75d823165c..f0dae4297a44d 100644 --- a/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/SnapshotsOperationsExtensions.cs +++ b/sdk/netapp/Microsoft.Azure.Management.NetApp/src/Generated/SnapshotsOperationsExtensions.cs @@ -103,7 +103,7 @@ public static IEnumerable List(this ISnapshotsOperations operations, s /// The name of the volume /// /// - /// The name of the mount target + /// The name of the snapshot /// public static Snapshot Get(this ISnapshotsOperations operations, string resourceGroupName, string accountName, string poolName, string volumeName, string snapshotName) { @@ -132,7 +132,7 @@ public static Snapshot Get(this ISnapshotsOperations operations, string resource /// The name of the volume /// /// - /// The name of the mount target + /// The name of the snapshot /// /// /// The cancellation token. @@ -170,7 +170,7 @@ public static Snapshot Get(this ISnapshotsOperations operations, string resource /// The name of the volume /// /// - /// The name of the mount target + /// The name of the snapshot /// public static Snapshot Create(this ISnapshotsOperations operations, Snapshot body, string resourceGroupName, string accountName, string poolName, string volumeName, string snapshotName) { @@ -202,7 +202,7 @@ public static Snapshot Create(this ISnapshotsOperations operations, Snapshot bod /// The name of the volume /// /// - /// The name of the mount target + /// The name of the snapshot /// /// /// The cancellation token. @@ -240,7 +240,7 @@ public static Snapshot Create(this ISnapshotsOperations operations, Snapshot bod /// The name of the volume /// /// - /// The name of the mount target + /// The name of the snapshot /// public static Snapshot Update(this ISnapshotsOperations operations, object body, string resourceGroupName, string accountName, string poolName, string volumeName, string snapshotName) { @@ -272,7 +272,7 @@ public static Snapshot Update(this ISnapshotsOperations operations, object body, /// The name of the volume /// /// - /// The name of the mount target + /// The name of the snapshot /// /// /// The cancellation token. @@ -307,7 +307,7 @@ public static Snapshot Update(this ISnapshotsOperations operations, object body, /// The name of the volume /// /// - /// The name of the mount target + /// The name of the snapshot /// public static void Delete(this ISnapshotsOperations operations, string resourceGroupName, string accountName, string poolName, string volumeName, string snapshotName) { @@ -336,7 +336,7 @@ public static void Delete(this ISnapshotsOperations operations, string resourceG /// The name of the volume /// /// - /// The name of the mount target + /// The name of the snapshot /// /// /// The cancellation token. @@ -371,7 +371,7 @@ public static void Delete(this ISnapshotsOperations operations, string resourceG /// The name of the volume /// /// - /// The name of the mount target + /// The name of the snapshot /// public static Snapshot BeginCreate(this ISnapshotsOperations operations, Snapshot body, string resourceGroupName, string accountName, string poolName, string volumeName, string snapshotName) { @@ -403,7 +403,7 @@ public static Snapshot BeginCreate(this ISnapshotsOperations operations, Snapsho /// The name of the volume /// /// - /// The name of the mount target + /// The name of the snapshot /// /// /// The cancellation token. @@ -441,7 +441,7 @@ public static Snapshot BeginCreate(this ISnapshotsOperations operations, Snapsho /// The name of the volume /// /// - /// The name of the mount target + /// The name of the snapshot /// public static Snapshot BeginUpdate(this ISnapshotsOperations operations, object body, string resourceGroupName, string accountName, string poolName, string volumeName, string snapshotName) { @@ -473,7 +473,7 @@ public static Snapshot BeginUpdate(this ISnapshotsOperations operations, object /// The name of the volume /// /// - /// The name of the mount target + /// The name of the snapshot /// /// /// The cancellation token. @@ -508,7 +508,7 @@ public static Snapshot BeginUpdate(this ISnapshotsOperations operations, object /// The name of the volume /// /// - /// The name of the mount target + /// The name of the snapshot /// public static void BeginDelete(this ISnapshotsOperations operations, string resourceGroupName, string accountName, string poolName, string volumeName, string snapshotName) { @@ -537,7 +537,7 @@ public static void BeginDelete(this ISnapshotsOperations operations, string reso /// The name of the volume /// /// - /// The name of the mount target + /// The name of the snapshot /// /// /// The cancellation token.