From 5e272d51bfa0cd9707a13f3ed71b9ab1d6d1e3af Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Thu, 23 Jan 2020 03:31:28 +0000 Subject: [PATCH] Generated from 38254c12d00ad71a9ce16ddcd9a2ee72c3d1d9e7 Put is a long running operation, adding the property for it --- sdk/resources/mgmt-v2019_07_01/pom.xml | 4 +--- .../resources/v2019_07_01/implementation/DeploymentsImpl.java | 2 +- .../v2019_07_01/implementation/DeploymentsInner.java | 2 -- .../implementation/ResourceManagementClientImpl.java | 2 ++ 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/sdk/resources/mgmt-v2019_07_01/pom.xml b/sdk/resources/mgmt-v2019_07_01/pom.xml index 950fa49f68ff..cc3c633e4a67 100644 --- a/sdk/resources/mgmt-v2019_07_01/pom.xml +++ b/sdk/resources/mgmt-v2019_07_01/pom.xml @@ -11,7 +11,7 @@ com.microsoft.azure azure-arm-parent - 1.2.0 + 1.1.0 ../../../pom.management.xml azure-mgmt-resources @@ -46,12 +46,10 @@ com.microsoft.azure azure-client-runtime - 1.6.14 com.microsoft.azure azure-arm-client-runtime - 1.6.14 junit diff --git a/sdk/resources/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/resources/v2019_07_01/implementation/DeploymentsImpl.java b/sdk/resources/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/resources/v2019_07_01/implementation/DeploymentsImpl.java index 8576f94b7c80..84bcd0851923 100644 --- a/sdk/resources/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/resources/v2019_07_01/implementation/DeploymentsImpl.java +++ b/sdk/resources/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/resources/v2019_07_01/implementation/DeploymentsImpl.java @@ -516,7 +516,7 @@ public Observable getByResourceGroupAsync(String resourceGro return this.getInnerAsync(resourceGroupName, name).flatMap(new Func1> () { @Override public Observable call(DeploymentExtendedInner innerT) { - if (innerT == null) { + if (inner == null) { return Observable.empty(); } else { return Observable.just((DeploymentExtended)wrapModel(innerT)); diff --git a/sdk/resources/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/resources/v2019_07_01/implementation/DeploymentsInner.java b/sdk/resources/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/resources/v2019_07_01/implementation/DeploymentsInner.java index 88b2cffac753..afaa4053c666 100644 --- a/sdk/resources/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/resources/v2019_07_01/implementation/DeploymentsInner.java +++ b/sdk/resources/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/resources/v2019_07_01/implementation/DeploymentsInner.java @@ -45,8 +45,6 @@ import rx.Observable; import com.microsoft.azure.LongRunningFinalState; import com.microsoft.azure.LongRunningOperationOptions; -import com.microsoft.azure.LongRunningFinalState; -import com.microsoft.azure.LongRunningOperationOptions; /** * An instance of this class provides access to all the operations defined diff --git a/sdk/resources/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/resources/v2019_07_01/implementation/ResourceManagementClientImpl.java b/sdk/resources/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/resources/v2019_07_01/implementation/ResourceManagementClientImpl.java index 922db9387b4c..b4d58b92a06e 100644 --- a/sdk/resources/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/resources/v2019_07_01/implementation/ResourceManagementClientImpl.java +++ b/sdk/resources/mgmt-v2019_07_01/src/main/java/com/microsoft/azure/management/resources/v2019_07_01/implementation/ResourceManagementClientImpl.java @@ -10,6 +10,8 @@ import com.microsoft.azure.AzureClient; import com.microsoft.azure.AzureServiceClient; +import com.microsoft.azure.LongRunningFinalState; +import com.microsoft.azure.LongRunningOperationOptions; import com.microsoft.rest.credentials.ServiceClientCredentials; import com.microsoft.rest.RestClient;