forked from Azure/azure-sdk-for-net
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from fe6355b1f076ccb3a6a36b66bf358fb596881f3c
remove unneeded params
- Loading branch information
SDK Automation
committed
Feb 13, 2020
1 parent
79f10ab
commit 7a8922a
Showing
26 changed files
with
388 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 70 additions & 0 deletions
70
...ompute/Microsoft.Azure.Management.Compute/src/Generated/Models/DataDiskImageEncryption.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.