Dela via


ScriptCmdletData Class

Definition

A class representing the ScriptCmdlet data model. A cmdlet available for script execution

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

Constructors

ScriptCmdletData()

Initializes a new instance of ScriptCmdletData.

Properties

Audience

Specifies whether a script cmdlet is intended to be invoked only through automation or visible to customers.

Description

Description of the scripts functionality.

Id

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

(Inherited from ResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
Parameters

Parameters the script will accept.

ProvisioningState

The provisioning state of the resource.

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)
Timeout

Recommended time limit for execution.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<ScriptCmdletData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ScriptCmdletData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ScriptCmdletData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ScriptCmdletData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ScriptCmdletData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to