ITenantActivityLogsOperations.ListWithHttpMessagesAsync メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
テナントのアクティビティ ログを取得します。<br>サブスクリプションのアクティビティ ログを取得するために API に適用できるすべてのものは、この API (パラメーター、$filterなど) に<適用できます。ここで>指摘すべきことの 1 つは、この API はテナントの個々のサブスクリプションでログを取得 するのではなく 、テナント レベルで生成されたログのみを表示することです。
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Monitor.Models.EventData>>> ListWithHttpMessagesAsync (Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Monitor.Models.EventData> odataQuery = default, string select = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListWithHttpMessagesAsync : Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Monitor.Models.EventData> * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Monitor.Models.EventData>>>
Public Function ListWithHttpMessagesAsync (Optional odataQuery As ODataQuery(Of EventData) = Nothing, Optional select As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of EventData)))
パラメーター
- odataQuery
- ODataQuery<EventData>
操作に適用する OData パラメーター。
- select
- String
指定されたプロパティのみを使用してイベントをフェッチするために使用されます。<br>$select 引数は、返されるプロパティ名のコンマ区切りのリストです。 使用できる値は、authorization、claims、correlationId、description、eventDataId、eventName、eventTimestamp、httpRequest、level、operationId、operationName、properties、resourceGroupName、resourceProviderName、resourceId、status、submissionTimestamp、subStatus、subscriptionId です。
- customHeaders
- Dictionary<String,List<String>>
要求に追加されるヘッダー。
- cancellationToken
- CancellationToken
キャンセル トークン。
戻り値
例外
操作が無効な状態コードを返したときにスローされます
応答を逆シリアル化できない場合にスローされます
必須パラメーターが null の場合にスローされます
適用対象
Azure SDK for .NET