Skip to content

Commit ce16093

Browse files
[AutoRelease] t2-network-2024-12-13-54887(can only be merged by SDK owner) (Azure#38867)
* code and test * update testcases * Update CHANGELOG.md * Update CHANGELOG.md * update-testcase --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]> Co-authored-by: ChenxiJiang333 <[email protected]>
1 parent 10033b8 commit ce16093

File tree

1,137 files changed

+37185
-19693
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,137 files changed

+37185
-19693
lines changed

sdk/network/azure-mgmt-network/CHANGELOG.md

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,82 @@
11
# Release History
22

3+
## 28.1.0 (2024-12-20)
4+
5+
### Features Added
6+
7+
- Client `NetworkManagementClient` added operation group `ipam_pools`
8+
- Client `NetworkManagementClient` added operation group `static_cidrs`
9+
- Client `NetworkManagementClient` added operation group `reachability_analysis_intents`
10+
- Client `NetworkManagementClient` added operation group `reachability_analysis_runs`
11+
- Client `NetworkManagementClient` added operation group `verifier_workspaces`
12+
- Enum `AddressPrefixType` added member `NETWORK_GROUP`
13+
- Model `AddressSpace` added property `ipam_pool_prefix_allocations`
14+
- Model `BastionHost` added property `enable_private_only_bastion`
15+
- Enum `FirewallPolicyIDPSSignatureDirection` added member `FIVE`
16+
- Model `NetworkInterface` added property `default_outbound_connectivity_enabled`
17+
- Enum `ProvisioningState` added member `CANCELED`
18+
- Enum `ProvisioningState` added member `CREATING`
19+
- Model `SecurityAdminConfiguration` added property `network_group_address_space_aggregation_option`
20+
- Model `Subnet` added property `ipam_pool_prefix_allocations`
21+
- Added enum `AddressSpaceAggregationOption`
22+
- Added model `CommonErrorAdditionalInfo`
23+
- Added model `CommonErrorDetail`
24+
- Added model `CommonErrorResponse`
25+
- Added model `CommonProxyResource`
26+
- Added model `CommonResource`
27+
- Added model `CommonTrackedResource`
28+
- Added model `ExpressRouteFailoverCircuitResourceDetails`
29+
- Added model `ExpressRouteFailoverConnectionResourceDetails`
30+
- Added model `ExpressRouteFailoverRedundantRoute`
31+
- Added model `ExpressRouteFailoverSingleTestDetails`
32+
- Added model `ExpressRouteFailoverStopApiParameters`
33+
- Added model `ExpressRouteFailoverTestDetails`
34+
- Added model `FailoverConnectionDetails`
35+
- Added enum `FailoverConnectionStatus`
36+
- Added enum `FailoverTestStatus`
37+
- Added enum `FailoverTestStatusForSingleTest`
38+
- Added enum `FailoverTestType`
39+
- Added model `IPTraffic`
40+
- Added model `IntentContent`
41+
- Added enum `IpType`
42+
- Added model `IpamPool`
43+
- Added model `IpamPoolList`
44+
- Added model `IpamPoolPrefixAllocation`
45+
- Added model `IpamPoolProperties`
46+
- Added model `IpamPoolUpdate`
47+
- Added model `IpamPoolUpdateProperties`
48+
- Added model `LoadBalancerHealthPerRule`
49+
- Added model `LoadBalancerHealthPerRulePerBackendAddress`
50+
- Added enum `NetworkProtocol`
51+
- Added model `PoolAssociation`
52+
- Added model `PoolAssociationList`
53+
- Added model `PoolUsage`
54+
- Added model `ReachabilityAnalysisIntent`
55+
- Added model `ReachabilityAnalysisIntentListResult`
56+
- Added model `ReachabilityAnalysisIntentProperties`
57+
- Added model `ReachabilityAnalysisRun`
58+
- Added model `ReachabilityAnalysisRunListResult`
59+
- Added model `ReachabilityAnalysisRunProperties`
60+
- Added model `ResourceBasics`
61+
- Added model `StaticCidr`
62+
- Added model `StaticCidrList`
63+
- Added model `StaticCidrProperties`
64+
- Added model `VerifierWorkspace`
65+
- Added model `VerifierWorkspaceListResult`
66+
- Added model `VerifierWorkspaceProperties`
67+
- Added model `VerifierWorkspaceUpdate`
68+
- Added model `VerifierWorkspaceUpdateProperties`
69+
- Operation group `LoadBalancerLoadBalancingRulesOperations` added method `begin_health`
70+
- Operation group `VirtualNetworkGatewaysOperations` added method `begin_get_failover_all_test_details`
71+
- Operation group `VirtualNetworkGatewaysOperations` added method `begin_get_failover_single_test_details`
72+
- Operation group `VirtualNetworkGatewaysOperations` added method `begin_start_express_route_site_failover_simulation`
73+
- Operation group `VirtualNetworkGatewaysOperations` added method `begin_stop_express_route_site_failover_simulation`
74+
- Added operation group `IpamPoolsOperations`
75+
- Added operation group `ReachabilityAnalysisIntentsOperations`
76+
- Added operation group `ReachabilityAnalysisRunsOperations`
77+
- Added operation group `StaticCidrsOperations`
78+
- Added operation group `VerifierWorkspacesOperations`
79+
380
## 28.0.0 (2024-11-01)
481

