-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR web/resource-manager] Add networkTrace resource and APIs (#3274)
* Generated from cb01370bae16cce8a604d118f5378f5655894566 Add networkTrace resource and APIs * Generated from 4cf9c58d93370fcbbb947706137465706962d979 Fix file name typo of GetWebSiteNetworkTraces.json * Generated from 890632e8e01a40080edde5f84b6a8aa1178c14c3 Fix network trace APIs
- Loading branch information
1 parent
afa007e
commit d2652dd
Showing
4 changed files
with
591 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class NetworkTrace(Model): | ||
"""Network trace. | ||
:param path: Local file path for the captured network trace file. | ||
:type path: str | ||
:param status: Current status of the network trace operation, same as | ||
Operation.Status (InProgress/Succeeded/Failed). | ||
:type status: str | ||
:param message: Detailed message of a network trace operation, e.g. error | ||
message in case of failure. | ||
:type message: str | ||
""" | ||
|
||
_attribute_map = { | ||
'path': {'key': 'path', 'type': 'str'}, | ||
'status': {'key': 'status', 'type': 'str'}, | ||
'message': {'key': 'message', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(NetworkTrace, self).__init__(**kwargs) | ||
self.path = kwargs.get('path', None) | ||
self.status = kwargs.get('status', None) | ||
self.message = kwargs.get('message', None) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class NetworkTrace(Model): | ||
"""Network trace. | ||
:param path: Local file path for the captured network trace file. | ||
:type path: str | ||
:param status: Current status of the network trace operation, same as | ||
Operation.Status (InProgress/Succeeded/Failed). | ||
:type status: str | ||
:param message: Detailed message of a network trace operation, e.g. error | ||
message in case of failure. | ||
:type message: str | ||
""" | ||
|
||
_attribute_map = { | ||
'path': {'key': 'path', 'type': 'str'}, | ||
'status': {'key': 'status', 'type': 'str'}, | ||
'message': {'key': 'message', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, path: str=None, status: str=None, message: str=None, **kwargs) -> None: | ||
super(NetworkTrace, self).__init__(**kwargs) | ||
self.path = path | ||
self.status = status | ||
self.message = message |
Oops, something went wrong.