Show / Hide Table of Contents

    Class VirtualMachineImageResource

    Virtual machine image resource information.

    Inheritance
    Object
    SubResource
    VirtualMachineImageResource
    VirtualMachineImage
    Inherited Members
    SubResource.Id
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Compute.dll
    Syntax
    public class VirtualMachineImageResource : Microsoft.Azure.Management.Compute.Models.SubResource

    Constructors

    VirtualMachineImageResource()

    Initializes a new instance of the VirtualMachineImageResource class.

    Declaration
    public VirtualMachineImageResource ();

    VirtualMachineImageResource(String, String, String, IDictionary<String,String>)

    Initializes a new instance of the VirtualMachineImageResource class.

    Declaration
    public VirtualMachineImageResource (string name, string location, string id = null, System.Collections.Generic.IDictionary<string,string> tags = null);
    Parameters
    String name

    The name of the resource.

    String location

    The supported Azure location of the resource.

    String id

    Resource Id

    IDictionary<String,String> tags

    Specifies the tags that are assigned to the virtual machine. For more information about using tags, see Using tags to organize your Azure resources.

    Properties

    Location

    Gets or sets the supported Azure location of the resource.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="location")]
    public string Location { get; set; }
    Property Value
    String

    Name

    Gets or sets the name of the resource.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="name")]
    public string Name { get; set; }
    Property Value
    String

    Tags

    Gets or sets specifies the tags that are assigned to the virtual machine. For more information about using tags, see Using tags to organize your Azure resources.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="tags")]
    public System.Collections.Generic.IDictionary<string,string> Tags { get; set; }
    Property Value
    IDictionary<String,String>

    Methods

    Validate()

    Validate the object.

    Declaration
    public virtual void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net