Web Apps - Get Network Traces Slot
[説明] ネットワーク トレース キャプチャの名前付き操作を取得します (指定した場合はデプロイ スロット)。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/{operationId}?api-version=2023-01-01
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
name
|
path | True |
string |
アプリの名前。 |
operation
|
path | True |
string |
操作の GUID。 |
resource
|
path | True |
string |
リソースが属しているリソース グループの名前。 Regex pattern: |
slot
|
path | True |
string |
デプロイ スロットの名前。 スロットが指定されていない場合、API は運用スロットの操作を取得します。 |
subscription
|
path | True |
string |
Azure のサブスクリプション ID。 これは GUID 形式の文字列です (たとえば、000000000-0000-0000-0000-000000000000000000000000000000000000000000000000000000000000、 |
api-version
|
query | True |
string |
API バージョン |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
エラー応答をApp Serviceします。 |
セキュリティ
azure_auth
Azure Active Directory OAuth2 フロー
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
名前 | 説明 |
---|---|
user_impersonation | ユーザー アカウントの借用 |
例
Get NetworkTraces for a site
Sample Request
GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/SampleApp/slots/Production/networkTrace/c291433b-53ad-4c49-8cae-0a293eae1c6d?api-version=2023-01-01
Sample Response
[
{
"path": "D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip",
"status": "Succeeded",
"message": "Trace file has been saved as D:\\home\\LogFiles\\networktrace\\10.0.0.1_2018_02_01T00_00_00.zip"
}
]
定義
名前 | 説明 |
---|---|
Default |
エラー応答をApp Serviceします。 |
Details | |
Error |
エラー モデル。 |
Network |
ネットワーク トレース |
DefaultErrorResponse
エラー応答をApp Serviceします。
名前 | 型 | 説明 |
---|---|---|
error |
エラー モデル。 |
Details
名前 | 型 | 説明 |
---|---|---|
code |
string |
プログラムによってエラーを識別するための標準化された文字列。 |
message |
string |
詳細なエラーの説明とデバッグ情報。 |
target |
string |
詳細なエラーの説明とデバッグ情報。 |
Error
エラー モデル。
名前 | 型 | 説明 |
---|---|---|
code |
string |
プログラムによってエラーを識別するための標準化された文字列。 |
details |
Details[] |
詳細なエラー。 |
innererror |
string |
エラーのデバッグに関する詳細情報。 |
message |
string |
詳細なエラーの説明とデバッグ情報。 |
target |
string |
詳細なエラーの説明とデバッグ情報。 |
NetworkTrace
ネットワーク トレース
名前 | 型 | 説明 |
---|---|---|
message |
string |
ネットワーク トレース操作の詳細なメッセージ (エラーが発生した場合のエラー メッセージなど)。 |
path |
string |
キャプチャされたネットワーク トレース ファイルのローカル ファイル パス。 |
status |
string |
ネットワーク トレース操作の現在の状態。Operation.Status (InProgress/Succeeded/Failed) と同じです。 |