Show / Hide Table of Contents

    Class UserArtifactSource

    The source image from which the Image Version is going to be created.

    Inheritance
    Object
    UserArtifactSource
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Compute.dll
    Syntax
    public class UserArtifactSource

    Constructors

    UserArtifactSource()

    Initializes a new instance of the UserArtifactSource class.

    Declaration
    public UserArtifactSource ();

    UserArtifactSource(String, String)

    Initializes a new instance of the UserArtifactSource class.

    Declaration
    public UserArtifactSource (string fileName, string mediaLink);
    Parameters
    String fileName

    Required. The fileName of the artifact.

    String mediaLink

    Required. The mediaLink of the artifact, must be a readable storage blob.

    Properties

    FileName

    Gets or sets required. The fileName of the artifact.

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

    MediaLink

    Gets or sets required. The mediaLink of the artifact, must be a readable storage blob.

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

    Methods

    Validate()

    Validate the object.

    Declaration
    public virtual void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net