次の方法で共有


ArmComputeModelFactory.GalleryArtifactPublishingProfileBase Method

Definition

Initializes a new instance of GalleryArtifactPublishingProfileBase.

public static Azure.ResourceManager.Compute.Models.GalleryArtifactPublishingProfileBase GalleryArtifactPublishingProfileBase (System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.TargetRegion> targetRegions = default, int? replicaCount = default, bool? isExcludedFromLatest = default, DateTimeOffset? publishedOn = default, DateTimeOffset? endOfLifeOn = default, Azure.ResourceManager.Compute.Models.ImageStorageAccountType? storageAccountType = default, Azure.ResourceManager.Compute.Models.GalleryReplicationMode? replicationMode = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.GalleryTargetExtendedLocation> targetExtendedLocations = default);
static member GalleryArtifactPublishingProfileBase : seq<Azure.ResourceManager.Compute.Models.TargetRegion> * Nullable<int> * Nullable<bool> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Compute.Models.ImageStorageAccountType> * Nullable<Azure.ResourceManager.Compute.Models.GalleryReplicationMode> * seq<Azure.ResourceManager.Compute.Models.GalleryTargetExtendedLocation> -> Azure.ResourceManager.Compute.Models.GalleryArtifactPublishingProfileBase
Public Shared Function GalleryArtifactPublishingProfileBase (Optional targetRegions As IEnumerable(Of TargetRegion) = Nothing, Optional replicaCount As Nullable(Of Integer) = Nothing, Optional isExcludedFromLatest As Nullable(Of Boolean) = Nothing, Optional publishedOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOfLifeOn As Nullable(Of DateTimeOffset) = Nothing, Optional storageAccountType As Nullable(Of ImageStorageAccountType) = Nothing, Optional replicationMode As Nullable(Of GalleryReplicationMode) = Nothing, Optional targetExtendedLocations As IEnumerable(Of GalleryTargetExtendedLocation) = Nothing) As GalleryArtifactPublishingProfileBase

Parameters

targetRegions
IEnumerable<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.

isExcludedFromLatest
Nullable<Boolean>

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

publishedOn
Nullable<DateTimeOffset>

The timestamp for when the gallery image version is published.

endOfLifeOn
Nullable<DateTimeOffset>

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

storageAccountType
Nullable<ImageStorageAccountType>

Specifies the storage account type to be used to store the image. This property is not updatable.

replicationMode
Nullable<GalleryReplicationMode>

Optional parameter which specifies the mode to be used for replication. This property is not updatable.

targetExtendedLocations
IEnumerable<GalleryTargetExtendedLocation>

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

Returns

A new GalleryArtifactPublishingProfileBase instance for mocking.

Applies to