GalleryApplicationVersionPublishingProfile 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
GalleryApplicationVersionPublishingProfile()
Initializes a new instance of the GalleryApplicationVersionPublishingProfile class.
public GalleryApplicationVersionPublishingProfile ();
Public Sub New ()
Applies to
GalleryApplicationVersionPublishingProfile(UserArtifactSource, IList<TargetRegion>, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, String, String, UserArtifactManage, Nullable<Boolean>)
Initializes a new instance of the GalleryApplicationVersionPublishingProfile class.
public GalleryApplicationVersionPublishingProfile (Microsoft.Azure.Management.Compute.Models.UserArtifactSource source, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.TargetRegion> targetRegions, int? replicaCount, bool? excludeFromLatest, DateTime? publishedDate, DateTime? endOfLifeDate, string storageAccountType, string replicationMode, Microsoft.Azure.Management.Compute.Models.UserArtifactManage manageActions, bool? enableHealthCheck = default);
new Microsoft.Azure.Management.Compute.Models.GalleryApplicationVersionPublishingProfile : Microsoft.Azure.Management.Compute.Models.UserArtifactSource * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.TargetRegion> * Nullable<int> * Nullable<bool> * Nullable<DateTime> * Nullable<DateTime> * string * string * Microsoft.Azure.Management.Compute.Models.UserArtifactManage * Nullable<bool> -> Microsoft.Azure.Management.Compute.Models.GalleryApplicationVersionPublishingProfile
Public Sub New (source As UserArtifactSource, targetRegions As IList(Of TargetRegion), replicaCount As Nullable(Of Integer), excludeFromLatest As Nullable(Of Boolean), publishedDate As Nullable(Of DateTime), endOfLifeDate As Nullable(Of DateTime), storageAccountType As String, replicationMode As String, manageActions As UserArtifactManage, Optional enableHealthCheck As Nullable(Of Boolean) = Nothing)
Parameters
- source
- UserArtifactSource
- 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'
- manageActions
- UserArtifactManage
Applies to
GalleryApplicationVersionPublishingProfile(UserArtifactSource, IList<TargetRegion>, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, String, String, IList<GalleryTargetExtendedLocation>, UserArtifactManage, Nullable<Boolean>)
Initializes a new instance of the GalleryApplicationVersionPublishingProfile class.
public GalleryApplicationVersionPublishingProfile (Microsoft.Azure.Management.Compute.Models.UserArtifactSource source, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.TargetRegion> targetRegions, int? replicaCount, bool? excludeFromLatest, DateTime? publishedDate, DateTime? endOfLifeDate, string storageAccountType, string replicationMode, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.GalleryTargetExtendedLocation> targetExtendedLocations, Microsoft.Azure.Management.Compute.Models.UserArtifactManage manageActions, bool? enableHealthCheck = default);
new Microsoft.Azure.Management.Compute.Models.GalleryApplicationVersionPublishingProfile : Microsoft.Azure.Management.Compute.Models.UserArtifactSource * 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.UserArtifactManage * Nullable<bool> -> Microsoft.Azure.Management.Compute.Models.GalleryApplicationVersionPublishingProfile
Public Sub New (source As UserArtifactSource, targetRegions As IList(Of TargetRegion), replicaCount As Nullable(Of Integer), excludeFromLatest As Nullable(Of Boolean), publishedDate As Nullable(Of DateTime), endOfLifeDate As Nullable(Of DateTime), storageAccountType As String, replicationMode As String, targetExtendedLocations As IList(Of GalleryTargetExtendedLocation), manageActions As UserArtifactManage, Optional enableHealthCheck As Nullable(Of Boolean) = Nothing)
Parameters
- source
- UserArtifactSource
- 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.
- manageActions
- UserArtifactManage
Applies to
GalleryApplicationVersionPublishingProfile(UserArtifactSource, IList<TargetRegion>, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, String, String, IList<GalleryTargetExtendedLocation>, UserArtifactManage, UserArtifactSettings, IDictionary<String, String>, Nullable<Boolean>, IList<GalleryApplicationCustomAction>)
Initializes a new instance of the GalleryApplicationVersionPublishingProfile class.
public GalleryApplicationVersionPublishingProfile (Microsoft.Azure.Management.Compute.Models.UserArtifactSource source, 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, Microsoft.Azure.Management.Compute.Models.UserArtifactManage manageActions = default, Microsoft.Azure.Management.Compute.Models.UserArtifactSettings settings = default, System.Collections.Generic.IDictionary<string,string> advancedSettings = default, bool? enableHealthCheck = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.GalleryApplicationCustomAction> customActions = default);
new Microsoft.Azure.Management.Compute.Models.GalleryApplicationVersionPublishingProfile : Microsoft.Azure.Management.Compute.Models.UserArtifactSource * 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.UserArtifactManage * Microsoft.Azure.Management.Compute.Models.UserArtifactSettings * System.Collections.Generic.IDictionary<string, string> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.GalleryApplicationCustomAction> -> Microsoft.Azure.Management.Compute.Models.GalleryApplicationVersionPublishingProfile
Public Sub New (source As UserArtifactSource, 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, Optional manageActions As UserArtifactManage = Nothing, Optional settings As UserArtifactSettings = Nothing, Optional advancedSettings As IDictionary(Of String, String) = Nothing, Optional enableHealthCheck As Nullable(Of Boolean) = Nothing, Optional customActions As IList(Of GalleryApplicationCustomAction) = Nothing)
Parameters
- source
- UserArtifactSource
- 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.
- manageActions
- UserArtifactManage
- settings
- UserArtifactSettings
- advancedSettings
- IDictionary<String,String>
Optional. Additional settings to pass to the vm-application-manager extension. For advanced use only.
- customActions
- IList<GalleryApplicationCustomAction>
A list of custom actions that can be performed with this Gallery Application Version.
Applies to
Azure SDK for .NET