다음을 통해 공유


ArmDeploymentScriptData Class

Definition

A class representing the ArmDeploymentScript data model. Deployment script object. Please note ArmDeploymentScriptData is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AzureCliScript and AzurePowerShellScript.

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

Constructors

ArmDeploymentScriptData(AzureLocation)

Initializes a new instance of ArmDeploymentScriptData.

Properties

Id

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

(Inherited from ResourceData)
Identity

Optional property. Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported.

Location

The location of the ACI and the storage account for the deployment script.

Name

The name of the resource.

(Inherited from ResourceData)
ResourceType

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

(Inherited from ResourceData)
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<ArmDeploymentScriptData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ArmDeploymentScriptData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ArmDeploymentScriptData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ArmDeploymentScriptData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ArmDeploymentScriptData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to