Dela via


GalleryApplicationVersion Class

Definition

Specifies information about the gallery Application Version that you want to create or update.

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

Constructors

GalleryApplicationVersion()

Creates an new GalleryApplicationVersion instance.

Properties

DefaultConfigFileLink

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

Id

Resource Id

Install

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

Location

Resource location

Name

Resource name

PackageFileLink

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

ProvisioningState

The provisioning state, which only appears in the response.

PublishingProfileAdvancedSetting

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

PublishingProfileEnableHealthCheck

Optional. Whether or not this application reports health.

PublishingProfileEndOfLifeDate

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

PublishingProfileExcludeFromLatest

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

PublishingProfilePublishedDate

The timestamp for when the gallery image version is published.

PublishingProfileReplicationMode

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

PublishingProfileStorageAccountType

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

PublishingProfileTargetExtendedLocation

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

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.

ReplicationStatusAggregatedState

This is the aggregated replication status based on all the regional replication status flags.

ReplicationStatusSummary

This is a summary of replication status for each region.

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.

Tag

Resource tags

TargetRegion

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

Type

Resource type

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 GalleryApplicationVersion.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of GalleryApplicationVersion.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of GalleryApplicationVersion into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to