Freigeben über


ArmComputeModelFactory.GalleryArtifactPublishingProfileBase Methode

Definition

Initialisiert eine neue instance von 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

Parameter

targetRegions
IEnumerable<TargetRegion>

Die Zielregionen, in denen die Imageversion repliziert wird. Diese Eigenschaft ist aktualisierbar.

replicaCount
Nullable<Int32>

Die Anzahl der Replikate der Imageversion, die pro Region erstellt werden sollen. Diese Eigenschaft wird für eine Region wirksam, wenn regionalReplicaCount nicht angegeben wird. Diese Eigenschaft ist aktualisierbar.

isExcludedFromLatest
Nullable<Boolean>

Wenn true festgelegt ist, verwenden Virtual Machines, die mit der neuesten Version der Imagedefinition bereitgestellt werden, diese Imageversion nicht.

publishedOn
Nullable<DateTimeOffset>

Der Zeitstempel für die Veröffentlichung der Katalogimageversion.

endOfLifeOn
Nullable<DateTimeOffset>

Das Datum des Lebenszyklusendes der Katalogimageversion. Diese Eigenschaft kann für Außerbetriebnahmezwecke verwendet werden. Diese Eigenschaft ist aktualisierbar.

storageAccountType
Nullable<ImageStorageAccountType>

Gibt den Speicherkontotyp an, der zum Speichern des Images verwendet werden soll. Diese Eigenschaft ist nicht aktualisierbar.

replicationMode
Nullable<GalleryReplicationMode>

Optionaler Parameter, der den modus angibt, der für die Replikation verwendet werden soll. Diese Eigenschaft ist nicht aktualisierbar.

targetExtendedLocations
IEnumerable<GalleryTargetExtendedLocation>

Die erweiterten Zielspeicherorte, an denen die Imageversion repliziert wird. Diese Eigenschaft ist aktualisierbar.

Gibt zurück

Eine neue GalleryArtifactPublishingProfileBase instance zum Mocking.

Gilt für: