From 671907376ddd3b73ffd0e7f283ffacff4a076d96 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Mon, 26 Oct 2020 23:07:40 +0000 Subject: [PATCH] Generated from 11bc19e5ff446d7062719d2ecc9edcb0ec9e1fdd --- sdk/hybridcompute/mgmt-v2020_08_02/pom.xml | 4 +- .../MachineExtensionInstanceView.java | 39 +---------- .../MachineExtensionInstanceViewStatus.java | 65 ++----------------- .../v2020_08_02/MachineProperties.java | 13 +--- .../MachineExtensionsInner.java | 16 ++--- .../implementation/MachineInner.java | 13 +--- .../implementation/MachinesInner.java | 40 ++++++------ 7 files changed, 40 insertions(+), 150 deletions(-) diff --git a/sdk/hybridcompute/mgmt-v2020_08_02/pom.xml b/sdk/hybridcompute/mgmt-v2020_08_02/pom.xml index 9bf37ccbfbbab..41bcd15c76ec4 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 e6918f041aeb6..0ac36d2c23403 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 5e68917a294bd..9f954b3771eb2 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 22cf25ae58506..d6977a666eb01 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/MachineExtensionsInner.java b/sdk/hybridcompute/mgmt-v2020_08_02/src/main/java/com/microsoft/azure/management/hybridcompute/v2020_08_02/implementation/MachineExtensionsInner.java index 2743bb2b571eb..342b6a93daef1 100644 --- a/sdk/hybridcompute/mgmt-v2020_08_02/src/main/java/com/microsoft/azure/management/hybridcompute/v2020_08_02/implementation/MachineExtensionsInner.java +++ b/sdk/hybridcompute/mgmt-v2020_08_02/src/main/java/com/microsoft/azure/management/hybridcompute/v2020_08_02/implementation/MachineExtensionsInner.java @@ -288,7 +288,7 @@ private ServiceResponse 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. @@ -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. @@ -319,7 +319,7 @@ public ServiceFuture 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. @@ -338,7 +338,7 @@ public MachineExtensionInner call(ServiceResponse 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. @@ -372,7 +372,7 @@ public Observable> 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. @@ -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. @@ -403,7 +403,7 @@ public ServiceFuture 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. @@ -422,7 +422,7 @@ public MachineExtensionInner call(ServiceResponse 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. 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 a10aa02c025ef..1bc0fd9fe622a 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. * diff --git a/sdk/hybridcompute/mgmt-v2020_08_02/src/main/java/com/microsoft/azure/management/hybridcompute/v2020_08_02/implementation/MachinesInner.java b/sdk/hybridcompute/mgmt-v2020_08_02/src/main/java/com/microsoft/azure/management/hybridcompute/v2020_08_02/implementation/MachinesInner.java index 64fb59dd017bd..2b14143a566a9 100644 --- a/sdk/hybridcompute/mgmt-v2020_08_02/src/main/java/com/microsoft/azure/management/hybridcompute/v2020_08_02/implementation/MachinesInner.java +++ b/sdk/hybridcompute/mgmt-v2020_08_02/src/main/java/com/microsoft/azure/management/hybridcompute/v2020_08_02/implementation/MachinesInner.java @@ -345,7 +345,7 @@ private ServiceResponse getByResourceGroupDelegate(Response nextPage(String nextPageLink) { } /** - * Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get the next page of hybrid machines. + * Lists all the hybrid machines in the specified resource group. * * @param resourceGroupName The name of the resource group. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. @@ -384,7 +384,7 @@ public Observable>> call(String nextPageLink) } /** - * Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get the next page of hybrid machines. + * Lists all the hybrid machines in the specified resource group. * * @param resourceGroupName The name of the resource group. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -401,7 +401,7 @@ public Page call(ServiceResponse> response) { } /** - * Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get the next page of hybrid machines. + * Lists all the hybrid machines in the specified resource group. * * @param resourceGroupName The name of the resource group. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -422,7 +422,7 @@ public Observable>> call(ServiceResponse> * @param resourceGroupName The name of the resource group. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -460,7 +460,7 @@ private ServiceResponse> listByResourceGroupDelegate(Resp } /** - * Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next page of hybrid machines. + * Lists all the hybrid machines in the specified subscription. * * @throws IllegalArgumentException thrown if parameters fail the validation * @throws ErrorResponseException thrown if the request is rejected by server @@ -478,7 +478,7 @@ public Page nextPage(String nextPageLink) { } /** - * Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next page of hybrid machines. + * Lists all the hybrid machines in the specified subscription. * * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -497,7 +497,7 @@ public Observable>> call(String nextPageLink) } /** - * Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next page of hybrid machines. + * Lists all the hybrid machines in the specified subscription. * * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<MachineInner> object @@ -513,7 +513,7 @@ public Page call(ServiceResponse> response) { } /** - * Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next page of hybrid machines. + * Lists all the hybrid machines in the specified subscription. * * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<MachineInner> object @@ -533,7 +533,7 @@ public Observable>> call(ServiceResponse> listDelegate(Response nextPage(String nextPageLink) { } /** - * Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get the next page of hybrid machines. + * Lists all the hybrid machines in the specified resource group. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @param serviceFuture the ServiceFuture object tracking the Retrofit calls @@ -607,7 +607,7 @@ public Observable>> call(String nextPageLink) } /** - * Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get the next page of hybrid machines. + * Lists all the hybrid machines in the specified resource group. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -624,7 +624,7 @@ public Page call(ServiceResponse> response) { } /** - * Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get the next page of hybrid machines. + * Lists all the hybrid machines in the specified resource group. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -645,7 +645,7 @@ public Observable>> call(ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -678,7 +678,7 @@ private ServiceResponse> listByResourceGroupNextDelegate( } /** - * Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next page of hybrid machines. + * Lists all the hybrid machines in the specified subscription. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -697,7 +697,7 @@ public Page nextPage(String nextPageLink) { } /** - * Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next page of hybrid machines. + * Lists all the hybrid machines in the specified subscription. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @param serviceFuture the ServiceFuture object tracking the Retrofit calls @@ -718,7 +718,7 @@ public Observable>> call(String nextPageLink) } /** - * Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next page of hybrid machines. + * Lists all the hybrid machines in the specified subscription. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -735,7 +735,7 @@ public Page call(ServiceResponse> response) { } /** - * Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the next page of hybrid machines. + * Lists all the hybrid machines in the specified subscription. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -756,7 +756,7 @@ public Observable>> call(ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation