Bagikan melalui


IMachineRunCommandScriptSource Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandScriptSourceTypeConverter))]
public interface IMachineRunCommandScriptSource : Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.MachineRunCommandScriptSourceTypeConverter))>]
type IMachineRunCommandScriptSource = interface
    interface IJsonSerializable
Public Interface IMachineRunCommandScriptSource
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

CommandId

Specifies the commandId of predefined built-in script.

Script

Specifies the script content to be executed on the machine.

ScriptUri

Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.

ScriptUriManagedIdentityClientId

Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.

ScriptUriManagedIdentityObjectId

Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to