This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.compute.getVirtualMachineRunCommandByVirtualMachine
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
The operation to get the run command. Azure REST API version: 2023-03-01.
Other available API versions: 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01.
Using getVirtualMachineRunCommandByVirtualMachine
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVirtualMachineRunCommandByVirtualMachine(args: GetVirtualMachineRunCommandByVirtualMachineArgs, opts?: InvokeOptions): Promise<GetVirtualMachineRunCommandByVirtualMachineResult>
function getVirtualMachineRunCommandByVirtualMachineOutput(args: GetVirtualMachineRunCommandByVirtualMachineOutputArgs, opts?: InvokeOptions): Output<GetVirtualMachineRunCommandByVirtualMachineResult>def get_virtual_machine_run_command_by_virtual_machine(expand: Optional[str] = None,
                                                       resource_group_name: Optional[str] = None,
                                                       run_command_name: Optional[str] = None,
                                                       vm_name: Optional[str] = None,
                                                       opts: Optional[InvokeOptions] = None) -> GetVirtualMachineRunCommandByVirtualMachineResult
def get_virtual_machine_run_command_by_virtual_machine_output(expand: Optional[pulumi.Input[str]] = None,
                                                       resource_group_name: Optional[pulumi.Input[str]] = None,
                                                       run_command_name: Optional[pulumi.Input[str]] = None,
                                                       vm_name: Optional[pulumi.Input[str]] = None,
                                                       opts: Optional[InvokeOptions] = None) -> Output[GetVirtualMachineRunCommandByVirtualMachineResult]func LookupVirtualMachineRunCommandByVirtualMachine(ctx *Context, args *LookupVirtualMachineRunCommandByVirtualMachineArgs, opts ...InvokeOption) (*LookupVirtualMachineRunCommandByVirtualMachineResult, error)
