From 26b6d41a050f9289bf342053ccfd792fe1d252c1 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 8 Sep 2021 20:59:00 +0000 Subject: [PATCH] CodeGen from PR 15665 in Azure/azure-rest-api-specs Merge 1f561a67f29460998e4ff8020e0691779ff50756 into 8834471fc4a7c3292ddf153942219bf38a28316e --- .../src/Generated/DiskAccessesOperations.cs | 60 ++++++------- .../DiskAccessesOperationsExtensions.cs | 76 ++++++++-------- .../Generated/DiskEncryptionSetsOperations.cs | 30 +++---- .../DiskEncryptionSetsOperationsExtensions.cs | 32 +++---- .../Generated/DiskRestorePointOperations.cs | 53 ++++------- .../DiskRestorePointOperationsExtensions.cs | 90 +++++-------------- .../src/Generated/DisksOperations.cs | 38 ++++---- .../Generated/DisksOperationsExtensions.cs | 44 ++++----- .../src/Generated/IDiskAccessesOperations.cs | 38 ++++---- .../IDiskEncryptionSetsOperations.cs | 16 ++-- .../Generated/IDiskRestorePointOperations.cs | 56 ++++-------- .../src/Generated/IDisksOperations.cs | 22 ++--- .../src/Generated/ISnapshotsOperations.cs | 33 ++++--- .../src/Generated/Models/CreationData.cs | 5 +- .../src/Generated/Models/Disk.cs | 41 +++++++-- .../src/Generated/Models/DiskAccess.cs | 13 ++- .../src/Generated/Models/DiskCreateOption.cs | 6 ++ .../src/Generated/Models/DiskEncryptionSet.cs | 15 +++- .../src/Generated/Models/DiskRestorePoint.cs | 53 ++++++++++- .../src/Generated/Models/DiskState.cs | 13 ++- .../src/Generated/Models/DiskUpdate.cs | 21 ++++- .../Generated/Models/PublicNetworkAccess.cs | 34 +++++++ .../src/Generated/Models/Snapshot.cs | 43 +++++++-- .../src/Generated/Models/SnapshotUpdate.cs | 11 ++- .../Generated/Models/SupportedCapabilities.cs | 54 +++++++++++ .../SdkInfo_ComputeManagementClient.cs | 10 +-- .../src/Generated/SnapshotsOperations.cs | 38 ++++---- .../SnapshotsOperationsExtensions.cs | 44 ++++----- 28 files changed, 590 insertions(+), 399 deletions(-) create mode 100644 sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/PublicNetworkAccess.cs create mode 100644 sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/SupportedCapabilities.cs diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskAccessesOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskAccessesOperations.cs index c06995f7c534..c42cf8ccffa1 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskAccessesOperations.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskAccessesOperations.cs @@ -59,7 +59,7 @@ internal DiskAccessesOperations(ComputeManagementClient client) /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -87,7 +87,7 @@ internal DiskAccessesOperations(ComputeManagementClient client) /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -115,7 +115,7 @@ internal DiskAccessesOperations(ComputeManagementClient client) /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -153,7 +153,7 @@ internal DiskAccessesOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "diskAccessName"); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -312,7 +312,7 @@ internal DiskAccessesOperations(ComputeManagementClient client) /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -365,7 +365,7 @@ internal DiskAccessesOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -543,7 +543,7 @@ internal DiskAccessesOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -698,7 +698,7 @@ internal DiskAccessesOperations(ComputeManagementClient client) /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -736,7 +736,7 @@ internal DiskAccessesOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "diskAccessName"); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -896,11 +896,11 @@ internal DiskAccessesOperations(ComputeManagementClient client) /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// - /// The name of the private endpoint connection + /// The name of the private endpoint connection. /// /// /// private endpoint connection object supplied in the body of the Put private @@ -929,11 +929,11 @@ internal DiskAccessesOperations(ComputeManagementClient client) /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// - /// The name of the private endpoint connection + /// The name of the private endpoint connection. /// /// /// Headers that will be added to request. @@ -974,7 +974,7 @@ internal DiskAccessesOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "privateEndpointConnectionName"); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1135,11 +1135,11 @@ internal DiskAccessesOperations(ComputeManagementClient client) /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// - /// The name of the private endpoint connection + /// The name of the private endpoint connection. /// /// /// The headers that will be added to request. @@ -1164,7 +1164,7 @@ internal DiskAccessesOperations(ComputeManagementClient client) /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -1202,7 +1202,7 @@ internal DiskAccessesOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "diskAccessName"); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1361,7 +1361,7 @@ internal DiskAccessesOperations(ComputeManagementClient client) /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -1410,7 +1410,7 @@ internal DiskAccessesOperations(ComputeManagementClient client) { diskAccess.Validate(); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1594,7 +1594,7 @@ internal DiskAccessesOperations(ComputeManagementClient client) /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -1635,7 +1635,7 @@ internal DiskAccessesOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "diskAccessName"); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; DiskAccessUpdate diskAccess = new DiskAccessUpdate(); if (tags != null) { @@ -1824,7 +1824,7 @@ internal DiskAccessesOperations(ComputeManagementClient client) /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -1859,7 +1859,7 @@ internal DiskAccessesOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "diskAccessName"); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2001,11 +2001,11 @@ internal DiskAccessesOperations(ComputeManagementClient client) /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// - /// The name of the private endpoint connection + /// The name of the private endpoint connection. /// /// /// private endpoint connection object supplied in the body of the Put private @@ -2058,7 +2058,7 @@ internal DiskAccessesOperations(ComputeManagementClient client) { privateEndpointConnection.Validate(); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2244,11 +2244,11 @@ internal DiskAccessesOperations(ComputeManagementClient client) /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// - /// The name of the private endpoint connection + /// The name of the private endpoint connection. /// /// /// Headers that will be added to request. @@ -2286,7 +2286,7 @@ internal DiskAccessesOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "privateEndpointConnectionName"); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskAccessesOperationsExtensions.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskAccessesOperationsExtensions.cs index 2cdc494582a4..6dc3053e26ef 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskAccessesOperationsExtensions.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskAccessesOperationsExtensions.cs @@ -35,7 +35,7 @@ public static partial class DiskAccessesOperationsExtensions /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -58,7 +58,7 @@ public static DiskAccess CreateOrUpdate(this IDiskAccessesOperations operations, /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -87,7 +87,7 @@ public static DiskAccess CreateOrUpdate(this IDiskAccessesOperations operations, /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -110,7 +110,7 @@ public static DiskAccess CreateOrUpdate(this IDiskAccessesOperations operations, /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -139,7 +139,7 @@ public static DiskAccess CreateOrUpdate(this IDiskAccessesOperations operations, /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// public static DiskAccess Get(this IDiskAccessesOperations operations, string resourceGroupName, string diskAccessName) @@ -159,7 +159,7 @@ public static DiskAccess Get(this IDiskAccessesOperations operations, string res /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -185,7 +185,7 @@ public static DiskAccess Get(this IDiskAccessesOperations operations, string res /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// public static void Delete(this IDiskAccessesOperations operations, string resourceGroupName, string diskAccessName) @@ -205,7 +205,7 @@ public static void Delete(this IDiskAccessesOperations operations, string resour /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -290,7 +290,7 @@ public static IPage List(this IDiskAccessesOperations operations) /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// public static PrivateLinkResourceListResult GetPrivateLinkResources(this IDiskAccessesOperations operations, string resourceGroupName, string diskAccessName) @@ -310,7 +310,7 @@ public static PrivateLinkResourceListResult GetPrivateLinkResources(this IDiskAc /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -337,11 +337,11 @@ public static PrivateLinkResourceListResult GetPrivateLinkResources(this IDiskAc /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// - /// The name of the private endpoint connection + /// The name of the private endpoint connection. /// /// /// private endpoint connection object supplied in the body of the Put private @@ -365,11 +365,11 @@ public static PrivateEndpointConnection UpdateAPrivateEndpointConnection(this ID /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// - /// The name of the private endpoint connection + /// The name of the private endpoint connection. /// /// /// private endpoint connection object supplied in the body of the Put private @@ -399,11 +399,11 @@ public static PrivateEndpointConnection UpdateAPrivateEndpointConnection(this ID /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// - /// The name of the private endpoint connection + /// The name of the private endpoint connection. /// public static PrivateEndpointConnection GetAPrivateEndpointConnection(this IDiskAccessesOperations operations, string resourceGroupName, string diskAccessName, string privateEndpointConnectionName) { @@ -423,11 +423,11 @@ public static PrivateEndpointConnection GetAPrivateEndpointConnection(this IDisk /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// - /// The name of the private endpoint connection + /// The name of the private endpoint connection. /// /// /// The cancellation token. @@ -452,11 +452,11 @@ public static PrivateEndpointConnection GetAPrivateEndpointConnection(this IDisk /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// - /// The name of the private endpoint connection + /// The name of the private endpoint connection. /// public static void DeleteAPrivateEndpointConnection(this IDiskAccessesOperations operations, string resourceGroupName, string diskAccessName, string privateEndpointConnectionName) { @@ -475,11 +475,11 @@ public static void DeleteAPrivateEndpointConnection(this IDiskAccessesOperations /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// - /// The name of the private endpoint connection + /// The name of the private endpoint connection. /// /// /// The cancellation token. @@ -502,7 +502,7 @@ public static void DeleteAPrivateEndpointConnection(this IDiskAccessesOperations /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// public static IPage ListPrivateEndpointConnections(this IDiskAccessesOperations operations, string resourceGroupName, string diskAccessName) @@ -523,7 +523,7 @@ public static IPage ListPrivateEndpointConnections(th /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -549,7 +549,7 @@ public static IPage ListPrivateEndpointConnections(th /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -572,7 +572,7 @@ public static DiskAccess BeginCreateOrUpdate(this IDiskAccessesOperations operat /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -601,7 +601,7 @@ public static DiskAccess BeginCreateOrUpdate(this IDiskAccessesOperations operat /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -624,7 +624,7 @@ public static DiskAccess BeginCreateOrUpdate(this IDiskAccessesOperations operat /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -653,7 +653,7 @@ public static DiskAccess BeginCreateOrUpdate(this IDiskAccessesOperations operat /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// public static void BeginDelete(this IDiskAccessesOperations operations, string resourceGroupName, string diskAccessName) @@ -673,7 +673,7 @@ public static void BeginDelete(this IDiskAccessesOperations operations, string r /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -697,11 +697,11 @@ public static void BeginDelete(this IDiskAccessesOperations operations, string r /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// - /// The name of the private endpoint connection + /// The name of the private endpoint connection. /// /// /// private endpoint connection object supplied in the body of the Put private @@ -725,11 +725,11 @@ public static PrivateEndpointConnection BeginUpdateAPrivateEndpointConnection(th /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// - /// The name of the private endpoint connection + /// The name of the private endpoint connection. /// /// /// private endpoint connection object supplied in the body of the Put private @@ -758,11 +758,11 @@ public static PrivateEndpointConnection BeginUpdateAPrivateEndpointConnection(th /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// - /// The name of the private endpoint connection + /// The name of the private endpoint connection. /// public static void BeginDeleteAPrivateEndpointConnection(this IDiskAccessesOperations operations, string resourceGroupName, string diskAccessName, string privateEndpointConnectionName) { @@ -781,11 +781,11 @@ public static void BeginDeleteAPrivateEndpointConnection(this IDiskAccessesOpera /// /// The name of the disk access resource that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// - /// The name of the private endpoint connection + /// The name of the private endpoint connection. /// /// /// The cancellation token. diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskEncryptionSetsOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskEncryptionSetsOperations.cs index 99207944a9be..07cd09d835ce 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskEncryptionSetsOperations.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskEncryptionSetsOperations.cs @@ -59,7 +59,7 @@ internal DiskEncryptionSetsOperations(ComputeManagementClient client) /// /// The name of the disk encryption set that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -88,7 +88,7 @@ internal DiskEncryptionSetsOperations(ComputeManagementClient client) /// /// The name of the disk encryption set that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -117,7 +117,7 @@ internal DiskEncryptionSetsOperations(ComputeManagementClient client) /// /// The name of the disk encryption set that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -155,7 +155,7 @@ internal DiskEncryptionSetsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "diskEncryptionSetName"); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -314,7 +314,7 @@ internal DiskEncryptionSetsOperations(ComputeManagementClient client) /// /// The name of the disk encryption set that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -367,7 +367,7 @@ internal DiskEncryptionSetsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -545,7 +545,7 @@ internal DiskEncryptionSetsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -700,7 +700,7 @@ internal DiskEncryptionSetsOperations(ComputeManagementClient client) /// /// The name of the disk encryption set that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -738,7 +738,7 @@ internal DiskEncryptionSetsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "diskEncryptionSetName"); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -897,7 +897,7 @@ internal DiskEncryptionSetsOperations(ComputeManagementClient client) /// /// The name of the disk encryption set that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -947,7 +947,7 @@ internal DiskEncryptionSetsOperations(ComputeManagementClient client) { diskEncryptionSet.Validate(); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1131,7 +1131,7 @@ internal DiskEncryptionSetsOperations(ComputeManagementClient client) /// /// The name of the disk encryption set that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -1177,7 +1177,7 @@ internal DiskEncryptionSetsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "diskEncryptionSet"); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1361,7 +1361,7 @@ internal DiskEncryptionSetsOperations(ComputeManagementClient client) /// /// The name of the disk encryption set that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -1396,7 +1396,7 @@ internal DiskEncryptionSetsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "diskEncryptionSetName"); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskEncryptionSetsOperationsExtensions.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskEncryptionSetsOperationsExtensions.cs index 21664ad9938f..59436941d6f8 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskEncryptionSetsOperationsExtensions.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskEncryptionSetsOperationsExtensions.cs @@ -33,7 +33,7 @@ public static partial class DiskEncryptionSetsOperationsExtensions /// /// The name of the disk encryption set that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -57,7 +57,7 @@ public static DiskEncryptionSet CreateOrUpdate(this IDiskEncryptionSetsOperation /// /// The name of the disk encryption set that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -87,7 +87,7 @@ public static DiskEncryptionSet CreateOrUpdate(this IDiskEncryptionSetsOperation /// /// The name of the disk encryption set that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -111,7 +111,7 @@ public static DiskEncryptionSet Update(this IDiskEncryptionSetsOperations operat /// /// The name of the disk encryption set that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -141,7 +141,7 @@ public static DiskEncryptionSet Update(this IDiskEncryptionSetsOperations operat /// /// The name of the disk encryption set that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// public static DiskEncryptionSet Get(this IDiskEncryptionSetsOperations operations, string resourceGroupName, string diskEncryptionSetName) @@ -161,7 +161,7 @@ public static DiskEncryptionSet Get(this IDiskEncryptionSetsOperations operation /// /// The name of the disk encryption set that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -187,7 +187,7 @@ public static DiskEncryptionSet Get(this IDiskEncryptionSetsOperations operation /// /// The name of the disk encryption set that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// public static void Delete(this IDiskEncryptionSetsOperations operations, string resourceGroupName, string diskEncryptionSetName) @@ -207,7 +207,7 @@ public static void Delete(this IDiskEncryptionSetsOperations operations, string /// /// The name of the disk encryption set that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -292,7 +292,7 @@ public static IPage List(this IDiskEncryptionSetsOperations o /// /// The name of the disk encryption set that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// public static IPage ListAssociatedResources(this IDiskEncryptionSetsOperations operations, string resourceGroupName, string diskEncryptionSetName) @@ -312,7 +312,7 @@ public static IPage ListAssociatedResources(this IDiskEncryptionSetsOper /// /// The name of the disk encryption set that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -338,7 +338,7 @@ public static IPage ListAssociatedResources(this IDiskEncryptionSetsOper /// /// The name of the disk encryption set that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -362,7 +362,7 @@ public static DiskEncryptionSet BeginCreateOrUpdate(this IDiskEncryptionSetsOper /// /// The name of the disk encryption set that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -392,7 +392,7 @@ public static DiskEncryptionSet BeginCreateOrUpdate(this IDiskEncryptionSetsOper /// /// The name of the disk encryption set that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -416,7 +416,7 @@ public static DiskEncryptionSet BeginUpdate(this IDiskEncryptionSetsOperations o /// /// The name of the disk encryption set that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -446,7 +446,7 @@ public static DiskEncryptionSet BeginUpdate(this IDiskEncryptionSetsOperations o /// /// The name of the disk encryption set that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// public static void BeginDelete(this IDiskEncryptionSetsOperations operations, string resourceGroupName, string diskEncryptionSetName) @@ -466,7 +466,7 @@ public static void BeginDelete(this IDiskEncryptionSetsOperations operations, st /// /// The name of the disk encryption set that is being created. The name can't /// be changed after the disk encryption set is created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskRestorePointOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskRestorePointOperations.cs index 1829bd2a0b85..d2742e0c4e7f 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskRestorePointOperations.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskRestorePointOperations.cs @@ -58,17 +58,13 @@ internal DiskRestorePointOperations(ComputeManagementClient client) /// /// /// The name of the restore point collection that the disk restore point - /// belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The - /// maximum name length is 80 characters. + /// belongs. /// /// /// The name of the vm restore point that the disk disk restore point belongs. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name - /// length is 80 characters. /// /// - /// The name of the disk restore point created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// The name of the disk restore point created. /// /// /// Headers that will be added to request. @@ -113,7 +109,7 @@ internal DiskRestorePointOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "diskRestorePointName"); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -275,13 +271,10 @@ internal DiskRestorePointOperations(ComputeManagementClient client) /// /// /// The name of the restore point collection that the disk restore point - /// belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The - /// maximum name length is 80 characters. + /// belongs. /// /// /// The name of the vm restore point that the disk disk restore point belongs. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name - /// length is 80 characters. /// /// /// Headers that will be added to request. @@ -322,7 +315,7 @@ internal DiskRestorePointOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "vmRestorePointName"); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -482,17 +475,13 @@ internal DiskRestorePointOperations(ComputeManagementClient client) /// /// /// The name of the restore point collection that the disk restore point - /// belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The - /// maximum name length is 80 characters. + /// belongs. /// /// /// The name of the vm restore point that the disk disk restore point belongs. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name - /// length is 80 characters. /// /// - /// The name of the disk restore point created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// The name of the disk restore point created. /// /// /// Access data object supplied in the body of the get disk access operation. @@ -518,17 +507,13 @@ internal DiskRestorePointOperations(ComputeManagementClient client) /// /// /// The name of the restore point collection that the disk restore point - /// belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The - /// maximum name length is 80 characters. + /// belongs. /// /// /// The name of the vm restore point that the disk disk restore point belongs. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name - /// length is 80 characters. /// /// - /// The name of the disk restore point created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// The name of the disk restore point created. /// /// /// The headers that will be added to request. @@ -551,17 +536,13 @@ internal DiskRestorePointOperations(ComputeManagementClient client) /// /// /// The name of the restore point collection that the disk restore point - /// belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The - /// maximum name length is 80 characters. + /// belongs. /// /// /// The name of the vm restore point that the disk disk restore point belongs. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name - /// length is 80 characters. /// /// - /// The name of the disk restore point created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// The name of the disk restore point created. /// /// /// Access data object supplied in the body of the get disk access operation. @@ -617,7 +598,7 @@ internal DiskRestorePointOperations(ComputeManagementClient client) { grantAccessData.Validate(); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -786,17 +767,13 @@ internal DiskRestorePointOperations(ComputeManagementClient client) /// /// /// The name of the restore point collection that the disk restore point - /// belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The - /// maximum name length is 80 characters. + /// belongs. /// /// /// The name of the vm restore point that the disk disk restore point belongs. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name - /// length is 80 characters. /// /// - /// The name of the disk restore point created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// The name of the disk restore point created. /// /// /// Headers that will be added to request. @@ -838,7 +815,7 @@ internal DiskRestorePointOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "diskRestorePointName"); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskRestorePointOperationsExtensions.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskRestorePointOperationsExtensions.cs index 6ea1d754cdab..33a720abc7ad 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskRestorePointOperationsExtensions.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskRestorePointOperationsExtensions.cs @@ -32,17 +32,13 @@ public static partial class DiskRestorePointOperationsExtensions /// /// /// The name of the restore point collection that the disk restore point - /// belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The - /// maximum name length is 80 characters. + /// belongs. /// /// /// The name of the vm restore point that the disk disk restore point belongs. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name - /// length is 80 characters. /// /// - /// The name of the disk restore point created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// The name of the disk restore point created. /// public static DiskRestorePoint Get(this IDiskRestorePointOperations operations, string resourceGroupName, string restorePointCollectionName, string vmRestorePointName, string diskRestorePointName) { @@ -60,17 +56,13 @@ public static DiskRestorePoint Get(this IDiskRestorePointOperations operations, /// /// /// The name of the restore point collection that the disk restore point - /// belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The - /// maximum name length is 80 characters. + /// belongs. /// /// /// The name of the vm restore point that the disk disk restore point belongs. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name - /// length is 80 characters. /// /// - /// The name of the disk restore point created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// The name of the disk restore point created. /// /// /// The cancellation token. @@ -94,13 +86,10 @@ public static DiskRestorePoint Get(this IDiskRestorePointOperations operations, /// /// /// The name of the restore point collection that the disk restore point - /// belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The - /// maximum name length is 80 characters. + /// belongs. /// /// /// The name of the vm restore point that the disk disk restore point belongs. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name - /// length is 80 characters. /// public static IPage ListByRestorePoint(this IDiskRestorePointOperations operations, string resourceGroupName, string restorePointCollectionName, string vmRestorePointName) { @@ -118,13 +107,10 @@ public static IPage ListByRestorePoint(this IDiskRestorePointO /// /// /// The name of the restore point collection that the disk restore point - /// belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The - /// maximum name length is 80 characters. + /// belongs. /// /// /// The name of the vm restore point that the disk disk restore point belongs. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name - /// length is 80 characters. /// /// /// The cancellation token. @@ -148,17 +134,13 @@ public static IPage ListByRestorePoint(this IDiskRestorePointO /// /// /// The name of the restore point collection that the disk restore point - /// belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The - /// maximum name length is 80 characters. + /// belongs. /// /// /// The name of the vm restore point that the disk disk restore point belongs. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name - /// length is 80 characters. /// /// - /// The name of the disk restore point created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// The name of the disk restore point created. /// /// /// Access data object supplied in the body of the get disk access operation. @@ -179,17 +161,13 @@ public static AccessUri GrantAccess(this IDiskRestorePointOperations operations, /// /// /// The name of the restore point collection that the disk restore point - /// belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The - /// maximum name length is 80 characters. + /// belongs. /// /// /// The name of the vm restore point that the disk disk restore point belongs. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name - /// length is 80 characters. /// /// - /// The name of the disk restore point created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// The name of the disk restore point created. /// /// /// Access data object supplied in the body of the get disk access operation. @@ -216,17 +194,13 @@ public static AccessUri GrantAccess(this IDiskRestorePointOperations operations, /// /// /// The name of the restore point collection that the disk restore point - /// belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The - /// maximum name length is 80 characters. + /// belongs. /// /// /// The name of the vm restore point that the disk disk restore point belongs. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name - /// length is 80 characters. /// /// - /// The name of the disk restore point created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// The name of the disk restore point created. /// public static void RevokeAccess(this IDiskRestorePointOperations operations, string resourceGroupName, string restorePointCollectionName, string vmRestorePointName, string diskRestorePointName) { @@ -244,17 +218,13 @@ public static void RevokeAccess(this IDiskRestorePointOperations operations, str /// /// /// The name of the restore point collection that the disk restore point - /// belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The - /// maximum name length is 80 characters. + /// belongs. /// /// /// The name of the vm restore point that the disk disk restore point belongs. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name - /// length is 80 characters. /// /// - /// The name of the disk restore point created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// The name of the disk restore point created. /// /// /// The cancellation token. @@ -275,17 +245,13 @@ public static void RevokeAccess(this IDiskRestorePointOperations operations, str /// /// /// The name of the restore point collection that the disk restore point - /// belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The - /// maximum name length is 80 characters. + /// belongs. /// /// /// The name of the vm restore point that the disk disk restore point belongs. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name - /// length is 80 characters. /// /// - /// The name of the disk restore point created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// The name of the disk restore point created. /// /// /// Access data object supplied in the body of the get disk access operation. @@ -306,17 +272,13 @@ public static AccessUri BeginGrantAccess(this IDiskRestorePointOperations operat /// /// /// The name of the restore point collection that the disk restore point - /// belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The - /// maximum name length is 80 characters. + /// belongs. /// /// /// The name of the vm restore point that the disk disk restore point belongs. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name - /// length is 80 characters. /// /// - /// The name of the disk restore point created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// The name of the disk restore point created. /// /// /// Access data object supplied in the body of the get disk access operation. @@ -343,17 +305,13 @@ public static AccessUri BeginGrantAccess(this IDiskRestorePointOperations operat /// /// /// The name of the restore point collection that the disk restore point - /// belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The - /// maximum name length is 80 characters. + /// belongs. /// /// /// The name of the vm restore point that the disk disk restore point belongs. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name - /// length is 80 characters. /// /// - /// The name of the disk restore point created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// The name of the disk restore point created. /// public static void BeginRevokeAccess(this IDiskRestorePointOperations operations, string resourceGroupName, string restorePointCollectionName, string vmRestorePointName, string diskRestorePointName) { @@ -371,17 +329,13 @@ public static void BeginRevokeAccess(this IDiskRestorePointOperations operations /// /// /// The name of the restore point collection that the disk restore point - /// belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. The - /// maximum name length is 80 characters. + /// belongs. /// /// /// The name of the vm restore point that the disk disk restore point belongs. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name - /// length is 80 characters. /// /// - /// The name of the disk restore point created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// The name of the disk restore point created. /// /// /// The cancellation token. diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DisksOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DisksOperations.cs index e373d53d43d9..e674252bdccd 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DisksOperations.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DisksOperations.cs @@ -59,7 +59,7 @@ internal DisksOperations(ComputeManagementClient client) /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// /// /// Disk object supplied in the body of the Put disk operation. @@ -86,7 +86,7 @@ internal DisksOperations(ComputeManagementClient client) /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// /// /// Disk object supplied in the body of the Patch disk operation. @@ -113,7 +113,7 @@ internal DisksOperations(ComputeManagementClient client) /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// /// /// Headers that will be added to request. @@ -150,7 +150,7 @@ internal DisksOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "diskName"); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -309,7 +309,7 @@ internal DisksOperations(ComputeManagementClient client) /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// /// /// The headers that will be added to request. @@ -361,7 +361,7 @@ internal DisksOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -539,7 +539,7 @@ internal DisksOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -694,7 +694,7 @@ internal DisksOperations(ComputeManagementClient client) /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// /// /// Access data object supplied in the body of the get disk access operation. @@ -721,7 +721,7 @@ internal DisksOperations(ComputeManagementClient client) /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// /// /// The headers that will be added to request. @@ -745,7 +745,7 @@ internal DisksOperations(ComputeManagementClient client) /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// /// /// Disk object supplied in the body of the Put disk operation. @@ -793,7 +793,7 @@ internal DisksOperations(ComputeManagementClient client) { disk.Validate(); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -977,7 +977,7 @@ internal DisksOperations(ComputeManagementClient client) /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// /// /// Disk object supplied in the body of the Patch disk operation. @@ -1021,7 +1021,7 @@ internal DisksOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "disk"); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1205,7 +1205,7 @@ internal DisksOperations(ComputeManagementClient client) /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// /// /// Headers that will be added to request. @@ -1239,7 +1239,7 @@ internal DisksOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "diskName"); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1380,7 +1380,7 @@ internal DisksOperations(ComputeManagementClient client) /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// /// /// Access data object supplied in the body of the get disk access operation. @@ -1428,7 +1428,7 @@ internal DisksOperations(ComputeManagementClient client) { grantAccessData.Validate(); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1594,7 +1594,7 @@ internal DisksOperations(ComputeManagementClient client) /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// /// /// Headers that will be added to request. @@ -1628,7 +1628,7 @@ internal DisksOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "diskName"); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DisksOperationsExtensions.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DisksOperationsExtensions.cs index 706d976adba8..690e7af288f3 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DisksOperationsExtensions.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DisksOperationsExtensions.cs @@ -33,7 +33,7 @@ public static partial class DisksOperationsExtensions /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// /// /// Disk object supplied in the body of the Put disk operation. @@ -55,7 +55,7 @@ public static Disk CreateOrUpdate(this IDisksOperations operations, string resou /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// /// /// Disk object supplied in the body of the Put disk operation. @@ -83,7 +83,7 @@ public static Disk CreateOrUpdate(this IDisksOperations operations, string resou /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// /// /// Disk object supplied in the body of the Patch disk operation. @@ -105,7 +105,7 @@ public static Disk Update(this IDisksOperations operations, string resourceGroup /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// /// /// Disk object supplied in the body of the Patch disk operation. @@ -133,7 +133,7 @@ public static Disk Update(this IDisksOperations operations, string resourceGroup /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// public static Disk Get(this IDisksOperations operations, string resourceGroupName, string diskName) { @@ -152,7 +152,7 @@ public static Disk Get(this IDisksOperations operations, string resourceGroupNam /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// /// /// The cancellation token. @@ -177,7 +177,7 @@ public static Disk Get(this IDisksOperations operations, string resourceGroupNam /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// public static void Delete(this IDisksOperations operations, string resourceGroupName, string diskName) { @@ -196,7 +196,7 @@ public static void Delete(this IDisksOperations operations, string resourceGroup /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// /// /// The cancellation token. @@ -280,7 +280,7 @@ public static IPage List(this IDisksOperations operations) /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// /// /// Access data object supplied in the body of the get disk access operation. @@ -302,7 +302,7 @@ public static AccessUri GrantAccess(this IDisksOperations operations, string res /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// /// /// Access data object supplied in the body of the get disk access operation. @@ -330,7 +330,7 @@ public static AccessUri GrantAccess(this IDisksOperations operations, string res /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// public static void RevokeAccess(this IDisksOperations operations, string resourceGroupName, string diskName) { @@ -349,7 +349,7 @@ public static void RevokeAccess(this IDisksOperations operations, string resourc /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// /// /// The cancellation token. @@ -371,7 +371,7 @@ public static void RevokeAccess(this IDisksOperations operations, string resourc /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// /// /// Disk object supplied in the body of the Put disk operation. @@ -393,7 +393,7 @@ public static Disk BeginCreateOrUpdate(this IDisksOperations operations, string /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// /// /// Disk object supplied in the body of the Put disk operation. @@ -421,7 +421,7 @@ public static Disk BeginCreateOrUpdate(this IDisksOperations operations, string /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// /// /// Disk object supplied in the body of the Patch disk operation. @@ -443,7 +443,7 @@ public static Disk BeginUpdate(this IDisksOperations operations, string resource /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// /// /// Disk object supplied in the body of the Patch disk operation. @@ -471,7 +471,7 @@ public static Disk BeginUpdate(this IDisksOperations operations, string resource /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// public static void BeginDelete(this IDisksOperations operations, string resourceGroupName, string diskName) { @@ -490,7 +490,7 @@ public static void BeginDelete(this IDisksOperations operations, string resource /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// /// /// The cancellation token. @@ -512,7 +512,7 @@ public static void BeginDelete(this IDisksOperations operations, string resource /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// /// /// Access data object supplied in the body of the get disk access operation. @@ -534,7 +534,7 @@ public static AccessUri BeginGrantAccess(this IDisksOperations operations, strin /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// /// /// Access data object supplied in the body of the get disk access operation. @@ -562,7 +562,7 @@ public static AccessUri BeginGrantAccess(this IDisksOperations operations, strin /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// public static void BeginRevokeAccess(this IDisksOperations operations, string resourceGroupName, string diskName) { @@ -581,7 +581,7 @@ public static void BeginRevokeAccess(this IDisksOperations operations, string re /// /// The name of the managed disk that is being created. The name can't be /// changed after the disk is created. Supported characters for the name are - /// a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. + /// a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. /// /// /// The cancellation token. diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/IDiskAccessesOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/IDiskAccessesOperations.cs index e24c1d6be0c2..78ae20ec20e3 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/IDiskAccessesOperations.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/IDiskAccessesOperations.cs @@ -32,7 +32,7 @@ public partial interface IDiskAccessesOperations /// /// The name of the disk access resource that is being created. The /// name can't be changed after the disk encryption set is created. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The + /// Supported characters for the name are a-z, A-Z, 0-9, _ and -. The /// maximum name length is 80 characters. /// /// @@ -64,7 +64,7 @@ public partial interface IDiskAccessesOperations /// /// The name of the disk access resource that is being created. The /// name can't be changed after the disk encryption set is created. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The + /// Supported characters for the name are a-z, A-Z, 0-9, _ and -. The /// maximum name length is 80 characters. /// /// @@ -95,7 +95,7 @@ public partial interface IDiskAccessesOperations /// /// The name of the disk access resource that is being created. The /// name can't be changed after the disk encryption set is created. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The + /// Supported characters for the name are a-z, A-Z, 0-9, _ and -. The /// maximum name length is 80 characters. /// /// @@ -123,7 +123,7 @@ public partial interface IDiskAccessesOperations /// /// The name of the disk access resource that is being created. The /// name can't be changed after the disk encryption set is created. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The + /// Supported characters for the name are a-z, A-Z, 0-9, _ and -. The /// maximum name length is 80 characters. /// /// @@ -189,7 +189,7 @@ public partial interface IDiskAccessesOperations /// /// The name of the disk access resource that is being created. The /// name can't be changed after the disk encryption set is created. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The + /// Supported characters for the name are a-z, A-Z, 0-9, _ and -. The /// maximum name length is 80 characters. /// /// @@ -219,11 +219,11 @@ public partial interface IDiskAccessesOperations /// /// The name of the disk access resource that is being created. The /// name can't be changed after the disk encryption set is created. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The + /// Supported characters for the name are a-z, A-Z, 0-9, _ and -. The /// maximum name length is 80 characters. /// /// - /// The name of the private endpoint connection + /// The name of the private endpoint connection. /// /// /// private endpoint connection object supplied in the body of the Put @@ -255,11 +255,11 @@ public partial interface IDiskAccessesOperations /// /// The name of the disk access resource that is being created. The /// name can't be changed after the disk encryption set is created. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The + /// Supported characters for the name are a-z, A-Z, 0-9, _ and -. The /// maximum name length is 80 characters. /// /// - /// The name of the private endpoint connection + /// The name of the private endpoint connection. /// /// /// The headers that will be added to request. @@ -286,11 +286,11 @@ public partial interface IDiskAccessesOperations /// /// The name of the disk access resource that is being created. The /// name can't be changed after the disk encryption set is created. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The + /// Supported characters for the name are a-z, A-Z, 0-9, _ and -. The /// maximum name length is 80 characters. /// /// - /// The name of the private endpoint connection + /// The name of the private endpoint connection. /// /// /// The headers that will be added to request. @@ -315,7 +315,7 @@ public partial interface IDiskAccessesOperations /// /// The name of the disk access resource that is being created. The /// name can't be changed after the disk encryption set is created. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The + /// Supported characters for the name are a-z, A-Z, 0-9, _ and -. The /// maximum name length is 80 characters. /// /// @@ -343,7 +343,7 @@ public partial interface IDiskAccessesOperations /// /// The name of the disk access resource that is being created. The /// name can't be changed after the disk encryption set is created. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The + /// Supported characters for the name are a-z, A-Z, 0-9, _ and -. The /// maximum name length is 80 characters. /// /// @@ -375,7 +375,7 @@ public partial interface IDiskAccessesOperations /// /// The name of the disk access resource that is being created. The /// name can't be changed after the disk encryption set is created. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The + /// Supported characters for the name are a-z, A-Z, 0-9, _ and -. The /// maximum name length is 80 characters. /// /// @@ -406,7 +406,7 @@ public partial interface IDiskAccessesOperations /// /// The name of the disk access resource that is being created. The /// name can't be changed after the disk encryption set is created. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The + /// Supported characters for the name are a-z, A-Z, 0-9, _ and -. The /// maximum name length is 80 characters. /// /// @@ -433,11 +433,11 @@ public partial interface IDiskAccessesOperations /// /// The name of the disk access resource that is being created. The /// name can't be changed after the disk encryption set is created. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The + /// Supported characters for the name are a-z, A-Z, 0-9, _ and -. The /// maximum name length is 80 characters. /// /// - /// The name of the private endpoint connection + /// The name of the private endpoint connection. /// /// /// private endpoint connection object supplied in the body of the Put @@ -468,11 +468,11 @@ public partial interface IDiskAccessesOperations /// /// The name of the disk access resource that is being created. The /// name can't be changed after the disk encryption set is created. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The + /// Supported characters for the name are a-z, A-Z, 0-9, _ and -. The /// maximum name length is 80 characters. /// /// - /// The name of the private endpoint connection + /// The name of the private endpoint connection. /// /// /// The headers that will be added to request. diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/IDiskEncryptionSetsOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/IDiskEncryptionSetsOperations.cs index 305f0a1e92b4..e165ca709ee6 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/IDiskEncryptionSetsOperations.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/IDiskEncryptionSetsOperations.cs @@ -32,7 +32,7 @@ public partial interface IDiskEncryptionSetsOperations /// /// The name of the disk encryption set that is being created. The name /// can't be changed after the disk encryption set is created. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The + /// Supported characters for the name are a-z, A-Z, 0-9, _ and -. The /// maximum name length is 80 characters. /// /// @@ -64,7 +64,7 @@ public partial interface IDiskEncryptionSetsOperations /// /// The name of the disk encryption set that is being created. The name /// can't be changed after the disk encryption set is created. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The + /// Supported characters for the name are a-z, A-Z, 0-9, _ and -. The /// maximum name length is 80 characters. /// /// @@ -96,7 +96,7 @@ public partial interface IDiskEncryptionSetsOperations /// /// The name of the disk encryption set that is being created. The name /// can't be changed after the disk encryption set is created. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The + /// Supported characters for the name are a-z, A-Z, 0-9, _ and -. The /// maximum name length is 80 characters. /// /// @@ -124,7 +124,7 @@ public partial interface IDiskEncryptionSetsOperations /// /// The name of the disk encryption set that is being created. The name /// can't be changed after the disk encryption set is created. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The + /// Supported characters for the name are a-z, A-Z, 0-9, _ and -. The /// maximum name length is 80 characters. /// /// @@ -191,7 +191,7 @@ public partial interface IDiskEncryptionSetsOperations /// /// The name of the disk encryption set that is being created. The name /// can't be changed after the disk encryption set is created. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The + /// Supported characters for the name are a-z, A-Z, 0-9, _ and -. The /// maximum name length is 80 characters. /// /// @@ -219,7 +219,7 @@ public partial interface IDiskEncryptionSetsOperations /// /// The name of the disk encryption set that is being created. The name /// can't be changed after the disk encryption set is created. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The + /// Supported characters for the name are a-z, A-Z, 0-9, _ and -. The /// maximum name length is 80 characters. /// /// @@ -251,7 +251,7 @@ public partial interface IDiskEncryptionSetsOperations /// /// The name of the disk encryption set that is being created. The name /// can't be changed after the disk encryption set is created. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The + /// Supported characters for the name are a-z, A-Z, 0-9, _ and -. The /// maximum name length is 80 characters. /// /// @@ -283,7 +283,7 @@ public partial interface IDiskEncryptionSetsOperations /// /// The name of the disk encryption set that is being created. The name /// can't be changed after the disk encryption set is created. - /// Supported characters for the name are a-z, A-Z, 0-9 and _. The + /// Supported characters for the name are a-z, A-Z, 0-9, _ and -. The /// maximum name length is 80 characters. /// /// diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/IDiskRestorePointOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/IDiskRestorePointOperations.cs index ca3b34a2a6f7..57da1a147059 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/IDiskRestorePointOperations.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/IDiskRestorePointOperations.cs @@ -31,18 +31,14 @@ public partial interface IDiskRestorePointOperations /// /// /// The name of the restore point collection that the disk restore - /// point belongs. Supported characters for the name are a-z, A-Z, 0-9 - /// and _. The maximum name length is 80 characters. + /// point belongs. /// /// /// The name of the vm restore point that the disk disk restore point - /// belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. - /// The maximum name length is 80 characters. + /// belongs. /// /// - /// The name of the disk restore point created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 - /// characters. + /// The name of the disk restore point created. /// /// /// The headers that will be added to request. @@ -68,13 +64,11 @@ public partial interface IDiskRestorePointOperations /// /// /// The name of the restore point collection that the disk restore - /// point belongs. Supported characters for the name are a-z, A-Z, 0-9 - /// and _. The maximum name length is 80 characters. + /// point belongs. /// /// /// The name of the vm restore point that the disk disk restore point - /// belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. - /// The maximum name length is 80 characters. + /// belongs. /// /// /// The headers that will be added to request. @@ -100,18 +94,14 @@ public partial interface IDiskRestorePointOperations /// /// /// The name of the restore point collection that the disk restore - /// point belongs. Supported characters for the name are a-z, A-Z, 0-9 - /// and _. The maximum name length is 80 characters. + /// point belongs. /// /// /// The name of the vm restore point that the disk disk restore point - /// belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. - /// The maximum name length is 80 characters. + /// belongs. /// /// - /// The name of the disk restore point created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 - /// characters. + /// The name of the disk restore point created. /// /// /// Access data object supplied in the body of the get disk access @@ -141,18 +131,14 @@ public partial interface IDiskRestorePointOperations /// /// /// The name of the restore point collection that the disk restore - /// point belongs. Supported characters for the name are a-z, A-Z, 0-9 - /// and _. The maximum name length is 80 characters. + /// point belongs. /// /// /// The name of the vm restore point that the disk disk restore point - /// belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. - /// The maximum name length is 80 characters. + /// belongs. /// /// - /// The name of the disk restore point created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 - /// characters. + /// The name of the disk restore point created. /// /// /// The headers that will be added to request. @@ -175,18 +161,14 @@ public partial interface IDiskRestorePointOperations /// /// /// The name of the restore point collection that the disk restore - /// point belongs. Supported characters for the name are a-z, A-Z, 0-9 - /// and _. The maximum name length is 80 characters. + /// point belongs. /// /// /// The name of the vm restore point that the disk disk restore point - /// belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. - /// The maximum name length is 80 characters. + /// belongs. /// /// - /// The name of the disk restore point created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 - /// characters. + /// The name of the disk restore point created. /// /// /// Access data object supplied in the body of the get disk access @@ -216,18 +198,14 @@ public partial interface IDiskRestorePointOperations /// /// /// The name of the restore point collection that the disk restore - /// point belongs. Supported characters for the name are a-z, A-Z, 0-9 - /// and _. The maximum name length is 80 characters. + /// point belongs. /// /// /// The name of the vm restore point that the disk disk restore point - /// belongs. Supported characters for the name are a-z, A-Z, 0-9 and _. - /// The maximum name length is 80 characters. + /// belongs. /// /// - /// The name of the disk restore point created. Supported characters - /// for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 - /// characters. + /// The name of the disk restore point created. /// /// /// The headers that will be added to request. diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/IDisksOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/IDisksOperations.cs index 6ea8988fe8a3..2aca4ce3f069 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/IDisksOperations.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/IDisksOperations.cs @@ -32,7 +32,7 @@ public partial interface IDisksOperations /// /// The name of the managed disk that is being created. The name can't /// be changed after the disk is created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -63,7 +63,7 @@ public partial interface IDisksOperations /// /// The name of the managed disk that is being created. The name can't /// be changed after the disk is created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -94,7 +94,7 @@ public partial interface IDisksOperations /// /// The name of the managed disk that is being created. The name can't /// be changed after the disk is created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -122,7 +122,7 @@ public partial interface IDisksOperations /// /// The name of the managed disk that is being created. The name can't /// be changed after the disk is created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -188,7 +188,7 @@ public partial interface IDisksOperations /// /// The name of the managed disk that is being created. The name can't /// be changed after the disk is created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -220,7 +220,7 @@ public partial interface IDisksOperations /// /// The name of the managed disk that is being created. The name can't /// be changed after the disk is created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -245,7 +245,7 @@ public partial interface IDisksOperations /// /// The name of the managed disk that is being created. The name can't /// be changed after the disk is created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -276,7 +276,7 @@ public partial interface IDisksOperations /// /// The name of the managed disk that is being created. The name can't /// be changed after the disk is created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -307,7 +307,7 @@ public partial interface IDisksOperations /// /// The name of the managed disk that is being created. The name can't /// be changed after the disk is created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -332,7 +332,7 @@ public partial interface IDisksOperations /// /// The name of the managed disk that is being created. The name can't /// be changed after the disk is created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// @@ -364,7 +364,7 @@ public partial interface IDisksOperations /// /// The name of the managed disk that is being created. The name can't /// be changed after the disk is created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The maximum name length is 80 + /// name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 /// characters. /// /// diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/ISnapshotsOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/ISnapshotsOperations.cs index 88dc215c00e1..542bdf833944 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/ISnapshotsOperations.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/ISnapshotsOperations.cs @@ -32,7 +32,8 @@ public partial interface ISnapshotsOperations /// /// The name of the snapshot that is being created. The name can't be /// changed after the snapshot is created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The max name length is 80 characters. + /// name are a-z, A-Z, 0-9, _ and -. The max name length is 80 + /// characters. /// /// /// Snapshot object supplied in the body of the Put disk operation. @@ -62,7 +63,8 @@ public partial interface ISnapshotsOperations /// /// The name of the snapshot that is being created. The name can't be /// changed after the snapshot is created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The max name length is 80 characters. + /// name are a-z, A-Z, 0-9, _ and -. The max name length is 80 + /// characters. /// /// /// Snapshot object supplied in the body of the Patch snapshot @@ -93,7 +95,8 @@ public partial interface ISnapshotsOperations /// /// The name of the snapshot that is being created. The name can't be /// changed after the snapshot is created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The max name length is 80 characters. + /// name are a-z, A-Z, 0-9, _ and -. The max name length is 80 + /// characters. /// /// /// The headers that will be added to request. @@ -120,7 +123,8 @@ public partial interface ISnapshotsOperations /// /// The name of the snapshot that is being created. The name can't be /// changed after the snapshot is created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The max name length is 80 characters. + /// name are a-z, A-Z, 0-9, _ and -. The max name length is 80 + /// characters. /// /// /// The headers that will be added to request. @@ -185,7 +189,8 @@ public partial interface ISnapshotsOperations /// /// The name of the snapshot that is being created. The name can't be /// changed after the snapshot is created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The max name length is 80 characters. + /// name are a-z, A-Z, 0-9, _ and -. The max name length is 80 + /// characters. /// /// /// Access data object supplied in the body of the get snapshot access @@ -216,7 +221,8 @@ public partial interface ISnapshotsOperations /// /// The name of the snapshot that is being created. The name can't be /// changed after the snapshot is created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The max name length is 80 characters. + /// name are a-z, A-Z, 0-9, _ and -. The max name length is 80 + /// characters. /// /// /// The headers that will be added to request. @@ -240,7 +246,8 @@ public partial interface ISnapshotsOperations /// /// The name of the snapshot that is being created. The name can't be /// changed after the snapshot is created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The max name length is 80 characters. + /// name are a-z, A-Z, 0-9, _ and -. The max name length is 80 + /// characters. /// /// /// Snapshot object supplied in the body of the Put disk operation. @@ -270,7 +277,8 @@ public partial interface ISnapshotsOperations /// /// The name of the snapshot that is being created. The name can't be /// changed after the snapshot is created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The max name length is 80 characters. + /// name are a-z, A-Z, 0-9, _ and -. The max name length is 80 + /// characters. /// /// /// Snapshot object supplied in the body of the Patch snapshot @@ -301,7 +309,8 @@ public partial interface ISnapshotsOperations /// /// The name of the snapshot that is being created. The name can't be /// changed after the snapshot is created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The max name length is 80 characters. + /// name are a-z, A-Z, 0-9, _ and -. The max name length is 80 + /// characters. /// /// /// The headers that will be added to request. @@ -325,7 +334,8 @@ public partial interface ISnapshotsOperations /// /// The name of the snapshot that is being created. The name can't be /// changed after the snapshot is created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The max name length is 80 characters. + /// name are a-z, A-Z, 0-9, _ and -. The max name length is 80 + /// characters. /// /// /// Access data object supplied in the body of the get snapshot access @@ -356,7 +366,8 @@ public partial interface ISnapshotsOperations /// /// The name of the snapshot that is being created. The name can't be /// changed after the snapshot is created. Supported characters for the - /// name are a-z, A-Z, 0-9 and _. The max name length is 80 characters. + /// name are a-z, A-Z, 0-9, _ and -. The max name length is 80 + /// characters. /// /// /// The headers that will be added to request. diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/CreationData.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/CreationData.cs index c0f74c0583d5..02a0cd11304d 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/CreationData.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/CreationData.cs @@ -32,7 +32,8 @@ public CreationData() /// /// This enumerates the possible sources of /// a disk's creation. Possible values include: 'Empty', 'Attach', - /// 'FromImage', 'Import', 'Copy', 'Restore', 'Upload' + /// 'FromImage', 'Import', 'Copy', 'Restore', 'Upload', + /// 'CopyStart' /// Required if createOption is Import. /// The Azure Resource Manager identifier of the storage account /// containing the blob to import as a disk. @@ -77,7 +78,7 @@ public CreationData() /// /// Gets or sets this enumerates the possible sources of a disk's /// creation. Possible values include: 'Empty', 'Attach', 'FromImage', - /// 'Import', 'Copy', 'Restore', 'Upload' + /// 'Import', 'Copy', 'Restore', 'Upload', 'CopyStart' /// [JsonProperty(PropertyName = "createOption")] public string CreateOption { get; set; } diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/Disk.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/Disk.cs index 6a3e5ee42f93..172f80965242 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/Disk.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/Disk.cs @@ -62,6 +62,8 @@ public Disk() /// image from which the OS disk was created. E.g. - {name: /// 2019-Datacenter, publisher: MicrosoftWindowsServer, product: /// WindowsServer} + /// List of supported capabilities + /// for the image from which the OS disk was created. /// If creationData.createOption is Empty, /// this field is mandatory and it indicates the size of the disk to /// create. If this field is present for updates or creation with other @@ -92,8 +94,9 @@ public Disk() /// ReadOnly. MBps means millions of bytes per second - MB here uses /// the ISO notation, of powers of 10. /// The state of the disk. Possible values - /// include: 'Unattached', 'Attached', 'Reserved', 'ActiveSAS', - /// 'ReadyToUpload', 'ActiveUpload' + /// include: 'Unattached', 'Attached', 'Reserved', 'Frozen', + /// 'ActiveSAS', 'ActiveSASFrozen', 'ReadyToUpload', + /// 'ActiveUpload' /// Encryption property can be used to encrypt /// data at rest with customer managed keys or platform managed /// keys. @@ -120,7 +123,12 @@ public Disk() /// supports hibernation. /// Contains the security related /// information for the resource. - public Disk(string location, CreationData creationData, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string managedBy = default(string), IList managedByExtended = default(IList), DiskSku sku = default(DiskSku), IList zones = default(IList), ExtendedLocation extendedLocation = default(ExtendedLocation), System.DateTime? timeCreated = default(System.DateTime?), OperatingSystemTypes? osType = default(OperatingSystemTypes?), string hyperVGeneration = default(string), PurchasePlan purchasePlan = default(PurchasePlan), int? diskSizeGB = default(int?), long? diskSizeBytes = default(long?), string uniqueId = default(string), EncryptionSettingsCollection encryptionSettingsCollection = default(EncryptionSettingsCollection), string provisioningState = default(string), long? diskIOPSReadWrite = default(long?), long? diskMBpsReadWrite = default(long?), long? diskIOPSReadOnly = default(long?), long? diskMBpsReadOnly = default(long?), string diskState = default(string), Encryption encryption = default(Encryption), int? maxShares = default(int?), IList shareInfo = default(IList), string networkAccessPolicy = default(string), string diskAccessId = default(string), string tier = default(string), bool? burstingEnabled = default(bool?), PropertyUpdatesInProgress propertyUpdatesInProgress = default(PropertyUpdatesInProgress), bool? supportsHibernation = default(bool?), DiskSecurityProfile securityProfile = default(DiskSecurityProfile)) + /// Percentage complete for the + /// background copy when a resource is created via the CopyStart + /// operation. + /// Possible values include: + /// 'Enabled', 'Disabled' + public Disk(string location, CreationData creationData, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string managedBy = default(string), IList managedByExtended = default(IList), DiskSku sku = default(DiskSku), IList zones = default(IList), ExtendedLocation extendedLocation = default(ExtendedLocation), System.DateTime? timeCreated = default(System.DateTime?), OperatingSystemTypes? osType = default(OperatingSystemTypes?), string hyperVGeneration = default(string), PurchasePlan purchasePlan = default(PurchasePlan), SupportedCapabilities supportedCapabilities = default(SupportedCapabilities), int? diskSizeGB = default(int?), long? diskSizeBytes = default(long?), string uniqueId = default(string), EncryptionSettingsCollection encryptionSettingsCollection = default(EncryptionSettingsCollection), string provisioningState = default(string), long? diskIOPSReadWrite = default(long?), long? diskMBpsReadWrite = default(long?), long? diskIOPSReadOnly = default(long?), long? diskMBpsReadOnly = default(long?), string diskState = default(string), Encryption encryption = default(Encryption), int? maxShares = default(int?), IList shareInfo = default(IList), string networkAccessPolicy = default(string), string diskAccessId = default(string), string tier = default(string), bool? burstingEnabled = default(bool?), PropertyUpdatesInProgress propertyUpdatesInProgress = default(PropertyUpdatesInProgress), bool? supportsHibernation = default(bool?), DiskSecurityProfile securityProfile = default(DiskSecurityProfile), double? completionPercent = default(double?), string publicNetworkAccess = default(string)) : base(location, id, name, type, tags) { ManagedBy = managedBy; @@ -132,6 +140,7 @@ public Disk() OsType = osType; HyperVGeneration = hyperVGeneration; PurchasePlan = purchasePlan; + SupportedCapabilities = supportedCapabilities; CreationData = creationData; DiskSizeGB = diskSizeGB; DiskSizeBytes = diskSizeBytes; @@ -153,6 +162,8 @@ public Disk() PropertyUpdatesInProgress = propertyUpdatesInProgress; SupportsHibernation = supportsHibernation; SecurityProfile = securityProfile; + CompletionPercent = completionPercent; + PublicNetworkAccess = publicNetworkAccess; CustomInit(); } @@ -222,6 +233,13 @@ public Disk() [JsonProperty(PropertyName = "properties.purchasePlan")] public PurchasePlan PurchasePlan { get; set; } + /// + /// Gets or sets list of supported capabilities for the image from + /// which the OS disk was created. + /// + [JsonProperty(PropertyName = "properties.supportedCapabilities")] + public SupportedCapabilities SupportedCapabilities { get; set; } + /// /// Gets or sets disk source information. CreationData information /// cannot be changed after the disk has been created. @@ -300,8 +318,8 @@ public Disk() /// /// Gets or sets the state of the disk. Possible values include: - /// 'Unattached', 'Attached', 'Reserved', 'ActiveSAS', 'ReadyToUpload', - /// 'ActiveUpload' + /// 'Unattached', 'Attached', 'Reserved', 'Frozen', 'ActiveSAS', + /// 'ActiveSASFrozen', 'ReadyToUpload', 'ActiveUpload' /// [JsonProperty(PropertyName = "properties.diskState")] public string DiskState { get; set; } @@ -379,6 +397,19 @@ public Disk() [JsonProperty(PropertyName = "properties.securityProfile")] public DiskSecurityProfile SecurityProfile { get; set; } + /// + /// Gets or sets percentage complete for the background copy when a + /// resource is created via the CopyStart operation. + /// + [JsonProperty(PropertyName = "properties.completionPercent")] + public double? CompletionPercent { get; set; } + + /// + /// Gets or sets possible values include: 'Enabled', 'Disabled' + /// + [JsonProperty(PropertyName = "properties.publicNetworkAccess")] + public string PublicNetworkAccess { get; set; } + /// /// Validate the object. /// diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskAccess.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskAccess.cs index f16592d89dba..e87d9e148ca8 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskAccess.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskAccess.cs @@ -46,12 +46,16 @@ public DiskAccess() /// provisioning state. /// The time when the disk access was /// created. - public DiskAccess(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), IList privateEndpointConnections = default(IList), string provisioningState = default(string), System.DateTime? timeCreated = default(System.DateTime?)) + /// The extended location where the disk + /// access will be created. Extended location cannot be + /// changed. + public DiskAccess(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), IList privateEndpointConnections = default(IList), string provisioningState = default(string), System.DateTime? timeCreated = default(System.DateTime?), ExtendedLocation extendedLocation = default(ExtendedLocation)) : base(location, id, name, type, tags) { PrivateEndpointConnections = privateEndpointConnections; ProvisioningState = provisioningState; TimeCreated = timeCreated; + ExtendedLocation = extendedLocation; CustomInit(); } @@ -79,6 +83,13 @@ public DiskAccess() [JsonProperty(PropertyName = "properties.timeCreated")] public System.DateTime? TimeCreated { get; private set; } + /// + /// Gets or sets the extended location where the disk access will be + /// created. Extended location cannot be changed. + /// + [JsonProperty(PropertyName = "extendedLocation")] + public ExtendedLocation ExtendedLocation { get; set; } + /// /// Validate the object. /// diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskCreateOption.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskCreateOption.cs index ce7b658a0f0d..6c8a2bf46600 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskCreateOption.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskCreateOption.cs @@ -48,5 +48,11 @@ public static class DiskCreateOption /// directly upload the contents of the disk. /// public const string Upload = "Upload"; + /// + /// Create a new disk by using a deep copy process, where the resource + /// creation is considered complete only after all data has been copied + /// from the source. + /// + public const string CopyStart = "CopyStart"; } } diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskEncryptionSet.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskEncryptionSet.cs index aea4875565ed..23389e9e0a9d 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskEncryptionSet.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskEncryptionSet.cs @@ -55,7 +55,11 @@ public DiskEncryptionSet() /// latest key version. /// The time when the active key /// of this disk encryption set was updated. - public DiskEncryptionSet(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), EncryptionSetIdentity identity = default(EncryptionSetIdentity), string encryptionType = default(string), KeyForDiskEncryptionSet activeKey = default(KeyForDiskEncryptionSet), IList previousKeys = default(IList), string provisioningState = default(string), bool? rotationToLatestKeyVersionEnabled = default(bool?), System.DateTime? lastKeyRotationTimestamp = default(System.DateTime?)) + /// The error that was encountered + /// during auto-key rotation. If an error is present, then auto-key + /// rotation will not be attempted until the error on this disk + /// encryption set is fixed. + public DiskEncryptionSet(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), EncryptionSetIdentity identity = default(EncryptionSetIdentity), string encryptionType = default(string), KeyForDiskEncryptionSet activeKey = default(KeyForDiskEncryptionSet), IList previousKeys = default(IList), string provisioningState = default(string), bool? rotationToLatestKeyVersionEnabled = default(bool?), System.DateTime? lastKeyRotationTimestamp = default(System.DateTime?), ApiError autoKeyRotationError = default(ApiError)) : base(location, id, name, type, tags) { Identity = identity; @@ -65,6 +69,7 @@ public DiskEncryptionSet() ProvisioningState = provisioningState; RotationToLatestKeyVersionEnabled = rotationToLatestKeyVersionEnabled; LastKeyRotationTimestamp = lastKeyRotationTimestamp; + AutoKeyRotationError = autoKeyRotationError; CustomInit(); } @@ -121,6 +126,14 @@ public DiskEncryptionSet() [JsonProperty(PropertyName = "properties.lastKeyRotationTimestamp")] public System.DateTime? LastKeyRotationTimestamp { get; private set; } + /// + /// Gets the error that was encountered during auto-key rotation. If an + /// error is present, then auto-key rotation will not be attempted + /// until the error on this disk encryption set is fixed. + /// + [JsonProperty(PropertyName = "properties.autoKeyRotationError")] + public ApiError AutoKeyRotationError { get; private set; } + /// /// Validate the object. /// diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskRestorePoint.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskRestorePoint.cs index 380ff8233e20..503f834b410c 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskRestorePoint.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskRestorePoint.cs @@ -45,6 +45,9 @@ public DiskRestorePoint() /// include: 'V1', 'V2' /// Purchase plan information for the the /// image from which the OS disk was created. + /// List of supported capabilities + /// (like accelerated networking) for the image from which the OS disk + /// was created. /// id of the backing snapshot's MIS /// family /// unique incarnation id of the source @@ -54,7 +57,16 @@ public DiskRestorePoint() /// keys. /// Indicates the OS on a disk /// supports hibernation. - public DiskRestorePoint(string id = default(string), string name = default(string), string type = default(string), System.DateTime? timeCreated = default(System.DateTime?), string sourceResourceId = default(string), OperatingSystemTypes? osType = default(OperatingSystemTypes?), string hyperVGeneration = default(string), PurchasePlan purchasePlan = default(PurchasePlan), string familyId = default(string), string sourceUniqueId = default(string), Encryption encryption = default(Encryption), bool? supportsHibernation = default(bool?)) + /// Possible values include: + /// 'AllowAll', 'AllowPrivate', 'DenyAll' + /// Possible values include: + /// 'Enabled', 'Disabled' + /// ARM id of the DiskAccess resource for + /// using private endpoints on disks. + /// Percentage complete for the + /// background copy when a resource is created via the CopyStart + /// operation. + public DiskRestorePoint(string id = default(string), string name = default(string), string type = default(string), System.DateTime? timeCreated = default(System.DateTime?), string sourceResourceId = default(string), OperatingSystemTypes? osType = default(OperatingSystemTypes?), string hyperVGeneration = default(string), PurchasePlan purchasePlan = default(PurchasePlan), SupportedCapabilities supportedCapabilities = default(SupportedCapabilities), string familyId = default(string), string sourceUniqueId = default(string), Encryption encryption = default(Encryption), bool? supportsHibernation = default(bool?), string networkAccessPolicy = default(string), string publicNetworkAccess = default(string), string diskAccessId = default(string), double? completionPercent = default(double?)) : base(id, name, type) { TimeCreated = timeCreated; @@ -62,10 +74,15 @@ public DiskRestorePoint() OsType = osType; HyperVGeneration = hyperVGeneration; PurchasePlan = purchasePlan; + SupportedCapabilities = supportedCapabilities; FamilyId = familyId; SourceUniqueId = sourceUniqueId; Encryption = encryption; SupportsHibernation = supportsHibernation; + NetworkAccessPolicy = networkAccessPolicy; + PublicNetworkAccess = publicNetworkAccess; + DiskAccessId = diskAccessId; + CompletionPercent = completionPercent; CustomInit(); } @@ -107,6 +124,13 @@ public DiskRestorePoint() [JsonProperty(PropertyName = "properties.purchasePlan")] public PurchasePlan PurchasePlan { get; set; } + /// + /// Gets or sets list of supported capabilities (like accelerated + /// networking) for the image from which the OS disk was created. + /// + [JsonProperty(PropertyName = "properties.supportedCapabilities")] + public SupportedCapabilities SupportedCapabilities { get; set; } + /// /// Gets id of the backing snapshot's MIS family /// @@ -132,6 +156,33 @@ public DiskRestorePoint() [JsonProperty(PropertyName = "properties.supportsHibernation")] public bool? SupportsHibernation { get; set; } + /// + /// Gets or sets possible values include: 'AllowAll', 'AllowPrivate', + /// 'DenyAll' + /// + [JsonProperty(PropertyName = "properties.networkAccessPolicy")] + public string NetworkAccessPolicy { get; set; } + + /// + /// Gets or sets possible values include: 'Enabled', 'Disabled' + /// + [JsonProperty(PropertyName = "properties.publicNetworkAccess")] + public string PublicNetworkAccess { get; set; } + + /// + /// Gets or sets ARM id of the DiskAccess resource for using private + /// endpoints on disks. + /// + [JsonProperty(PropertyName = "properties.diskAccessId")] + public string DiskAccessId { get; set; } + + /// + /// Gets or sets percentage complete for the background copy when a + /// resource is created via the CopyStart operation. + /// + [JsonProperty(PropertyName = "properties.completionPercent")] + public double? CompletionPercent { get; set; } + /// /// Validate the object. /// diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskState.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskState.cs index a9e6e3803281..c1c3c4072ec0 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskState.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskState.cs @@ -21,18 +21,27 @@ public static class DiskState /// public const string Unattached = "Unattached"; /// - /// The disk is currently mounted to a running VM. + /// The disk is currently attached to a running VM. /// public const string Attached = "Attached"; /// - /// The disk is mounted to a stopped-deallocated VM + /// The disk is attached to a stopped-deallocated VM. /// public const string Reserved = "Reserved"; /// + /// The disk is attached to a VM which is in hibernated state. + /// + public const string Frozen = "Frozen"; + /// /// The disk currently has an Active SAS Uri associated with it. /// public const string ActiveSAS = "ActiveSAS"; /// + /// The disk is attached to a VM in hibernated state and has an active + /// SAS URI associated with it. + /// + public const string ActiveSASFrozen = "ActiveSASFrozen"; + /// /// A disk is ready to be created by upload by requesting a write /// token. /// diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskUpdate.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskUpdate.cs index 838901498d2b..f8cfdb80eb13 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskUpdate.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskUpdate.cs @@ -78,12 +78,16 @@ public DiskUpdate() /// disabled by default. Does not apply to Ultra disks. /// Purchase plan information to be added on /// the OS disk + /// List of supported capabilities + /// (like accelerated networking) to be added on the OS disk. /// Properties of the disk for /// which update is pending. /// Indicates the OS on a disk /// supports hibernation. + /// Possible values include: + /// 'Enabled', 'Disabled' /// Resource tags - public DiskUpdate(OperatingSystemTypes? osType = default(OperatingSystemTypes?), int? diskSizeGB = default(int?), EncryptionSettingsCollection encryptionSettingsCollection = default(EncryptionSettingsCollection), long? diskIOPSReadWrite = default(long?), long? diskMBpsReadWrite = default(long?), long? diskIOPSReadOnly = default(long?), long? diskMBpsReadOnly = default(long?), int? maxShares = default(int?), Encryption encryption = default(Encryption), string networkAccessPolicy = default(string), string diskAccessId = default(string), string tier = default(string), bool? burstingEnabled = default(bool?), PurchasePlan purchasePlan = default(PurchasePlan), PropertyUpdatesInProgress propertyUpdatesInProgress = default(PropertyUpdatesInProgress), bool? supportsHibernation = default(bool?), IDictionary tags = default(IDictionary), DiskSku sku = default(DiskSku)) + public DiskUpdate(OperatingSystemTypes? osType = default(OperatingSystemTypes?), int? diskSizeGB = default(int?), EncryptionSettingsCollection encryptionSettingsCollection = default(EncryptionSettingsCollection), long? diskIOPSReadWrite = default(long?), long? diskMBpsReadWrite = default(long?), long? diskIOPSReadOnly = default(long?), long? diskMBpsReadOnly = default(long?), int? maxShares = default(int?), Encryption encryption = default(Encryption), string networkAccessPolicy = default(string), string diskAccessId = default(string), string tier = default(string), bool? burstingEnabled = default(bool?), PurchasePlan purchasePlan = default(PurchasePlan), SupportedCapabilities supportedCapabilities = default(SupportedCapabilities), PropertyUpdatesInProgress propertyUpdatesInProgress = default(PropertyUpdatesInProgress), bool? supportsHibernation = default(bool?), string publicNetworkAccess = default(string), IDictionary tags = default(IDictionary), DiskSku sku = default(DiskSku)) { OsType = osType; DiskSizeGB = diskSizeGB; @@ -99,8 +103,10 @@ public DiskUpdate() Tier = tier; BurstingEnabled = burstingEnabled; PurchasePlan = purchasePlan; + SupportedCapabilities = supportedCapabilities; PropertyUpdatesInProgress = propertyUpdatesInProgress; SupportsHibernation = supportsHibernation; + PublicNetworkAccess = publicNetworkAccess; Tags = tags; Sku = sku; CustomInit(); @@ -221,6 +227,13 @@ public DiskUpdate() [JsonProperty(PropertyName = "properties.purchasePlan")] public PurchasePlan PurchasePlan { get; set; } + /// + /// Gets or sets list of supported capabilities (like accelerated + /// networking) to be added on the OS disk. + /// + [JsonProperty(PropertyName = "properties.supportedCapabilities")] + public SupportedCapabilities SupportedCapabilities { get; set; } + /// /// Gets properties of the disk for which update is pending. /// @@ -233,6 +246,12 @@ public DiskUpdate() [JsonProperty(PropertyName = "properties.supportsHibernation")] public bool? SupportsHibernation { get; set; } + /// + /// Gets or sets possible values include: 'Enabled', 'Disabled' + /// + [JsonProperty(PropertyName = "properties.publicNetworkAccess")] + public string PublicNetworkAccess { get; set; } + /// /// Gets or sets resource tags /// diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/PublicNetworkAccess.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/PublicNetworkAccess.cs new file mode 100644 index 000000000000..bf95aa396f39 --- /dev/null +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/PublicNetworkAccess.cs @@ -0,0 +1,34 @@ +// +// 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.Compute.Models +{ + + /// + /// Defines values for PublicNetworkAccess. + /// + public static class PublicNetworkAccess + { + /// + /// You can generate a SAS URI to access the underlying data of the + /// disk publicly on the internet when NetworkAccessPolicy is set to + /// AllowAll. You can access the data via the SAS URI only from your + /// trusted Azure VNET when NetworkAccessPolicy is set to AllowPrivate. + /// + public const string Enabled = "Enabled"; + /// + /// You cannot access the underlying data of the disk publicly on the + /// internet even when NetworkAccessPolicy is set to AllowAll. You can + /// access the data via the SAS URI only from your trusted Azure VNET + /// when NetworkAccessPolicy is set to AllowPrivate. + /// + public const string Disabled = "Disabled"; + } +} diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/Snapshot.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/Snapshot.cs index 7964f4b6c0a3..cd3d17be1425 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/Snapshot.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/Snapshot.cs @@ -56,6 +56,9 @@ public Snapshot() /// Purchase plan information for the image /// from which the source disk for the snapshot was originally /// created. + /// List of supported capabilities + /// (like Accelerated Networking) for the image from which the source + /// disk from the snapshot was originally created. /// If creationData.createOption is Empty, /// this field is mandatory and it indicates the size of the disk to /// create. If this field is present for updates or creation with other @@ -65,8 +68,9 @@ public Snapshot() /// The size of the disk in bytes. This /// field is read only. /// The state of the snapshot. Possible values - /// include: 'Unattached', 'Attached', 'Reserved', 'ActiveSAS', - /// 'ReadyToUpload', 'ActiveUpload' + /// include: 'Unattached', 'Attached', 'Reserved', 'Frozen', + /// 'ActiveSAS', 'ActiveSASFrozen', 'ReadyToUpload', + /// 'ActiveUpload' /// Unique Guid identifying the /// resource. /// Encryption settings @@ -86,7 +90,12 @@ public Snapshot() /// using private endpoints on disks. /// Indicates the OS on a snapshot /// supports hibernation. - public Snapshot(string location, CreationData creationData, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string managedBy = default(string), SnapshotSku sku = default(SnapshotSku), ExtendedLocation extendedLocation = default(ExtendedLocation), System.DateTime? timeCreated = default(System.DateTime?), OperatingSystemTypes? osType = default(OperatingSystemTypes?), string hyperVGeneration = default(string), PurchasePlan purchasePlan = default(PurchasePlan), int? diskSizeGB = default(int?), long? diskSizeBytes = default(long?), string diskState = default(string), string uniqueId = default(string), EncryptionSettingsCollection encryptionSettingsCollection = default(EncryptionSettingsCollection), string provisioningState = default(string), bool? incremental = default(bool?), Encryption encryption = default(Encryption), string networkAccessPolicy = default(string), string diskAccessId = default(string), bool? supportsHibernation = default(bool?)) + /// Possible values include: + /// 'Enabled', 'Disabled' + /// Percentage complete for the + /// background copy when a resource is created via the CopyStart + /// operation. + public Snapshot(string location, CreationData creationData, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string managedBy = default(string), SnapshotSku sku = default(SnapshotSku), ExtendedLocation extendedLocation = default(ExtendedLocation), System.DateTime? timeCreated = default(System.DateTime?), OperatingSystemTypes? osType = default(OperatingSystemTypes?), string hyperVGeneration = default(string), PurchasePlan purchasePlan = default(PurchasePlan), SupportedCapabilities supportedCapabilities = default(SupportedCapabilities), int? diskSizeGB = default(int?), long? diskSizeBytes = default(long?), string diskState = default(string), string uniqueId = default(string), EncryptionSettingsCollection encryptionSettingsCollection = default(EncryptionSettingsCollection), string provisioningState = default(string), bool? incremental = default(bool?), Encryption encryption = default(Encryption), string networkAccessPolicy = default(string), string diskAccessId = default(string), bool? supportsHibernation = default(bool?), string publicNetworkAccess = default(string), double? completionPercent = default(double?)) : base(location, id, name, type, tags) { ManagedBy = managedBy; @@ -96,6 +105,7 @@ public Snapshot() OsType = osType; HyperVGeneration = hyperVGeneration; PurchasePlan = purchasePlan; + SupportedCapabilities = supportedCapabilities; CreationData = creationData; DiskSizeGB = diskSizeGB; DiskSizeBytes = diskSizeBytes; @@ -108,6 +118,8 @@ public Snapshot() NetworkAccessPolicy = networkAccessPolicy; DiskAccessId = diskAccessId; SupportsHibernation = supportsHibernation; + PublicNetworkAccess = publicNetworkAccess; + CompletionPercent = completionPercent; CustomInit(); } @@ -161,6 +173,14 @@ public Snapshot() [JsonProperty(PropertyName = "properties.purchasePlan")] public PurchasePlan PurchasePlan { get; set; } + /// + /// Gets or sets list of supported capabilities (like Accelerated + /// Networking) for the image from which the source disk from the + /// snapshot was originally created. + /// + [JsonProperty(PropertyName = "properties.supportedCapabilities")] + public SupportedCapabilities SupportedCapabilities { get; set; } + /// /// Gets or sets disk source information. CreationData information /// cannot be changed after the disk has been created. @@ -186,8 +206,8 @@ public Snapshot() /// /// Gets or sets the state of the snapshot. Possible values include: - /// 'Unattached', 'Attached', 'Reserved', 'ActiveSAS', 'ReadyToUpload', - /// 'ActiveUpload' + /// 'Unattached', 'Attached', 'Reserved', 'Frozen', 'ActiveSAS', + /// 'ActiveSASFrozen', 'ReadyToUpload', 'ActiveUpload' /// [JsonProperty(PropertyName = "properties.diskState")] public string DiskState { get; set; } @@ -247,6 +267,19 @@ public Snapshot() [JsonProperty(PropertyName = "properties.supportsHibernation")] public bool? SupportsHibernation { get; set; } + /// + /// Gets or sets possible values include: 'Enabled', 'Disabled' + /// + [JsonProperty(PropertyName = "properties.publicNetworkAccess")] + public string PublicNetworkAccess { get; set; } + + /// + /// Gets or sets percentage complete for the background copy when a + /// resource is created via the CopyStart operation. + /// + [JsonProperty(PropertyName = "properties.completionPercent")] + public double? CompletionPercent { get; set; } + /// /// Validate the object. /// diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/SnapshotUpdate.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/SnapshotUpdate.cs index 9dbe03e93ae2..0a52d0febc00 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/SnapshotUpdate.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/SnapshotUpdate.cs @@ -54,8 +54,10 @@ public SnapshotUpdate() /// using private endpoints on disks. /// Indicates the OS on a snapshot /// supports hibernation. + /// Possible values include: + /// 'Enabled', 'Disabled' /// Resource tags - public SnapshotUpdate(OperatingSystemTypes? osType = default(OperatingSystemTypes?), int? diskSizeGB = default(int?), EncryptionSettingsCollection encryptionSettingsCollection = default(EncryptionSettingsCollection), Encryption encryption = default(Encryption), string networkAccessPolicy = default(string), string diskAccessId = default(string), bool? supportsHibernation = default(bool?), IDictionary tags = default(IDictionary), SnapshotSku sku = default(SnapshotSku)) + public SnapshotUpdate(OperatingSystemTypes? osType = default(OperatingSystemTypes?), int? diskSizeGB = default(int?), EncryptionSettingsCollection encryptionSettingsCollection = default(EncryptionSettingsCollection), Encryption encryption = default(Encryption), string networkAccessPolicy = default(string), string diskAccessId = default(string), bool? supportsHibernation = default(bool?), string publicNetworkAccess = default(string), IDictionary tags = default(IDictionary), SnapshotSku sku = default(SnapshotSku)) { OsType = osType; DiskSizeGB = diskSizeGB; @@ -64,6 +66,7 @@ public SnapshotUpdate() NetworkAccessPolicy = networkAccessPolicy; DiskAccessId = diskAccessId; SupportsHibernation = supportsHibernation; + PublicNetworkAccess = publicNetworkAccess; Tags = tags; Sku = sku; CustomInit(); @@ -126,6 +129,12 @@ public SnapshotUpdate() [JsonProperty(PropertyName = "properties.supportsHibernation")] public bool? SupportsHibernation { get; set; } + /// + /// Gets or sets possible values include: 'Enabled', 'Disabled' + /// + [JsonProperty(PropertyName = "properties.publicNetworkAccess")] + public string PublicNetworkAccess { get; set; } + /// /// Gets or sets resource tags /// diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/SupportedCapabilities.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/SupportedCapabilities.cs new file mode 100644 index 000000000000..8be23132fdb5 --- /dev/null +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/SupportedCapabilities.cs @@ -0,0 +1,54 @@ +// +// 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.Compute.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// List of supported capabilities (like accelerated networking) persisted + /// on the disk resource for VM use. + /// + public partial class SupportedCapabilities + { + /// + /// Initializes a new instance of the SupportedCapabilities class. + /// + public SupportedCapabilities() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the SupportedCapabilities class. + /// + /// True if the image from which the + /// OS disk is created supports accelerated networking. + public SupportedCapabilities(bool? acceleratedNetwork = default(bool?)) + { + AcceleratedNetwork = acceleratedNetwork; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets true if the image from which the OS disk is created + /// supports accelerated networking. + /// + [JsonProperty(PropertyName = "acceleratedNetwork")] + public bool? AcceleratedNetwork { get; set; } + + } +} diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SdkInfo_ComputeManagementClient.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SdkInfo_ComputeManagementClient.cs index 1e9ddf5e2f08..2b75edb7232d 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SdkInfo_ComputeManagementClient.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SdkInfo_ComputeManagementClient.cs @@ -29,10 +29,10 @@ public static IEnumerable> ApiInfo_ComputeManageme new Tuple("Compute", "CloudServicesUpdateDomain", "2021-03-01"), new Tuple("Compute", "DedicatedHostGroups", "2021-07-01"), new Tuple("Compute", "DedicatedHosts", "2021-07-01"), - new Tuple("Compute", "DiskAccesses", "2020-12-01"), - new Tuple("Compute", "DiskEncryptionSets", "2020-12-01"), - new Tuple("Compute", "DiskRestorePoint", "2020-12-01"), - new Tuple("Compute", "Disks", "2020-12-01"), + new Tuple("Compute", "DiskAccesses", "2021-04-01"), + new Tuple("Compute", "DiskEncryptionSets", "2021-04-01"), + new Tuple("Compute", "DiskRestorePoint", "2021-04-01"), + new Tuple("Compute", "Disks", "2021-04-01"), new Tuple("Compute", "Galleries", "2021-07-01"), new Tuple("Compute", "GalleryApplicationVersions", "2021-07-01"), new Tuple("Compute", "GalleryApplications", "2021-07-01"), @@ -49,7 +49,7 @@ public static IEnumerable> ApiInfo_ComputeManageme new Tuple("Compute", "SharedGalleries", "2021-07-01"), new Tuple("Compute", "SharedGalleryImageVersions", "2021-07-01"), new Tuple("Compute", "SharedGalleryImages", "2021-07-01"), - new Tuple("Compute", "Snapshots", "2020-12-01"), + new Tuple("Compute", "Snapshots", "2021-04-01"), new Tuple("Compute", "SshPublicKeys", "2021-07-01"), new Tuple("Compute", "Usage", "2021-07-01"), new Tuple("Compute", "VirtualMachineExtensionImages", "2021-07-01"), diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SnapshotsOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SnapshotsOperations.cs index e7239b34bc3c..891e94b76429 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SnapshotsOperations.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SnapshotsOperations.cs @@ -59,7 +59,7 @@ internal SnapshotsOperations(ComputeManagementClient client) /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// /// /// Snapshot object supplied in the body of the Put disk operation. @@ -86,7 +86,7 @@ internal SnapshotsOperations(ComputeManagementClient client) /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// /// /// Snapshot object supplied in the body of the Patch snapshot operation. @@ -113,7 +113,7 @@ internal SnapshotsOperations(ComputeManagementClient client) /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// /// /// Headers that will be added to request. @@ -150,7 +150,7 @@ internal SnapshotsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "snapshotName"); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -309,7 +309,7 @@ internal SnapshotsOperations(ComputeManagementClient client) /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// /// /// The headers that will be added to request. @@ -361,7 +361,7 @@ internal SnapshotsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -539,7 +539,7 @@ internal SnapshotsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -694,7 +694,7 @@ internal SnapshotsOperations(ComputeManagementClient client) /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// /// /// Access data object supplied in the body of the get snapshot access @@ -722,7 +722,7 @@ internal SnapshotsOperations(ComputeManagementClient client) /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// /// /// The headers that will be added to request. @@ -746,7 +746,7 @@ internal SnapshotsOperations(ComputeManagementClient client) /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// /// /// Snapshot object supplied in the body of the Put disk operation. @@ -794,7 +794,7 @@ internal SnapshotsOperations(ComputeManagementClient client) { snapshot.Validate(); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -978,7 +978,7 @@ internal SnapshotsOperations(ComputeManagementClient client) /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// /// /// Snapshot object supplied in the body of the Patch snapshot operation. @@ -1022,7 +1022,7 @@ internal SnapshotsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "snapshot"); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1206,7 +1206,7 @@ internal SnapshotsOperations(ComputeManagementClient client) /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// /// /// Headers that will be added to request. @@ -1240,7 +1240,7 @@ internal SnapshotsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "snapshotName"); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1381,7 +1381,7 @@ internal SnapshotsOperations(ComputeManagementClient client) /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// /// /// Access data object supplied in the body of the get snapshot access @@ -1430,7 +1430,7 @@ internal SnapshotsOperations(ComputeManagementClient client) { grantAccessData.Validate(); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1596,7 +1596,7 @@ internal SnapshotsOperations(ComputeManagementClient client) /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// /// /// Headers that will be added to request. @@ -1630,7 +1630,7 @@ internal SnapshotsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "snapshotName"); } - string apiVersion = "2020-12-01"; + string apiVersion = "2021-04-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SnapshotsOperationsExtensions.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SnapshotsOperationsExtensions.cs index 4cce547c6cc3..bf0a0eed6b9e 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SnapshotsOperationsExtensions.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SnapshotsOperationsExtensions.cs @@ -33,7 +33,7 @@ public static partial class SnapshotsOperationsExtensions /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// /// /// Snapshot object supplied in the body of the Put disk operation. @@ -55,7 +55,7 @@ public static Snapshot CreateOrUpdate(this ISnapshotsOperations operations, stri /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// /// /// Snapshot object supplied in the body of the Put disk operation. @@ -83,7 +83,7 @@ public static Snapshot CreateOrUpdate(this ISnapshotsOperations operations, stri /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// /// /// Snapshot object supplied in the body of the Patch snapshot operation. @@ -105,7 +105,7 @@ public static Snapshot Update(this ISnapshotsOperations operations, string resou /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// /// /// Snapshot object supplied in the body of the Patch snapshot operation. @@ -133,7 +133,7 @@ public static Snapshot Update(this ISnapshotsOperations operations, string resou /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// public static Snapshot Get(this ISnapshotsOperations operations, string resourceGroupName, string snapshotName) { @@ -152,7 +152,7 @@ public static Snapshot Get(this ISnapshotsOperations operations, string resource /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// /// /// The cancellation token. @@ -177,7 +177,7 @@ public static Snapshot Get(this ISnapshotsOperations operations, string resource /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// public static void Delete(this ISnapshotsOperations operations, string resourceGroupName, string snapshotName) { @@ -196,7 +196,7 @@ public static void Delete(this ISnapshotsOperations operations, string resourceG /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// /// /// The cancellation token. @@ -280,7 +280,7 @@ public static IPage List(this ISnapshotsOperations operations) /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// /// /// Access data object supplied in the body of the get snapshot access @@ -303,7 +303,7 @@ public static AccessUri GrantAccess(this ISnapshotsOperations operations, string /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// /// /// Access data object supplied in the body of the get snapshot access @@ -332,7 +332,7 @@ public static AccessUri GrantAccess(this ISnapshotsOperations operations, string /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// public static void RevokeAccess(this ISnapshotsOperations operations, string resourceGroupName, string snapshotName) { @@ -351,7 +351,7 @@ public static void RevokeAccess(this ISnapshotsOperations operations, string res /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// /// /// The cancellation token. @@ -373,7 +373,7 @@ public static void RevokeAccess(this ISnapshotsOperations operations, string res /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// /// /// Snapshot object supplied in the body of the Put disk operation. @@ -395,7 +395,7 @@ public static Snapshot BeginCreateOrUpdate(this ISnapshotsOperations operations, /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// /// /// Snapshot object supplied in the body of the Put disk operation. @@ -423,7 +423,7 @@ public static Snapshot BeginCreateOrUpdate(this ISnapshotsOperations operations, /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// /// /// Snapshot object supplied in the body of the Patch snapshot operation. @@ -445,7 +445,7 @@ public static Snapshot BeginUpdate(this ISnapshotsOperations operations, string /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// /// /// Snapshot object supplied in the body of the Patch snapshot operation. @@ -473,7 +473,7 @@ public static Snapshot BeginUpdate(this ISnapshotsOperations operations, string /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// public static void BeginDelete(this ISnapshotsOperations operations, string resourceGroupName, string snapshotName) { @@ -492,7 +492,7 @@ public static void BeginDelete(this ISnapshotsOperations operations, string reso /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// /// /// The cancellation token. @@ -514,7 +514,7 @@ public static void BeginDelete(this ISnapshotsOperations operations, string reso /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// /// /// Access data object supplied in the body of the get snapshot access @@ -537,7 +537,7 @@ public static AccessUri BeginGrantAccess(this ISnapshotsOperations operations, s /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// /// /// Access data object supplied in the body of the get snapshot access @@ -566,7 +566,7 @@ public static AccessUri BeginGrantAccess(this ISnapshotsOperations operations, s /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// public static void BeginRevokeAccess(this ISnapshotsOperations operations, string resourceGroupName, string snapshotName) { @@ -585,7 +585,7 @@ public static void BeginRevokeAccess(this ISnapshotsOperations operations, strin /// /// The name of the snapshot that is being created. The name can't be changed /// after the snapshot is created. Supported characters for the name are a-z, - /// A-Z, 0-9 and _. The max name length is 80 characters. + /// A-Z, 0-9, _ and -. The max name length is 80 characters. /// /// /// The cancellation token.