-
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] network/resource-manager (#3154)
* [AutoPR network/resource-manager] Added NetworkConfigurationDiagnostic rest API + example (#3095) * Generated from 6ad7c8a080cf905ffcbe9c42c0382059ce753188 Added NetworkConfigurationDiagnostic rest API + example * Generated from 6909b52c5e23056444d410930b8702e7540811e2 Removed 'read-only' from queries in NetworkConfigurationDiagnostic API * Generated from 6e6b30b52851dcd98880dc07125d2fc2faf97576 Added long-running-operation-options: final-state-via location to networkConfigurationDiagnostic API * Generated from f12e6b41326c05506097b75dce076c297074a3d2 Fixed example name * Generated from 9e5daf5f1cd3c59140eec06d6fb55e6456323c54 Fixed reference to ErrorDetails * Generated from 0858a238c818aa119584a9d61deddc2a26494de9 Fixed response for QueryConnectionMonitors API + fixed example * Generated from 377e5cc3f8f10f71d7816d78462fbb68685453bd Fixed types for latencies in networkwatcher.json * Generated from 6b8368dd434d71e004539fe305ae2c2c9cc100a3 (#3166) Removed QueryConnectionMonitors API * Rebuild by #3154 * Generated from c588675255041df691fc413f19c346a30538fbb9 (#3189) Fetch upstream master * Make 2018-07-01 the default * Network 2.1.0
- Loading branch information
1 parent
011b1f0
commit 930047d
Showing
604 changed files
with
56,231 additions
and
1,727 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
198 changes: 195 additions & 3 deletions
198
azure-mgmt-network/azure/mgmt/network/network_management_client.py
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
41 changes: 41 additions & 0 deletions
41
azure-mgmt-network/azure/mgmt/network/v2018_06_01/models/error_response.py
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,41 @@ | ||
# 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 | ||
from msrest.exceptions import HttpOperationError | ||
|
||
|
||
class ErrorResponse(Model): | ||
"""The error object. | ||
:param error: Error. | ||
:type error: ~azure.mgmt.network.v2018_06_01.models.ErrorDetails | ||
""" | ||
|
||
_attribute_map = { | ||
'error': {'key': 'error', 'type': 'ErrorDetails'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(ErrorResponse, self).__init__(**kwargs) | ||
self.error = kwargs.get('error', None) | ||
|
||
|
||
class ErrorResponseException(HttpOperationError): | ||
"""Server responsed with exception of type: 'ErrorResponse'. | ||
:param deserialize: A deserializer | ||
:param response: Server response to be deserialized. | ||
""" | ||
|
||
def __init__(self, deserialize, response, *args): | ||
|
||
super(ErrorResponseException, self).__init__(deserialize, response, 'ErrorResponse', *args) |
41 changes: 41 additions & 0 deletions
41
azure-mgmt-network/azure/mgmt/network/v2018_06_01/models/error_response_py3.py
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,41 @@ | ||
# 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 | ||
from msrest.exceptions import HttpOperationError | ||
|
||
|
||
class ErrorResponse(Model): | ||
"""The error object. | ||
:param error: Error. | ||
:type error: ~azure.mgmt.network.v2018_06_01.models.ErrorDetails | ||
""" | ||
|
||
_attribute_map = { | ||
'error': {'key': 'error', 'type': 'ErrorDetails'}, | ||
} | ||
|
||
def __init__(self, *, error=None, **kwargs) -> None: | ||
super(ErrorResponse, self).__init__(**kwargs) | ||
self.error = error | ||
|
||
|
||
class ErrorResponseException(HttpOperationError): | ||
"""Server responsed with exception of type: 'ErrorResponse'. | ||
:param deserialize: A deserializer | ||
:param response: Server response to be deserialized. | ||
""" | ||
|
||
def __init__(self, deserialize, response, *args): | ||
|
||
super(ErrorResponseException, self).__init__(deserialize, response, 'ErrorResponse', *args) |
45 changes: 45 additions & 0 deletions
45
azure-mgmt-network/azure/mgmt/network/v2018_06_01/models/evaluated_network_security_group.py
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,45 @@ | ||
# 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 EvaluatedNetworkSecurityGroup(Model): | ||
"""Results of network security group evaluation. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:param network_security_group_id: Network security group ID. | ||
:type network_security_group_id: str | ||
:param matched_rule: | ||
:type matched_rule: ~azure.mgmt.network.v2018_06_01.models.MatchedRule | ||
:ivar rules_evaluation_result: List of network security rules evaluation | ||
results. | ||
:vartype rules_evaluation_result: | ||
list[~azure.mgmt.network.v2018_06_01.models.NetworkSecurityRulesEvaluationResult] | ||
""" | ||
|
||
_validation = { | ||
'rules_evaluation_result': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'network_security_group_id': {'key': 'networkSecurityGroupId', 'type': 'str'}, | ||
'matched_rule': {'key': 'matchedRule', 'type': 'MatchedRule'}, | ||
'rules_evaluation_result': {'key': 'rulesEvaluationResult', 'type': '[NetworkSecurityRulesEvaluationResult]'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(EvaluatedNetworkSecurityGroup, self).__init__(**kwargs) | ||
self.network_security_group_id = kwargs.get('network_security_group_id', None) | ||
self.matched_rule = kwargs.get('matched_rule', None) | ||
self.rules_evaluation_result = None |
45 changes: 45 additions & 0 deletions
45
...gmt-network/azure/mgmt/network/v2018_06_01/models/evaluated_network_security_group_py3.py
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,45 @@ | ||
# 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 EvaluatedNetworkSecurityGroup(Model): | ||
"""Results of network security group evaluation. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:param network_security_group_id: Network security group ID. | ||
:type network_security_group_id: str | ||
:param matched_rule: | ||
:type matched_rule: ~azure.mgmt.network.v2018_06_01.models.MatchedRule | ||
:ivar rules_evaluation_result: List of network security rules evaluation | ||
results. | ||
:vartype rules_evaluation_result: | ||
list[~azure.mgmt.network.v2018_06_01.models.NetworkSecurityRulesEvaluationResult] | ||
""" | ||
|
||
_validation = { | ||
'rules_evaluation_result': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'network_security_group_id': {'key': 'networkSecurityGroupId', 'type': 'str'}, | ||
'matched_rule': {'key': 'matchedRule', 'type': 'MatchedRule'}, | ||
'rules_evaluation_result': {'key': 'rulesEvaluationResult', 'type': '[NetworkSecurityRulesEvaluationResult]'}, | ||
} | ||
|
||
def __init__(self, *, network_security_group_id: str=None, matched_rule=None, **kwargs) -> None: | ||
super(EvaluatedNetworkSecurityGroup, self).__init__(**kwargs) | ||
self.network_security_group_id = network_security_group_id | ||
self.matched_rule = matched_rule | ||
self.rules_evaluation_result = None |
Oops, something went wrong.