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 0f5e63dc0212..b5159d09093c 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskAccessesOperations.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskAccessesOperations.cs @@ -153,7 +153,7 @@ internal DiskAccessesOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "diskAccessName"); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -365,7 +365,7 @@ internal DiskAccessesOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-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 = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -736,7 +736,7 @@ internal DiskAccessesOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "diskAccessName"); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -974,7 +974,7 @@ internal DiskAccessesOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "privateEndpointConnectionName"); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1202,7 +1202,7 @@ internal DiskAccessesOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "diskAccessName"); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1410,7 +1410,7 @@ internal DiskAccessesOperations(ComputeManagementClient client) { diskAccess.Validate(); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1635,7 +1635,7 @@ internal DiskAccessesOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "diskAccessName"); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-01"; DiskAccessUpdate diskAccess = new DiskAccessUpdate(); if (tags != null) { @@ -1859,7 +1859,7 @@ internal DiskAccessesOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "diskAccessName"); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2058,7 +2058,7 @@ internal DiskAccessesOperations(ComputeManagementClient client) { privateEndpointConnection.Validate(); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -2286,7 +2286,7 @@ internal DiskAccessesOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "privateEndpointConnectionName"); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; 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 c04ab54d342e..39e7969bdff0 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskEncryptionSetsOperations.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskEncryptionSetsOperations.cs @@ -155,7 +155,7 @@ internal DiskEncryptionSetsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "diskEncryptionSetName"); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -367,7 +367,7 @@ internal DiskEncryptionSetsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-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 = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -738,7 +738,7 @@ internal DiskEncryptionSetsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "diskEncryptionSetName"); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -947,7 +947,7 @@ internal DiskEncryptionSetsOperations(ComputeManagementClient client) { diskEncryptionSet.Validate(); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1177,7 +1177,7 @@ internal DiskEncryptionSetsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "diskEncryptionSet"); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1396,7 +1396,7 @@ internal DiskEncryptionSetsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "diskEncryptionSetName"); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; 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 092a1102ff3d..073b4a5cea57 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskRestorePointOperations.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DiskRestorePointOperations.cs @@ -109,7 +109,7 @@ internal DiskRestorePointOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "diskRestorePointName"); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -315,7 +315,7 @@ internal DiskRestorePointOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "vmRestorePointName"); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -598,7 +598,7 @@ internal DiskRestorePointOperations(ComputeManagementClient client) { grantAccessData.Validate(); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -815,7 +815,7 @@ internal DiskRestorePointOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "diskRestorePointName"); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; 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 36f75f18be2d..9ebc5239e507 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DisksOperations.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/DisksOperations.cs @@ -150,7 +150,7 @@ internal DisksOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "diskName"); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -361,7 +361,7 @@ internal DisksOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-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 = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -793,7 +793,7 @@ internal DisksOperations(ComputeManagementClient client) { disk.Validate(); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1021,7 +1021,7 @@ internal DisksOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "disk"); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1239,7 +1239,7 @@ internal DisksOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "diskName"); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1428,7 +1428,7 @@ internal DisksOperations(ComputeManagementClient client) { grantAccessData.Validate(); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1628,7 +1628,7 @@ internal DisksOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "diskName"); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/Architecture.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/Architecture.cs new file mode 100644 index 000000000000..592633e05740 --- /dev/null +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/Architecture.cs @@ -0,0 +1,22 @@ +// +// 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 Architecture. + /// + public static class Architecture + { + public const string X64 = "x64"; + public const string Arm64 = "Arm64"; + } +} diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ArchitectureTypes.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ArchitectureTypes.cs new file mode 100644 index 000000000000..954bb0b2e37e --- /dev/null +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ArchitectureTypes.cs @@ -0,0 +1,22 @@ +// +// 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 ArchitectureTypes. + /// + public static class ArchitectureTypes + { + public const string X64 = "x64"; + public const string Arm64 = "Arm64"; + } +} diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DataAccessAuthMode.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DataAccessAuthMode.cs new file mode 100644 index 000000000000..8c7876ce51ba --- /dev/null +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DataAccessAuthMode.cs @@ -0,0 +1,31 @@ +// +// 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 DataAccessAuthMode. + /// + public static class DataAccessAuthMode + { + /// + /// When export/upload URL is used, the system checks if the user has + /// an identity in Azure Active Directory and has necessary permissions + /// to export/upload the data. Please refer to aka.ms/DisksAzureADAuth. + /// + public const string AzureActiveDirectory = "AzureActiveDirectory"; + /// + /// No additional authentication would be performed when accessing + /// export/upload URL. + /// + public const string None = "None"; + } +} 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 172f80965242..fbe70276f48e 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 @@ -128,7 +128,9 @@ public Disk() /// 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)) + /// Possible values include: + /// 'AzureActiveDirectory', 'None' + 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), string dataAccessAuthMode = default(string)) : base(location, id, name, type, tags) { ManagedBy = managedBy; @@ -164,6 +166,7 @@ public Disk() SecurityProfile = securityProfile; CompletionPercent = completionPercent; PublicNetworkAccess = publicNetworkAccess; + DataAccessAuthMode = dataAccessAuthMode; CustomInit(); } @@ -410,6 +413,13 @@ public Disk() [JsonProperty(PropertyName = "properties.publicNetworkAccess")] public string PublicNetworkAccess { get; set; } + /// + /// Gets or sets possible values include: 'AzureActiveDirectory', + /// 'None' + /// + [JsonProperty(PropertyName = "properties.dataAccessAuthMode")] + public string DataAccessAuthMode { get; 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 54a5bd0c9e49..ef44bb922157 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 @@ -47,8 +47,7 @@ public DiskRestorePoint() /// 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. + /// for the image from which the OS disk was created. /// id of the backing snapshot's MIS /// family /// unique incarnation id of the source @@ -133,8 +132,8 @@ public DiskRestorePoint() 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. + /// 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; } 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 f8cfdb80eb13..ff7e258ae750 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 @@ -79,15 +79,17 @@ public DiskUpdate() /// Purchase plan information to be added on /// the OS disk /// List of supported capabilities - /// (like accelerated networking) to be added on the OS disk. + /// 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' + /// Possible values include: + /// 'AzureActiveDirectory', 'None' /// 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), SupportedCapabilities supportedCapabilities = default(SupportedCapabilities), PropertyUpdatesInProgress propertyUpdatesInProgress = default(PropertyUpdatesInProgress), bool? supportsHibernation = default(bool?), string publicNetworkAccess = default(string), 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), string dataAccessAuthMode = default(string), IDictionary tags = default(IDictionary), DiskSku sku = default(DiskSku)) { OsType = osType; DiskSizeGB = diskSizeGB; @@ -107,6 +109,7 @@ public DiskUpdate() PropertyUpdatesInProgress = propertyUpdatesInProgress; SupportsHibernation = supportsHibernation; PublicNetworkAccess = publicNetworkAccess; + DataAccessAuthMode = dataAccessAuthMode; Tags = tags; Sku = sku; CustomInit(); @@ -228,8 +231,8 @@ public DiskUpdate() public PurchasePlan PurchasePlan { get; set; } /// - /// Gets or sets list of supported capabilities (like accelerated - /// networking) to be added on the OS disk. + /// Gets or sets list of supported capabilities to be added on the OS + /// disk. /// [JsonProperty(PropertyName = "properties.supportedCapabilities")] public SupportedCapabilities SupportedCapabilities { get; set; } @@ -252,6 +255,13 @@ public DiskUpdate() [JsonProperty(PropertyName = "properties.publicNetworkAccess")] public string PublicNetworkAccess { get; set; } + /// + /// Gets or sets possible values include: 'AzureActiveDirectory', + /// 'None' + /// + [JsonProperty(PropertyName = "properties.dataAccessAuthMode")] + public string DataAccessAuthMode { get; set; } + /// /// Gets or sets resource tags /// diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryImage.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryImage.cs index 73b908e4e6db..7af369dd5e66 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryImage.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryImage.cs @@ -65,7 +65,10 @@ public GalleryImage() /// The current state of the gallery /// image definition. /// A list of gallery image features. - public GalleryImage(string location, OperatingSystemTypes osType, OperatingSystemStateTypes osState, GalleryImageIdentifier identifier, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string description = default(string), string eula = default(string), string privacyStatementUri = default(string), string releaseNoteUri = default(string), string hyperVGeneration = default(string), System.DateTime? endOfLifeDate = default(System.DateTime?), RecommendedMachineConfiguration recommended = default(RecommendedMachineConfiguration), Disallowed disallowed = default(Disallowed), ImagePurchasePlan purchasePlan = default(ImagePurchasePlan), string provisioningState = default(string), IList features = default(IList)) + /// The architecture of the image. + /// Applicable to OS disks only. Possible values include: 'x64', + /// 'Arm64' + public GalleryImage(string location, OperatingSystemTypes osType, OperatingSystemStateTypes osState, GalleryImageIdentifier identifier, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string description = default(string), string eula = default(string), string privacyStatementUri = default(string), string releaseNoteUri = default(string), string hyperVGeneration = default(string), System.DateTime? endOfLifeDate = default(System.DateTime?), RecommendedMachineConfiguration recommended = default(RecommendedMachineConfiguration), Disallowed disallowed = default(Disallowed), ImagePurchasePlan purchasePlan = default(ImagePurchasePlan), string provisioningState = default(string), IList features = default(IList), string architecture = default(string)) : base(location, id, name, type, tags) { Description = description; @@ -82,6 +85,7 @@ public GalleryImage() PurchasePlan = purchasePlan; ProvisioningState = provisioningState; Features = features; + Architecture = architecture; CustomInit(); } @@ -187,6 +191,13 @@ public GalleryImage() [JsonProperty(PropertyName = "properties.features")] public IList Features { get; set; } + /// + /// Gets or sets the architecture of the image. Applicable to OS disks + /// only. Possible values include: 'x64', 'Arm64' + /// + [JsonProperty(PropertyName = "properties.architecture")] + public string Architecture { get; set; } + /// /// Validate the object. /// diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryImageUpdate.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryImageUpdate.cs index 428379ec99f5..d83f87be2ce7 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryImageUpdate.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryImageUpdate.cs @@ -64,7 +64,10 @@ public GalleryImageUpdate() /// The current state of the gallery /// image definition. /// A list of gallery image features. - public GalleryImageUpdate(OperatingSystemTypes osType, OperatingSystemStateTypes osState, GalleryImageIdentifier identifier, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string description = default(string), string eula = default(string), string privacyStatementUri = default(string), string releaseNoteUri = default(string), string hyperVGeneration = default(string), System.DateTime? endOfLifeDate = default(System.DateTime?), RecommendedMachineConfiguration recommended = default(RecommendedMachineConfiguration), Disallowed disallowed = default(Disallowed), ImagePurchasePlan purchasePlan = default(ImagePurchasePlan), string provisioningState = default(string), IList features = default(IList)) + /// The architecture of the image. + /// Applicable to OS disks only. Possible values include: 'x64', + /// 'Arm64' + public GalleryImageUpdate(OperatingSystemTypes osType, OperatingSystemStateTypes osState, GalleryImageIdentifier identifier, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string description = default(string), string eula = default(string), string privacyStatementUri = default(string), string releaseNoteUri = default(string), string hyperVGeneration = default(string), System.DateTime? endOfLifeDate = default(System.DateTime?), RecommendedMachineConfiguration recommended = default(RecommendedMachineConfiguration), Disallowed disallowed = default(Disallowed), ImagePurchasePlan purchasePlan = default(ImagePurchasePlan), string provisioningState = default(string), IList features = default(IList), string architecture = default(string)) : base(id, name, type, tags) { Description = description; @@ -81,6 +84,7 @@ public GalleryImageUpdate() PurchasePlan = purchasePlan; ProvisioningState = provisioningState; Features = features; + Architecture = architecture; CustomInit(); } @@ -186,6 +190,13 @@ public GalleryImageUpdate() [JsonProperty(PropertyName = "properties.features")] public IList Features { get; set; } + /// + /// Gets or sets the architecture of the image. Applicable to OS disks + /// only. Possible values include: 'x64', 'Arm64' + /// + [JsonProperty(PropertyName = "properties.architecture")] + public string Architecture { get; set; } + /// /// Validate the object. /// 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 2a75b4271c73..f457747ac1dc 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 @@ -57,8 +57,8 @@ public Snapshot() /// 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. + /// 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 @@ -97,7 +97,9 @@ public Snapshot() /// 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), DiskSecurityProfile securityProfile = default(DiskSecurityProfile), bool? supportsHibernation = default(bool?), string publicNetworkAccess = default(string), double? completionPercent = default(double?)) + /// Possible values include: + /// 'AzureActiveDirectory', 'None' + 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), DiskSecurityProfile securityProfile = default(DiskSecurityProfile), bool? supportsHibernation = default(bool?), string publicNetworkAccess = default(string), double? completionPercent = default(double?), string dataAccessAuthMode = default(string)) : base(location, id, name, type, tags) { ManagedBy = managedBy; @@ -123,6 +125,7 @@ public Snapshot() SupportsHibernation = supportsHibernation; PublicNetworkAccess = publicNetworkAccess; CompletionPercent = completionPercent; + DataAccessAuthMode = dataAccessAuthMode; CustomInit(); } @@ -177,9 +180,8 @@ public Snapshot() 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. + /// Gets or sets list of supported capabilities for the image from + /// which the source disk from the snapshot was originally created. /// [JsonProperty(PropertyName = "properties.supportedCapabilities")] public SupportedCapabilities SupportedCapabilities { get; set; } @@ -290,6 +292,13 @@ public Snapshot() [JsonProperty(PropertyName = "properties.completionPercent")] public double? CompletionPercent { get; set; } + /// + /// Gets or sets possible values include: 'AzureActiveDirectory', + /// 'None' + /// + [JsonProperty(PropertyName = "properties.dataAccessAuthMode")] + public string DataAccessAuthMode { 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 131f029cb4fb..ebbb9ae08e07 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 @@ -56,11 +56,12 @@ public SnapshotUpdate() /// supports hibernation. /// Possible values include: /// 'Enabled', 'Disabled' + /// Possible values include: + /// 'AzureActiveDirectory', 'None' /// List of supported capabilities - /// (like accelerated networking) for the image from which the OS disk - /// was created. + /// for the image from which the OS disk was created. /// 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?), string publicNetworkAccess = default(string), SupportedCapabilities supportedCapabilities = default(SupportedCapabilities), 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), string dataAccessAuthMode = default(string), SupportedCapabilities supportedCapabilities = default(SupportedCapabilities), IDictionary tags = default(IDictionary), SnapshotSku sku = default(SnapshotSku)) { OsType = osType; DiskSizeGB = diskSizeGB; @@ -70,6 +71,7 @@ public SnapshotUpdate() DiskAccessId = diskAccessId; SupportsHibernation = supportsHibernation; PublicNetworkAccess = publicNetworkAccess; + DataAccessAuthMode = dataAccessAuthMode; SupportedCapabilities = supportedCapabilities; Tags = tags; Sku = sku; @@ -140,8 +142,15 @@ public SnapshotUpdate() public string PublicNetworkAccess { get; set; } /// - /// Gets or sets list of supported capabilities (like accelerated - /// networking) for the image from which the OS disk was created. + /// Gets or sets possible values include: 'AzureActiveDirectory', + /// 'None' + /// + [JsonProperty(PropertyName = "properties.dataAccessAuthMode")] + public string DataAccessAuthMode { 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; } 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 index 8be23132fdb5..2a6493f3299f 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/SupportedCapabilities.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/SupportedCapabilities.cs @@ -14,8 +14,8 @@ namespace Microsoft.Azure.Management.Compute.Models using System.Linq; /// - /// List of supported capabilities (like accelerated networking) persisted - /// on the disk resource for VM use. + /// List of supported capabilities persisted on the disk resource for VM + /// use. /// public partial class SupportedCapabilities { @@ -32,9 +32,12 @@ public SupportedCapabilities() /// /// True if the image from which the /// OS disk is created supports accelerated networking. - public SupportedCapabilities(bool? acceleratedNetwork = default(bool?)) + /// CPU architecture supported by an OS + /// disk. Possible values include: 'x64', 'Arm64' + public SupportedCapabilities(bool? acceleratedNetwork = default(bool?), string architecture = default(string)) { AcceleratedNetwork = acceleratedNetwork; + Architecture = architecture; CustomInit(); } @@ -50,5 +53,12 @@ public SupportedCapabilities() [JsonProperty(PropertyName = "acceleratedNetwork")] public bool? AcceleratedNetwork { get; set; } + /// + /// Gets or sets CPU architecture supported by an OS disk. Possible + /// values include: 'x64', 'Arm64' + /// + [JsonProperty(PropertyName = "architecture")] + public string Architecture { get; set; } + } } diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineImage.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineImage.cs index a938c57910a2..49442b637ffe 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineImage.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineImage.cs @@ -48,7 +48,9 @@ public VirtualMachineImage() /// 'V2' /// Specifies disallowed configuration for the /// VirtualMachine created from the image - public VirtualMachineImage(string name, string location, string id = default(string), IDictionary tags = default(IDictionary), ExtendedLocation extendedLocation = default(ExtendedLocation), PurchasePlan plan = default(PurchasePlan), OSDiskImage osDiskImage = default(OSDiskImage), IList dataDiskImages = default(IList), AutomaticOSUpgradeProperties automaticOSUpgradeProperties = default(AutomaticOSUpgradeProperties), string hyperVGeneration = default(string), DisallowedConfiguration disallowed = default(DisallowedConfiguration), IList features = default(IList)) + /// Possible values include: 'x64', + /// 'Arm64' + public VirtualMachineImage(string name, string location, string id = default(string), IDictionary tags = default(IDictionary), ExtendedLocation extendedLocation = default(ExtendedLocation), PurchasePlan plan = default(PurchasePlan), OSDiskImage osDiskImage = default(OSDiskImage), IList dataDiskImages = default(IList), AutomaticOSUpgradeProperties automaticOSUpgradeProperties = default(AutomaticOSUpgradeProperties), string hyperVGeneration = default(string), DisallowedConfiguration disallowed = default(DisallowedConfiguration), IList features = default(IList), string architecture = default(string)) : base(name, location, id, tags, extendedLocation) { Plan = plan; @@ -58,6 +60,7 @@ public VirtualMachineImage() HyperVGeneration = hyperVGeneration; Disallowed = disallowed; Features = features; + Architecture = architecture; CustomInit(); } @@ -104,6 +107,12 @@ public VirtualMachineImage() [JsonProperty(PropertyName = "properties.features")] public IList Features { get; set; } + /// + /// Gets or sets possible values include: 'x64', 'Arm64' + /// + [JsonProperty(PropertyName = "properties.architecture")] + public string Architecture { get; set; } + /// /// Validate the object. /// 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 bf527b96fc8f..163acee7493a 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 @@ -32,10 +32,10 @@ public static IEnumerable> ApiInfo_ComputeManageme new Tuple("Compute", "CommunityGalleryImages", "2021-07-01"), new Tuple("Compute", "DedicatedHostGroups", "2021-11-01"), new Tuple("Compute", "DedicatedHosts", "2021-11-01"), - new Tuple("Compute", "DiskAccesses", "2021-08-01"), - new Tuple("Compute", "DiskEncryptionSets", "2021-08-01"), - new Tuple("Compute", "DiskRestorePoint", "2021-08-01"), - new Tuple("Compute", "Disks", "2021-08-01"), + new Tuple("Compute", "DiskAccesses", "2021-12-01"), + new Tuple("Compute", "DiskEncryptionSets", "2021-12-01"), + new Tuple("Compute", "DiskRestorePoint", "2021-12-01"), + new Tuple("Compute", "Disks", "2021-12-01"), new Tuple("Compute", "Galleries", "2021-10-01"), new Tuple("Compute", "GalleryApplicationVersions", "2021-10-01"), new Tuple("Compute", "GalleryApplications", "2021-10-01"), @@ -52,7 +52,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", "2021-08-01"), + new Tuple("Compute", "Snapshots", "2021-12-01"), new Tuple("Compute", "SshPublicKeys", "2021-11-01"), new Tuple("Compute", "Usage", "2021-11-01"), new Tuple("Compute", "VirtualMachineExtensionImages", "2021-11-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 9bc1a95afbe4..05d67074ecd9 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SnapshotsOperations.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/SnapshotsOperations.cs @@ -150,7 +150,7 @@ internal SnapshotsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "snapshotName"); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -361,7 +361,7 @@ internal SnapshotsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-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 = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -794,7 +794,7 @@ internal SnapshotsOperations(ComputeManagementClient client) { snapshot.Validate(); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1022,7 +1022,7 @@ internal SnapshotsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "snapshot"); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1240,7 +1240,7 @@ internal SnapshotsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "snapshotName"); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1430,7 +1430,7 @@ internal SnapshotsOperations(ComputeManagementClient client) { grantAccessData.Validate(); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1630,7 +1630,7 @@ internal SnapshotsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "snapshotName"); } - string apiVersion = "2021-08-01"; + string apiVersion = "2021-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null;