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
Azure SDK for .NET