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.avs.getScriptExecutionLogs
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
Return the logs for a script execution resource Azure REST API version: 2022-05-01.
Other available API versions: 2023-03-01, 2023-09-01.
Using getScriptExecutionLogs
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 getScriptExecutionLogs(args: GetScriptExecutionLogsArgs, opts?: InvokeOptions): Promise<GetScriptExecutionLogsResult>
function getScriptExecutionLogsOutput(args: GetScriptExecutionLogsOutputArgs, opts?: InvokeOptions): Output<GetScriptExecutionLogsResult>def get_script_execution_logs(private_cloud_name: Optional[str] = None,
                              resource_group_name: Optional[str] = None,
                              script_execution_name: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetScriptExecutionLogsResult
def get_script_execution_logs_output(private_cloud_name: Optional[pulumi.Input[str]] = None,
                              resource_group_name: Optional[pulumi.Input[str]] = None,
                              script_execution_name: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetScriptExecutionLogsResult]func GetScriptExecutionLogs(ctx *Context, args *GetScriptExecutionLogsArgs, opts ...InvokeOption) (*GetScriptExecutionLogsResult, error)
func GetScriptExecutionLogsOutput(ctx *Context, args *GetScriptExecutionLogsOutputArgs, opts ...InvokeOption) GetScriptExecutionLogsResultOutput> Note: This function is named GetScriptExecutionLogs in the Go SDK.
public static class GetScriptExecutionLogs 
{
    public static Task<GetScriptExecutionLogsResult> InvokeAsync(GetScriptExecutionLogsArgs args, InvokeOptions? opts = null)
    public static Output<GetScriptExecutionLogsResult> Invoke(GetScriptExecutionLogsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetScriptExecutionLogsResult> getScriptExecutionLogs(GetScriptExecutionLogsArgs args, InvokeOptions options)
public static Output<GetScriptExecutionLogsResult> getScriptExecutionLogs(GetScriptExecutionLogsArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:avs:getScriptExecutionLogs
  arguments:
    # arguments dictionaryThe following arguments are supported:
- PrivateCloud stringName 
- Name of the private cloud
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ScriptExecution stringName 
- Name of the user-invoked script execution resource
- PrivateCloud stringName 
- Name of the private cloud
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ScriptExecution stringName 
- Name of the user-invoked script execution resource
- privateCloud StringName 
- Name of the private cloud
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- scriptExecution StringName 
- Name of the user-invoked script execution resource
- privateCloud stringName 
- Name of the private cloud
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- scriptExecution stringName 
- Name of the user-invoked script execution resource
- private_cloud_ strname 
- Name of the private cloud
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- script_execution_ strname 
- Name of the user-invoked script execution resource
- privateCloud StringName 
- Name of the private cloud
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- scriptExecution StringName 
- Name of the user-invoked script execution resource
getScriptExecutionLogs Result
The following output properties are available:
- Errors List<string>
- Standard error output stream from the powershell execution
- FinishedAt string
- Time the script execution was finished
- Id string
- Resource ID.
- Information List<string>
- Standard information out stream from the powershell execution
- Name string
- Resource name.
- ProvisioningState string
- The state of the script execution resource
- StartedAt string
- Time the script execution was started
- SubmittedAt string
- Time the script execution was submitted
- Timeout string
- Time limit for execution
- Type string
- Resource type.
- Warnings List<string>
- Standard warning out stream from the powershell execution
- FailureReason string
- Error message if the script was able to run, but if the script itself had errors or powershell threw an exception
- List<object>
- Parameters that will be hidden/not visible to ARM, such as passwords and credentials
- NamedOutputs Dictionary<string, object>
- User-defined dictionary.
- Output List<string>
- Standard output stream from the powershell execution
- Parameters List<object>
- Parameters the script will accept
- Retention string
- Time to live for the resource. If not provided, will be available for 60 days
- ScriptCmdlet stringId 
- A reference to the script cmdlet resource if user is running a AVS script
- Errors []string
- Standard error output stream from the powershell execution
- FinishedAt string
- Time the script execution was finished
- Id string
- Resource ID.
- Information []string
- Standard information out stream from the powershell execution
- Name string
- Resource name.
- ProvisioningState string
- The state of the script execution resource
- StartedAt string
- Time the script execution was started
- SubmittedAt string
- Time the script execution was submitted
- Timeout string
- Time limit for execution
- Type string
- Resource type.
- Warnings []string
- Standard warning out stream from the powershell execution
- FailureReason string
- Error message if the script was able to run, but if the script itself had errors or powershell threw an exception
- []interface{}
- Parameters that will be hidden/not visible to ARM, such as passwords and credentials
- NamedOutputs map[string]interface{}
- User-defined dictionary.
- Output []string
- Standard output stream from the powershell execution
- Parameters []interface{}
- Parameters the script will accept
- Retention string
- Time to live for the resource. If not provided, will be available for 60 days
- ScriptCmdlet stringId 
- A reference to the script cmdlet resource if user is running a AVS script
- errors List<String>
- Standard error output stream from the powershell execution
- finishedAt String
- Time the script execution was finished
- id String
- Resource ID.
- information List<String>
- Standard information out stream from the powershell execution
- name String
- Resource name.
- provisioningState String
- The state of the script execution resource
- startedAt String
- Time the script execution was started
- submittedAt String
- Time the script execution was submitted
- timeout String
- Time limit for execution
- type String
- Resource type.
- warnings List<String>
- Standard warning out stream from the powershell execution
- failureReason String
- Error message if the script was able to run, but if the script itself had errors or powershell threw an exception
- List<Object>
- Parameters that will be hidden/not visible to ARM, such as passwords and credentials
- namedOutputs Map<String,Object>
- User-defined dictionary.
- output List<String>
- Standard output stream from the powershell execution
- parameters List<Object>
- Parameters the script will accept
- retention String
- Time to live for the resource. If not provided, will be available for 60 days
- scriptCmdlet StringId 
- A reference to the script cmdlet resource if user is running a AVS script
- errors string[]
- Standard error output stream from the powershell execution
- finishedAt string
- Time the script execution was finished
- id string
- Resource ID.
- information string[]
- Standard information out stream from the powershell execution
- name string
- Resource name.
- provisioningState string
- The state of the script execution resource
- startedAt string
- Time the script execution was started
- submittedAt string
- Time the script execution was submitted
- timeout string
- Time limit for execution
- type string
- Resource type.
- warnings string[]
- Standard warning out stream from the powershell execution
- failureReason string
- Error message if the script was able to run, but if the script itself had errors or powershell threw an exception
- 
(PSCredentialExecution Parameter Response | Script Secure String Execution Parameter Response | Script String Execution Parameter Response)[] 
- Parameters that will be hidden/not visible to ARM, such as passwords and credentials
- namedOutputs {[key: string]: any}
- User-defined dictionary.
- output string[]
- Standard output stream from the powershell execution
- parameters
(PSCredentialExecution Parameter Response | Script Secure String Execution Parameter Response | Script String Execution Parameter Response)[] 
- Parameters the script will accept
- retention string
- Time to live for the resource. If not provided, will be available for 60 days
- scriptCmdlet stringId 
- A reference to the script cmdlet resource if user is running a AVS script
- errors Sequence[str]
- Standard error output stream from the powershell execution
- finished_at str
- Time the script execution was finished
- id str
- Resource ID.
- information Sequence[str]
- Standard information out stream from the powershell execution
- name str
- Resource name.
- provisioning_state str
- The state of the script execution resource
- started_at str
- Time the script execution was started
- submitted_at str
- Time the script execution was submitted
- timeout str
- Time limit for execution
- type str
- Resource type.
- warnings Sequence[str]
- Standard warning out stream from the powershell execution
- failure_reason str
- Error message if the script was able to run, but if the script itself had errors or powershell threw an exception
- Sequence[Any]
- Parameters that will be hidden/not visible to ARM, such as passwords and credentials
- named_outputs Mapping[str, Any]
- User-defined dictionary.
- output Sequence[str]
- Standard output stream from the powershell execution
- parameters Sequence[Any]
- Parameters the script will accept
- retention str
- Time to live for the resource. If not provided, will be available for 60 days
- script_cmdlet_ strid 
- A reference to the script cmdlet resource if user is running a AVS script
- errors List<String>
- Standard error output stream from the powershell execution
- finishedAt String
- Time the script execution was finished
- id String
- Resource ID.
- information List<String>
- Standard information out stream from the powershell execution
- name String
- Resource name.
- provisioningState String
- The state of the script execution resource
- startedAt String
- Time the script execution was started
- submittedAt String
- Time the script execution was submitted
- timeout String
- Time limit for execution
- type String
- Resource type.
- warnings List<String>
- Standard warning out stream from the powershell execution
- failureReason String
- Error message if the script was able to run, but if the script itself had errors or powershell threw an exception
- List<Property Map | Property Map | Property Map>
- Parameters that will be hidden/not visible to ARM, such as passwords and credentials
- namedOutputs Map<Any>
- User-defined dictionary.
- output List<String>
- Standard output stream from the powershell execution
- parameters List<Property Map | Property Map | Property Map>
- Parameters the script will accept
- retention String
- Time to live for the resource. If not provided, will be available for 60 days
- scriptCmdlet StringId 
- A reference to the script cmdlet resource if user is running a AVS script
Supporting Types
PSCredentialExecutionParameterResponse   
ScriptSecureStringExecutionParameterResponse     
- Name string
- The parameter name
- SecureValue string
- A secure value for the passed parameter, not to be stored in logs
- Name string
- The parameter name
- SecureValue string
- A secure value for the passed parameter, not to be stored in logs
- name String
- The parameter name
- secureValue String
- A secure value for the passed parameter, not to be stored in logs
- name string
- The parameter name
- secureValue string
- A secure value for the passed parameter, not to be stored in logs
- name str
- The parameter name
- secure_value str
- A secure value for the passed parameter, not to be stored in logs
- name String
- The parameter name
- secureValue String
- A secure value for the passed parameter, not to be stored in logs
ScriptStringExecutionParameterResponse    
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