Skip to content
Closed
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
36 changes: 3 additions & 33 deletions hdinsight/resource-manager/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.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
<version>0.0.3-beta</version>
<relativePath>../../../pom.xml</relativePath>
</parent>
<artifactId>azure-mgmt-hdinsight</artifactId>
<version>1.1.0</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 Expand Up @@ -72,36 +72,6 @@
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-mgmt-storage</artifactId>
<version>1.18.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-mgmt-msi</artifactId>
<version>1.18.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-mgmt-keyvault</artifactId>
<version>1.18.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-keyvault</artifactId>
<version>1.2.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>2.9.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class ApplicationGetHttpsEndpoint {
private Integer publicPort;

/**
* The subDomainSuffix of the application.
* The subdomain suffix of the application.
*/
@JsonProperty(value = "subDomainSuffix")
private String subDomainSuffix;
Expand Down Expand Up @@ -132,7 +132,7 @@ public ApplicationGetHttpsEndpoint withPublicPort(Integer publicPort) {
}

/**
* Get the subDomainSuffix of the application.
* Get the subdomain suffix of the application.
*
* @return the subDomainSuffix value
*/
Expand All @@ -141,7 +141,7 @@ public String subDomainSuffix() {
}

/**
* Set the subDomainSuffix of the application.
* Set the subdomain suffix of the application.
*
* @param subDomainSuffix the subDomainSuffix value to set
* @return the ApplicationGetHttpsEndpoint object itself.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
/**
* 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.
*/

package com.microsoft.azure.management.hdinsight.v2018_06_01_preview;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* The autoscale request parameters.
*/
public class Autoscale {
/**
* Parameters for load-based autoscale.
*/
@JsonProperty(value = "capacity")
private AutoscaleCapacity capacity;

/**
* Parameters for schedule-based autoscale.
*/
@JsonProperty(value = "recurrence")
private AutoscaleRecurrence recurrence;

/**
* Get parameters for load-based autoscale.
*
* @return the capacity value
*/
public AutoscaleCapacity capacity() {
return this.capacity;
}

/**
* Set parameters for load-based autoscale.
*
* @param capacity the capacity value to set
* @return the Autoscale object itself.
*/
public Autoscale withCapacity(AutoscaleCapacity capacity) {
this.capacity = capacity;
return this;
}

/**
* Get parameters for schedule-based autoscale.
*
* @return the recurrence value
*/
public AutoscaleRecurrence recurrence() {
return this.recurrence;
}

/**
* Set parameters for schedule-based autoscale.
*
* @param recurrence the recurrence value to set
* @return the Autoscale object itself.
*/
public Autoscale withRecurrence(AutoscaleRecurrence recurrence) {
this.recurrence = recurrence;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
/**
* 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.
*/

package com.microsoft.azure.management.hdinsight.v2018_06_01_preview;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* The load-based autoscale request parameters.
*/
public class AutoscaleCapacity {
/**
* The minimum instance count of the cluster.
*/
@JsonProperty(value = "minInstanceCount")
private Integer minInstanceCount;

/**
* The maximum instance count of the cluster.
*/
@JsonProperty(value = "maxInstanceCount")
private Integer maxInstanceCount;

/**
* Get the minimum instance count of the cluster.
*
* @return the minInstanceCount value
*/
public Integer minInstanceCount() {
return this.minInstanceCount;
}

/**
* Set the minimum instance count of the cluster.
*
* @param minInstanceCount the minInstanceCount value to set
* @return the AutoscaleCapacity object itself.
*/
public AutoscaleCapacity withMinInstanceCount(Integer minInstanceCount) {
this.minInstanceCount = minInstanceCount;
return this;
}

/**
* Get the maximum instance count of the cluster.
*
* @return the maxInstanceCount value
*/
public Integer maxInstanceCount() {
return this.maxInstanceCount;
}

/**
* Set the maximum instance count of the cluster.
*
* @param maxInstanceCount the maxInstanceCount value to set
* @return the AutoscaleCapacity object itself.
*/
public AutoscaleCapacity withMaxInstanceCount(Integer maxInstanceCount) {
this.maxInstanceCount = maxInstanceCount;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
/**
* 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.
*/

package com.microsoft.azure.management.hdinsight.v2018_06_01_preview;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Schedule-based autoscale request parameters.
*/
public class AutoscaleRecurrence {
/**
* The time zone for the autoscale schedule times.
*/
@JsonProperty(value = "timeZone")
private String timeZone;

/**
* Array of schedule-based autoscale rules.
*/
@JsonProperty(value = "schedule")
private List<AutoscaleSchedule> schedule;

/**
* Get the time zone for the autoscale schedule times.
*
* @return the timeZone value
*/
public String timeZone() {
return this.timeZone;
}

/**
* Set the time zone for the autoscale schedule times.
*
* @param timeZone the timeZone value to set
* @return the AutoscaleRecurrence object itself.
*/
public AutoscaleRecurrence withTimeZone(String timeZone) {
this.timeZone = timeZone;
return this;
}

/**
* Get array of schedule-based autoscale rules.
*
* @return the schedule value
*/
public List<AutoscaleSchedule> schedule() {
return this.schedule;
}

/**
* Set array of schedule-based autoscale rules.
*
* @param schedule the schedule value to set
* @return the AutoscaleRecurrence object itself.
*/
public AutoscaleRecurrence withSchedule(List<AutoscaleSchedule> schedule) {
this.schedule = schedule;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
/**
* 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.
*/

package com.microsoft.azure.management.hdinsight.v2018_06_01_preview;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Parameters for a schedule-based autoscale rule, consisting of an array of
* days + a time and capacity.
*/
public class AutoscaleSchedule {
/**
* Days of the week for a schedule-based autoscale rule.
*/
@JsonProperty(value = "days")
private List<DaysOfWeek> days;

/**
* Time and capacity for a schedule-based autoscale rule.
*/
@JsonProperty(value = "timeAndCapacity")
private AutoscaleTimeAndCapacity timeAndCapacity;

/**
* Get days of the week for a schedule-based autoscale rule.
*
* @return the days value
*/
public List<DaysOfWeek> days() {
return this.days;
}

/**
* Set days of the week for a schedule-based autoscale rule.
*
* @param days the days value to set
* @return the AutoscaleSchedule object itself.
*/
public AutoscaleSchedule withDays(List<DaysOfWeek> days) {
this.days = days;
return this;
}

/**
* Get time and capacity for a schedule-based autoscale rule.
*
* @return the timeAndCapacity value
*/
public AutoscaleTimeAndCapacity timeAndCapacity() {
return this.timeAndCapacity;
}

/**
* Set time and capacity for a schedule-based autoscale rule.
*
* @param timeAndCapacity the timeAndCapacity value to set
* @return the AutoscaleSchedule object itself.
*/
public AutoscaleSchedule withTimeAndCapacity(AutoscaleTimeAndCapacity timeAndCapacity) {
this.timeAndCapacity = timeAndCapacity;
return this;
}

}
Loading