diff --git a/sdk/hybridcompute/mgmt-v2020_08_02/pom.xml b/sdk/hybridcompute/mgmt-v2020_08_02/pom.xml index 9bf37ccbfbba..41bcd15c76ec 100644 --- a/sdk/hybridcompute/mgmt-v2020_08_02/pom.xml +++ b/sdk/hybridcompute/mgmt-v2020_08_02/pom.xml @@ -11,8 +11,8 @@ com.microsoft.azure azure-arm-parent - 1.3.2 - ../../parents/azure-arm-parent/pom.xml + 1.1.0 + ../../../pom.management.xml azure-mgmt-hybridcompute 1.0.0-beta diff --git a/sdk/hybridcompute/mgmt-v2020_08_02/src/main/java/com/microsoft/azure/management/hybridcompute/v2020_08_02/MachineExtensionInstanceView.java b/sdk/hybridcompute/mgmt-v2020_08_02/src/main/java/com/microsoft/azure/management/hybridcompute/v2020_08_02/MachineExtensionInstanceView.java index e6918f041aeb..0ac36d2c2340 100644 --- a/sdk/hybridcompute/mgmt-v2020_08_02/src/main/java/com/microsoft/azure/management/hybridcompute/v2020_08_02/MachineExtensionInstanceView.java +++ b/sdk/hybridcompute/mgmt-v2020_08_02/src/main/java/com/microsoft/azure/management/hybridcompute/v2020_08_02/MachineExtensionInstanceView.java @@ -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; /** @@ -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". * @@ -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. * @@ -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. * diff --git a/sdk/hybridcompute/mgmt-v2020_08_02/src/main/java/com/microsoft/azure/management/hybridcompute/v2020_08_02/MachineExtensionInstanceViewStatus.java b/sdk/hybridcompute/mgmt-v2020_08_02/src/main/java/com/microsoft/azure/management/hybridcompute/v2020_08_02/MachineExtensionInstanceViewStatus.java index 5e68917a294b..9f954b3771eb 100644 --- a/sdk/hybridcompute/mgmt-v2020_08_02/src/main/java/com/microsoft/azure/management/hybridcompute/v2020_08_02/MachineExtensionInstanceViewStatus.java +++ b/sdk/hybridcompute/mgmt-v2020_08_02/src/main/java/com/microsoft/azure/management/hybridcompute/v2020_08_02/MachineExtensionInstanceViewStatus.java @@ -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; /** @@ -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'. * @@ -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. * @@ -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. * @@ -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. * @@ -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; - } - } diff --git a/sdk/hybridcompute/mgmt-v2020_08_02/src/main/java/com/microsoft/azure/management/hybridcompute/v2020_08_02/MachineProperties.java b/sdk/hybridcompute/mgmt-v2020_08_02/src/main/java/com/microsoft/azure/management/hybridcompute/v2020_08_02/MachineProperties.java index 22cf25ae5850..d6977a666eb0 100644 --- a/sdk/hybridcompute/mgmt-v2020_08_02/src/main/java/com/microsoft/azure/management/hybridcompute/v2020_08_02/MachineProperties.java +++ b/sdk/hybridcompute/mgmt-v2020_08_02/src/main/java/com/microsoft/azure/management/hybridcompute/v2020_08_02/MachineProperties.java @@ -105,7 +105,7 @@ public class MachineProperties { /** * Machine Extensions information. */ - @JsonProperty(value = "extensions") + @JsonProperty(value = "extensions", access = JsonProperty.Access.WRITE_ONLY) private List extensions; /** @@ -311,17 +311,6 @@ public List extensions() { return this.extensions; } - /** - * Set machine Extensions information. - * - * @param extensions the extensions value to set - * @return the MachineProperties object itself. - */ - public MachineProperties withExtensions(List extensions) { - this.extensions = extensions; - return this; - } - /** * Get specifies the Operating System product SKU. * diff --git a/sdk/hybridcompute/mgmt-v2020_08_02/src/main/java/com/microsoft/azure/management/hybridcompute/v2020_08_02/implementation/MachineInner.java b/sdk/hybridcompute/mgmt-v2020_08_02/src/main/java/com/microsoft/azure/management/hybridcompute/v2020_08_02/implementation/MachineInner.java index a10aa02c025e..1bc0fd9fe622 100644 --- a/sdk/hybridcompute/mgmt-v2020_08_02/src/main/java/com/microsoft/azure/management/hybridcompute/v2020_08_02/implementation/MachineInner.java +++ b/sdk/hybridcompute/mgmt-v2020_08_02/src/main/java/com/microsoft/azure/management/hybridcompute/v2020_08_02/implementation/MachineInner.java @@ -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 extensions; /** @@ -326,17 +326,6 @@ public List extensions() { return this.extensions; } - /** - * Set machine Extensions information. - * - * @param extensions the extensions value to set - * @return the MachineInner object itself. - */ - public MachineInner withExtensions(List extensions) { - this.extensions = extensions; - return this; - } - /** * Get specifies the Operating System product SKU. *