Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR mgmt-v2018_06_01_preview] [JEDI feature] Update listHosts response to include new optional properties added for BYOK auto rotation #6894

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sdk/hdinsight/mgmt-v2018_06_01_preview/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.3.2</version>
<relativePath>../../parents/azure-arm-parent/pom.xml</relativePath>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-hdinsight</artifactId>
<version>1.3.7</version>
<version>1.0.0-beta</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for HDInsight Management</name>
<description>This package contains Microsoft HDInsight Management SDK.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@
* Type representing HostInfo.
*/
public interface HostInfo extends HasInner<HostInfoInner>, HasManager<HDInsightManager> {
/**
* @return the effectiveDiskEncryptionKeyUrl value.
*/
String effectiveDiskEncryptionKeyUrl();

/**
* @return the fqdn value.
*/
String fqdn();

/**
* @return the name value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ public HDInsightManager manager() {
return this.manager;
}

@Override
public String effectiveDiskEncryptionKeyUrl() {
return this.inner().effectiveDiskEncryptionKeyUrl();
}

@Override
public String fqdn() {
return this.inner().fqdn();
}

@Override
public String name() {
return this.inner().name();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@ public class HostInfoInner {
@JsonProperty(value = "name")
private String name;

/**
* The Fully Qualified Domain Name of host.
*/
@JsonProperty(value = "fqdn")
private String fqdn;

/**
* The effective disk encryption key URL used by the host.
*/
@JsonProperty(value = "effectiveDiskEncryptionKeyUrl")
private String effectiveDiskEncryptionKeyUrl;

/**
* Get the host name.
*
Expand All @@ -40,4 +52,44 @@ public HostInfoInner withName(String name) {
return this;
}

/**
* Get the Fully Qualified Domain Name of host.
*
* @return the fqdn value
*/
public String fqdn() {
return this.fqdn;
}

/**
* Set the Fully Qualified Domain Name of host.
*
* @param fqdn the fqdn value to set
* @return the HostInfoInner object itself.
*/
public HostInfoInner withFqdn(String fqdn) {
this.fqdn = fqdn;
return this;
}

/**
* Get the effective disk encryption key URL used by the host.
*
* @return the effectiveDiskEncryptionKeyUrl value
*/
public String effectiveDiskEncryptionKeyUrl() {
return this.effectiveDiskEncryptionKeyUrl;
}

/**
* Set the effective disk encryption key URL used by the host.
*
* @param effectiveDiskEncryptionKeyUrl the effectiveDiskEncryptionKeyUrl value to set
* @return the HostInfoInner object itself.
*/
public HostInfoInner withEffectiveDiskEncryptionKeyUrl(String effectiveDiskEncryptionKeyUrl) {
this.effectiveDiskEncryptionKeyUrl = effectiveDiskEncryptionKeyUrl;
return this;
}

}