diff --git a/sdk/desktopvirtualization/mgmt-v2019_12_10_preview/src/main/java/com/microsoft/azure/management/desktopvirtualization/v2019_12_10_preview/SessionHost.java b/sdk/desktopvirtualization/mgmt-v2019_12_10_preview/src/main/java/com/microsoft/azure/management/desktopvirtualization/v2019_12_10_preview/SessionHost.java index 2e2891d1484ab..47e14a2e1ea0b 100644 --- a/sdk/desktopvirtualization/mgmt-v2019_12_10_preview/src/main/java/com/microsoft/azure/management/desktopvirtualization/v2019_12_10_preview/SessionHost.java +++ b/sdk/desktopvirtualization/mgmt-v2019_12_10_preview/src/main/java/com/microsoft/azure/management/desktopvirtualization/v2019_12_10_preview/SessionHost.java @@ -62,6 +62,11 @@ public interface SessionHost extends HasInner, Indexable, Refr */ String osVersion(); + /** + * @return the resourceId value. + */ + String resourceId(); + /** * @return the sessions value. */ diff --git a/sdk/desktopvirtualization/mgmt-v2019_12_10_preview/src/main/java/com/microsoft/azure/management/desktopvirtualization/v2019_12_10_preview/implementation/SessionHostImpl.java b/sdk/desktopvirtualization/mgmt-v2019_12_10_preview/src/main/java/com/microsoft/azure/management/desktopvirtualization/v2019_12_10_preview/implementation/SessionHostImpl.java index f163b61999a05..3ba33b58ff075 100644 --- a/sdk/desktopvirtualization/mgmt-v2019_12_10_preview/src/main/java/com/microsoft/azure/management/desktopvirtualization/v2019_12_10_preview/implementation/SessionHostImpl.java +++ b/sdk/desktopvirtualization/mgmt-v2019_12_10_preview/src/main/java/com/microsoft/azure/management/desktopvirtualization/v2019_12_10_preview/implementation/SessionHostImpl.java @@ -126,6 +126,11 @@ public String osVersion() { return this.inner().osVersion(); } + @Override + public String resourceId() { + return this.inner().resourceId(); + } + @Override public Integer sessions() { return this.inner().sessions(); diff --git a/sdk/desktopvirtualization/mgmt-v2019_12_10_preview/src/main/java/com/microsoft/azure/management/desktopvirtualization/v2019_12_10_preview/implementation/SessionHostInner.java b/sdk/desktopvirtualization/mgmt-v2019_12_10_preview/src/main/java/com/microsoft/azure/management/desktopvirtualization/v2019_12_10_preview/implementation/SessionHostInner.java index 42542ddf82944..53a47326b81e6 100644 --- a/sdk/desktopvirtualization/mgmt-v2019_12_10_preview/src/main/java/com/microsoft/azure/management/desktopvirtualization/v2019_12_10_preview/implementation/SessionHostInner.java +++ b/sdk/desktopvirtualization/mgmt-v2019_12_10_preview/src/main/java/com/microsoft/azure/management/desktopvirtualization/v2019_12_10_preview/implementation/SessionHostInner.java @@ -45,11 +45,17 @@ public class SessionHostInner extends ProxyResource { private Boolean allowNewSession; /** - * Resource Id of SessionHost's underlying virtual machine. + * Virtual Machine Id of SessionHost's underlying virtual machine. */ @JsonProperty(value = "properties.virtualMachineId", access = JsonProperty.Access.WRITE_ONLY) private String virtualMachineId; + /** + * Resource Id of SessionHost's underlying virtual machine. + */ + @JsonProperty(value = "properties.resourceId", access = JsonProperty.Access.WRITE_ONLY) + private String resourceId; + /** * User assigned to SessionHost. */ @@ -181,7 +187,7 @@ public SessionHostInner withAllowNewSession(Boolean allowNewSession) { } /** - * Get resource Id of SessionHost's underlying virtual machine. + * Get virtual Machine Id of SessionHost's underlying virtual machine. * * @return the virtualMachineId value */ @@ -189,6 +195,15 @@ public String virtualMachineId() { return this.virtualMachineId; } + /** + * Get resource Id of SessionHost's underlying virtual machine. + * + * @return the resourceId value + */ + public String resourceId() { + return this.resourceId; + } + /** * Get user assigned to SessionHost. *