ArmComputeModelFactory.GalleryApplicationVersionPublishingProfile Method
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.
Initializes a new instance of GalleryApplicationVersionPublishingProfile.
public static Azure.ResourceManager.Compute.Models.GalleryApplicationVersionPublishingProfile GalleryApplicationVersionPublishingProfile (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, Azure.ResourceManager.Compute.Models.UserArtifactSource source = default, Azure.ResourceManager.Compute.Models.UserArtifactManagement manageActions = default, Azure.ResourceManager.Compute.Models.UserArtifactSettings settings = default, System.Collections.Generic.IDictionary<string,string> advancedSettings = default, bool? enableHealthCheck = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.GalleryApplicationCustomAction> customActions = default);
static member GalleryApplicationVersionPublishingProfile : 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.UserArtifactSource * Azure.ResourceManager.Compute.Models.UserArtifactManagement * Azure.ResourceManager.Compute.Models.UserArtifactSettings * System.Collections.Generic.IDictionary<string, string> * Nullable<bool> * seq<Azure.ResourceManager.Compute.Models.GalleryApplicationCustomAction> -> Azure.ResourceManager.Compute.Models.GalleryApplicationVersionPublishingProfile
Public Shared Function GalleryApplicationVersionPublishingProfile (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, Optional source As UserArtifactSource = Nothing, Optional manageActions As UserArtifactManagement = Nothing, Optional settings As UserArtifactSettings = Nothing, Optional advancedSettings As IDictionary(Of String, String) = Nothing, Optional enableHealthCheck As Nullable(Of Boolean) = Nothing, Optional customActions As IEnumerable(Of GalleryApplicationCustomAction) = Nothing) As GalleryApplicationVersionPublishingProfile
Parameters
- targetRegions
- IEnumerable<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.
- 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.
- source
- UserArtifactSource
The source image from which the Image Version is going to be created.
- manageActions
- UserArtifactManagement
- settings
- UserArtifactSettings
Additional settings for the VM app that contains the target package and config file name when it is deployed to target VM or VM scale set.
- advancedSettings
- IDictionary<String,String>
Optional. Additional settings to pass to the vm-application-manager extension. For advanced use only.
- customActions
- IEnumerable<GalleryApplicationCustomAction>
A list of custom actions that can be performed with this Gallery Application Version.
Returns
A new GalleryApplicationVersionPublishingProfile instance for mocking.
Applies to
Azure SDK for .NET