582
### Breaking Changes

sdk/network/azure-mgmt-network/azure/mgmt/network/__init__.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,28 @@
55
# Code generated by Microsoft (R) AutoRest Code Generator.
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
8+
# pylint: disable=wrong-import-position
89

9-
from ._network_management_client import NetworkManagementClient
10+
from typing import TYPE_CHECKING
11+
12+
if TYPE_CHECKING:
13+
from ._patch import * # pylint: disable=unused-wildcard-import
14+
15+
from ._network_management_client import NetworkManagementClient # type: ignore
1016
from ._version import VERSION
1117

1218
__version__ = VERSION
1319

1420
try:
1521
from ._patch import __all__ as _patch_all
16-
from ._patch import * # pylint: disable=unused-wildcard-import
22+
from ._patch import *
1723
except ImportError:
1824
_patch_all = []
1925
from ._patch import patch_sdk as _patch_sdk
2026

2127
__all__ = [
2228
"NetworkManagementClient",
2329
]
24-
__all__.extend([p for p in _patch_all if p not in __all__])
30+
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
2531

2632
_patch_sdk()

sdk/network/azure-mgmt-network/azure/mgmt/network/_configuration.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@
1414
from ._version import VERSION
1515

1616
if TYPE_CHECKING:
17-
# pylint: disable=unused-import,ungrouped-imports
1817
from azure.core.credentials import TokenCredential
1918

2019

