From 5ca29cf67203ba14fae7185a2b9669244e0c4ff9 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Fri, 16 Nov 2018 19:30:29 +0000 Subject: [PATCH] Generated from 469707fc77ddb1e4989140acd566312a7f170318 Don't make ResourceReference id readonly, it's causing a bug in the SDK where an Logic Apps with integration accounts can't be saved --- .../v2018_07_01_preview/ResourceReference.java | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/logic/resource-manager/v2018_07_01_preview/src/main/java/com/microsoft/azure/management/logic/v2018_07_01_preview/ResourceReference.java b/logic/resource-manager/v2018_07_01_preview/src/main/java/com/microsoft/azure/management/logic/v2018_07_01_preview/ResourceReference.java index 00aa8c8da1e5..a70ce1a02a1b 100644 --- a/logic/resource-manager/v2018_07_01_preview/src/main/java/com/microsoft/azure/management/logic/v2018_07_01_preview/ResourceReference.java +++ b/logic/resource-manager/v2018_07_01_preview/src/main/java/com/microsoft/azure/management/logic/v2018_07_01_preview/ResourceReference.java @@ -17,7 +17,7 @@ public class ResourceReference { /** * The resource id. */ - @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY) + @JsonProperty(value = "id") private String id; /** @@ -41,6 +41,17 @@ public String id() { return this.id; } + /** + * Set the resource id. + * + * @param id the id value to set + * @return the ResourceReference object itself. + */ + public ResourceReference withId(String id) { + this.id = id; + return this; + } + /** * Get gets the resource name. *