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-v2020_06_01] Make DedicatedHostGroup.properties.supportAutomaticPlacement default to false #6135

Closed
wants to merge 1 commit into from
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
4 changes: 2 additions & 2 deletions sdk/compute/mgmt-v2020_06_01/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<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-compute</artifactId>
<version>1.0.0-beta</version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ interface WithPlatformFaultDomainCount {
interface WithSupportAutomaticPlacement {
/**
* Specifies supportAutomaticPlacement.
* @param supportAutomaticPlacement Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'true' when not provided. &lt;br&gt;&lt;br&gt;Minimum api-version: 2020-06-01
* @param supportAutomaticPlacement Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided. &lt;br&gt;&lt;br&gt;Minimum api-version: 2020-06-01
* @return the next definition stage
*/
WithCreate withSupportAutomaticPlacement(Boolean supportAutomaticPlacement);
Expand Down Expand Up @@ -132,7 +132,7 @@ interface UpdateStages {
interface WithSupportAutomaticPlacement {
/**
* Specifies supportAutomaticPlacement.
* @param supportAutomaticPlacement Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'true' when not provided. &lt;br&gt;&lt;br&gt;Minimum api-version: 2020-06-01
* @param supportAutomaticPlacement Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided. &lt;br&gt;&lt;br&gt;Minimum api-version: 2020-06-01
* @return the next update stage
*/
Update withSupportAutomaticPlacement(Boolean supportAutomaticPlacement);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class DedicatedHostGroupUpdate extends UpdateResource {
* Specifies whether virtual machines or virtual machine scale sets can be
* placed automatically on the dedicated host group. Automatic placement
* means resources are allocated on dedicated hosts, that are chosen by
* Azure, under the dedicated host group. The value is defaulted to 'true'
* Azure, under the dedicated host group. The value is defaulted to 'false'
* when not provided. &lt;br&gt;&lt;br&gt;Minimum api-version: 2020-06-01.
*/
@JsonProperty(value = "properties.supportAutomaticPlacement")
Expand Down Expand Up @@ -95,7 +95,7 @@ public DedicatedHostGroupInstanceView instanceView() {
}

/**
* Get specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'true' when not provided. &lt;br&gt;&lt;br&gt;Minimum api-version: 2020-06-01.
* Get specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided. &lt;br&gt;&lt;br&gt;Minimum api-version: 2020-06-01.
*
* @return the supportAutomaticPlacement value
*/
Expand All @@ -104,7 +104,7 @@ public Boolean supportAutomaticPlacement() {
}

/**
* Set specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'true' when not provided. &lt;br&gt;&lt;br&gt;Minimum api-version: 2020-06-01.
* Set specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided. &lt;br&gt;&lt;br&gt;Minimum api-version: 2020-06-01.
*
* @param supportAutomaticPlacement the supportAutomaticPlacement value to set
* @return the DedicatedHostGroupUpdate object itself.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
/**
* 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.compute.v2020_06_01;

import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;

/**
* Defines values for ExecutionState.
*/
public final class ExecutionState extends ExpandableStringEnum<ExecutionState> {
/** Static value Unknown for ExecutionState. */
public static final ExecutionState UNKNOWN = fromString("Unknown");

/** Static value Pending for ExecutionState. */
public static final ExecutionState PENDING = fromString("Pending");

/** Static value Running for ExecutionState. */
public static final ExecutionState RUNNING = fromString("Running");

/** Static value Failed for ExecutionState. */
public static final ExecutionState FAILED = fromString("Failed");

/** Static value Succeeded for ExecutionState. */
public static final ExecutionState SUCCEEDED = fromString("Succeeded");

/** Static value TimedOut for ExecutionState. */
public static final ExecutionState TIMED_OUT = fromString("TimedOut");

/** Static value Canceled for ExecutionState. */
public static final ExecutionState CANCELED = fromString("Canceled");

/**
* Creates or finds a ExecutionState from its string representation.
* @param name a name to look for
* @return the corresponding ExecutionState
*/
@JsonCreator
public static ExecutionState fromString(String name) {
return fromString(name, ExecutionState.class);
}

/**
* @return known ExecutionState values
*/
public static Collection<ExecutionState> values() {
return values(ExecutionState.class);
}
}
Loading