Partilhar via


ComputeFleetVmGalleryApplication Class

Definition

Specifies the required information to reference a compute gallery application version

public class ComputeFleetVmGalleryApplication : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmGalleryApplication>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmGalleryApplication>
type ComputeFleetVmGalleryApplication = class
    interface IJsonModel<ComputeFleetVmGalleryApplication>
    interface IPersistableModel<ComputeFleetVmGalleryApplication>
Public Class ComputeFleetVmGalleryApplication
Implements IJsonModel(Of ComputeFleetVmGalleryApplication), IPersistableModel(Of ComputeFleetVmGalleryApplication)
Inheritance
ComputeFleetVmGalleryApplication
Implements

Constructors

ComputeFleetVmGalleryApplication(ResourceIdentifier)

Initializes a new instance of ComputeFleetVmGalleryApplication.

Properties

ConfigurationReference

Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided

IsAutomaticUpgradeEnabled

If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS

IsTreatFailureAsDeploymentFailureEnabled

Optional, If true, any failure for any operation in the VmApplication will fail the deployment

Order

Optional, Specifies the order in which the packages have to be installed.

PackageReferenceId

Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}

Tags

Optional, Specifies a passthrough value for more generic context.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ComputeFleetVmGalleryApplication>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ComputeFleetVmGalleryApplication>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ComputeFleetVmGalleryApplication>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ComputeFleetVmGalleryApplication>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ComputeFleetVmGalleryApplication>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to