Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.network; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.SkipParentValidation; import com.microsoft.azure.Resource;
Describes a Virtual Machine.
/** * Describes a Virtual Machine. */
@SkipParentValidation public class VM extends Resource {
Resource ID.
/** * Resource ID. */
@JsonProperty(value = "id") private String id;
Get resource ID.
Returns:the id value
/** * Get resource ID. * * @return the id value */
public String id() { return this.id; }
Set resource ID.
Params:
  • id – the id value to set
Returns:the VM object itself.
/** * Set resource ID. * * @param id the id value to set * @return the VM object itself. */
public VM withId(String id) { this.id = id; return this; } }