共用方式為


ScriptExecutionsOperationsExtensions.GetExecutionLogsAsync 方法

定義

傳回腳本執行資源的記錄

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)

參數

operations
IScriptExecutionsOperations

這個擴充方法的作業群組。

resourceGroupName
String

資源群組的名稱。 名稱不區分大小寫。

privateCloudName
String

私人雲端的名稱

scriptExecutionName
String

使用者叫用腳本執行資源的名稱

scriptOutputStreamType
IList<String>

要傳回之所需輸出資料流程的名稱。 如果未提供,則會全部傳回 。 空陣列不會傳回任何專案

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於