IDeploymentScriptsOperations.GetLogsDefaultWithHttpMessagesAsync メソッド

定義

特定のデプロイ スクリプト名のデプロイ スクリプト ログを取得します。

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.ResourceManager.Models.ScriptLog>> GetLogsDefaultWithHttpMessagesAsync (string resourceGroupName, string scriptName, int? tail = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetLogsDefaultWithHttpMessagesAsync : string * string * Nullable<int> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.ResourceManager.Models.ScriptLog>>
Public Function GetLogsDefaultWithHttpMessagesAsync (resourceGroupName As String, scriptName As String, Optional tail As Nullable(Of Integer) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of ScriptLog))

パラメーター

resourceGroupName
String

リソース グループの名前。 名前の大文字と小文字は区別されます。

scriptName
String

デプロイ スクリプトの名前。

tail
Nullable<Int32>

デプロイ スクリプト ログの末尾から表示する行数。 有効な値は、1000 までの正の数値です。 'tail' が指定されていない場合は、使用可能なすべてのログが 4 mb のコンテナー インスタンス ログ容量まで表示されます。

customHeaders
Dictionary<String,List<String>>

要求に追加されるヘッダー。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

例外

操作が無効な状態コードを返したときにスローされます

応答を逆シリアル化できない場合にスローされます

必須パラメーターが null の場合にスローされます

適用対象