Show / Hide Table of Contents

    Class Gallery

    Specifies information about the Shared Image Gallery that you want to create or update.

    Inheritance
    Object
    Resource
    Gallery
    Inherited Members
    Resource.Id
    Resource.Location
    Resource.Name
    Resource.Tags
    Resource.Type
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Compute.dll
    Syntax
    [Microsoft.Rest.Serialization.JsonTransformation]
    public class Gallery : Microsoft.Azure.Management.Compute.Models.Resource

    Constructors

    Gallery()

    Initializes a new instance of the Gallery class.

    Declaration
    public Gallery ();

    Gallery(String, String, String, String, IDictionary<String,String>, String, GalleryIdentifier, String)

    Initializes a new instance of the Gallery class.

    Declaration
    public Gallery (string location, string id = null, string name = null, string type = null, System.Collections.Generic.IDictionary<string,string> tags = null, string description = null, Microsoft.Azure.Management.Compute.Models.GalleryIdentifier identifier = null, string provisioningState = null);
    Parameters
    String location

    Resource location

    String id

    Resource Id

    String name

    Resource name

    String type

    Resource type

    IDictionary<String,String> tags

    Resource tags

    String description

    The description of this Shared Image Gallery resource. This property is updatable.

    GalleryIdentifier identifier

    String provisioningState

    The current state of the gallery.

    Properties

    Description

    Gets or sets the description of this Shared Image Gallery resource. This property is updatable.

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

    Identifier

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.identifier")]
    public Microsoft.Azure.Management.Compute.Models.GalleryIdentifier Identifier { get; set; }
    Property Value
    GalleryIdentifier

    ProvisioningState

    Gets the current state of the gallery.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.provisioningState")]
    public string ProvisioningState { get; }
    Property Value
    String

    Remarks

    The provisioning state, which only appears in the response.

    Possible values include: 'Creating', 'Updating', 'Failed',

    'Succeeded', 'Deleting', 'Migrating'

    Methods

    Validate()

    Validate the object.

    Declaration
    public override void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net