From 2d4665b0e9160cf2e3a6306976c4ffa52876ce15 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Thu, 13 Aug 2020 01:46:53 +0000 Subject: [PATCH] Generated from c536753fa63de317ac7cbfeffd88832ef889ee44 Add encryptionAtHost property --- .../mgmt-v2018_06_01_preview/pom.xml | 6 ++--- .../DiskEncryptionProperties.java | 26 +++++++++++++++++++ 2 files changed, 29 insertions(+), 3 deletions(-) diff --git a/sdk/hdinsight/mgmt-v2018_06_01_preview/pom.xml b/sdk/hdinsight/mgmt-v2018_06_01_preview/pom.xml index 7de691d6db1b..3befdcfee2e1 100644 --- a/sdk/hdinsight/mgmt-v2018_06_01_preview/pom.xml +++ b/sdk/hdinsight/mgmt-v2018_06_01_preview/pom.xml @@ -11,11 +11,11 @@ com.microsoft.azure azure-arm-parent - 1.3.2 - ../../parents/azure-arm-parent/pom.xml + 1.1.0 + ../../../pom.management.xml azure-mgmt-hdinsight - 1.3.4 + 1.0.0-beta jar Microsoft Azure SDK for HDInsight Management This package contains Microsoft HDInsight Management SDK. diff --git a/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/DiskEncryptionProperties.java b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/DiskEncryptionProperties.java index 102087c73950..a0c9c903f4c2 100644 --- a/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/DiskEncryptionProperties.java +++ b/sdk/hdinsight/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/hdinsight/v2018_06_01_preview/DiskEncryptionProperties.java @@ -46,6 +46,12 @@ public class DiskEncryptionProperties { @JsonProperty(value = "msiResourceId") private String msiResourceId; + /** + * Indicates whether or not resource disk encryption is enabled. + */ + @JsonProperty(value = "encryptionAtHost") + private Boolean encryptionAtHost; + /** * Get base key vault URI where the customers key is located eg. https://myvault.vault.azure.net. * @@ -146,4 +152,24 @@ public DiskEncryptionProperties withMsiResourceId(String msiResourceId) { return this; } + /** + * Get indicates whether or not resource disk encryption is enabled. + * + * @return the encryptionAtHost value + */ + public Boolean encryptionAtHost() { + return this.encryptionAtHost; + } + + /** + * Set indicates whether or not resource disk encryption is enabled. + * + * @param encryptionAtHost the encryptionAtHost value to set + * @return the DiskEncryptionProperties object itself. + */ + public DiskEncryptionProperties withEncryptionAtHost(Boolean encryptionAtHost) { + this.encryptionAtHost = encryptionAtHost; + return this; + } + }