func LookupVirtualMachineRunCommandByVirtualMachineOutput(ctx *Context, args *LookupVirtualMachineRunCommandByVirtualMachineOutputArgs, opts ...InvokeOption) LookupVirtualMachineRunCommandByVirtualMachineResultOutput> Note: This function is named LookupVirtualMachineRunCommandByVirtualMachine in the Go SDK.
public static class GetVirtualMachineRunCommandByVirtualMachine 
{
    public static Task<GetVirtualMachineRunCommandByVirtualMachineResult> InvokeAsync(GetVirtualMachineRunCommandByVirtualMachineArgs args, InvokeOptions? opts = null)
    public static Output<GetVirtualMachineRunCommandByVirtualMachineResult> Invoke(GetVirtualMachineRunCommandByVirtualMachineInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVirtualMachineRunCommandByVirtualMachineResult> getVirtualMachineRunCommandByVirtualMachine(GetVirtualMachineRunCommandByVirtualMachineArgs args, InvokeOptions options)
public static Output<GetVirtualMachineRunCommandByVirtualMachineResult> getVirtualMachineRunCommandByVirtualMachine(GetVirtualMachineRunCommandByVirtualMachineArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:compute:getVirtualMachineRunCommandByVirtualMachine
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ResourceGroup stringName 
- The name of the resource group.
- RunCommand stringName 
- The name of the virtual machine run command.
- VmName string
- The name of the virtual machine containing the run command.
- Expand string
- The expand expression to apply on the operation.
- ResourceGroup stringName 
- The name of the resource group.
- RunCommand stringName 
- The name of the virtual machine run command.
- VmName string
- The name of the virtual machine containing the run command.
- Expand string
- The expand expression to apply on the operation.
- resourceGroup StringName 
- The name of the resource group.
- runCommand StringName 
- The name of the virtual machine run command.
- vmName String
- The name of the virtual machine containing the run command.
- expand String
- The expand expression to apply on the operation.
- resourceGroup stringName 
- The name of the resource group.
- runCommand stringName 
- The name of the virtual machine run command.
- vmName string
- The name of the virtual machine containing the run command.
- expand string
- The expand expression to apply on the operation.
- resource_group_ strname 
- The name of the resource group.
- run_command_ strname 
- The name of the virtual machine run command.
- vm_name str
- The name of the virtual machine containing the run command.
- expand str
- The expand expression to apply on the operation.
- resourceGroup StringName 
- The name of the resource group.
- runCommand StringName 
- The name of the virtual machine run command.
- vmName String
- The name of the virtual machine containing the run command.
- expand String
- The expand expression to apply on the operation.
getVirtualMachineRunCommandByVirtualMachine Result
The following output properties are available:
- Id string
- Resource Id
- InstanceView Pulumi.Azure Native. Compute. Outputs. Virtual Machine Run Command Instance View Response 
- The virtual machine run command instance view.
- Location string
- Resource location
- Name string
- Resource name
- ProvisioningState string
- The provisioning state, which only appears in the response. If treatFailureAsDeploymentFailure set to true, any failure in the script will fail the deployment and ProvisioningState will be marked as Failed. If treatFailureAsDeploymentFailure set to false, ProvisioningState would only reflect whether the run command was run or not by the extensions platform, it would not indicate whether script failed in case of script failures. See instance view of run command in case of script failures to see executionMessage, output, error: https://aka.ms/runcommandmanaged#get-execution-status-and-results
- Type string
- Resource type
- AsyncExecution bool
- Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete.
- ErrorBlob Pulumi.Managed Identity Azure Native. Compute. Outputs. Run Command Managed Identity Response 
- User-assigned managed identity that has access to errorBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged
- ErrorBlob stringUri 
- Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter.
- OutputBlob Pulumi.Managed Identity Azure Native. Compute. Outputs. Run Command Managed Identity Response 
- User-assigned managed identity that has access to outputBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged
- OutputBlob stringUri 
- Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter.
- Parameters
List<Pulumi.Azure Native. Compute. Outputs. Run Command Input Parameter Response> 
- The parameters used by the script.
- ProtectedParameters List<Pulumi.Azure Native. Compute. Outputs. Run Command Input Parameter Response> 
- The parameters used by the script.
- RunAs stringPassword 
- Specifies the user account password on the VM when executing the run command.
- RunAs stringUser 
- Specifies the user account on the VM when executing the run command.
- Source
Pulumi.Azure Native. Compute. Outputs. Virtual Machine Run Command Script Source Response 
- The source of the run command script.
- Dictionary<string, string>
- Resource tags
- TimeoutIn intSeconds 
- The timeout in seconds to execute the run command.
- TreatFailure boolAs Deployment Failure 
- Optional. If set to true, any failure in the script will fail the deployment and ProvisioningState will be marked as Failed. If set to false, ProvisioningState would only reflect whether the run command was run or not by the extensions platform, it would not indicate whether script failed in case of script failures. See instance view of run command in case of script failures to see executionMessage, output, error: https://aka.ms/runcommandmanaged#get-execution-status-and-results
- Id string
- Resource Id
- InstanceView VirtualMachine Run Command Instance View Response 
- The virtual machine run command instance view.
- Location string
- Resource location
- Name string
- Resource name
- ProvisioningState string
- The provisioning state, which only appears in the response. If treatFailureAsDeploymentFailure set to true, any failure in the script will fail the deployment and ProvisioningState will be marked as Failed. If treatFailureAsDeploymentFailure set to false, ProvisioningState would only reflect whether the run command was run or not by the extensions platform, it would not indicate whether script failed in case of script failures. See instance view of run command in case of script failures to see executionMessage, output, error: https://aka.ms/runcommandmanaged#get-execution-status-and-results
- Type string
- Resource type
- AsyncExecution bool
- Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete.
- ErrorBlob RunManaged Identity Command Managed Identity Response 
- User-assigned managed identity that has access to errorBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged
- ErrorBlob stringUri 
- Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter.
- OutputBlob RunManaged Identity Command Managed Identity Response 
- User-assigned managed identity that has access to outputBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged
- OutputBlob stringUri 
- Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter.
- Parameters
[]RunCommand Input Parameter Response 
- The parameters used by the script.
- ProtectedParameters []RunCommand Input Parameter Response 
- The parameters used by the script.
- RunAs stringPassword 
- Specifies the user account password on the VM when executing the run command.
- RunAs stringUser 
- Specifies the user account on the VM when executing the run command.
- Source
VirtualMachine Run Command Script Source Response 
- The source of the run command script.
- map[string]string
- Resource tags
- TimeoutIn intSeconds 
- The timeout in seconds to execute the run command.
- TreatFailure boolAs Deployment Failure 
- Optional. If set to true, any failure in the script will fail the deployment and ProvisioningState will be marked as Failed. If set to false, ProvisioningState would only reflect whether the run command was run or not by the extensions platform, it would not indicate whether script failed in case of script failures. See instance view of run command in case of script failures to see executionMessage, output, error: https://aka.ms/runcommandmanaged#get-execution-status-and-results
- id String
- Resource Id
- instanceView VirtualMachine Run Command Instance View Response 
- The virtual machine run command instance view.
- location String
- Resource location
- name String
- Resource name
- provisioningState String
- The provisioning state, which only appears in the response. If treatFailureAsDeploymentFailure set to true, any failure in the script will fail the deployment and ProvisioningState will be marked as Failed. If treatFailureAsDeploymentFailure set to false, ProvisioningState would only reflect whether the run command was run or not by the extensions platform, it would not indicate whether script failed in case of script failures. See instance view of run command in case of script failures to see executionMessage, output, error: https://aka.ms/runcommandmanaged#get-execution-status-and-results
- type String
- Resource type
- asyncExecution Boolean
- Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete.
- errorBlob RunManaged Identity Command Managed Identity Response 
- User-assigned managed identity that has access to errorBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged
- errorBlob StringUri 
- Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter.
- outputBlob RunManaged Identity Command Managed Identity Response 
- User-assigned managed identity that has access to outputBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged
- outputBlob StringUri 
- Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter.
- parameters
List<RunCommand Input Parameter Response> 
- The parameters used by the script.
- protectedParameters List<RunCommand Input Parameter Response> 
- The parameters used by the script.
- runAs StringPassword 
- Specifies the user account password on the VM when executing the run command.
- runAs StringUser 
- Specifies the user account on the VM when executing the run command.
- source
VirtualMachine Run Command Script Source Response 
- The source of the run command script.
- Map<String,String>
- Resource tags
- timeoutIn IntegerSeconds 
- The timeout in seconds to execute the run command.
- treatFailure BooleanAs Deployment Failure 
- Optional. If set to true, any failure in the script will fail the deployment and ProvisioningState will be marked as Failed. If set to false, ProvisioningState would only reflect whether the run command was run or not by the extensions platform, it would not indicate whether script failed in case of script failures. See instance view of run command in case of script failures to see executionMessage, output, error: https://aka.ms/runcommandmanaged#get-execution-status-and-results
- id string
- Resource Id
- instanceView VirtualMachine Run Command Instance View Response 
- The virtual machine run command instance view.
- location string
- Resource location
- name string
- Resource name
- provisioningState string
- The provisioning state, which only appears in the response. If treatFailureAsDeploymentFailure set to true, any failure in the script will fail the deployment and ProvisioningState will be marked as Failed. If treatFailureAsDeploymentFailure set to false, ProvisioningState would only reflect whether the run command was run or not by the extensions platform, it would not indicate whether script failed in case of script failures. See instance view of run command in case of script failures to see executionMessage, output, error: https://aka.ms/runcommandmanaged#get-execution-status-and-results
- type string
- Resource type
- asyncExecution boolean
- Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete.
- errorBlob RunManaged Identity Command Managed Identity Response 
- User-assigned managed identity that has access to errorBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged
- errorBlob stringUri 
- Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter.
- outputBlob RunManaged Identity Command Managed Identity Response 
- User-assigned managed identity that has access to outputBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged
- outputBlob stringUri 
- Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter.
- parameters
RunCommand Input Parameter Response[] 
- The parameters used by the script.
- protectedParameters RunCommand Input Parameter Response[] 
- The parameters used by the script.
- runAs stringPassword 
- Specifies the user account password on the VM when executing the run command.
- runAs stringUser 
- Specifies the user account on the VM when executing the run command.
- source
VirtualMachine Run Command Script Source Response 
- The source of the run command script.
- {[key: string]: string}
- Resource tags
- timeoutIn numberSeconds 
- The timeout in seconds to execute the run command.
- treatFailure booleanAs Deployment Failure 
- Optional. If set to true, any failure in the script will fail the deployment and ProvisioningState will be marked as Failed. If set to false, ProvisioningState would only reflect whether the run command was run or not by the extensions platform, it would not indicate whether script failed in case of script failures. See instance view of run command in case of script failures to see executionMessage, output, error: https://aka.ms/runcommandmanaged#get-execution-status-and-results
- id str
- Resource Id
- instance_view VirtualMachine Run Command Instance View Response 
- The virtual machine run command instance view.
- location str
- Resource location
- name str
- Resource name
- provisioning_state str
- The provisioning state, which only appears in the response. If treatFailureAsDeploymentFailure set to true, any failure in the script will fail the deployment and ProvisioningState will be marked as Failed. If treatFailureAsDeploymentFailure set to false, ProvisioningState would only reflect whether the run command was run or not by the extensions platform, it would not indicate whether script failed in case of script failures. See instance view of run command in case of script failures to see executionMessage, output, error: https://aka.ms/runcommandmanaged#get-execution-status-and-results
- type str
- Resource type
- async_execution bool
- Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete.
- error_blob_ Runmanaged_ identity Command Managed Identity Response 
- User-assigned managed identity that has access to errorBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged
- error_blob_ struri 
- Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter.
- output_blob_ Runmanaged_ identity Command Managed Identity Response 
- User-assigned managed identity that has access to outputBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged
- output_blob_ struri 
- Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter.
- parameters
Sequence[RunCommand Input Parameter Response] 
- The parameters used by the script.
- protected_parameters Sequence[RunCommand Input Parameter Response] 
- The parameters used by the script.
- run_as_ strpassword 
- Specifies the user account password on the VM when executing the run command.
- run_as_ struser 
- Specifies the user account on the VM when executing the run command.
- source
VirtualMachine Run Command Script Source Response 
- The source of the run command script.
- Mapping[str, str]
- Resource tags
- timeout_in_ intseconds 
- The timeout in seconds to execute the run command.
- treat_failure_ boolas_ deployment_ failure 
- Optional. If set to true, any failure in the script will fail the deployment and ProvisioningState will be marked as Failed. If set to false, ProvisioningState would only reflect whether the run command was run or not by the extensions platform, it would not indicate whether script failed in case of script failures. See instance view of run command in case of script failures to see executionMessage, output, error: https://aka.ms/runcommandmanaged#get-execution-status-and-results
- id String
- Resource Id
- instanceView Property Map
- The virtual machine run command instance view.
- location String
- Resource location
- name String
- Resource name
- provisioningState String
- The provisioning state, which only appears in the response. If treatFailureAsDeploymentFailure set to true, any failure in the script will fail the deployment and ProvisioningState will be marked as Failed. If treatFailureAsDeploymentFailure set to false, ProvisioningState would only reflect whether the run command was run or not by the extensions platform, it would not indicate whether script failed in case of script failures. See instance view of run command in case of script failures to see executionMessage, output, error: https://aka.ms/runcommandmanaged#get-execution-status-and-results
- type String
- Resource type
- asyncExecution Boolean
- Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete.
- errorBlob Property MapManaged Identity 
- User-assigned managed identity that has access to errorBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged
- errorBlob StringUri 
- Specifies the Azure storage blob where script error stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer errorBlobManagedIdentity parameter.
- outputBlob Property MapManaged Identity 
- User-assigned managed identity that has access to outputBlobUri storage blob. Use an empty object in case of system-assigned identity. Make sure managed identity has been given access to blob's container with 'Storage Blob Data Contributor' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged
- outputBlob StringUri 
- Specifies the Azure storage blob where script output stream will be uploaded. Use a SAS URI with read, append, create, write access OR use managed identity to provide the VM access to the blob. Refer outputBlobManagedIdentity parameter.
- parameters List<Property Map>
- The parameters used by the script.
- protectedParameters List<Property Map>
- The parameters used by the script.
- runAs StringPassword 
- Specifies the user account password on the VM when executing the run command.
- runAs StringUser 
- Specifies the user account on the VM when executing the run command.
- source Property Map
- The source of the run command script.
- Map<String>
- Resource tags
- timeoutIn NumberSeconds 
- The timeout in seconds to execute the run command.
- treatFailure BooleanAs Deployment Failure 
- Optional. If set to true, any failure in the script will fail the deployment and ProvisioningState will be marked as Failed. If set to false, ProvisioningState would only reflect whether the run command was run or not by the extensions platform, it would not indicate whether script failed in case of script failures. See instance view of run command in case of script failures to see executionMessage, output, error: https://aka.ms/runcommandmanaged#get-execution-status-and-results
Supporting Types
InstanceViewStatusResponse   
- Code string
- The status code.
- DisplayStatus string
- The short localizable label for the status.
- Level string
- The level code.
- Message string
- The detailed status message, including for alerts and error messages.
- Time string
- The time of the status.
- Code string
- The status code.
- DisplayStatus string
- The short localizable label for the status.
- Level string
- The level code.
- Message string
- The detailed status message, including for alerts and error messages.
- Time string
- The time of the status.
- code String
- The status code.
- displayStatus String
- The short localizable label for the status.
- level String
- The level code.
- message String
- The detailed status message, including for alerts and error messages.
- time String
- The time of the status.
- code string
- The status code.
- displayStatus string
- The short localizable label for the status.
- level string
- The level code.
- message string
- The detailed status message, including for alerts and error messages.
- time string
- The time of the status.
- code str
- The status code.
- display_status str
- The short localizable label for the status.
- level str
- The level code.
- message str
- The detailed status message, including for alerts and error messages.
- time str
- The time of the status.
- code String
- The status code.
- displayStatus String
- The short localizable label for the status.
- level String
- The level code.
- message String
- The detailed status message, including for alerts and error messages.
- time String
- The time of the status.
RunCommandInputParameterResponse    
RunCommandManagedIdentityResponse    
VirtualMachineRunCommandInstanceViewResponse      
- EndTime string
- Script end time.
- Error string
- Script error stream.
- ExecutionMessage string
- Communicate script configuration errors or execution messages.
- ExecutionState string
- Script execution status.
- ExitCode int
- Exit code returned from script execution.
- Output string
- Script output stream.
- StartTime string
- Script start time.
- Statuses
List<Pulumi.Azure Native. Compute. Inputs. Instance View Status Response> 
- The resource status information.
- EndTime string
- Script end time.
- Error string
- Script error stream.
- ExecutionMessage string
- Communicate script configuration errors or execution messages.
- ExecutionState string
- Script execution status.
- ExitCode int
- Exit code returned from script execution.
- Output string
- Script output stream.
- StartTime string
- Script start time.
- Statuses
[]InstanceView Status Response 
- The resource status information.
- endTime String
- Script end time.
- error String
- Script error stream.
- executionMessage String
- Communicate script configuration errors or execution messages.
- executionState String
- Script execution status.
- exitCode Integer
- Exit code returned from script execution.
- output String
- Script output stream.
- startTime String
- Script start time.
- statuses
List<InstanceView Status Response> 
- The resource status information.
- endTime string
- Script end time.
- error string
- Script error stream.
- executionMessage string
- Communicate script configuration errors or execution messages.
- executionState string
- Script execution status.
- exitCode number
- Exit code returned from script execution.
- output string
- Script output stream.
- startTime string
- Script start time.
- statuses
InstanceView Status Response[] 
- The resource status information.
- end_time str
- Script end time.
- error str
- Script error stream.
- execution_message str
- Communicate script configuration errors or execution messages.
- execution_state str
- Script execution status.
- exit_code int
- Exit code returned from script execution.
- output str
- Script output stream.
- start_time str
- Script start time.
- statuses
Sequence[InstanceView Status Response] 
- The resource status information.
- endTime String
- Script end time.
- error String
- Script error stream.
- executionMessage String
- Communicate script configuration errors or execution messages.
- executionState String
- Script execution status.
- exitCode Number
- Exit code returned from script execution.
- output String
- Script output stream.
- startTime String
- Script start time.
- statuses List<Property Map>
- The resource status information.
VirtualMachineRunCommandScriptSourceResponse      
- CommandId string
- Specifies a commandId of predefined built-in script.
- Script string
- Specifies the script content to be executed on the VM.
- ScriptUri string
- Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.
- ScriptUri Pulumi.Managed Identity Azure Native. Compute. Inputs. Run Command Managed Identity Response 
- User-assigned managed identity that has access to scriptUri in case of Azure storage blob. Use an empty object in case of system-assigned identity. Make sure the Azure storage blob exists, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged.
- CommandId string
- Specifies a commandId of predefined built-in script.
- Script string
- Specifies the script content to be executed on the VM.
- ScriptUri string
- Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.
- ScriptUri RunManaged Identity Command Managed Identity Response 
- User-assigned managed identity that has access to scriptUri in case of Azure storage blob. Use an empty object in case of system-assigned identity. Make sure the Azure storage blob exists, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged.
- commandId String
- Specifies a commandId of predefined built-in script.
- script String
- Specifies the script content to be executed on the VM.
- scriptUri String
- Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.
- scriptUri RunManaged Identity Command Managed Identity Response 
- User-assigned managed identity that has access to scriptUri in case of Azure storage blob. Use an empty object in case of system-assigned identity. Make sure the Azure storage blob exists, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged.
- commandId string
- Specifies a commandId of predefined built-in script.
- script string
- Specifies the script content to be executed on the VM.
- scriptUri string
- Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.
- scriptUri RunManaged Identity Command Managed Identity Response 
- User-assigned managed identity that has access to scriptUri in case of Azure storage blob. Use an empty object in case of system-assigned identity. Make sure the Azure storage blob exists, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged.
- command_id str
- Specifies a commandId of predefined built-in script.
- script str
- Specifies the script content to be executed on the VM.
- script_uri str
- Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.
- script_uri_ Runmanaged_ identity Command Managed Identity Response 
- User-assigned managed identity that has access to scriptUri in case of Azure storage blob. Use an empty object in case of system-assigned identity. Make sure the Azure storage blob exists, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged.
- commandId String
- Specifies a commandId of predefined built-in script.
- script String
- Specifies the script content to be executed on the VM.
- scriptUri String
- Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.
- scriptUri Property MapManaged Identity 
- User-assigned managed identity that has access to scriptUri in case of Azure storage blob. Use an empty object in case of system-assigned identity. Make sure the Azure storage blob exists, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment. In case of user-assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi