From eec3e523618c248e04ffffdd3725c211ea285131 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 9 Dec 2020 02:18:46 +0000 Subject: [PATCH] CodeGen from PR 11966 in Azure/azure-rest-api-specs Update listHosts response to include new optional properties added for BYOK auto rotation (#11966) Co-authored-by: karuna --- .../src/Generated/Models/HostInfo.cs | 19 ++++++++++++++++++- .../SdkInfo_HDInsightManagementClient.cs | 11 ----------- 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/HostInfo.cs b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/HostInfo.cs index 492cc396eda3b..77097949fc0c2 100644 --- a/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/HostInfo.cs +++ b/sdk/hdinsight/Microsoft.Azure.Management.HDInsight/src/Generated/Models/HostInfo.cs @@ -30,9 +30,14 @@ public HostInfo() /// Initializes a new instance of the HostInfo class. /// /// The host name - public HostInfo(string name = default(string)) + /// The Fully Qualified Domain Name of host + /// The effective disk + /// encryption key URL used by the host + public HostInfo(string name = default(string), string fqdn = default(string), string effectiveDiskEncryptionKeyUrl = default(string)) { Name = name; + Fqdn = fqdn; + EffectiveDiskEncryptionKeyUrl = effectiveDiskEncryptionKeyUrl; CustomInit(); } @@ -47,5 +52,17 @@ public HostInfo() [JsonProperty(PropertyName = "name")] public string Name { get; set; } + /// + /// Gets or sets the Fully Qualified Domain Name of host + /// + [JsonProperty(PropertyName = "fqdn")] + public string Fqdn { get; set; } + + /// + /// Gets or sets the effective disk encryption key URL used by the host + /// + [JsonProperty(PropertyName = "effectiveDiskEncryptionKeyUrl")] + public string EffectiveDiskEncryptionKeyUrl { 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 22f5c9d97d16b..0a7e2fcd1f2e7 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 } } -