This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi
azure-native.avs.getScriptExecutionLogs
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi
Return the logs for a script execution resource
Uses Azure REST API version 2023-09-01.
Other available API versions: 2022-05-01, 2023-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native avs [ApiVersion]
. See the version guide for details.
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 dictionary
The following arguments are supported:
- Private
Cloud stringName - Name of the private cloud
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Script
Execution stringName - Name of the script cmdlet.
- Private
Cloud stringName - Name of the private cloud
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Script
Execution stringName - Name of the script cmdlet.
- private
Cloud StringName - Name of the private cloud
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- script
Execution StringName - Name of the script cmdlet.
- private
Cloud stringName - Name of the private cloud
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- script
Execution stringName - Name of the script cmdlet.
- 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 script cmdlet.
- private
Cloud StringName - Name of the private cloud
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- script
Execution StringName - Name of the script cmdlet.
getScriptExecutionLogs Result
The following output properties are available:
- Errors List<string>
- Standard error output stream from the powershell execution
- Finished
At string - Time the script execution was finished
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Information List<string>
- Standard information out stream from the powershell execution
- Name string
- The name of the resource
- Provisioning
State string - The state of the script execution resource
- Started
At string - Time the script execution was started
- Submitted
At string - Time the script execution was submitted
- System
Data Pulumi.Azure Native. AVS. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Timeout string
- Time limit for execution
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Warnings List<string>
- Standard warning out stream from the powershell execution
- Failure
Reason 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
- Named
Outputs 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
- Script
Cmdlet 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
- Finished
At string - Time the script execution was finished
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Information []string
- Standard information out stream from the powershell execution
- Name string
- The name of the resource
- Provisioning
State string - The state of the script execution resource
- Started
At string - Time the script execution was started
- Submitted
At string - Time the script execution was submitted
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Timeout string
- Time limit for execution
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Warnings []string
- Standard warning out stream from the powershell execution
- Failure
Reason 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
- Named
Outputs 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
- Script
Cmdlet 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
- finished
At String - Time the script execution was finished
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- information List<String>
- Standard information out stream from the powershell execution
- name String
- The name of the resource
- provisioning
State String - The state of the script execution resource
- started
At String - Time the script execution was started
- submitted
At String - Time the script execution was submitted
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- timeout String
- Time limit for execution
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- warnings List<String>
- Standard warning out stream from the powershell execution
- failure
Reason 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
- named
Outputs 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
- script
Cmdlet 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
- finished
At string - Time the script execution was finished
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- information string[]
- Standard information out stream from the powershell execution
- name string
- The name of the resource
- provisioning
State string - The state of the script execution resource
- started
At string - Time the script execution was started
- submitted
At string - Time the script execution was submitted
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- timeout string
- Time limit for execution
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- warnings string[]
- Standard warning out stream from the powershell execution
- failure
Reason string - Error message if the script was able to run, but if the script itself had errors or powershell threw an exception
- (PSCredential
Execution 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
- named
Outputs {[key: string]: any} - User-defined dictionary.
- output string[]
- Standard output stream from the powershell execution
- parameters
(PSCredential
Execution 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
- script
Cmdlet 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
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- information Sequence[str]
- Standard information out stream from the powershell execution
- name str
- The name of the resource
- 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
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- timeout str
- Time limit for execution
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- 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
- finished
At String - Time the script execution was finished
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- information List<String>
- Standard information out stream from the powershell execution
- name String
- The name of the resource
- provisioning
State String - The state of the script execution resource
- started
At String - Time the script execution was started
- submitted
At String - Time the script execution was submitted
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- timeout String
- Time limit for execution
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- warnings List<String>
- Standard warning out stream from the powershell execution
- failure
Reason 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
- named
Outputs 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
- script
Cmdlet StringId - A reference to the script cmdlet resource if user is running a AVS script
Supporting Types
PSCredentialExecutionParameterResponse
ScriptSecureStringExecutionParameterResponse
- Name string
- The parameter name
- Secure
Value string - A secure value for the passed parameter, not to be stored in logs
- Name string
- The parameter name
- Secure
Value string - A secure value for the passed parameter, not to be stored in logs
- name String
- The parameter name
- secure
Value String - A secure value for the passed parameter, not to be stored in logs
- name string
- The parameter name
- secure
Value 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
- secure
Value String - A secure value for the passed parameter, not to be stored in logs
ScriptStringExecutionParameterResponse
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
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 v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi