共用方式為


ArmApplicationDefinitionData Class

Definition

A class representing the ArmApplicationDefinition data model. Information about managed application definition.

public class ArmApplicationDefinitionData : Azure.ResourceManager.Resources.Models.ArmApplicationResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Resources.ArmApplicationDefinitionData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Resources.ArmApplicationDefinitionData>
public class ArmApplicationDefinitionData : Azure.ResourceManager.Resources.Models.ArmApplicationResourceData
type ArmApplicationDefinitionData = class
    inherit ArmApplicationResourceData
    interface IJsonModel<ArmApplicationDefinitionData>
    interface IPersistableModel<ArmApplicationDefinitionData>
type ArmApplicationDefinitionData = class
    inherit ArmApplicationResourceData
Public Class ArmApplicationDefinitionData
Inherits ArmApplicationResourceData
Implements IJsonModel(Of ArmApplicationDefinitionData), IPersistableModel(Of ArmApplicationDefinitionData)
Public Class ArmApplicationDefinitionData
Inherits ArmApplicationResourceData
Inheritance
Implements

Constructors

ArmApplicationDefinitionData(AzureLocation, ArmApplicationLockLevel)

Initializes a new instance of ArmApplicationDefinitionData.

Properties

Artifacts

The collection of managed application artifacts. The portal will use the files specified as artifacts to construct the user experience of creating a managed application from a managed application definition.

Authorizations

The managed application provider authorizations.

CreateUiDefinition

The createUiDefinition json for the backing template with Microsoft.Solutions/applications resource. It can be a JObject or well-formed JSON string.

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

DeploymentMode

The managed application deployment mode.

Description

The managed application definition description.

DisplayName

The managed application definition display name.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
IsEnabled

A value indicating whether the package is enabled or not.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
LockingPolicy

The managed application locking policy.

LockLevel

The managed application lock level.

MainTemplate

The inline main template json which has resources to be provisioned. It can be a JObject or well-formed JSON string.

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

ManagedBy

ID of the resource that manages this resource.

(Inherited from ArmApplicationResourceData)
ManagementMode

The managed application management mode.

Name

The name of the resource.

(Inherited from ResourceData)
NotificationEndpoints

The managed application notification endpoint.

PackageFileUri

The managed application definition package file Uri. Use this element.

Policies

The managed application provider policies.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
Sku

The SKU of the resource.

(Inherited from ArmApplicationResourceData)
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<ArmApplicationDefinitionData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ArmApplicationDefinitionData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<ArmApplicationResourceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from ArmApplicationResourceData)
IJsonModel<ArmApplicationResourceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ArmApplicationResourceData)
IPersistableModel<ArmApplicationDefinitionData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ArmApplicationDefinitionData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ArmApplicationDefinitionData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<ArmApplicationResourceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ArmApplicationResourceData)
IPersistableModel<ArmApplicationResourceData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from ArmApplicationResourceData)
IPersistableModel<ArmApplicationResourceData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ArmApplicationResourceData)

Applies to