共用方式為


GalleryArtifactPublishingProfileBase Constructors

Definition

Overloads

GalleryArtifactPublishingProfileBase()

Initializes a new instance of the GalleryArtifactPublishingProfileBase class.

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

Initializes a new instance of the GalleryArtifactPublishingProfileBase class.

GalleryArtifactPublishingProfileBase()

Initializes a new instance of the GalleryArtifactPublishingProfileBase class.

public GalleryArtifactPublishingProfileBase ();
Public Sub New ()

Applies to

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

Initializes a new instance of the GalleryArtifactPublishingProfileBase class.

public GalleryArtifactPublishingProfileBase (System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.TargetRegion> targetRegions = default, int? replicaCount = default, bool? excludeFromLatest = default, DateTime? publishedDate = default, DateTime? endOfLifeDate = default, string storageAccountType = default, string replicationMode = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.GalleryTargetExtendedLocation> targetExtendedLocations = default);
new Microsoft.Azure.Management.Compute.Models.GalleryArtifactPublishingProfileBase : System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.TargetRegion> * Nullable<int> * Nullable<bool> * Nullable<DateTime> * Nullable<DateTime> * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.GalleryTargetExtendedLocation> -> Microsoft.Azure.Management.Compute.Models.GalleryArtifactPublishingProfileBase
Public Sub New (Optional targetRegions As IList(Of TargetRegion) = Nothing, Optional replicaCount As Nullable(Of Integer) = Nothing, Optional excludeFromLatest As Nullable(Of Boolean) = Nothing, Optional publishedDate As Nullable(Of DateTime) = Nothing, Optional endOfLifeDate As Nullable(Of DateTime) = Nothing, Optional storageAccountType As String = Nothing, Optional replicationMode As String = Nothing, Optional targetExtendedLocations As IList(Of GalleryTargetExtendedLocation) = Nothing)

Parameters

targetRegions
IList<TargetRegion>

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

replicaCount
Nullable<Int32>

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.

excludeFromLatest
Nullable<Boolean>

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

publishedDate
Nullable<DateTime>

The timestamp for when the gallery image version is published.

endOfLifeDate
Nullable<DateTime>

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

storageAccountType
String

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

replicationMode
String

Optional parameter which specifies the mode to be used for replication. This property is not updatable. Possible values include: 'Full', 'Shallow'

targetExtendedLocations
IList<GalleryTargetExtendedLocation>

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

Applies to