GalleryImageVersionPublishingProfile Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GalleryImageVersionPublishingProfile() |
Initializes a new instance of the GalleryImageVersionPublishingProfile class. |
GalleryImageVersionPublishingProfile(IList<TargetRegion>, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, String, String, IList<GalleryTargetExtendedLocation>) |
Initializes a new instance of the GalleryImageVersionPublishingProfile class. |
GalleryImageVersionPublishingProfile()
Initializes a new instance of the GalleryImageVersionPublishingProfile class.
public GalleryImageVersionPublishingProfile ();
Public Sub New ()
Applies to
GalleryImageVersionPublishingProfile(IList<TargetRegion>, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, String, String, IList<GalleryTargetExtendedLocation>)
Initializes a new instance of the GalleryImageVersionPublishingProfile class.
public GalleryImageVersionPublishingProfile (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.GalleryImageVersionPublishingProfile : 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.GalleryImageVersionPublishingProfile
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.
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.
If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應