Skip to content

Commit

Permalink
[AutoRelease] t2-network-2024-12-13-54887(can only be merged by SDK o…
Browse files Browse the repository at this point in the history
…wner) (#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]>
  • Loading branch information
3 people authored Dec 20, 2024
1 parent 10033b8 commit ce16093
Show file tree
Hide file tree
Showing 1,137 changed files with 37,185 additions and 19,693 deletions.
77 changes: 77 additions & 0 deletions sdk/network/azure-mgmt-network/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,82 @@
# Release History

## 28.1.0 (2024-12-20)

### Features Added

- Client `NetworkManagementClient` added operation group `ipam_pools`
- Client `NetworkManagementClient` added operation group `static_cidrs`
- Client `NetworkManagementClient` added operation group `reachability_analysis_intents`
- Client `NetworkManagementClient` added operation group `reachability_analysis_runs`
- Client `NetworkManagementClient` added operation group `verifier_workspaces`
- Enum `AddressPrefixType` added member `NETWORK_GROUP`
- Model `AddressSpace` added property `ipam_pool_prefix_allocations`
- Model `BastionHost` added property `enable_private_only_bastion`
- Enum `FirewallPolicyIDPSSignatureDirection` added member `FIVE`
- Model `NetworkInterface` added property `default_outbound_connectivity_enabled`
- Enum `ProvisioningState` added member `CANCELED`
- Enum `ProvisioningState` added member `CREATING`
- Model `SecurityAdminConfiguration` added property `network_group_address_space_aggregation_option`
- Model `Subnet` added property `ipam_pool_prefix_allocations`
- Added enum `AddressSpaceAggregationOption`
- Added model `CommonErrorAdditionalInfo`
- Added model `CommonErrorDetail`
- Added model `CommonErrorResponse`
- Added model `CommonProxyResource`
- Added model `CommonResource`
- Added model `CommonTrackedResource`
- Added model `ExpressRouteFailoverCircuitResourceDetails`
- Added model `ExpressRouteFailoverConnectionResourceDetails`
- Added model `ExpressRouteFailoverRedundantRoute`
- Added model `ExpressRouteFailoverSingleTestDetails`
- Added model `ExpressRouteFailoverStopApiParameters`
- Added model `ExpressRouteFailoverTestDetails`
- Added model `FailoverConnectionDetails`
- Added enum `FailoverConnectionStatus`
- Added enum `FailoverTestStatus`
- Added enum `FailoverTestStatusForSingleTest`
- Added enum `FailoverTestType`
- Added model `IPTraffic`
- Added model `IntentContent`
- Added enum `IpType`
- Added model `IpamPool`
- Added model `IpamPoolList`
- Added model `IpamPoolPrefixAllocation`
- Added model `IpamPoolProperties`
- Added model `IpamPoolUpdate`
- Added model `IpamPoolUpdateProperties`
- Added model `LoadBalancerHealthPerRule`
- Added model `LoadBalancerHealthPerRulePerBackendAddress`
- Added enum `NetworkProtocol`
- Added model `PoolAssociation`
- Added model `PoolAssociationList`
- Added model `PoolUsage`
- Added model `ReachabilityAnalysisIntent`
- Added model `ReachabilityAnalysisIntentListResult`
- Added model `ReachabilityAnalysisIntentProperties`
- Added model `ReachabilityAnalysisRun`
- Added model `ReachabilityAnalysisRunListResult`
- Added model `ReachabilityAnalysisRunProperties`
- Added model `ResourceBasics`
- Added model `StaticCidr`
- Added model `StaticCidrList`
- Added model `StaticCidrProperties`
- Added model `VerifierWorkspace`
- Added model `VerifierWorkspaceListResult`
- Added model `VerifierWorkspaceProperties`
- Added model `VerifierWorkspaceUpdate`
- Added model `VerifierWorkspaceUpdateProperties`
- Operation group `LoadBalancerLoadBalancingRulesOperations` added method `begin_health`
- Operation group `VirtualNetworkGatewaysOperations` added method `begin_get_failover_all_test_details`
- Operation group `VirtualNetworkGatewaysOperations` added method `begin_get_failover_single_test_details`
- Operation group `VirtualNetworkGatewaysOperations` added method `begin_start_express_route_site_failover_simulation`
- Operation group `VirtualNetworkGatewaysOperations` added method `begin_stop_express_route_site_failover_simulation`
- Added operation group `IpamPoolsOperations`
- Added operation group `ReachabilityAnalysisIntentsOperations`
- Added operation group `ReachabilityAnalysisRunsOperations`
- Added operation group `StaticCidrsOperations`
- Added operation group `VerifierWorkspacesOperations`

## 28.0.0 (2024-11-01)

### Breaking Changes
Expand Down
12 changes: 9 additions & 3 deletions sdk/network/azure-mgmt-network/azure/mgmt/network/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,28 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
# pylint: disable=wrong-import-position

from ._network_management_client import NetworkManagementClient
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._network_management_client import NetworkManagementClient # type: ignore
from ._version import VERSION

__version__ = VERSION

try:
from ._patch import __all__ as _patch_all
from ._patch import * # pylint: disable=unused-wildcard-import
from ._patch import *
except ImportError:
_patch_all = []
from ._patch import patch_sdk as _patch_sdk

__all__ = [
"NetworkManagementClient",
]
__all__.extend([p for p in _patch_all if p not in __all__])
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore

_patch_sdk()
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@
from ._version import VERSION

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


class NetworkManagementClientConfiguration: # pylint: disable=too-many-instance-attributes,name-too-long
class NetworkManagementClientConfiguration: # pylint: disable=too-many-instance-attributes
"""Configuration for NetworkManagementClient.
Note that all parameters used to create this instance are saved as instance
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# pylint: disable=too-many-lines
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
Expand Down Expand Up @@ -73,6 +74,7 @@
InboundSecurityRuleOperations,
IpAllocationsOperations,
IpGroupsOperations,
IpamPoolsOperations,
LoadBalancerBackendAddressPoolsOperations,
LoadBalancerFrontendIPConfigurationsOperations,
LoadBalancerLoadBalancingRulesOperations,
Expand Down Expand Up @@ -108,6 +110,8 @@
PrivateLinkServicesOperations,
PublicIPAddressesOperations,
PublicIPPrefixesOperations,
ReachabilityAnalysisIntentsOperations,
ReachabilityAnalysisRunsOperations,
ResourceNavigationLinksOperations,
RouteFilterRulesOperations,
RouteFiltersOperations,
Expand All @@ -129,10 +133,12 @@
ServiceEndpointPolicyDefinitionsOperations,
ServiceTagInformationOperations,
ServiceTagsOperations,
StaticCidrsOperations,
StaticMembersOperations,
SubnetsOperations,
SubscriptionNetworkManagerConnectionsOperations,
UsagesOperations,
VerifierWorkspacesOperations,
VipSwapOperations,
VirtualApplianceSitesOperations,
VirtualApplianceSkusOperations,
Expand Down Expand Up @@ -164,7 +170,6 @@
)

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


Expand Down Expand Up @@ -295,6 +300,10 @@ class NetworkManagementClient(
FirewallPolicyRuleCollectionGroupDraftsOperations operations
:vartype firewall_policy_rule_collection_group_drafts:
azure.mgmt.network.operations.FirewallPolicyRuleCollectionGroupDraftsOperations
:ivar ipam_pools: IpamPoolsOperations operations
:vartype ipam_pools: azure.mgmt.network.operations.IpamPoolsOperations
:ivar static_cidrs: StaticCidrsOperations operations
:vartype static_cidrs: azure.mgmt.network.operations.StaticCidrsOperations
:ivar ip_allocations: IpAllocationsOperations operations
:vartype ip_allocations: azure.mgmt.network.operations.IpAllocationsOperations
:ivar ip_groups: IpGroupsOperations operations
Expand Down Expand Up @@ -356,6 +365,15 @@ class NetworkManagementClient(
:vartype network_groups: azure.mgmt.network.operations.NetworkGroupsOperations
:ivar static_members: StaticMembersOperations operations
:vartype static_members: azure.mgmt.network.operations.StaticMembersOperations
:ivar network_manager_routing_configurations: NetworkManagerRoutingConfigurationsOperations
operations
:vartype network_manager_routing_configurations:
azure.mgmt.network.operations.NetworkManagerRoutingConfigurationsOperations
:ivar routing_rule_collections: RoutingRuleCollectionsOperations operations
:vartype routing_rule_collections:
azure.mgmt.network.operations.RoutingRuleCollectionsOperations
:ivar routing_rules: RoutingRulesOperations operations
:vartype routing_rules: azure.mgmt.network.operations.RoutingRulesOperations
:ivar scope_connections: ScopeConnectionsOperations operations
:vartype scope_connections: azure.mgmt.network.operations.ScopeConnectionsOperations
:ivar security_admin_configurations: SecurityAdminConfigurationsOperations operations
Expand All @@ -373,15 +391,6 @@ class NetworkManagementClient(
azure.mgmt.network.operations.SecurityUserRuleCollectionsOperations
:ivar security_user_rules: SecurityUserRulesOperations operations
:vartype security_user_rules: azure.mgmt.network.operations.SecurityUserRulesOperations
:ivar network_manager_routing_configurations: NetworkManagerRoutingConfigurationsOperations
operations
:vartype network_manager_routing_configurations:
azure.mgmt.network.operations.NetworkManagerRoutingConfigurationsOperations
:ivar routing_rule_collections: RoutingRuleCollectionsOperations operations
:vartype routing_rule_collections:
azure.mgmt.network.operations.RoutingRuleCollectionsOperations
:ivar routing_rules: RoutingRulesOperations operations
:vartype routing_rules: azure.mgmt.network.operations.RoutingRulesOperations
:ivar network_profiles: NetworkProfilesOperations operations
:vartype network_profiles: azure.mgmt.network.operations.NetworkProfilesOperations
:ivar network_security_groups: NetworkSecurityGroupsOperations operations
Expand All @@ -390,6 +399,14 @@ class NetworkManagementClient(
:vartype security_rules: azure.mgmt.network.operations.SecurityRulesOperations
:ivar default_security_rules: DefaultSecurityRulesOperations operations
:vartype default_security_rules: azure.mgmt.network.operations.DefaultSecurityRulesOperations
:ivar reachability_analysis_intents: ReachabilityAnalysisIntentsOperations operations
:vartype reachability_analysis_intents:
azure.mgmt.network.operations.ReachabilityAnalysisIntentsOperations
:ivar reachability_analysis_runs: ReachabilityAnalysisRunsOperations operations
:vartype reachability_analysis_runs:
azure.mgmt.network.operations.ReachabilityAnalysisRunsOperations
:ivar verifier_workspaces: VerifierWorkspacesOperations operations
:vartype verifier_workspaces: azure.mgmt.network.operations.VerifierWorkspacesOperations
:ivar network_virtual_appliances: NetworkVirtualAppliancesOperations operations
:vartype network_virtual_appliances:
azure.mgmt.network.operations.NetworkVirtualAppliancesOperations
Expand Down Expand Up @@ -706,6 +723,8 @@ def __init__(
self.firewall_policy_rule_collection_group_drafts = FirewallPolicyRuleCollectionGroupDraftsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.ipam_pools = IpamPoolsOperations(self._client, self._config, self._serialize, self._deserialize)
self.static_cidrs = StaticCidrsOperations(self._client, self._config, self._serialize, self._deserialize)
self.ip_allocations = IpAllocationsOperations(self._client, self._config, self._serialize, self._deserialize)
self.ip_groups = IpGroupsOperations(self._client, self._config, self._serialize, self._deserialize)
self.load_balancers = LoadBalancersOperations(self._client, self._config, self._serialize, self._deserialize)
Expand Down Expand Up @@ -760,6 +779,13 @@ def __init__(
)
self.network_groups = NetworkGroupsOperations(self._client, self._config, self._serialize, self._deserialize)
self.static_members = StaticMembersOperations(self._client, self._config, self._serialize, self._deserialize)
self.network_manager_routing_configurations = NetworkManagerRoutingConfigurationsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.routing_rule_collections = RoutingRuleCollectionsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.routing_rules = RoutingRulesOperations(self._client, self._config, self._serialize, self._deserialize)
self.scope_connections = ScopeConnectionsOperations(
self._client, self._config, self._serialize, self._deserialize
)
Expand All @@ -779,13 +805,6 @@ def __init__(
self.security_user_rules = SecurityUserRulesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.network_manager_routing_configurations = NetworkManagerRoutingConfigurationsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.routing_rule_collections = RoutingRuleCollectionsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.routing_rules = RoutingRulesOperations(self._client, self._config, self._serialize, self._deserialize)
self.network_profiles = NetworkProfilesOperations(
self._client, self._config, self._serialize, self._deserialize
)
Expand All @@ -796,6 +815,15 @@ def __init__(
self.default_security_rules = DefaultSecurityRulesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.reachability_analysis_intents = ReachabilityAnalysisIntentsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.reachability_analysis_runs = ReachabilityAnalysisRunsOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.verifier_workspaces = VerifierWorkspacesOperations(
self._client, self._config, self._serialize, self._deserialize
)
self.network_virtual_appliances = NetworkVirtualAppliancesOperations(
self._client, self._config, self._serialize, self._deserialize
)
Expand Down
Loading

0 comments on commit ce16093

Please sign in to comment.