你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IVirtualMachineRunCommandScriptSource Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[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) |