1. Packages
  2. Azure Native
  3. API Docs
  4. hybridcompute
  5. getMachineRunCommand
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.39.0 published on Monday, Apr 29, 2024 by Pulumi

azure-native.hybridcompute.getMachineRunCommand

Explore with Pulumi AI

azure-native logo
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.39.0 published on Monday, Apr 29, 2024 by Pulumi

    The operation to get a run command. Azure REST API version: 2023-10-03-preview.

    Using getMachineRunCommand

    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 getMachineRunCommand(args: GetMachineRunCommandArgs, opts?: InvokeOptions): Promise<GetMachineRunCommandResult>
    function getMachineRunCommandOutput(args: GetMachineRunCommandOutputArgs, opts?: InvokeOptions): Output<GetMachineRunCommandResult>
    def get_machine_run_command(machine_name: Optional[str] = None,
                                resource_group_name: Optional[str] = None,
                                run_command_name: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetMachineRunCommandResult
    def get_machine_run_command_output(machine_name: Optional[pulumi.Input[str]] = None,
                                resource_group_name: Optional[pulumi.Input[str]] = None,
                                run_command_name: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetMachineRunCommandResult]
    func LookupMachineRunCommand(ctx *Context, args *LookupMachineRunCommandArgs, opts ...InvokeOption) (*LookupMachineRunCommandResult, error)
    func LookupMachineRunCommandOutput(ctx *Context, args *LookupMachineRunCommandOutputArgs, opts ...InvokeOption) LookupMachineRunCommandResultOutput

    > Note: This function is named LookupMachineRunCommand in the Go SDK.

    public static class GetMachineRunCommand 
    {
        public static Task<GetMachineRunCommandResult> InvokeAsync(GetMachineRunCommandArgs args, InvokeOptions? opts = null)
        public static Output<GetMachineRunCommandResult> Invoke(GetMachineRunCommandInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMachineRunCommandResult> getMachineRunCommand(GetMachineRunCommandArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:hybridcompute:getMachineRunCommand
      arguments:
        # arguments dictionary

    The following arguments are supported:

    MachineName string
    The name of the hybrid machine.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    RunCommandName string
    The name of the run command.
    MachineName string
    The name of the hybrid machine.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    RunCommandName string
    The name of the run command.
    machineName String
    The name of the hybrid machine.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    runCommandName String
    The name of the run command.
    machineName string
    The name of the hybrid machine.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    runCommandName string
    The name of the run command.
    machine_name str
    The name of the hybrid machine.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    run_command_name str
    The name of the run command.
    machineName String
    The name of the hybrid machine.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    runCommandName String
    The name of the run command.

    getMachineRunCommand Result

    The following output properties are available:

    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    InstanceView Pulumi.AzureNative.HybridCompute.Outputs.MachineRunCommandInstanceViewResponse
    The machine run command instance view.
    Location string
    The geo-location where the resource lives
    Name string
    The name of the resource
    ProvisioningState string
    The provisioning state, which only appears in the response.
    SystemData Pulumi.AzureNative.HybridCompute.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    AsyncExecution bool
    Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete.
    ErrorBlobManagedIdentity Pulumi.AzureNative.HybridCompute.Outputs.RunCommandManagedIdentityResponse
    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
    ErrorBlobUri string
    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.
    OutputBlobManagedIdentity Pulumi.AzureNative.HybridCompute.Outputs.RunCommandManagedIdentityResponse
    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
    OutputBlobUri string
    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.AzureNative.HybridCompute.Outputs.RunCommandInputParameterResponse>
    The parameters used by the script.
    ProtectedParameters List<Pulumi.AzureNative.HybridCompute.Outputs.RunCommandInputParameterResponse>
    The parameters used by the script.
    RunAsPassword string
    Specifies the user account password on the machine when executing the run command.
    RunAsUser string
    Specifies the user account on the machine when executing the run command.
    Source Pulumi.AzureNative.HybridCompute.Outputs.MachineRunCommandScriptSourceResponse
    The source of the run command script.
    Tags Dictionary<string, string>
    Resource tags.
    TimeoutInSeconds int
    The timeout in seconds to execute the run command.
    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    InstanceView MachineRunCommandInstanceViewResponse
    The machine run command instance view.
    Location string
    The geo-location where the resource lives
    Name string
    The name of the resource
    ProvisioningState string
    The provisioning state, which only appears in the response.
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    AsyncExecution bool
    Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete.
    ErrorBlobManagedIdentity RunCommandManagedIdentityResponse
    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
    ErrorBlobUri string
    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.
    OutputBlobManagedIdentity RunCommandManagedIdentityResponse
    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
    OutputBlobUri string
    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 []RunCommandInputParameterResponse
    The parameters used by the script.
    ProtectedParameters []RunCommandInputParameterResponse
    The parameters used by the script.
    RunAsPassword string
    Specifies the user account password on the machine when executing the run command.
    RunAsUser string
    Specifies the user account on the machine when executing the run command.
    Source MachineRunCommandScriptSourceResponse
    The source of the run command script.
    Tags map[string]string
    Resource tags.
    TimeoutInSeconds int
    The timeout in seconds to execute the run command.
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    instanceView MachineRunCommandInstanceViewResponse
    The machine run command instance view.
    location String
    The geo-location where the resource lives
    name String
    The name of the resource
    provisioningState String
    The provisioning state, which only appears in the response.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    asyncExecution Boolean
    Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete.
    errorBlobManagedIdentity RunCommandManagedIdentityResponse
    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
    errorBlobUri String
    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.
    outputBlobManagedIdentity RunCommandManagedIdentityResponse
    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
    outputBlobUri String
    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<RunCommandInputParameterResponse>
    The parameters used by the script.
    protectedParameters List<RunCommandInputParameterResponse>
    The parameters used by the script.
    runAsPassword String
    Specifies the user account password on the machine when executing the run command.
    runAsUser String
    Specifies the user account on the machine when executing the run command.
    source MachineRunCommandScriptSourceResponse
    The source of the run command script.
    tags Map<String,String>
    Resource tags.
    timeoutInSeconds Integer
    The timeout in seconds to execute the run command.
    id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    instanceView MachineRunCommandInstanceViewResponse
    The machine run command instance view.
    location string
    The geo-location where the resource lives
    name string
    The name of the resource
    provisioningState string
    The provisioning state, which only appears in the response.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    asyncExecution boolean
    Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete.
    errorBlobManagedIdentity RunCommandManagedIdentityResponse
    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
    errorBlobUri string
    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.
    outputBlobManagedIdentity RunCommandManagedIdentityResponse
    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
    outputBlobUri string
    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 RunCommandInputParameterResponse[]
    The parameters used by the script.
    protectedParameters RunCommandInputParameterResponse[]
    The parameters used by the script.
    runAsPassword string
    Specifies the user account password on the machine when executing the run command.
    runAsUser string
    Specifies the user account on the machine when executing the run command.
    source MachineRunCommandScriptSourceResponse
    The source of the run command script.
    tags {[key: string]: string}
    Resource tags.
    timeoutInSeconds number
    The timeout in seconds to execute the run command.
    id str
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    instance_view MachineRunCommandInstanceViewResponse
    The machine run command instance view.
    location str
    The geo-location where the resource lives
    name str
    The name of the resource
    provisioning_state str
    The provisioning state, which only appears in the response.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    async_execution bool
    Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete.
    error_blob_managed_identity RunCommandManagedIdentityResponse
    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_uri str
    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_managed_identity RunCommandManagedIdentityResponse
    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_uri str
    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[RunCommandInputParameterResponse]
    The parameters used by the script.
    protected_parameters Sequence[RunCommandInputParameterResponse]
    The parameters used by the script.
    run_as_password str
    Specifies the user account password on the machine when executing the run command.
    run_as_user str
    Specifies the user account on the machine when executing the run command.
    source MachineRunCommandScriptSourceResponse
    The source of the run command script.
    tags Mapping[str, str]
    Resource tags.
    timeout_in_seconds int
    The timeout in seconds to execute the run command.
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    instanceView Property Map
    The machine run command instance view.
    location String
    The geo-location where the resource lives
    name String
    The name of the resource
    provisioningState String
    The provisioning state, which only appears in the response.
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    asyncExecution Boolean
    Optional. If set to true, provisioning will complete as soon as script starts and will not wait for script to complete.
    errorBlobManagedIdentity Property Map
    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
    errorBlobUri String
    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.
    outputBlobManagedIdentity Property Map
    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
    outputBlobUri String
    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.
    runAsPassword String
    Specifies the user account password on the machine when executing the run command.
    runAsUser String
    Specifies the user account on the machine when executing the run command.
    source Property Map
    The source of the run command script.
    tags Map<String>
    Resource tags.
    timeoutInSeconds Number
    The timeout in seconds to execute the run command.

    Supporting Types

    ExtensionsResourceStatusResponse

    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.

    MachineRunCommandInstanceViewResponse

    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.AzureNative.HybridCompute.Inputs.ExtensionsResourceStatusResponse>
    The 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 []ExtensionsResourceStatusResponse
    The 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<ExtensionsResourceStatusResponse>
    The 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 ExtensionsResourceStatusResponse[]
    The 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[ExtensionsResourceStatusResponse]
    The 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 status information.

    MachineRunCommandScriptSourceResponse

    CommandId string
    Specifies the commandId of predefined built-in script.
    Script string
    Specifies the script content to be executed on the machine.
    ScriptUri string
    Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.
    ScriptUriManagedIdentity Pulumi.AzureNative.HybridCompute.Inputs.RunCommandManagedIdentityResponse
    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 the commandId of predefined built-in script.
    Script string
    Specifies the script content to be executed on the machine.
    ScriptUri string
    Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.
    ScriptUriManagedIdentity RunCommandManagedIdentityResponse
    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 the commandId of predefined built-in script.
    script String
    Specifies the script content to be executed on the machine.
    scriptUri String
    Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.
    scriptUriManagedIdentity RunCommandManagedIdentityResponse
    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 the commandId of predefined built-in script.
    script string
    Specifies the script content to be executed on the machine.
    scriptUri string
    Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.
    scriptUriManagedIdentity RunCommandManagedIdentityResponse
    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 the commandId of predefined built-in script.
    script str
    Specifies the script content to be executed on the machine.
    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_managed_identity RunCommandManagedIdentityResponse
    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 the commandId of predefined built-in script.
    script String
    Specifies the script content to be executed on the machine.
    scriptUri String
    Specifies the script download location. It can be either SAS URI of an Azure storage blob with read access or public URI.
    scriptUriManagedIdentity Property Map
    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.

    RunCommandInputParameterResponse

    Name string
    The run command parameter name.
    Value string
    The run command parameter value.
    Name string
    The run command parameter name.
    Value string
    The run command parameter value.
    name String
    The run command parameter name.
    value String
    The run command parameter value.
    name string
    The run command parameter name.
    value string
    The run command parameter value.
    name str
    The run command parameter name.
    value str
    The run command parameter value.
    name String
    The run command parameter name.
    value String
    The run command parameter value.

    RunCommandManagedIdentityResponse

    ClientId string
    Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.
    ObjectId string
    Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.
    ClientId string
    Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.
    ObjectId string
    Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.
    clientId String
    Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.
    objectId String
    Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.
    clientId string
    Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.
    objectId string
    Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.
    client_id str
    Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.
    object_id str
    Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.
    clientId String
    Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.
    objectId String
    Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.

    SystemDataResponse

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    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.39.0 published on Monday, Apr 29, 2024 by Pulumi