GalleryScriptVersionPublishingProfile Class
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.
The publishing profile of a gallery image version.
public class GalleryScriptVersionPublishingProfile : Microsoft.Azure.Management.Compute.Models.GalleryArtifactPublishingProfileBase
type GalleryScriptVersionPublishingProfile = class
inherit GalleryArtifactPublishingProfileBase
Public Class GalleryScriptVersionPublishingProfile
Inherits GalleryArtifactPublishingProfileBase
- Inheritance
Constructors
| 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. |
Properties
| Name | Description |
|---|---|
| EndOfLifeDate |
Gets or sets the end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable. (Inherited from GalleryArtifactPublishingProfileBase) |
| ExcludeFromLatest |
Gets or sets if set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version. (Inherited from GalleryArtifactPublishingProfileBase) |
| PublishedDate |
Gets the timestamp for when the gallery image version is published. (Inherited from GalleryArtifactPublishingProfileBase) |
| ReplicaCount |
Gets or sets 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. (Inherited from GalleryArtifactPublishingProfileBase) |
| ReplicationMode |
Gets or sets optional parameter which specifies the mode to be used for replication. This property is not updatable. Possible values include: 'Full', 'Shallow' (Inherited from GalleryArtifactPublishingProfileBase) |
| Source |
Gets or sets the source script from which the Script Version is going to be created. |
| StorageAccountStrategy |
Gets or sets 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' (Inherited from GalleryArtifactPublishingProfileBase) |
| StorageAccountType |
Gets or sets 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' (Inherited from GalleryArtifactPublishingProfileBase) |
| TargetExtendedLocations |
Gets or sets the target extended locations where the Image Version is going to be replicated to. This property is updatable. (Inherited from GalleryArtifactPublishingProfileBase) |
| TargetRegions |
Gets or sets the target regions where the Image Version is going to be replicated to. This property is updatable. (Inherited from GalleryArtifactPublishingProfileBase) |
Methods
| Name | Description |
|---|---|
| Validate() |
Validate the object. |