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

[ReleasePR sdk/hybridcompute/mgmt-v2020_08_02] add alias for auto_rev_minor_version to fix az CLI linter error #15202

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/hybridcompute/mgmt-v2020_08_02/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-hybridcompute</artifactId>
<version>1.0.0-beta</version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,20 @@ public class MachineExtensionInstanceView {
/**
* The machine extension name.
*/
@JsonProperty(value = "name")
@JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
private String name;

/**
* Specifies the type of the extension; an example is
* "CustomScriptExtension".
*/
@JsonProperty(value = "type")
@JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY)
private String type;

/**
* Specifies the version of the script handler.
*/
@JsonProperty(value = "typeHandlerVersion")
@JsonProperty(value = "typeHandlerVersion", access = JsonProperty.Access.WRITE_ONLY)
private String typeHandlerVersion;

/**
Expand All @@ -48,17 +48,6 @@ public String name() {
return this.name;
}

/**
* Set the machine extension name.
*
* @param name the name value to set
* @return the MachineExtensionInstanceView object itself.
*/
public MachineExtensionInstanceView withName(String name) {
this.name = name;
return this;
}

/**
* Get specifies the type of the extension; an example is "CustomScriptExtension".
*
Expand All @@ -68,17 +57,6 @@ public String type() {
return this.type;
}

/**
* Set specifies the type of the extension; an example is "CustomScriptExtension".
*
* @param type the type value to set
* @return the MachineExtensionInstanceView object itself.
*/
public MachineExtensionInstanceView withType(String type) {
this.type = type;
return this;
}

/**
* Get specifies the version of the script handler.
*
Expand All @@ -88,17 +66,6 @@ public String typeHandlerVersion() {
return this.typeHandlerVersion;
}

/**
* Set specifies the version of the script handler.
*
* @param typeHandlerVersion the typeHandlerVersion value to set
* @return the MachineExtensionInstanceView object itself.
*/
public MachineExtensionInstanceView withTypeHandlerVersion(String typeHandlerVersion) {
this.typeHandlerVersion = typeHandlerVersion;
return this;
}

/**
* Get instance view status.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,31 +18,31 @@ public class MachineExtensionInstanceViewStatus {
/**
* The status code.
*/
@JsonProperty(value = "code")
@JsonProperty(value = "code", access = JsonProperty.Access.WRITE_ONLY)
private String code;

/**
* The level code. Possible values include: 'Info', 'Warning', 'Error'.
*/
@JsonProperty(value = "level")
@JsonProperty(value = "level", access = JsonProperty.Access.WRITE_ONLY)
private StatusLevelTypes level;

/**
* The short localizable label for the status.
*/
@JsonProperty(value = "displayStatus")
@JsonProperty(value = "displayStatus", access = JsonProperty.Access.WRITE_ONLY)
private String displayStatus;

/**
* The detailed status message, including for alerts and error messages.
*/
@JsonProperty(value = "message")
@JsonProperty(value = "message", access = JsonProperty.Access.WRITE_ONLY)
private String message;

/**
* The time of the status.
*/
@JsonProperty(value = "time")
@JsonProperty(value = "time", access = JsonProperty.Access.WRITE_ONLY)
private DateTime time;

/**
Expand All @@ -54,17 +54,6 @@ public String code() {
return this.code;
}

/**
* Set the status code.
*
* @param code the code value to set
* @return the MachineExtensionInstanceViewStatus object itself.
*/
public MachineExtensionInstanceViewStatus withCode(String code) {
this.code = code;
return this;
}

/**
* Get the level code. Possible values include: 'Info', 'Warning', 'Error'.
*
Expand All @@ -74,17 +63,6 @@ public StatusLevelTypes level() {
return this.level;
}

/**
* Set the level code. Possible values include: 'Info', 'Warning', 'Error'.
*
* @param level the level value to set
* @return the MachineExtensionInstanceViewStatus object itself.
*/
public MachineExtensionInstanceViewStatus withLevel(StatusLevelTypes level) {
this.level = level;
return this;
}

/**
* Get the short localizable label for the status.
*
Expand All @@ -94,17 +72,6 @@ public String displayStatus() {
return this.displayStatus;
}

/**
* Set the short localizable label for the status.
*
* @param displayStatus the displayStatus value to set
* @return the MachineExtensionInstanceViewStatus object itself.
*/
public MachineExtensionInstanceViewStatus withDisplayStatus(String displayStatus) {
this.displayStatus = displayStatus;
return this;
}

/**
* Get the detailed status message, including for alerts and error messages.
*
Expand All @@ -114,17 +81,6 @@ public String message() {
return this.message;
}

/**
* Set the detailed status message, including for alerts and error messages.
*
* @param message the message value to set
* @return the MachineExtensionInstanceViewStatus object itself.
*/
public MachineExtensionInstanceViewStatus withMessage(String message) {
this.message = message;
return this;
}

/**
* Get the time of the status.
*
Expand All @@ -134,15 +90,4 @@ public DateTime time() {
return this.time;
}

/**
* Set the time of the status.
*
* @param time the time value to set
* @return the MachineExtensionInstanceViewStatus object itself.
*/
public MachineExtensionInstanceViewStatus withTime(DateTime time) {
this.time = time;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public class MachineProperties {
/**
* Machine Extensions information.
*/
@JsonProperty(value = "extensions")
@JsonProperty(value = "extensions", access = JsonProperty.Access.WRITE_ONLY)
private List<MachineExtensionInstanceView> extensions;

/**
Expand Down Expand Up @@ -311,17 +311,6 @@ public List<MachineExtensionInstanceView> extensions() {
return this.extensions;
}

/**
* Set machine Extensions information.
*
* @param extensions the extensions value to set
* @return the MachineProperties object itself.
*/
public MachineProperties withExtensions(List<MachineExtensionInstanceView> extensions) {
this.extensions = extensions;
return this;
}

/**
* Get specifies the Operating System product SKU.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public class MachineInner extends Resource {
/**
* Machine Extensions information.
*/
@JsonProperty(value = "properties.extensions")
@JsonProperty(value = "properties.extensions", access = JsonProperty.Access.WRITE_ONLY)
private List<MachineExtensionInstanceView> extensions;

/**
Expand Down Expand Up @@ -326,17 +326,6 @@ public List<MachineExtensionInstanceView> extensions() {
return this.extensions;
}

/**
* Set machine Extensions information.
*
* @param extensions the extensions value to set
* @return the MachineInner object itself.
*/
public MachineInner withExtensions(List<MachineExtensionInstanceView> extensions) {
this.extensions = extensions;
return this;
}

/**
* Get specifies the Operating System product SKU.
*
Expand Down