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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
azure-native.compute.getVirtualMachineScaleSetVMRunCommand
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
The operation to get the VMSS VM 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 getVirtualMachineScaleSetVMRunCommand
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 getVirtualMachineScaleSetVMRunCommand(args: GetVirtualMachineScaleSetVMRunCommandArgs, opts?: InvokeOptions): Promise<GetVirtualMachineScaleSetVMRunCommandResult>
function getVirtualMachineScaleSetVMRunCommandOutput(args: GetVirtualMachineScaleSetVMRunCommandOutputArgs, opts?: InvokeOptions): Output<GetVirtualMachineScaleSetVMRunCommandResult>
def get_virtual_machine_scale_set_vm_run_command(expand: Optional[str] = None,
instance_id: Optional[str] = None,
resource_group_name: Optional[str] = None,
run_command_name: Optional[str] = None,
vm_scale_set_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVirtualMachineScaleSetVMRunCommandResult
def get_virtual_machine_scale_set_vm_run_command_output(expand: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
run_command_name: Optional[pulumi.Input[str]] = None,
vm_scale_set_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVirtualMachineScaleSetVMRunCommandResult]
func LookupVirtualMachineScaleSetVMRunCommand(ctx *Context, args *LookupVirtualMachineScaleSetVMRunCommandArgs, opts ...InvokeOption) (*LookupVirtualMachineScaleSetVMRunCommandResult, error)
func LookupVirtualMachineScaleSetVMRunCommandOutput(ctx *Context, args *LookupVirtualMachineScaleSetVMRunCommandOutputArgs, opts ...InvokeOption) LookupVirtualMachineScaleSetVMRunCommandResultOutput
> Note: This function is named LookupVirtualMachineScaleSetVMRunCommand
in the Go SDK.
public static class GetVirtualMachineScaleSetVMRunCommand
{
public static Task<GetVirtualMachineScaleSetVMRunCommandResult> InvokeAsync(GetVirtualMachineScaleSetVMRunCommandArgs args, InvokeOptions? opts = null)
public static Output<GetVirtualMachineScaleSetVMRunCommandResult> Invoke(GetVirtualMachineScaleSetVMRunCommandInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVirtualMachineScaleSetVMRunCommandResult> getVirtualMachineScaleSetVMRunCommand(GetVirtualMachineScaleSetVMRunCommandArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:compute:getVirtualMachineScaleSetVMRunCommand
arguments:
# arguments dictionary
The following arguments are supported:
- Instance
Id string - The instance ID of the virtual machine.
- Resource
Group stringName - The name of the resource group.
- Run
Command stringName - The name of the virtual machine run command.
- Vm
Scale stringSet Name - The name of the VM scale set.
- Expand string
- The expand expression to apply on the operation.
- Instance
Id string - The instance ID of the virtual machine.
- Resource
Group stringName - The name of the resource group.
- Run
Command stringName - The name of the virtual machine run command.
- Vm
Scale stringSet Name - The name of the VM scale set.
- Expand string
- The expand expression to apply on the operation.
- instance
Id String - The instance ID of the virtual machine.
- resource
Group StringName - The name of the resource group.
- run
Command StringName - The name of the virtual machine run command.
- vm
Scale StringSet Name - The name of the VM scale set.
- expand String
- The expand expression to apply on the operation.
- instance
Id string - The instance ID of the virtual machine.
- resource
Group stringName - The name of the resource group.
- run
Command stringName - The name of the virtual machine run command.
- vm
Scale stringSet Name - The name of the VM scale set.
- expand string
- The expand expression to apply on the operation.
- instance_
id str - The instance ID of the virtual machine.
- resource_
group_ strname - The name of the resource group.
- run_
command_ strname - The name of the virtual machine run command.
- vm_
scale_ strset_ name - The name of the VM scale set.
- expand str
- The expand expression to apply on the operation.
- instance
Id String - The instance ID of the virtual machine.
- resource
Group StringName - The name of the resource group.
- run
Command StringName - The name of the virtual machine run command.
- vm
Scale StringSet Name - The name of the VM scale set.
- expand String
- The expand expression to apply on the operation.
getVirtualMachineScaleSetVMRunCommand Result
The following output properties are available:
- Id string
- Resource Id
- Instance
View 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
- Provisioning
State 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
- 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 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
- Error
Blob 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.
- Output
Blob 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
- Output
Blob 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.
- Protected
Parameters List<Pulumi.Azure Native. Compute. Outputs. Run Command Input Parameter Response> - The parameters used by the script.
- Run
As stringPassword - Specifies the user account password on the VM when executing the run command.
- Run
As 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
- 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
- Instance
View VirtualMachine Run Command Instance View Response - The virtual machine run command instance view.
- Location string
- Resource location
- Name string
- Resource name
- Provisioning
State 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
- 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 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.
- 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 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
[]Run
Command Input Parameter Response - The parameters used by the script.
- Protected
Parameters []RunCommand Input Parameter Response - The parameters used by the script.
- Run
As stringPassword - Specifies the user account password on the VM when executing the run command.
- Run
As stringUser - Specifies the user account on the VM when executing the run command.
- Source
Virtual
Machine Run Command Script Source Response - The source of the run command script.
- map[string]string
- 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
- instance
View VirtualMachine Run Command Instance View Response - The virtual machine run command instance view.
- location String
- Resource location
- name String
- Resource name
- provisioning
State 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
- async
Execution Boolean - 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 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.
- 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 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<Run
Command Input Parameter Response> - The parameters used by the script.
- protected
Parameters List<RunCommand Input Parameter Response> - The parameters used by the script.
- run
As StringPassword - Specifies the user account password on the VM when executing the run command.
- run
As StringUser - Specifies the user account on the VM when executing the run command.
- source
Virtual
Machine Run Command Script Source Response - The source of the run command script.
- Map<String,String>
- Resource tags
- timeout
In IntegerSeconds - The timeout in seconds to execute the run command.
- treat
Failure 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
- instance
View VirtualMachine Run Command Instance View Response - The virtual machine run command instance view.
- location string
- Resource location
- name string
- Resource name
- provisioning
State 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
- async
Execution boolean - 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 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.
- 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 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
Run
Command Input Parameter Response[] - The parameters used by the script.
- protected
Parameters RunCommand Input Parameter Response[] - The parameters used by the script.
- run
As stringPassword - Specifies the user account password on the VM when executing the run command.
- run
As stringUser - Specifies the user account on the VM when executing the run command.
- source
Virtual
Machine Run Command Script Source Response - The source of the run command script.
- {[key: string]: string}
- Resource tags
- timeout
In numberSeconds - The timeout in seconds to execute the run command.
- treat
Failure 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[Run
Command 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
Virtual
Machine 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
- instance
View Property Map - The virtual machine run command instance view.
- location String
- Resource location
- name String
- Resource name
- provisioning
State 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
- async
Execution Boolean - Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete.
- error
Blob 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
- error
Blob 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.
- output
Blob 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
- output
Blob 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.
- protected
Parameters List<Property Map> - The parameters used by the script.
- run
As StringPassword - Specifies the user account password on the VM when executing the run command.
- run
As 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
- timeout
In NumberSeconds - The timeout in seconds to execute the run command.
- treat
Failure 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.
- Display
Status 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.
- Display
Status 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.
- display
Status 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.
- display
Status 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.
- display
Status 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
- End
Time string - Script end time.
- Error string
- Script error stream.
- Execution
Message string - Communicate script configuration errors or execution messages.
- Execution
State string - Script execution status.
- Exit
Code int - Exit code returned from script execution.
- Output string
- Script output stream.
- Start
Time string - Script start time.
- Statuses
List<Pulumi.
Azure Native. Compute. Inputs. Instance View Status Response> - The resource status information.
- End
Time string - Script end time.
- Error string
- Script error stream.
- Execution
Message string - Communicate script configuration errors or execution messages.
- Execution
State string - Script execution status.
- Exit
Code int - Exit code returned from script execution.
- Output string
- Script output stream.
- Start
Time string - Script start time.
- Statuses
[]Instance
View Status Response - The resource status information.
- end
Time String - Script end time.
- error String
- Script error stream.
- execution
Message String - Communicate script configuration errors or execution messages.
- execution
State String - Script execution status.
- exit
Code Integer - Exit code returned from script execution.
- output String
- Script output stream.
- start
Time String - Script start time.
- statuses
List<Instance
View Status Response> - The resource status information.
- end
Time string - Script end time.
- error string
- Script error stream.
- execution
Message string - Communicate script configuration errors or execution messages.
- execution
State string - Script execution status.
- exit
Code number - Exit code returned from script execution.
- output string
- Script output stream.
- start
Time string - Script start time.
- statuses
Instance
View 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[Instance
View Status Response] - The resource status information.
- end
Time String - Script end time.
- error String
- Script error stream.
- execution
Message String - Communicate script configuration errors or execution messages.
- execution
State String - Script execution status.
- exit
Code Number - Exit code returned from script execution.
- output String
- Script output stream.
- start
Time String - Script start time.
- statuses List<Property Map>
- The resource status information.
VirtualMachineRunCommandScriptSourceResponse
- Command
Id string - Specifies a commandId of predefined built-in script.
- Script string
- Specifies the script content to be executed on the VM.
- Script
Uri string - Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.
- Script
Uri 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.
- Command
Id string - Specifies a commandId of predefined built-in script.
- Script string
- Specifies the script content to be executed on the VM.
- Script
Uri string - 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.
- command
Id String - Specifies a commandId of predefined built-in script.
- script String
- Specifies the script content to be executed on the VM.
- script
Uri String - 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.
- command
Id string - Specifies a commandId of predefined built-in script.
- script string
- Specifies the script content to be executed on the VM.
- script
Uri string - 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.
- 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.
- command
Id String - Specifies a commandId of predefined built-in script.
- script String
- Specifies the script content to be executed on the VM.
- script
Uri String - Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.
- script
Uri 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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi