Share via


ScriptExecutionsOperationsExtensions.GetExecutionLogsAsync Method

Definition

Return the logs for a script execution resource

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Avs.Models.ScriptExecution> GetExecutionLogsAsync (this Microsoft.Azure.Management.Avs.IScriptExecutionsOperations operations, string resourceGroupName, string privateCloudName, string scriptExecutionName, System.Collections.Generic.IList<string> scriptOutputStreamType = default, System.Threading.CancellationToken cancellationToken = default);
static member GetExecutionLogsAsync : Microsoft.Azure.Management.Avs.IScriptExecutionsOperations * string * string * string * System.Collections.Generic.IList<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Avs.Models.ScriptExecution>
<Extension()>
Public Function GetExecutionLogsAsync (operations As IScriptExecutionsOperations, resourceGroupName As String, privateCloudName As String, scriptExecutionName As String, Optional scriptOutputStreamType As IList(Of String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ScriptExecution)

Parameters

operations
IScriptExecutionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

privateCloudName
String

Name of the private cloud

scriptExecutionName
String

Name of the user-invoked script execution resource

scriptOutputStreamType
IList<String>

Name of the desired output stream to return. If not provided, will return all. An empty array will return nothing

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to