你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ScriptExecutionResource.GetExecutionLogsAsync 方法

定义

返回脚本执行资源的日志

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/scriptExecutions/{scriptExecutionName}/getExecutionLogs
  • 操作IdScriptExecutions_GetExecutionLogs
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Avs.ScriptExecutionResource>> GetExecutionLogsAsync (System.Collections.Generic.IEnumerable<Azure.ResourceManager.Avs.Models.ScriptOutputStreamType> scriptOutputStreamType = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetExecutionLogsAsync : seq<Azure.ResourceManager.Avs.Models.ScriptOutputStreamType> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Avs.ScriptExecutionResource>>
override this.GetExecutionLogsAsync : seq<Azure.ResourceManager.Avs.Models.ScriptOutputStreamType> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Avs.ScriptExecutionResource>>
Public Overridable Function GetExecutionLogsAsync (Optional scriptOutputStreamType As IEnumerable(Of ScriptOutputStreamType) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ScriptExecutionResource))

参数

scriptOutputStreamType
IEnumerable<ScriptOutputStreamType>

要返回的所需输出流的名称。 如果未提供, 将返回 all。 空数组不会返回任何内容。

cancellationToken
CancellationToken

要使用的取消标记。

返回

适用于