你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

GalleryApplicationVersionPublishingProfile Class

Definition

The publishing profile of a gallery image version.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.GalleryApplicationVersionPublishingProfileTypeConverter))]
public class GalleryApplicationVersionPublishingProfile : Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersionPublishingProfile, Microsoft.Azure.PowerShell.Cmdlets.Compute.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.GalleryApplicationVersionPublishingProfileTypeConverter))>]
type GalleryApplicationVersionPublishingProfile = class
    interface IGalleryApplicationVersionPublishingProfile
    interface IJsonSerializable
    interface IGalleryArtifactPublishingProfileBase
    interface IValidates
Public Class GalleryApplicationVersionPublishingProfile
Implements IGalleryApplicationVersionPublishingProfile, IValidates
Inheritance
GalleryApplicationVersionPublishingProfile
Attributes
Implements

Constructors

GalleryApplicationVersionPublishingProfile()

Creates an new GalleryApplicationVersionPublishingProfile instance.

Properties

AdvancedSetting

Optional. Additional settings to pass to the vm-application-manager extension. For advanced use only.

DefaultConfigFileLink

Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob.

EnableHealthCheck

Optional. Whether or not this application reports health.

EndOfLifeDate

The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.

ExcludeFromLatest

If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.

Install

Required. The path and arguments to install the gallery application. This is limited to 4096 characters.

PackageFileLink

Required. The mediaLink of the artifact, must be a readable storage page blob.

PublishedDate

The timestamp for when the gallery image version is published.

Remove

Required. The path and arguments to remove the gallery application. This is limited to 4096 characters.

ReplicaCount

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.

ReplicationMode

Optional parameter which specifies the mode to be used for replication. This property is not updatable.

SettingConfigFileName

Optional. The name to assign the downloaded config file on the VM. This is limited to 4096 characters. If not specified, the config file will be named the Gallery Application name appended with "_config".

SettingPackageFileName

Optional. The name to assign the downloaded package file on the VM. This is limited to 4096 characters. If not specified, the package file will be named the same as the Gallery Application name.

StorageAccountType

Specifies the storage account type to be used to store the image. This property is not updatable.

TargetExtendedLocation

The target extended locations where the Image Version is going to be replicated to. This property is updatable.

TargetRegion

The target regions where the Image Version is going to be replicated to. This property is updatable.

Update

Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of GalleryApplicationVersionPublishingProfile.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of GalleryApplicationVersionPublishingProfile.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryApplicationVersionPublishingProfile.

FromJsonString(String)

Creates a new instance of GalleryApplicationVersionPublishingProfile, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of GalleryApplicationVersionPublishingProfile into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to