Skip to content

Commit

Permalink
Generated from 54ae08f534c3c1d80ec3e45366f33555bedc560a
Browse files Browse the repository at this point in the history
  • Loading branch information
SDK Automation committed Oct 20, 2020
1 parent a323b3b commit d90706f
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 150 deletions.
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 @@ -288,7 +288,7 @@ private ServiceResponse<MachineExtensionInner> beginCreateOrUpdateDelegate(Respo
}

/**
* The operation to create or update the extension.
* The operation to update the extension.
*
* @param resourceGroupName The name of the resource group.
* @param name The name of the machine where the extension should be created or updated.
Expand All @@ -304,7 +304,7 @@ public MachineExtensionInner update(String resourceGroupName, String name, Strin
}

/**
* The operation to create or update the extension.
* The operation to update the extension.
*
* @param resourceGroupName The name of the resource group.
* @param name The name of the machine where the extension should be created or updated.
Expand All @@ -319,7 +319,7 @@ public ServiceFuture<MachineExtensionInner> updateAsync(String resourceGroupName
}

/**
* The operation to create or update the extension.
* The operation to update the extension.
*
* @param resourceGroupName The name of the resource group.
* @param name The name of the machine where the extension should be created or updated.
Expand All @@ -338,7 +338,7 @@ public MachineExtensionInner call(ServiceResponse<MachineExtensionInner> respons
}

/**
* The operation to create or update the extension.
* The operation to update the extension.
*
* @param resourceGroupName The name of the resource group.
* @param name The name of the machine where the extension should be created or updated.
Expand Down Expand Up @@ -372,7 +372,7 @@ public Observable<ServiceResponse<MachineExtensionInner>> updateWithServiceRespo
}

/**
* The operation to create or update the extension.
* The operation to update the extension.
*
* @param resourceGroupName The name of the resource group.
* @param name The name of the machine where the extension should be created or updated.
Expand All @@ -388,7 +388,7 @@ public MachineExtensionInner beginUpdate(String resourceGroupName, String name,
}

/**
* The operation to create or update the extension.
* The operation to update the extension.
*
* @param resourceGroupName The name of the resource group.
* @param name The name of the machine where the extension should be created or updated.
Expand All @@ -403,7 +403,7 @@ public ServiceFuture<MachineExtensionInner> beginUpdateAsync(String resourceGrou
}

/**
* The operation to create or update the extension.
* The operation to update the extension.
*
* @param resourceGroupName The name of the resource group.
* @param name The name of the machine where the extension should be created or updated.
Expand All @@ -422,7 +422,7 @@ public MachineExtensionInner call(ServiceResponse<MachineExtensionInner> respons
}

/**
* The operation to create or update the extension.
* The operation to update the extension.
*
* @param resourceGroupName The name of the resource group.
* @param name The name of the machine where the extension should be created or updated.
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
Loading

0 comments on commit d90706f

Please sign in to comment.