From cddc4e4d98135ee4f423c1f2ae470be242dc5173 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 31 Jan 2023 03:57:08 +0000 Subject: [PATCH] CodeGen from PR 21907 in Azure/azure-rest-api-specs Merge 544390b7d60fca57482604550b24a83a2a830bd9 into 716adefbbcefe848196de00308920e6eedfebe56 --- .../src/Generated/Models/NetAppAccountActiveDirectory.cs | 4 ++-- .../src/Generated/Models/NetAppVolumeGroupVolume.cs | 6 +++--- .../src/Generated/NetAppVolumeData.cs | 6 +++--- .../src/Generated/RestOperations/AccountsRestOperations.cs | 1 + sdk/netapp/Azure.ResourceManager.NetApp/src/autorest.md | 2 +- 5 files changed, 10 insertions(+), 9 deletions(-) diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppAccountActiveDirectory.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppAccountActiveDirectory.cs index 2740ef4fa101..02b97f012325 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppAccountActiveDirectory.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppAccountActiveDirectory.cs @@ -24,7 +24,7 @@ public NetAppAccountActiveDirectory() /// Initializes a new instance of NetAppAccountActiveDirectory. /// Id of the Active Directory. - /// Username of Active Directory domain administrator. + /// A domain user account with permission to create machine accounts. /// Plain text password of Active Directory domain administrator, value is masked in the response. /// Name of the Active Directory domain. /// Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain. @@ -73,7 +73,7 @@ internal NetAppAccountActiveDirectory(string activeDirectoryId, string username, /// Id of the Active Directory. public string ActiveDirectoryId { get; set; } - /// Username of Active Directory domain administrator. + /// A domain user account with permission to create machine accounts. public string Username { get; set; } /// Plain text password of Active Directory domain administrator, value is masked in the response. public string Password { get; set; } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeGroupVolume.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeGroupVolume.cs index 96a68eae9713..6a30cc15f182 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeGroupVolume.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/Models/NetAppVolumeGroupVolume.cs @@ -16,7 +16,7 @@ public partial class NetAppVolumeGroupVolume { /// Initializes a new instance of NetAppVolumeGroupVolume. /// A unique file path for the volume. Used when creating mount targets. - /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 500 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes. + /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes. /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. /// or is null. public NetAppVolumeGroupVolume(string creationToken, long usageThreshold, ResourceIdentifier subnetId) @@ -41,7 +41,7 @@ public NetAppVolumeGroupVolume(string creationToken, long usageThreshold, Resour /// Unique FileSystem Identifier. /// A unique file path for the volume. Used when creating mount targets. /// The service level of the file system. - /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 500 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes. + /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes. /// Set of export policy rules. /// Set of protocol types, default NFSv3, CIFS for SMB protocol. /// Azure lifecycle management. @@ -154,7 +154,7 @@ internal NetAppVolumeGroupVolume(ResourceIdentifier id, string name, ResourceTyp public string CreationToken { get; set; } /// The service level of the file system. public NetAppFileServiceLevel? ServiceLevel { get; set; } - /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 500 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes. + /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes. public long UsageThreshold { get; set; } /// Set of export policy rules. internal VolumePropertiesExportPolicy ExportPolicy { get; set; } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeData.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeData.cs index 250d24a3a04a..2a9edb649c17 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeData.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/NetAppVolumeData.cs @@ -20,7 +20,7 @@ public partial class NetAppVolumeData : TrackedResourceData /// Initializes a new instance of NetAppVolumeData. /// The location. /// A unique file path for the volume. Used when creating mount targets. - /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 500 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes. + /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes. /// The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes. /// or is null. public NetAppVolumeData(AzureLocation location, string creationToken, long usageThreshold, ResourceIdentifier subnetId) : base(location) @@ -49,7 +49,7 @@ public NetAppVolumeData(AzureLocation location, string creationToken, long usage /// Unique FileSystem Identifier. /// A unique file path for the volume. Used when creating mount targets. /// The service level of the file system. - /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 500 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes. + /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes. /// Set of export policy rules. /// Set of protocol types, default NFSv3, CIFS for SMB protocol. /// Azure lifecycle management. @@ -156,7 +156,7 @@ internal NetAppVolumeData(ResourceIdentifier id, string name, ResourceType resou public string CreationToken { get; set; } /// The service level of the file system. public NetAppFileServiceLevel? ServiceLevel { get; set; } - /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 500 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes. + /// Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB, 500Tib for LargeVolume. Specified in bytes. public long UsageThreshold { get; set; } /// Set of export policy rules. internal VolumePropertiesExportPolicy ExportPolicy { get; set; } diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/AccountsRestOperations.cs b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/AccountsRestOperations.cs index 9f545691204c..072bc6eced35 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/AccountsRestOperations.cs +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/Generated/RestOperations/AccountsRestOperations.cs @@ -498,6 +498,7 @@ internal HttpMessage CreateRenewCredentialsRequest(string subscriptionId, string uri.AppendPath("/providers/Microsoft.NetApp/netAppAccounts/", false); uri.AppendPath(accountName, true); uri.AppendPath("/renewCredentials", false); + uri.AppendQuery("api-version", _apiVersion, true); request.Uri = uri; _userAgent.Apply(message); return message; diff --git a/sdk/netapp/Azure.ResourceManager.NetApp/src/autorest.md b/sdk/netapp/Azure.ResourceManager.NetApp/src/autorest.md index e88a2cb9aea7..da438a6b1fa6 100644 --- a/sdk/netapp/Azure.ResourceManager.NetApp/src/autorest.md +++ b/sdk/netapp/Azure.ResourceManager.NetApp/src/autorest.md @@ -8,7 +8,7 @@ azure-arm: true csharp: true library-name: NetApp namespace: Azure.ResourceManager.NetApp -require: https://github.com/Azure/azure-rest-api-specs/blob/e31e3938529269e0e6a81f60b2fdc6d2aec5b9df/specification/netapp/resource-manager/readme.md +require: /mnt/vss/_work/1/s/azure-rest-api-specs/specification/netapp/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true skip-csproj: true