Class GalleryApplicationVersionPublishingProfile
The publishing profile of a gallery Image Version.
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Compute.dll
Syntax
public class GalleryApplicationVersionPublishingProfile : Microsoft.Azure.Management.Compute.Models.GalleryArtifactPublishingProfileBase
Constructors
GalleryApplicationVersionPublishingProfile()
Initializes a new instance of the GalleryApplicationVersionPublishingProfile class.
Declaration
public GalleryApplicationVersionPublishingProfile ();
GalleryApplicationVersionPublishingProfile(UserArtifactSource, IList<TargetRegion>, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, String, String, Nullable<Boolean>)
Initializes a new instance of the GalleryApplicationVersionPublishingProfile class.
Declaration
public GalleryApplicationVersionPublishingProfile (Microsoft.Azure.Management.Compute.Models.UserArtifactSource source, 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, string contentType = null, Nullable<bool> enableHealthCheck = null);
Parameters
|
UserArtifactSource
source
|
|
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' |
|
String
contentType
Optional. May be used to help process this file. The type of file contained in the source, e.g. zip, json, etc. |
|
Nullable<Boolean>
enableHealthCheck
Optional. Whether or not this application reports health. |
Properties
ContentType
Gets or sets optional. May be used to help process this file. The type of file contained in the source, e.g. zip, json, etc.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="contentType")]
public string ContentType { get; set; }
Property Value
|
String
|
EnableHealthCheck
Gets or sets optional. Whether or not this application reports health.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="enableHealthCheck")]
public Nullable<bool> EnableHealthCheck { get; set; }
Property Value
|
Nullable<Boolean>
|
Source
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="source")]
public Microsoft.Azure.Management.Compute.Models.UserArtifactSource Source { get; set; }
Property Value
|
UserArtifactSource
|
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate ();
Exceptions
|
ValidationException
Thrown if validation fails |