Share via


IVirtualMachineRunCommandScriptSource Interface

Definition

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

Properties

CommandId

Specifies a commandId of predefined built-in script.

Script

Specifies the script content to be executed on the VM.

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