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

ServiceFabricManagedVmApplication Class

Definition

Specifies the gallery application that should be made available to the underlying VMSS.

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

Constructors

ServiceFabricManagedVmApplication(ResourceIdentifier)

Initializes a new instance of ServiceFabricManagedVmApplication.

Properties

ConfigurationReference

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

EnableAutomaticUpgrade

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

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

TreatFailureAsDeploymentFailure

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

VmGalleryTags

Optional, Specifies a passthrough value for more generic context. Accepts a JSON-formatted string e.g. '{"Tag1":"Value1","Tag2":"Value2"}'.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ServiceFabricManagedVmApplication>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ServiceFabricManagedVmApplication>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ServiceFabricManagedVmApplication>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ServiceFabricManagedVmApplication>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ServiceFabricManagedVmApplication>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to