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

Compute update 2018 06 01 #491

Merged
Merged
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ local.properties
target
.idea
*.iml
.factorypath

# Mac OS #
.DS_Store
Expand Down
2 changes: 1 addition & 1 deletion api-specs.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"dir": "azure-mgmt-compute",
"source": "specification/compute/resource-manager/readme.md",
"package": "com.microsoft.azure.management.compute",
"args": "--payload-flattening-threshold=1 --tag=package-2018-04"
"args": "--payload-flattening-threshold=1 --tag=package-2018-06-01"
},
"consumption": {
"dir": "azure-mgmt-consumption",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public class AdditionalUnattendContent {
private String content;

/**
* Get the passName value.
* Get the pass name. Currently, the only allowable value is OobeSystem. Possible values include: 'OobeSystem'.
*
* @return the passName value
*/
Expand All @@ -58,7 +58,7 @@ public PassNames passName() {
}

/**
* Set the passName value.
* Set the pass name. Currently, the only allowable value is OobeSystem. Possible values include: 'OobeSystem'.
*
* @param passName the passName value to set
* @return the AdditionalUnattendContent object itself.
Expand All @@ -69,7 +69,7 @@ public AdditionalUnattendContent withPassName(PassNames passName) {
}

/**
* Get the componentName value.
* Get the component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup. Possible values include: 'Microsoft-Windows-Shell-Setup'.
*
* @return the componentName value
*/
Expand All @@ -78,7 +78,7 @@ public ComponentNames componentName() {
}

/**
* Set the componentName value.
* Set the component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup. Possible values include: 'Microsoft-Windows-Shell-Setup'.
*
* @param componentName the componentName value to set
* @return the AdditionalUnattendContent object itself.
Expand All @@ -89,7 +89,7 @@ public AdditionalUnattendContent withComponentName(ComponentNames componentName)
}

/**
* Get the settingName value.
* Get specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon. Possible values include: 'AutoLogon', 'FirstLogonCommands'.
*
* @return the settingName value
*/
Expand All @@ -98,7 +98,7 @@ public SettingNames settingName() {
}

/**
* Set the settingName value.
* Set specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon. Possible values include: 'AutoLogon', 'FirstLogonCommands'.
*
* @param settingName the settingName value to set
* @return the AdditionalUnattendContent object itself.
Expand All @@ -109,7 +109,7 @@ public AdditionalUnattendContent withSettingName(SettingNames settingName) {
}

/**
* Get the content value.
* Get specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.
*
* @return the content value
*/
Expand All @@ -118,7 +118,7 @@ public String content() {
}

/**
* Set the content value.
* Set specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.
*
* @param content the content value to set
* @return the AdditionalUnattendContent object itself.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
/**
* 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;

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

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

/** Static value InProgress for AggregatedReplicationState. */
public static final AggregatedReplicationState IN_PROGRESS = fromString("InProgress");

/** Static value Completed for AggregatedReplicationState. */
public static final AggregatedReplicationState COMPLETED = fromString("Completed");

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

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

/**
* @return known AggregatedReplicationState values
*/
public static Collection<AggregatedReplicationState> values() {
return values(AggregatedReplicationState.class);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class ApiEntityReference {
private String id;

/**
* Get the id value.
* Get the ARM resource id in the form of /subscriptions/{SubcriptionId}/resourceGroups/{ResourceGroupName}/...
*
* @return the id value
*/
Expand All @@ -31,7 +31,7 @@ public String id() {
}

/**
* Set the id value.
* Set the ARM resource id in the form of /subscriptions/{SubcriptionId}/resourceGroups/{ResourceGroupName}/...
*
* @param id the id value to set
* @return the ApiEntityReference object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public class ApiError {
private String message;

/**
* Get the details value.
* Get the Api error details.
*
* @return the details value
*/
Expand All @@ -55,7 +55,7 @@ public List<ApiErrorBase> details() {
}

/**
* Set the details value.
* Set the Api error details.
*
* @param details the details value to set
* @return the ApiError object itself.
Expand All @@ -66,7 +66,7 @@ public ApiError withDetails(List<ApiErrorBase> details) {
}

/**
* Get the innererror value.
* Get the Api inner error.
*
* @return the innererror value
*/
Expand All @@ -75,7 +75,7 @@ public InnerError innererror() {
}

/**
* Set the innererror value.
* Set the Api inner error.
*
* @param innererror the innererror value to set
* @return the ApiError object itself.
Expand All @@ -86,7 +86,7 @@ public ApiError withInnererror(InnerError innererror) {
}

/**
* Get the code value.
* Get the error code.
*
* @return the code value
*/
Expand All @@ -95,7 +95,7 @@ public String code() {
}

/**
* Set the code value.
* Set the error code.
*
* @param code the code value to set
* @return the ApiError object itself.
Expand All @@ -106,7 +106,7 @@ public ApiError withCode(String code) {
}

/**
* Get the target value.
* Get the target of the particular error.
*
* @return the target value
*/
Expand All @@ -115,7 +115,7 @@ public String target() {
}

/**
* Set the target value.
* Set the target of the particular error.
*
* @param target the target value to set
* @return the ApiError object itself.
Expand All @@ -126,7 +126,7 @@ public ApiError withTarget(String target) {
}

/**
* Get the message value.
* Get the error message.
*
* @return the message value
*/
Expand All @@ -135,7 +135,7 @@ public String message() {
}

/**
* Set the message value.
* Set the error message.
*
* @param message the message value to set
* @return the ApiError object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class ApiErrorBase {
private String message;

/**
* Get the code value.
* Get the error code.
*
* @return the code value
*/
Expand All @@ -42,7 +42,7 @@ public String code() {
}

/**
* Set the code value.
* Set the error code.
*
* @param code the code value to set
* @return the ApiErrorBase object itself.
Expand All @@ -53,7 +53,7 @@ public ApiErrorBase withCode(String code) {
}

/**
* Get the target value.
* Get the target of the particular error.
*
* @return the target value
*/
Expand All @@ -62,7 +62,7 @@ public String target() {
}

/**
* Set the target value.
* Set the target of the particular error.
*
* @param target the target value to set
* @return the ApiErrorBase object itself.
Expand All @@ -73,7 +73,7 @@ public ApiErrorBase withTarget(String target) {
}

/**
* Get the message value.
* Get the error message.
*
* @return the message value
*/
Expand All @@ -82,7 +82,7 @@ public String message() {
}

/**
* Set the message value.
* Set the error message.
*
* @param message the message value to set
* @return the ApiErrorBase object itself.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/**
* 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;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* The configuration parameters used for performing automatic OS upgrade.
*/
public class AutoOSUpgradePolicy {
/**
* Whether OS image rollback feature should be disabled. Default value is
* false.
*/
@JsonProperty(value = "disableAutoRollback")
private Boolean disableAutoRollback;

/**
* Get whether OS image rollback feature should be disabled. Default value is false.
*
* @return the disableAutoRollback value
*/
public Boolean disableAutoRollback() {
return this.disableAutoRollback;
}

/**
* Set whether OS image rollback feature should be disabled. Default value is false.
*
* @param disableAutoRollback the disableAutoRollback value to set
* @return the AutoOSUpgradePolicy object itself.
*/
public AutoOSUpgradePolicy withDisableAutoRollback(Boolean disableAutoRollback) {
this.disableAutoRollback = disableAutoRollback;
return this;
}

}
Loading