Show / Hide Table of Contents

    Class GalleryArtifactPublishingProfileBase

    Describes the basic gallery artifact publishing profile.

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

    Constructors

    GalleryArtifactPublishingProfileBase()

    Initializes a new instance of the GalleryArtifactPublishingProfileBase class.

    Declaration
    public GalleryArtifactPublishingProfileBase ();

    GalleryArtifactPublishingProfileBase(IList<TargetRegion>, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, String)

    Initializes a new instance of the GalleryArtifactPublishingProfileBase class.

    Declaration
    public GalleryArtifactPublishingProfileBase (System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.TargetRegion> targetRegions = null, Nullable<int> replicaCount = null, Nullable<bool> excludeFromLatest = null, Nullable<DateTime> publishedDate = null, Nullable<DateTime> endOfLifeDate = null, string storageAccountType = null);
    Parameters
    IList<TargetRegion> targetRegions

    The target regions where the Image Version is going to be replicated to. This property is updatable.

    Nullable<Int32> replicaCount

    The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.

    Nullable<Boolean> excludeFromLatest

    If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.

    Nullable<DateTime> publishedDate

    The timestamp for when the gallery Image Version is published.

    Nullable<DateTime> endOfLifeDate

    The end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable.

    String storageAccountType

    Specifies the storage account type to be used to store the image. This property is not updatable. Possible values include: 'Standard_LRS', 'Standard_ZRS'

    Properties

    EndOfLifeDate

    Gets or sets the end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="endOfLifeDate")]
    public Nullable<DateTime> EndOfLifeDate { get; set; }
    Property Value
    Nullable<DateTime>

    ExcludeFromLatest

    Gets or sets if set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="excludeFromLatest")]
    public Nullable<bool> ExcludeFromLatest { get; set; }
    Property Value
    Nullable<Boolean>

    PublishedDate

    Gets the timestamp for when the gallery Image Version is published.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="publishedDate")]
    public Nullable<DateTime> PublishedDate { get; }
    Property Value
    Nullable<DateTime>

    ReplicaCount

    Gets or sets the number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="replicaCount")]
    public Nullable<int> ReplicaCount { get; set; }
    Property Value
    Nullable<Int32>

    StorageAccountType

    Gets or sets specifies the storage account type to be used to store the image. This property is not updatable. Possible values include: 'Standard_LRS', 'Standard_ZRS'

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

    TargetRegions

    Gets or sets the target regions where the Image Version is going to be replicated to. This property is updatable.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="targetRegions")]
    public System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.TargetRegion> TargetRegions { get; set; }
    Property Value
    IList<TargetRegion>

    Back to top Azure SDK for Net