Skip to content

Commit

Permalink
Generated from fe6355b1f076ccb3a6a36b66bf358fb596881f3c
Browse files Browse the repository at this point in the history
remove unneeded params
  • Loading branch information
SDK Automation committed Feb 13, 2020
1 parent 79f10ab commit 7a8922a
Show file tree
Hide file tree
Showing 26 changed files with 388 additions and 132 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ public AvailabilitySetUpdate()
/// Initializes a new instance of the AvailabilitySetUpdate class.
/// </summary>
/// <param name="tags">Resource tags</param>
/// <param name="id">Resource Id</param>
/// <param name="name">Resource name</param>
/// <param name="type">Resource type</param>
/// <param name="platformUpdateDomainCount">Update Domain
/// count.</param>
/// <param name="platformFaultDomainCount">Fault Domain count.</param>
Expand All @@ -50,8 +47,8 @@ public AvailabilitySetUpdate()
/// 2018-04-01.</param>
/// <param name="statuses">The resource status information.</param>
/// <param name="sku">Sku of the availability set</param>
public AvailabilitySetUpdate(IDictionary<string, string> tags = default(IDictionary<string, string>), string id = default(string), string name = default(string), string type = default(string), int? platformUpdateDomainCount = default(int?), int? platformFaultDomainCount = default(int?), IList<SubResource> virtualMachines = default(IList<SubResource>), SubResource proximityPlacementGroup = default(SubResource), IList<InstanceViewStatus> statuses = default(IList<InstanceViewStatus>), Sku sku = default(Sku))
: base(tags, id, name, type)
public AvailabilitySetUpdate(IDictionary<string, string> tags = default(IDictionary<string, string>), int? platformUpdateDomainCount = default(int?), int? platformFaultDomainCount = default(int?), IList<SubResource> virtualMachines = default(IList<SubResource>), SubResource proximityPlacementGroup = default(SubResource), IList<InstanceViewStatus> statuses = default(IList<InstanceViewStatus>), Sku sku = default(Sku))
: base(tags)
{
PlatformUpdateDomainCount = platformUpdateDomainCount;
PlatformFaultDomainCount = platformFaultDomainCount;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
// <auto-generated>
// 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.
// </auto-generated>

namespace Microsoft.Azure.Management.Compute.Models
{
using Newtonsoft.Json;
using System.Linq;

/// <summary>
/// Contains encryption settings for a data disk image.
/// </summary>
public partial class DataDiskImageEncryption : DiskImageEncryption
{
/// <summary>
/// Initializes a new instance of the DataDiskImageEncryption class.
/// </summary>
public DataDiskImageEncryption()
{
CustomInit();
}

/// <summary>
/// Initializes a new instance of the DataDiskImageEncryption class.
/// </summary>
/// <param name="lun">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.</param>
/// <param name="diskEncryptionSetId">A relative URI containing the
/// resource ID of the disk encryption set.</param>
public DataDiskImageEncryption(int lun, string diskEncryptionSetId = default(string))
: base(diskEncryptionSetId)
{
Lun = lun;
CustomInit();
}

/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();

/// <summary>
/// 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.
/// </summary>
[JsonProperty(PropertyName = "lun")]
public int Lun { get; set; }

/// <summary>
/// Validate the object.
/// </summary>
/// <exception cref="Rest.ValidationException">
/// Thrown if validation fails
/// </exception>
public virtual void Validate()
{
//Nothing to validate
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,15 @@ public DedicatedHostGroupUpdate()
/// <param name="platformFaultDomainCount">Number of fault domains that
/// the host group can span.</param>
/// <param name="tags">Resource tags</param>
/// <param name="id">Resource Id</param>
/// <param name="name">Resource name</param>
/// <param name="type">Resource type</param>
/// <param name="hosts">A list of references to all dedicated hosts in
/// the dedicated host group.</param>
/// <param name="zones">Availability Zone to use for this host group.
/// Only single zone is supported. The zone can be assigned only during
/// 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.</param>
public DedicatedHostGroupUpdate(int platformFaultDomainCount, IDictionary<string, string> tags = default(IDictionary<string, string>), string id = default(string), string name = default(string), string type = default(string), IList<SubResourceReadOnly> hosts = default(IList<SubResourceReadOnly>), IList<string> zones = default(IList<string>))
: base(tags, id, name, type)
public DedicatedHostGroupUpdate(int platformFaultDomainCount, IDictionary<string, string> tags = default(IDictionary<string, string>), IList<SubResourceReadOnly> hosts = default(IList<SubResourceReadOnly>), IList<string> zones = default(IList<string>))
: base(tags)
{
PlatformFaultDomainCount = platformFaultDomainCount;
Hosts = hosts;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ public DedicatedHostUpdate()
/// Initializes a new instance of the DedicatedHostUpdate class.
/// </summary>
/// <param name="tags">Resource tags</param>
/// <param name="id">Resource Id</param>
/// <param name="name">Resource name</param>
/// <param name="type">Resource type</param>
/// <param name="platformFaultDomain">Fault domain of the dedicated
/// host within a dedicated host group.</param>
/// <param name="autoReplaceOnFailure">Specifies whether the dedicated
Expand All @@ -62,8 +59,8 @@ public DedicatedHostUpdate()
/// appears in the response.</param>
/// <param name="instanceView">The dedicated host instance
/// view.</param>
public DedicatedHostUpdate(IDictionary<string, string> tags = default(IDictionary<string, string>), 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<SubResourceReadOnly> virtualMachines = default(IList<SubResourceReadOnly>), 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<string, string> tags = default(IDictionary<string, string>), int? platformFaultDomain = default(int?), bool? autoReplaceOnFailure = default(bool?), string hostId = default(string), IList<SubResourceReadOnly> virtualMachines = default(IList<SubResourceReadOnly>), DedicatedHostLicenseTypes? licenseType = default(DedicatedHostLicenseTypes?), System.DateTime? provisioningTime = default(System.DateTime?), string provisioningState = default(string), DedicatedHostInstanceView instanceView = default(DedicatedHostInstanceView))
: base(tags)
{
PlatformFaultDomain = platformFaultDomain;
AutoReplaceOnFailure = autoReplaceOnFailure;
Expand Down
Loading

0 comments on commit 7a8922a

Please sign in to comment.