From b15039349c9e0b4cfe702883f2e95c20880341e3 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Fri, 3 Aug 2018 14:08:47 -0700 Subject: [PATCH] [AutoPR web/resource-manager] [DO NOT MERGE] Add API for adding external storage account configurations to a web app (#2243) * Generated from b3ca48ca58ec98acb66b2c6760819c0b609cd5d1 Make state of AzureStorageInfoValue readonly * Generated from b3ca48ca58ec98acb66b2c6760819c0b609cd5d1 Make state of AzureStorageInfoValue readonly --- .../v2018_02_01/AzureStorageInfoValue.java | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStorageInfoValue.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStorageInfoValue.java index da5b89782f8be..4cf1e5f2abf71 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStorageInfoValue.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStorageInfoValue.java @@ -48,7 +48,7 @@ public class AzureStorageInfoValue { * State of the storage account. Possible values include: 'Ok', * 'InvalidCredentials', 'InvalidShare'. */ - @JsonProperty(value = "state") + @JsonProperty(value = "state", access = JsonProperty.Access.WRITE_ONLY) private AzureStorageState state; /** @@ -160,15 +160,4 @@ public AzureStorageState state() { return this.state; } - /** - * Set state of the storage account. Possible values include: 'Ok', 'InvalidCredentials', 'InvalidShare'. - * - * @param state the state value to set - * @return the AzureStorageInfoValue object itself. - */ - public AzureStorageInfoValue withState(AzureStorageState state) { - this.state = state; - return this; - } - }