GalleryScriptVersionPublishingProfile 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
| Name | Description |
|---|---|
| GalleryScriptVersionPublishingProfile() |
Initializes a new instance of the GalleryScriptVersionPublishingProfile class. |
| GalleryScriptVersionPublishingProfile(ScriptSource, IList<TargetRegion>, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, String, String, IList<GalleryTargetExtendedLocation>, String) |
Initializes a new instance of the GalleryScriptVersionPublishingProfile class. |
GalleryScriptVersionPublishingProfile()
Initializes a new instance of the GalleryScriptVersionPublishingProfile class.
public GalleryScriptVersionPublishingProfile();
Public Sub New ()
Applies to
GalleryScriptVersionPublishingProfile(ScriptSource, IList<TargetRegion>, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, String, String, IList<GalleryTargetExtendedLocation>, String)
Initializes a new instance of the GalleryScriptVersionPublishingProfile class.
public GalleryScriptVersionPublishingProfile(Microsoft.Azure.Management.Compute.Models.ScriptSource 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, string storageAccountStrategy = default);
new Microsoft.Azure.Management.Compute.Models.GalleryScriptVersionPublishingProfile : Microsoft.Azure.Management.Compute.Models.ScriptSource * 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> * string -> Microsoft.Azure.Management.Compute.Models.GalleryScriptVersionPublishingProfile
Public Sub New (source As ScriptSource, 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 storageAccountStrategy As String = Nothing)
Parameters
- source
- ScriptSource
The source script from which the Script Version is going to be created.
- 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. Cannot be specified along with storageAccountStrategy. This property is not updatable. Possible values include: 'Standard_LRS', 'Standard_ZRS', 'Premium_LRS', 'PremiumV2_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.
- storageAccountStrategy
- String
Specifies the strategy to be used when selecting the storage account type. Cannot be specified along with storageAccountType, but can be overridden per region by specifying targetRegions[].storageAccountType. This property is not updatable. Possible values include: 'PreferStandard_ZRS', 'DefaultStandard_LRS'