From 7a8922a3a19a9b63bf4089038c25ee4dd58bf962 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Thu, 13 Feb 2020 22:18:46 +0000 Subject: [PATCH] Generated from fe6355b1f076ccb3a6a36b66bf358fb596881f3c remove unneeded params --- .../src/Generated/GalleriesOperations.cs | 12 +-- .../GalleryApplicationVersionsOperations.cs | 10 +-- .../GalleryApplicationsOperations.cs | 10 +-- .../GalleryImageVersionsOperations.cs | 10 +-- .../src/Generated/GalleryImagesOperations.cs | 10 +-- .../Generated/Models/AvailabilitySetUpdate.cs | 7 +- .../Models/DataDiskImageEncryption.cs | 70 ++++++++++++++++ .../Models/DedicatedHostGroupUpdate.cs | 7 +- .../Generated/Models/DedicatedHostUpdate.cs | 7 +- .../Generated/Models/DiskImageEncryption.cs | 53 +++++++++++++ .../src/Generated/Models/EncryptionImages.cs | 62 +++++++++++++++ .../Models/GalleryApplicationUpdate.cs | 8 +- .../Models/GalleryApplicationVersionUpdate.cs | 8 +- .../Generated/Models/GalleryImageUpdate.cs | 8 +- .../Models/GalleryImageVersionUpdate.cs | 8 +- .../src/Generated/Models/GalleryUpdate.cs | 8 +- .../src/Generated/Models/ImageUpdate.cs | 7 +- .../Generated/Models/OSDiskImageEncryption.cs | 45 +++++++++++ .../Models/ProximityPlacementGroupUpdate.cs | 7 +- .../src/Generated/Models/TargetRegion.cs | 8 +- .../src/Generated/Models/UpdateResource.cs | 26 +----- .../Models/UpdateResourceDefinition.cs | 79 +++++++++++++++++++ .../Models/VirtualMachineExtensionUpdate.cs | 15 ++-- .../Models/VirtualMachineScaleSetUpdate.cs | 7 +- .../Generated/Models/VirtualMachineUpdate.cs | 7 +- .../SdkInfo_ComputeManagementClient.cs | 21 ++--- 26 files changed, 388 insertions(+), 132 deletions(-) create mode 100644 sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DataDiskImageEncryption.cs create mode 100644 sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskImageEncryption.cs create mode 100644 sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/EncryptionImages.cs create mode 100644 sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/OSDiskImageEncryption.cs create mode 100644 sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/UpdateResourceDefinition.cs diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleriesOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleriesOperations.cs index 978e4aa79fb98..26c248d669a73 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleriesOperations.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleriesOperations.cs @@ -148,7 +148,7 @@ internal GalleriesOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "galleryName"); } - string apiVersion = "2019-07-01"; + string apiVersion = "2019-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -357,7 +357,7 @@ internal GalleriesOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); } - string apiVersion = "2019-07-01"; + string apiVersion = "2019-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -535,7 +535,7 @@ internal GalleriesOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string apiVersion = "2019-07-01"; + string apiVersion = "2019-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -738,7 +738,7 @@ internal GalleriesOperations(ComputeManagementClient client) { gallery.Validate(); } - string apiVersion = "2019-07-01"; + string apiVersion = "2019-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -984,7 +984,7 @@ internal GalleriesOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "gallery"); } - string apiVersion = "2019-07-01"; + string apiVersion = "2019-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1182,7 +1182,7 @@ internal GalleriesOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "galleryName"); } - string apiVersion = "2019-07-01"; + string apiVersion = "2019-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryApplicationVersionsOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryApplicationVersionsOperations.cs index edc65be480aa4..5ee6cdad2a4f7 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryApplicationVersionsOperations.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryApplicationVersionsOperations.cs @@ -187,7 +187,7 @@ internal GalleryApplicationVersionsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "galleryApplicationVersionName"); } - string apiVersion = "2019-07-01"; + string apiVersion = "2019-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -429,7 +429,7 @@ internal GalleryApplicationVersionsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "galleryApplicationName"); } - string apiVersion = "2019-07-01"; + string apiVersion = "2019-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -656,7 +656,7 @@ internal GalleryApplicationVersionsOperations(ComputeManagementClient client) { galleryApplicationVersion.Validate(); } - string apiVersion = "2019-07-01"; + string apiVersion = "2019-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -923,7 +923,7 @@ internal GalleryApplicationVersionsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "galleryApplicationVersion"); } - string apiVersion = "2019-07-01"; + string apiVersion = "2019-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1141,7 +1141,7 @@ internal GalleryApplicationVersionsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "galleryApplicationVersionName"); } - string apiVersion = "2019-07-01"; + string apiVersion = "2019-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryApplicationsOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryApplicationsOperations.cs index 14c168c4606c8..1d36b379d0e58 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryApplicationsOperations.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryApplicationsOperations.cs @@ -164,7 +164,7 @@ internal GalleryApplicationsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "galleryApplicationName"); } - string apiVersion = "2019-07-01"; + string apiVersion = "2019-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -387,7 +387,7 @@ internal GalleryApplicationsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "galleryName"); } - string apiVersion = "2019-07-01"; + string apiVersion = "2019-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -602,7 +602,7 @@ internal GalleryApplicationsOperations(ComputeManagementClient client) { galleryApplication.Validate(); } - string apiVersion = "2019-07-01"; + string apiVersion = "2019-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -858,7 +858,7 @@ internal GalleryApplicationsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "galleryApplication"); } - string apiVersion = "2019-07-01"; + string apiVersion = "2019-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1066,7 +1066,7 @@ internal GalleryApplicationsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "galleryApplicationName"); } - string apiVersion = "2019-07-01"; + string apiVersion = "2019-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryImageVersionsOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryImageVersionsOperations.cs index d630e2678f532..69cb3fd8df8c8 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryImageVersionsOperations.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryImageVersionsOperations.cs @@ -184,7 +184,7 @@ internal GalleryImageVersionsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "galleryImageVersionName"); } - string apiVersion = "2019-07-01"; + string apiVersion = "2019-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -424,7 +424,7 @@ internal GalleryImageVersionsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "galleryImageName"); } - string apiVersion = "2019-07-01"; + string apiVersion = "2019-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -650,7 +650,7 @@ internal GalleryImageVersionsOperations(ComputeManagementClient client) { galleryImageVersion.Validate(); } - string apiVersion = "2019-07-01"; + string apiVersion = "2019-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -916,7 +916,7 @@ internal GalleryImageVersionsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "galleryImageVersion"); } - string apiVersion = "2019-07-01"; + string apiVersion = "2019-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1133,7 +1133,7 @@ internal GalleryImageVersionsOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "galleryImageVersionName"); } - string apiVersion = "2019-07-01"; + string apiVersion = "2019-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryImagesOperations.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryImagesOperations.cs index b870ae1ed80b2..f9021f2d57a94 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryImagesOperations.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/GalleryImagesOperations.cs @@ -164,7 +164,7 @@ internal GalleryImagesOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "galleryImageName"); } - string apiVersion = "2019-07-01"; + string apiVersion = "2019-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -387,7 +387,7 @@ internal GalleryImagesOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "galleryName"); } - string apiVersion = "2019-07-01"; + string apiVersion = "2019-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -602,7 +602,7 @@ internal GalleryImagesOperations(ComputeManagementClient client) { galleryImage.Validate(); } - string apiVersion = "2019-07-01"; + string apiVersion = "2019-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -858,7 +858,7 @@ internal GalleryImagesOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "galleryImage"); } - string apiVersion = "2019-07-01"; + string apiVersion = "2019-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1066,7 +1066,7 @@ internal GalleryImagesOperations(ComputeManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "galleryImageName"); } - string apiVersion = "2019-07-01"; + string apiVersion = "2019-12-01"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/AvailabilitySetUpdate.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/AvailabilitySetUpdate.cs index 96e6313f35d8f..7249426adf54e 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/AvailabilitySetUpdate.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/AvailabilitySetUpdate.cs @@ -36,9 +36,6 @@ public AvailabilitySetUpdate() /// Initializes a new instance of the AvailabilitySetUpdate class. /// /// Resource tags - /// Resource Id - /// Resource name - /// Resource type /// Update Domain /// count. /// Fault Domain count. @@ -50,8 +47,8 @@ public AvailabilitySetUpdate() /// 2018-04-01. /// The resource status information. /// Sku of the availability set - public AvailabilitySetUpdate(IDictionary tags = default(IDictionary), string id = default(string), string name = default(string), string type = default(string), int? platformUpdateDomainCount = default(int?), int? platformFaultDomainCount = default(int?), IList virtualMachines = default(IList), SubResource proximityPlacementGroup = default(SubResource), IList statuses = default(IList), Sku sku = default(Sku)) - : base(tags, id, name, type) + public AvailabilitySetUpdate(IDictionary tags = default(IDictionary), int? platformUpdateDomainCount = default(int?), int? platformFaultDomainCount = default(int?), IList virtualMachines = default(IList), SubResource proximityPlacementGroup = default(SubResource), IList statuses = default(IList), Sku sku = default(Sku)) + : base(tags) { PlatformUpdateDomainCount = platformUpdateDomainCount; PlatformFaultDomainCount = platformFaultDomainCount; diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DataDiskImageEncryption.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DataDiskImageEncryption.cs new file mode 100644 index 0000000000000..a5a6152bb24d7 --- /dev/null +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DataDiskImageEncryption.cs @@ -0,0 +1,70 @@ +// +// 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; + + /// + /// Contains encryption settings for a data disk image. + /// + public partial class DataDiskImageEncryption : DiskImageEncryption + { + /// + /// Initializes a new instance of the DataDiskImageEncryption class. + /// + public DataDiskImageEncryption() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the DataDiskImageEncryption class. + /// + /// This property specifies the logical unit number + /// of the data disk. This value is used to identify data disks within + /// the Virtual Machine and therefore must be unique for each data disk + /// attached to the Virtual Machine. + /// A relative URI containing the + /// resource ID of the disk encryption set. + public DataDiskImageEncryption(int lun, string diskEncryptionSetId = default(string)) + : base(diskEncryptionSetId) + { + Lun = lun; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets this property specifies the logical unit number of the + /// data disk. This value is used to identify data disks within the + /// Virtual Machine and therefore must be unique for each data disk + /// attached to the Virtual Machine. + /// + [JsonProperty(PropertyName = "lun")] + public int Lun { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + //Nothing to validate + } + } +} diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DedicatedHostGroupUpdate.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DedicatedHostGroupUpdate.cs index c295e94d1ca0d..333098c832416 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DedicatedHostGroupUpdate.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DedicatedHostGroupUpdate.cs @@ -38,9 +38,6 @@ public DedicatedHostGroupUpdate() /// Number of fault domains that /// the host group can span. /// Resource tags - /// Resource Id - /// Resource name - /// Resource type /// A list of references to all dedicated hosts in /// the dedicated host group. /// Availability Zone to use for this host group. @@ -48,8 +45,8 @@ public DedicatedHostGroupUpdate() /// creation. If not provided, the group supports all zones in the /// region. If provided, enforces each host in the group to be in the /// same zone. - public DedicatedHostGroupUpdate(int platformFaultDomainCount, IDictionary tags = default(IDictionary), string id = default(string), string name = default(string), string type = default(string), IList hosts = default(IList), IList zones = default(IList)) - : base(tags, id, name, type) + public DedicatedHostGroupUpdate(int platformFaultDomainCount, IDictionary tags = default(IDictionary), IList hosts = default(IList), IList zones = default(IList)) + : base(tags) { PlatformFaultDomainCount = platformFaultDomainCount; Hosts = hosts; diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DedicatedHostUpdate.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DedicatedHostUpdate.cs index 711c3c3614372..99a1a24361c2c 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DedicatedHostUpdate.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DedicatedHostUpdate.cs @@ -36,9 +36,6 @@ public DedicatedHostUpdate() /// Initializes a new instance of the DedicatedHostUpdate class. /// /// Resource tags - /// Resource Id - /// Resource name - /// Resource type /// Fault domain of the dedicated /// host within a dedicated host group. /// Specifies whether the dedicated @@ -62,8 +59,8 @@ public DedicatedHostUpdate() /// appears in the response. /// The dedicated host instance /// view. - public DedicatedHostUpdate(IDictionary tags = default(IDictionary), string id = default(string), string name = default(string), string type = default(string), int? platformFaultDomain = default(int?), bool? autoReplaceOnFailure = default(bool?), string hostId = default(string), IList virtualMachines = default(IList), DedicatedHostLicenseTypes? licenseType = default(DedicatedHostLicenseTypes?), System.DateTime? provisioningTime = default(System.DateTime?), string provisioningState = default(string), DedicatedHostInstanceView instanceView = default(DedicatedHostInstanceView)) - : base(tags, id, name, type) + public DedicatedHostUpdate(IDictionary tags = default(IDictionary), int? platformFaultDomain = default(int?), bool? autoReplaceOnFailure = default(bool?), string hostId = default(string), IList virtualMachines = default(IList), DedicatedHostLicenseTypes? licenseType = default(DedicatedHostLicenseTypes?), System.DateTime? provisioningTime = default(System.DateTime?), string provisioningState = default(string), DedicatedHostInstanceView instanceView = default(DedicatedHostInstanceView)) + : base(tags) { PlatformFaultDomain = platformFaultDomain; AutoReplaceOnFailure = autoReplaceOnFailure; diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskImageEncryption.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskImageEncryption.cs new file mode 100644 index 0000000000000..ce3330d1cfc7a --- /dev/null +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskImageEncryption.cs @@ -0,0 +1,53 @@ +// +// 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; + + /// + /// This is the disk image encryption base class. + /// + public partial class DiskImageEncryption + { + /// + /// Initializes a new instance of the DiskImageEncryption class. + /// + public DiskImageEncryption() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the DiskImageEncryption class. + /// + /// A relative URI containing the + /// resource ID of the disk encryption set. + public DiskImageEncryption(string diskEncryptionSetId = default(string)) + { + DiskEncryptionSetId = diskEncryptionSetId; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a relative URI containing the resource ID of the disk + /// encryption set. + /// + [JsonProperty(PropertyName = "diskEncryptionSetId")] + public string DiskEncryptionSetId { get; set; } + + } +} diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/EncryptionImages.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/EncryptionImages.cs new file mode 100644 index 0000000000000..de2b2529bdfe5 --- /dev/null +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/EncryptionImages.cs @@ -0,0 +1,62 @@ +// +// 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.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Optional. Allows users to provide customer managed keys for encrypting + /// the OS and data disks in the gallery artifact. + /// + public partial class EncryptionImages + { + /// + /// Initializes a new instance of the EncryptionImages class. + /// + public EncryptionImages() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the EncryptionImages class. + /// + /// A list of encryption specifications + /// for data disk images. + public EncryptionImages(OSDiskImageEncryption osDiskImage = default(OSDiskImageEncryption), IList dataDiskImages = default(IList)) + { + OsDiskImage = osDiskImage; + DataDiskImages = dataDiskImages; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// + [JsonProperty(PropertyName = "osDiskImage")] + public OSDiskImageEncryption OsDiskImage { get; set; } + + /// + /// Gets or sets a list of encryption specifications for data disk + /// images. + /// + [JsonProperty(PropertyName = "dataDiskImages")] + public IList DataDiskImages { get; set; } + + } +} diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryApplicationUpdate.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryApplicationUpdate.cs index 0aee193bbf16e..0e9d84805aeb1 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryApplicationUpdate.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryApplicationUpdate.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Management.Compute.Models /// want to update. /// [Rest.Serialization.JsonTransformation] - public partial class GalleryApplicationUpdate : UpdateResource + public partial class GalleryApplicationUpdate : UpdateResourceDefinition { /// /// Initializes a new instance of the GalleryApplicationUpdate class. @@ -40,10 +40,10 @@ public GalleryApplicationUpdate() /// <br><br> Possible values are: <br><br> /// **Windows** <br><br> **Linux**. Possible values /// include: 'Windows', 'Linux' - /// Resource tags /// Resource Id /// Resource name /// Resource type + /// Resource tags /// The description of this gallery /// Application Definition resource. This property is /// updatable. @@ -55,8 +55,8 @@ public GalleryApplicationUpdate() /// The end of life date of the gallery /// Application Definition. This property can be used for /// decommissioning purposes. This property is updatable. - public GalleryApplicationUpdate(OperatingSystemTypes supportedOSType, IDictionary tags = default(IDictionary), string id = default(string), string name = default(string), string type = default(string), string description = default(string), string eula = default(string), string privacyStatementUri = default(string), string releaseNoteUri = default(string), System.DateTime? endOfLifeDate = default(System.DateTime?)) - : base(tags, id, name, type) + public GalleryApplicationUpdate(OperatingSystemTypes supportedOSType, 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), System.DateTime? endOfLifeDate = default(System.DateTime?)) + : base(id, name, type, tags) { Description = description; Eula = eula; diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryApplicationVersionUpdate.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryApplicationVersionUpdate.cs index fc4e0d2af1b5d..d220e04c69aed 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryApplicationVersionUpdate.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryApplicationVersionUpdate.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Management.Compute.Models /// want to update. /// [Rest.Serialization.JsonTransformation] - public partial class GalleryApplicationVersionUpdate : UpdateResource + public partial class GalleryApplicationVersionUpdate : UpdateResourceDefinition { /// /// Initializes a new instance of the GalleryApplicationVersionUpdate @@ -37,14 +37,14 @@ public GalleryApplicationVersionUpdate() /// Initializes a new instance of the GalleryApplicationVersionUpdate /// class. /// - /// Resource tags /// Resource Id /// Resource name /// Resource type + /// Resource tags /// The current state of the gallery /// Application Version. - public GalleryApplicationVersionUpdate(GalleryApplicationVersionPublishingProfile publishingProfile, IDictionary tags = default(IDictionary), string id = default(string), string name = default(string), string type = default(string), string provisioningState = default(string), ReplicationStatus replicationStatus = default(ReplicationStatus)) - : base(tags, id, name, type) + public GalleryApplicationVersionUpdate(GalleryApplicationVersionPublishingProfile publishingProfile, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string provisioningState = default(string), ReplicationStatus replicationStatus = default(ReplicationStatus)) + : base(id, name, type, tags) { PublishingProfile = publishingProfile; ProvisioningState = provisioningState; 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 af065e7daba78..4ac822d3c550b 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 @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Management.Compute.Models /// to update. /// [Rest.Serialization.JsonTransformation] - public partial class GalleryImageUpdate : UpdateResource + public partial class GalleryImageUpdate : UpdateResourceDefinition { /// /// Initializes a new instance of the GalleryImageUpdate class. @@ -44,10 +44,10 @@ public GalleryImageUpdate() /// whether the virtual machines created under this image are /// 'Generalized' or 'Specialized'. Possible values include: /// 'Generalized', 'Specialized' - /// Resource tags /// Resource Id /// Resource name /// Resource type + /// Resource tags /// The description of this gallery Image /// Definition resource. This property is updatable. /// The Eula agreement for the gallery Image @@ -63,8 +63,8 @@ public GalleryImageUpdate() /// purposes. This property is updatable. /// The current state of the gallery /// Image Definition. - public GalleryImageUpdate(OperatingSystemTypes osType, OperatingSystemStateTypes osState, GalleryImageIdentifier identifier, IDictionary tags = default(IDictionary), string id = default(string), string name = default(string), string type = default(string), 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)) - : base(tags, id, name, type) + 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)) + : base(id, name, type, tags) { Description = description; Eula = eula; diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryImageVersionUpdate.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryImageVersionUpdate.cs index d422113536eca..a1f66b562f748 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryImageVersionUpdate.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryImageVersionUpdate.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Management.Compute.Models /// update. /// [Rest.Serialization.JsonTransformation] - public partial class GalleryImageVersionUpdate : UpdateResource + public partial class GalleryImageVersionUpdate : UpdateResourceDefinition { /// /// Initializes a new instance of the GalleryImageVersionUpdate class. @@ -35,14 +35,14 @@ public GalleryImageVersionUpdate() /// /// Initializes a new instance of the GalleryImageVersionUpdate class. /// - /// Resource tags /// Resource Id /// Resource name /// Resource type + /// Resource tags /// The current state of the gallery /// Image Version. - public GalleryImageVersionUpdate(GalleryImageVersionStorageProfile storageProfile, IDictionary tags = default(IDictionary), string id = default(string), string name = default(string), string type = default(string), GalleryImageVersionPublishingProfile publishingProfile = default(GalleryImageVersionPublishingProfile), string provisioningState = default(string), ReplicationStatus replicationStatus = default(ReplicationStatus)) - : base(tags, id, name, type) + public GalleryImageVersionUpdate(GalleryImageVersionStorageProfile storageProfile, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), GalleryImageVersionPublishingProfile publishingProfile = default(GalleryImageVersionPublishingProfile), string provisioningState = default(string), ReplicationStatus replicationStatus = default(ReplicationStatus)) + : base(id, name, type, tags) { PublishingProfile = publishingProfile; ProvisioningState = provisioningState; diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryUpdate.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryUpdate.cs index c98db68346b9a..e46c769da8b32 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryUpdate.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/GalleryUpdate.cs @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Management.Compute.Models /// update. /// [Rest.Serialization.JsonTransformation] - public partial class GalleryUpdate : UpdateResource + public partial class GalleryUpdate : UpdateResourceDefinition { /// /// Initializes a new instance of the GalleryUpdate class. @@ -35,16 +35,16 @@ public GalleryUpdate() /// /// Initializes a new instance of the GalleryUpdate class. /// - /// Resource tags /// Resource Id /// Resource name /// Resource type + /// Resource tags /// The description of this Shared Image /// Gallery resource. This property is updatable. /// The current state of the /// gallery. - public GalleryUpdate(IDictionary tags = default(IDictionary), string id = default(string), string name = default(string), string type = default(string), string description = default(string), GalleryIdentifier identifier = default(GalleryIdentifier), string provisioningState = default(string)) - : base(tags, id, name, type) + public GalleryUpdate(string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string description = default(string), GalleryIdentifier identifier = default(GalleryIdentifier), string provisioningState = default(string)) + : base(id, name, type, tags) { Description = description; Identifier = identifier; diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ImageUpdate.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ImageUpdate.cs index a28e3d891762b..20e98317bbbb0 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ImageUpdate.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ImageUpdate.cs @@ -35,9 +35,6 @@ public ImageUpdate() /// Initializes a new instance of the ImageUpdate class. /// /// Resource tags - /// Resource Id - /// Resource name - /// Resource type /// The source virtual machine from /// which Image is created. /// Specifies the storage settings for the @@ -46,8 +43,8 @@ public ImageUpdate() /// Gets the HyperVGenerationType of the /// VirtualMachine created from the image. Possible values include: /// 'V1', 'V2' - public ImageUpdate(IDictionary tags = default(IDictionary), string id = default(string), string name = default(string), string type = default(string), SubResource sourceVirtualMachine = default(SubResource), ImageStorageProfile storageProfile = default(ImageStorageProfile), string provisioningState = default(string), string hyperVGeneration = default(string)) - : base(tags, id, name, type) + public ImageUpdate(IDictionary tags = default(IDictionary), SubResource sourceVirtualMachine = default(SubResource), ImageStorageProfile storageProfile = default(ImageStorageProfile), string provisioningState = default(string), string hyperVGeneration = default(string)) + : base(tags) { SourceVirtualMachine = sourceVirtualMachine; StorageProfile = storageProfile; diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/OSDiskImageEncryption.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/OSDiskImageEncryption.cs new file mode 100644 index 0000000000000..f3a17cb418836 --- /dev/null +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/OSDiskImageEncryption.cs @@ -0,0 +1,45 @@ +// +// 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 System.Linq; + + /// + /// Contains encryption settings for an OS disk image. + /// + public partial class OSDiskImageEncryption : DiskImageEncryption + { + /// + /// Initializes a new instance of the OSDiskImageEncryption class. + /// + public OSDiskImageEncryption() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the OSDiskImageEncryption class. + /// + /// A relative URI containing the + /// resource ID of the disk encryption set. + public OSDiskImageEncryption(string diskEncryptionSetId = default(string)) + : base(diskEncryptionSetId) + { + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + } +} diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ProximityPlacementGroupUpdate.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ProximityPlacementGroupUpdate.cs index 540dbb673f667..0343a07d68f68 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ProximityPlacementGroupUpdate.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/ProximityPlacementGroupUpdate.cs @@ -33,11 +33,8 @@ public ProximityPlacementGroupUpdate() /// class. /// /// Resource tags - /// Resource Id - /// Resource name - /// Resource type - public ProximityPlacementGroupUpdate(IDictionary tags = default(IDictionary), string id = default(string), string name = default(string), string type = default(string)) - : base(tags, id, name, type) + public ProximityPlacementGroupUpdate(IDictionary tags = default(IDictionary)) + : base(tags) { CustomInit(); } diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/TargetRegion.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/TargetRegion.cs index 8e331c042ccda..7a08d07bdef42 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/TargetRegion.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/TargetRegion.cs @@ -37,11 +37,12 @@ public TargetRegion() /// Specifies the storage account type /// to be used to store the image. This property is not updatable. /// Possible values include: 'Standard_LRS', 'Standard_ZRS' - public TargetRegion(string name, int? regionalReplicaCount = default(int?), string storageAccountType = default(string)) + public TargetRegion(string name, int? regionalReplicaCount = default(int?), string storageAccountType = default(string), EncryptionImages encryption = default(EncryptionImages)) { Name = name; RegionalReplicaCount = regionalReplicaCount; StorageAccountType = storageAccountType; + Encryption = encryption; CustomInit(); } @@ -71,6 +72,11 @@ public TargetRegion() [JsonProperty(PropertyName = "storageAccountType")] public string StorageAccountType { get; set; } + /// + /// + [JsonProperty(PropertyName = "encryption")] + public EncryptionImages Encryption { get; set; } + /// /// Validate the object. /// diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/UpdateResource.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/UpdateResource.cs index 3cc338da7f132..dc7f87ce299e6 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/UpdateResource.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/UpdateResource.cs @@ -34,15 +34,9 @@ public UpdateResource() /// Initializes a new instance of the UpdateResource class. /// /// Resource tags - /// Resource Id - /// Resource name - /// Resource type - public UpdateResource(IDictionary tags = default(IDictionary), string id = default(string), string name = default(string), string type = default(string)) + public UpdateResource(IDictionary tags = default(IDictionary)) { Tags = tags; - Id = id; - Name = name; - Type = type; CustomInit(); } @@ -57,23 +51,5 @@ public UpdateResource() [JsonProperty(PropertyName = "tags")] public IDictionary Tags { get; set; } - /// - /// Gets resource Id - /// - [JsonProperty(PropertyName = "id")] - public string Id { get; private set; } - - /// - /// Gets resource name - /// - [JsonProperty(PropertyName = "name")] - public string Name { get; private set; } - - /// - /// Gets resource type - /// - [JsonProperty(PropertyName = "type")] - public string Type { get; private set; } - } } diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/UpdateResourceDefinition.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/UpdateResourceDefinition.cs new file mode 100644 index 0000000000000..d6e03b654c5f8 --- /dev/null +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/UpdateResourceDefinition.cs @@ -0,0 +1,79 @@ +// +// 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 Microsoft.Rest; + using Microsoft.Rest.Azure; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// The Update Resource model definition. + /// + public partial class UpdateResourceDefinition : IResource + { + /// + /// Initializes a new instance of the UpdateResourceDefinition class. + /// + public UpdateResourceDefinition() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the UpdateResourceDefinition class. + /// + /// Resource Id + /// Resource name + /// Resource type + /// Resource tags + public UpdateResourceDefinition(string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary)) + { + Id = id; + Name = name; + Type = type; + Tags = tags; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets resource Id + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; private set; } + + /// + /// Gets resource name + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; private set; } + + /// + /// Gets resource type + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; private set; } + + /// + /// Gets or sets resource tags + /// + [JsonProperty(PropertyName = "tags")] + public IDictionary Tags { get; set; } + + } +} diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineExtensionUpdate.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineExtensionUpdate.cs index bfd8a33e6bed5..60853fb1626ad 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineExtensionUpdate.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineExtensionUpdate.cs @@ -37,16 +37,13 @@ public VirtualMachineExtensionUpdate() /// class. /// /// Resource tags - /// Resource Id - /// Resource name - /// Resource type /// How the extension handler should be /// forced to update even if the extension configuration has not /// changed. /// The name of the extension handler /// publisher. - /// Specifies the type - /// of the extension; an example is "CustomScriptExtension". + /// Specifies the type of the extension; an example + /// is "CustomScriptExtension". /// Specifies the version of the /// script handler. /// Indicates whether the @@ -59,12 +56,12 @@ public VirtualMachineExtensionUpdate() /// The extension can contain either /// protectedSettings or protectedSettingsFromKeyVault or no protected /// settings at all. - public VirtualMachineExtensionUpdate(IDictionary tags = default(IDictionary), string id = default(string), string name = default(string), string type = default(string), string forceUpdateTag = default(string), string publisher = default(string), string virtualMachineExtensionUpdateType = default(string), string typeHandlerVersion = default(string), bool? autoUpgradeMinorVersion = default(bool?), object settings = default(object), object protectedSettings = default(object)) - : base(tags, id, name, type) + public VirtualMachineExtensionUpdate(IDictionary tags = default(IDictionary), string forceUpdateTag = default(string), string publisher = default(string), string type = default(string), string typeHandlerVersion = default(string), bool? autoUpgradeMinorVersion = default(bool?), object settings = default(object), object protectedSettings = default(object)) + : base(tags) { ForceUpdateTag = forceUpdateTag; Publisher = publisher; - VirtualMachineExtensionUpdateType = virtualMachineExtensionUpdateType; + Type = type; TypeHandlerVersion = typeHandlerVersion; AutoUpgradeMinorVersion = autoUpgradeMinorVersion; Settings = settings; @@ -95,7 +92,7 @@ public VirtualMachineExtensionUpdate() /// "CustomScriptExtension". /// [JsonProperty(PropertyName = "properties.type")] - public string VirtualMachineExtensionUpdateType { get; set; } + public string Type { get; set; } /// /// Gets or sets specifies the version of the script handler. diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetUpdate.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetUpdate.cs index c07e5fcf05367..d319eac6b704d 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetUpdate.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineScaleSetUpdate.cs @@ -37,9 +37,6 @@ public VirtualMachineScaleSetUpdate() /// class. /// /// Resource tags - /// Resource Id - /// Resource name - /// Resource type /// The virtual machine scale set sku. /// The purchase plan when deploying a virtual /// machine scale set from VM Marketplace images. @@ -72,8 +69,8 @@ public VirtualMachineScaleSetUpdate() /// 2018-04-01. /// The identity of the virtual machine scale /// set, if configured. - public VirtualMachineScaleSetUpdate(IDictionary tags = default(IDictionary), string id = default(string), string name = default(string), string type = default(string), Sku sku = default(Sku), Plan plan = default(Plan), UpgradePolicy upgradePolicy = default(UpgradePolicy), AutomaticRepairsPolicy automaticRepairsPolicy = default(AutomaticRepairsPolicy), VirtualMachineScaleSetUpdateVMProfile virtualMachineProfile = default(VirtualMachineScaleSetUpdateVMProfile), bool? overprovision = default(bool?), bool? doNotRunExtensionsOnOverprovisionedVMs = default(bool?), bool? singlePlacementGroup = default(bool?), AdditionalCapabilities additionalCapabilities = default(AdditionalCapabilities), ScaleInPolicy scaleInPolicy = default(ScaleInPolicy), SubResource proximityPlacementGroup = default(SubResource), VirtualMachineScaleSetIdentity identity = default(VirtualMachineScaleSetIdentity)) - : base(tags, id, name, type) + public VirtualMachineScaleSetUpdate(IDictionary tags = default(IDictionary), Sku sku = default(Sku), Plan plan = default(Plan), UpgradePolicy upgradePolicy = default(UpgradePolicy), AutomaticRepairsPolicy automaticRepairsPolicy = default(AutomaticRepairsPolicy), VirtualMachineScaleSetUpdateVMProfile virtualMachineProfile = default(VirtualMachineScaleSetUpdateVMProfile), bool? overprovision = default(bool?), bool? doNotRunExtensionsOnOverprovisionedVMs = default(bool?), bool? singlePlacementGroup = default(bool?), AdditionalCapabilities additionalCapabilities = default(AdditionalCapabilities), ScaleInPolicy scaleInPolicy = default(ScaleInPolicy), SubResource proximityPlacementGroup = default(SubResource), VirtualMachineScaleSetIdentity identity = default(VirtualMachineScaleSetIdentity)) + : base(tags) { Sku = sku; Plan = plan; diff --git a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineUpdate.cs b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineUpdate.cs index daece0d1660c6..58d4f41d27e48 100644 --- a/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineUpdate.cs +++ b/sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/VirtualMachineUpdate.cs @@ -35,9 +35,6 @@ public VirtualMachineUpdate() /// Initializes a new instance of the VirtualMachineUpdate class. /// /// Resource tags - /// Resource Id - /// Resource name - /// Resource type /// Specifies information about the marketplace /// image used to create the virtual machine. This element is only used /// for marketplace images. Before you can use a marketplace image from @@ -127,8 +124,8 @@ public VirtualMachineUpdate() /// The identity of the virtual machine, if /// configured. /// The virtual machine zones. - public VirtualMachineUpdate(IDictionary tags = default(IDictionary), string id = default(string), string name = default(string), string type = default(string), Plan plan = default(Plan), HardwareProfile hardwareProfile = default(HardwareProfile), StorageProfile storageProfile = default(StorageProfile), AdditionalCapabilities additionalCapabilities = default(AdditionalCapabilities), OSProfile osProfile = default(OSProfile), NetworkProfile networkProfile = default(NetworkProfile), DiagnosticsProfile diagnosticsProfile = default(DiagnosticsProfile), SubResource availabilitySet = default(SubResource), SubResource virtualMachineScaleSet = default(SubResource), SubResource proximityPlacementGroup = default(SubResource), string priority = default(string), string evictionPolicy = default(string), BillingProfile billingProfile = default(BillingProfile), SubResource host = default(SubResource), string provisioningState = default(string), VirtualMachineInstanceView instanceView = default(VirtualMachineInstanceView), string licenseType = default(string), string vmId = default(string), VirtualMachineIdentity identity = default(VirtualMachineIdentity), IList zones = default(IList)) - : base(tags, id, name, type) + public VirtualMachineUpdate(IDictionary tags = default(IDictionary), Plan plan = default(Plan), HardwareProfile hardwareProfile = default(HardwareProfile), StorageProfile storageProfile = default(StorageProfile), AdditionalCapabilities additionalCapabilities = default(AdditionalCapabilities), OSProfile osProfile = default(OSProfile), NetworkProfile networkProfile = default(NetworkProfile), DiagnosticsProfile diagnosticsProfile = default(DiagnosticsProfile), SubResource availabilitySet = default(SubResource), SubResource virtualMachineScaleSet = default(SubResource), SubResource proximityPlacementGroup = default(SubResource), string priority = default(string), string evictionPolicy = default(string), BillingProfile billingProfile = default(BillingProfile), SubResource host = default(SubResource), string provisioningState = default(string), VirtualMachineInstanceView instanceView = default(VirtualMachineInstanceView), string licenseType = default(string), string vmId = default(string), VirtualMachineIdentity identity = default(VirtualMachineIdentity), IList zones = default(IList)) + : base(tags) { Plan = plan; HardwareProfile = hardwareProfile; 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 c1e75ad79ae21..3b68c66e155c6 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 @@ -24,11 +24,11 @@ public static IEnumerable> ApiInfo_ComputeManageme new Tuple("Compute", "DedicatedHosts", "2019-07-01"), new Tuple("Compute", "DiskEncryptionSets", "2019-07-01"), new Tuple("Compute", "Disks", "2019-07-01"), - new Tuple("Compute", "Galleries", "2019-07-01"), - new Tuple("Compute", "GalleryApplicationVersions", "2019-07-01"), - new Tuple("Compute", "GalleryApplications", "2019-07-01"), - new Tuple("Compute", "GalleryImageVersions", "2019-07-01"), - new Tuple("Compute", "GalleryImages", "2019-07-01"), + new Tuple("Compute", "Galleries", "2019-12-01"), + new Tuple("Compute", "GalleryApplicationVersions", "2019-12-01"), + new Tuple("Compute", "GalleryApplications", "2019-12-01"), + new Tuple("Compute", "GalleryImageVersions", "2019-12-01"), + new Tuple("Compute", "GalleryImages", "2019-12-01"), new Tuple("Compute", "Images", "2019-07-01"), new Tuple("Compute", "LogAnalytics", "2019-07-01"), new Tuple("Compute", "Operations", "2019-07-01"), @@ -51,16 +51,5 @@ public static IEnumerable> ApiInfo_ComputeManageme }.AsEnumerable(); } } - // BEGIN: Code Generation Metadata Section - public static readonly String AutoRestVersion = "latest"; - public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4413"; - public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/compute/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=D:\\hylee-sdk\\january\\sdk"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "9e081c4452a1a9bc8d4d132407318a1409c94ccb"; - public static readonly String CodeGenerationErrors = ""; - public static readonly String GithubRepoName = "azure-rest-api-specs"; - // END: Code Generation Metadata Section } } -