21-
class NetworkManagementClientConfiguration: # pylint: disable=too-many-instance-attributes,name-too-long
20+
class NetworkManagementClientConfiguration: # pylint: disable=too-many-instance-attributes
2221
"""Configuration for NetworkManagementClient.
2322
2423
Note that all parameters used to create this instance are saved as instance

sdk/network/azure-mgmt-network/azure/mgmt/network/_network_management_client.py

Lines changed: 45 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# pylint: disable=too-many-lines
12
# coding=utf-8
23
# --------------------------------------------------------------------------
34
# Copyright (c) Microsoft Corporation. All rights reserved.
@@ -73,6 +74,7 @@
7374
InboundSecurityRuleOperations,
7475
IpAllocationsOperations,
7576
IpGroupsOperations,
77+
IpamPoolsOperations,
7678
LoadBalancerBackendAddressPoolsOperations,
7779
LoadBalancerFrontendIPConfigurationsOperations,
7880
LoadBalancerLoadBalancingRulesOperations,
@@ -108,6 +110,8 @@
108110
PrivateLinkServicesOperations,
109111
PublicIPAddressesOperations,
110112
PublicIPPrefixesOperations,
113+
ReachabilityAnalysisIntentsOperations,
114+
ReachabilityAnalysisRunsOperations,
111115
ResourceNavigationLinksOperations,
112116
RouteFilterRulesOperations,
113117
RouteFiltersOperations,
@@ -129,10 +133,12 @@
129133
ServiceEndpointPolicyDefinitionsOperations,
130134
ServiceTagInformationOperations,
131135
ServiceTagsOperations,
136+
StaticCidrsOperations,
132137
StaticMembersOperations,
133138
SubnetsOperations,
134139
SubscriptionNetworkManagerConnectionsOperations,
135140
UsagesOperations,
141+
VerifierWorkspacesOperations,
136142
VipSwapOperations,
137143
VirtualApplianceSitesOperations,
138144
VirtualApplianceSkusOperations,
@@ -164,7 +170,6 @@
164170
)
165171

166172
if TYPE_CHECKING:
167-
# pylint: disable=unused-import,ungrouped-imports
168173
from azure.core.credentials import TokenCredential
169174

170175

@@ -295,6 +300,10 @@ class NetworkManagementClient(
295300
FirewallPolicyRuleCollectionGroupDraftsOperations operations
296301
:vartype firewall_policy_rule_collection_group_drafts:
297302
azure.mgmt.network.operations.FirewallPolicyRuleCollectionGroupDraftsOperations
303+
:ivar ipam_pools: IpamPoolsOperations operations
304+
:vartype ipam_pools: azure.mgmt.network.operations.IpamPoolsOperations
305+
:ivar static_cidrs: StaticCidrsOperations operations
306+
:vartype static_cidrs: azure.mgmt.network.operations.StaticCidrsOperations
298307
:ivar ip_allocations: IpAllocationsOperations operations
299308
:vartype ip_allocations: azure.mgmt.network.operations.IpAllocationsOperations
300309
:ivar ip_groups: IpGroupsOperations operations
@@ -356,6 +365,15 @@ class NetworkManagementClient(
356365
:vartype network_groups: azure.mgmt.network.operations.NetworkGroupsOperations
357366
:ivar static_members: StaticMembersOperations operations
358367
:vartype static_members: azure.mgmt.network.operations.StaticMembersOperations
368+
:ivar network_manager_routing_configurations: NetworkManagerRoutingConfigurationsOperations
369+
operations
370+
:vartype network_manager_routing_configurations:
371+
azure.mgmt.network.operations.NetworkManagerRoutingConfigurationsOperations
372+
:ivar routing_rule_collections: RoutingRuleCollectionsOperations operations
373+
:vartype routing_rule_collections:
374+
azure.mgmt.network.operations.RoutingRuleCollectionsOperations
375+
:ivar routing_rules: RoutingRulesOperations operations
376+
:vartype routing_rules: azure.mgmt.network.operations.RoutingRulesOperations
359377
:ivar scope_connections: ScopeConnectionsOperations operations
360378
:vartype scope_connections: azure.mgmt.network.operations.ScopeConnectionsOperations
361379
:ivar security_admin_configurations: SecurityAdminConfigurationsOperations operations
@@ -373,15 +391,6 @@ class NetworkManagementClient(
373391
azure.mgmt.network.operations.SecurityUserRuleCollectionsOperations
374392
:ivar security_user_rules: SecurityUserRulesOperations operations
375393
:vartype security_user_rules: azure.mgmt.network.operations.SecurityUserRulesOperations
376-
:ivar network_manager_routing_configurations: NetworkManagerRoutingConfigurationsOperations
377-
operations
378-
:vartype network_manager_routing_configurations:
379-
azure.mgmt.network.operations.NetworkManagerRoutingConfigurationsOperations
380-
:ivar routing_rule_collections: RoutingRuleCollectionsOperations operations
381-
:vartype routing_rule_collections:
382-
azure.mgmt.network.operations.RoutingRuleCollectionsOperations
383-
:ivar routing_rules: RoutingRulesOperations operations
384-
:vartype routing_rules: azure.mgmt.network.operations.RoutingRulesOperations
385394
:ivar network_profiles: NetworkProfilesOperations operations
386395
:vartype network_profiles: azure.mgmt.network.operations.NetworkProfilesOperations
387396
:ivar network_security_groups: NetworkSecurityGroupsOperations operations
@@ -390,6 +399,14 @@ class NetworkManagementClient(
390399
:vartype security_rules: azure.mgmt.network.operations.SecurityRulesOperations
391400
:ivar default_security_rules: DefaultSecurityRulesOperations operations
392401
:vartype default_security_rules: azure.mgmt.network.operations.DefaultSecurityRulesOperations
402+
:ivar reachability_analysis_intents: ReachabilityAnalysisIntentsOperations operations
403+
:vartype reachability_analysis_intents:
404+
azure.mgmt.network.operations.ReachabilityAnalysisIntentsOperations
405+
:ivar reachability_analysis_runs: ReachabilityAnalysisRunsOperations operations
406+
:vartype reachability_analysis_runs:
407+
azure.mgmt.network.operations.ReachabilityAnalysisRunsOperations
408+
:ivar verifier_workspaces: VerifierWorkspacesOperations operations
409+
:vartype verifier_workspaces: azure.mgmt.network.operations.VerifierWorkspacesOperations
393410
:ivar network_virtual_appliances: NetworkVirtualAppliancesOperations operations
394411
:vartype network_virtual_appliances:
395412
azure.mgmt.network.operations.NetworkVirtualAppliancesOperations
@@ -706,6 +723,8 @@ def __init__(
706723
self.firewall_policy_rule_collection_group_drafts = FirewallPolicyRuleCollectionGroupDraftsOperations(
707724
self._client, self._config, self._serialize, self._deserialize
708725
)
726+
self.ipam_pools = IpamPoolsOperations(self._client, self._config, self._serialize, self._deserialize)
727+
self.static_cidrs = StaticCidrsOperations(self._client, self._config, self._serialize, self._deserialize)
709728
self.ip_allocations = IpAllocationsOperations(self._client, self._config, self._serialize, self._deserialize)
710729
self.ip_groups = IpGroupsOperations(self._client, self._config, self._serialize, self._deserialize)
711730
self.load_balancers = LoadBalancersOperations(self._client, self._config, self._serialize, self._deserialize)
@@ -760,6 +779,13 @@ def __init__(
760779
)
761780
self.network_groups = NetworkGroupsOperations(self._client, self._config, self._serialize, self._deserialize)
762781
self.static_members = StaticMembersOperations(self._client, self._config, self._serialize, self._deserialize)
782+
self.network_manager_routing_configurations = NetworkManagerRoutingConfigurationsOperations(
783+
self._client, self._config, self._serialize, self._deserialize
784+
)
785+
self.routing_rule_collections = RoutingRuleCollectionsOperations(
786+
self._client, self._config, self._serialize, self._deserialize
787+
)
788+
self.routing_rules = RoutingRulesOperations(self._client, self._config, self._serialize, self._deserialize)
763789
self.scope_connections = ScopeConnectionsOperations(
764790
self._client, self._config, self._serialize, self._deserialize
765791
)
@@ -779,13 +805,6 @@ def __init__(
779805
self.security_user_rules = SecurityUserRulesOperations(
780806
self._client, self._config, self._serialize, self._deserialize
781807
)
782-
self.network_manager_routing_configurations = NetworkManagerRoutingConfigurationsOperations(
783-
self._client, self._config, self._serialize, self._deserialize
784-
)
785-
self.routing_rule_collections = RoutingRuleCollectionsOperations(
786-
self._client, self._config, self._serialize, self._deserialize
787-
)
788-
self.routing_rules = RoutingRulesOperations(self._client, self._config, self._serialize, self._deserialize)
789808
self.network_profiles = NetworkProfilesOperations(
790809
self._client, self._config, self._serialize, self._deserialize
791810
)
@@ -796,6 +815,15 @@ def __init__(
796815
self.default_security_rules = DefaultSecurityRulesOperations(
797816
self._client, self._config, self._serialize, self._deserialize
798817
)
818+
self.reachability_analysis_intents = ReachabilityAnalysisIntentsOperations(
819+
self._client, self._config, self._serialize, self._deserialize
820+
)
821+
self.reachability_analysis_runs = ReachabilityAnalysisRunsOperations(
822+
self._client, self._config, self._serialize, self._deserialize
823+
)
824+
self.verifier_workspaces = VerifierWorkspacesOperations(
825+
self._client, self._config, self._serialize, self._deserialize
826+
)
799827
self.network_virtual_appliances = NetworkVirtualAppliancesOperations(
800828
self._client, self._config, self._serialize, self._deserialize
801829
)

0 commit comments

Comments
 (0)