From b5f9db905ba348dd35790896182d8bb839231b07 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Tue, 10 Nov 2020 02:07:52 +0000 Subject: [PATCH] Generated from 8705a33caff856e96b5ef9a19c3688c401c28056 --- .../Models/BillingResponseListResult.cs | 19 ++- .../src/Generated/Models/VmSizeProperty.cs | 135 ++++++++++++++++++ .../SdkInfo_HDInsightManagementClient.cs | 11 -- 3 files changed, 153 insertions(+), 12 deletions(-) create mode 100644 sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/VmSizeProperty.cs diff --git a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/BillingResponseListResult.cs b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/BillingResponseListResult.cs index e90841475b44..1e92363e8333 100644 --- a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/BillingResponseListResult.cs +++ b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/BillingResponseListResult.cs @@ -39,11 +39,16 @@ public BillingResponseListResult() /// sizes in a particular set. /// The billing and managed disk billing /// resources for a region. - public BillingResponseListResult(IList vmSizes = default(IList), IList vmSizeFilters = default(IList), IList billingResources = default(IList)) + /// The vm sizes when + /// enabling encryption at host. + /// The vm size properties. + public BillingResponseListResult(IList vmSizes = default(IList), IList vmSizeFilters = default(IList), IList billingResources = default(IList), IList vmSizesWithEncryptionAtHost = default(IList), IList vmSizeProperties = default(IList)) { VmSizes = vmSizes; VmSizeFilters = vmSizeFilters; BillingResources = billingResources; + VmSizesWithEncryptionAtHost = vmSizesWithEncryptionAtHost; + VmSizeProperties = vmSizeProperties; CustomInit(); } @@ -73,5 +78,17 @@ public BillingResponseListResult() [JsonProperty(PropertyName = "billingResources")] public IList BillingResources { get; set; } + /// + /// Gets the vm sizes when enabling encryption at host. + /// + [JsonProperty(PropertyName = "vmSizesWithEncryptionAtHost")] + public IList VmSizesWithEncryptionAtHost { get; private set; } + + /// + /// Gets the vm size properties. + /// + [JsonProperty(PropertyName = "vmSizeProperties")] + public IList VmSizeProperties { get; private set; } + } } diff --git a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/VmSizeProperty.cs b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/VmSizeProperty.cs new file mode 100644 index 000000000000..a1e323854906 --- /dev/null +++ b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/VmSizeProperty.cs @@ -0,0 +1,135 @@ +// +// 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.HDInsight.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// The vm size property + /// + public partial class VmSizeProperty + { + /// + /// Initializes a new instance of the VmSizeProperty class. + /// + public VmSizeProperty() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the VmSizeProperty class. + /// + /// The vm size name + /// The number of cores that the vm size + /// has. + /// The data disk storage tier of the + /// vm size. + /// The label of the vm size. + /// The max data disk count of the vm + /// size. + /// The memory whose unit is MB of the vm + /// size. + /// This indicates this vm + /// size is supported by virtual machines or not + /// The indicates this vm size + /// is supported by web worker roles or not + /// The virtual + /// machine resource disk size whose unit is MB of the vm size. + /// The web worker resource + /// disk size whose unit is MB of the vm size. + public VmSizeProperty(string name = default(string), string cores = default(string), string dataDiskStorageTier = default(string), string label = default(string), string maxDataDiskCount = default(string), string memoryInMb = default(string), string supportedByVirtualMachines = default(string), string supportedByWebWorkerRoles = default(string), string virtualMachineResourceDiskSizeInMb = default(string), string webWorkerResourceDiskSizeInMb = default(string)) + { + Name = name; + Cores = cores; + DataDiskStorageTier = dataDiskStorageTier; + Label = label; + MaxDataDiskCount = maxDataDiskCount; + MemoryInMb = memoryInMb; + SupportedByVirtualMachines = supportedByVirtualMachines; + SupportedByWebWorkerRoles = supportedByWebWorkerRoles; + VirtualMachineResourceDiskSizeInMb = virtualMachineResourceDiskSizeInMb; + WebWorkerResourceDiskSizeInMb = webWorkerResourceDiskSizeInMb; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the vm size name + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Gets or sets the number of cores that the vm size has. + /// + [JsonProperty(PropertyName = "cores")] + public string Cores { get; set; } + + /// + /// Gets or sets the data disk storage tier of the vm size. + /// + [JsonProperty(PropertyName = "dataDiskStorageTier")] + public string DataDiskStorageTier { get; set; } + + /// + /// Gets or sets the label of the vm size. + /// + [JsonProperty(PropertyName = "label")] + public string Label { get; set; } + + /// + /// Gets or sets the max data disk count of the vm size. + /// + [JsonProperty(PropertyName = "maxDataDiskCount")] + public string MaxDataDiskCount { get; set; } + + /// + /// Gets or sets the memory whose unit is MB of the vm size. + /// + [JsonProperty(PropertyName = "memoryInMb")] + public string MemoryInMb { get; set; } + + /// + /// Gets or sets this indicates this vm size is supported by virtual + /// machines or not + /// + [JsonProperty(PropertyName = "supportedByVirtualMachines")] + public string SupportedByVirtualMachines { get; set; } + + /// + /// Gets or sets the indicates this vm size is supported by web worker + /// roles or not + /// + [JsonProperty(PropertyName = "supportedByWebWorkerRoles")] + public string SupportedByWebWorkerRoles { get; set; } + + /// + /// Gets or sets the virtual machine resource disk size whose unit is + /// MB of the vm size. + /// + [JsonProperty(PropertyName = "virtualMachineResourceDiskSizeInMb")] + public string VirtualMachineResourceDiskSizeInMb { get; set; } + + /// + /// Gets or sets the web worker resource disk size whose unit is MB of + /// the vm size. + /// + [JsonProperty(PropertyName = "webWorkerResourceDiskSizeInMb")] + public string WebWorkerResourceDiskSizeInMb { get; set; } + + } +} diff --git a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/SdkInfo_HDInsightManagementClient.cs b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/SdkInfo_HDInsightManagementClient.cs index 22f5c9d97d16..0a7e2fcd1f2e 100644 --- a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/SdkInfo_HDInsightManagementClient.cs +++ b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/SdkInfo_HDInsightManagementClient.cs @@ -31,16 +31,5 @@ public static IEnumerable> ApiInfo_HDInsightManage }.AsEnumerable(); } } - // BEGIN: Code Generation Metadata Section - public static readonly String AutoRestVersion = "v2"; - 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/hdinsight/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=D:\\source\\azure-sdk-for-net\\sdk"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "85a3955a1e1f4576a501db17e0d7b7998fe9cfdb"; - public static readonly String CodeGenerationErrors = ""; - public static readonly String GithubRepoName = "azure-rest-api-specs"; - // END: Code Generation Metadata Section } } -