Skip to content

Commit

Permalink
[AutoRelease] t2-network-2024-07-01-63722(can only be merged by SDK o…
Browse files Browse the repository at this point in the history
…wner) (#36304)

* code and test

* Update assets.json

* Update testcases

* Update assets.json

* Update conftest.py

* Update testcases

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <v-chenjiang@microsoft.com>
Co-authored-by: ChenxiJiang333 <119990644+ChenxiJiang333@users.noreply.github.com>
  • Loading branch information
3 people authored Jul 25, 2024
1 parent 0f4d0e8 commit 6769a47
Show file tree
Hide file tree
Showing 778 changed files with 215,442 additions and 3,769 deletions.
18 changes: 18 additions & 0 deletions sdk/network/azure-mgmt-network/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Release History

## 26.0.0 (2024-07-21)

### Features Added

- Added operation InboundSecurityRuleOperations.get
- Model BastionHost has a new parameter enable_session_recording
- Model ExpressRouteCircuitAuthorization has a new parameter connection_resource_uri
- Model FlowLog has a new parameter identity
- Model FlowLogInformation has a new parameter identity
- Model Probe has a new parameter no_healthy_backends_behavior
- Model ServiceEndpointPropertiesFormat has a new parameter network_identifier
- Model VirtualNetworkGateway has a new parameter identity
- Operation ExpressRouteCrossConnectionsOperations.list has a new optional parameter filter

### Breaking Changes

- Model FirewallPacketCaptureParameters no longer has parameter id

## 25.4.0 (2024-05-27)

### Features Added
Expand Down
9 changes: 5 additions & 4 deletions sdk/network/azure-mgmt-network/_meta.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"commit": "53af822b054f0ae1cfa3858e6b7441b6a917d7f9",
"commit": "fb8cd14824741eaaad696513e945913e659da396",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.10.2",
"use": [
"@autorest/python@6.13.16",
"@autorest/python@6.13.19",
"@autorest/modelerfour@4.27.0"
],
"autorest_command": "autorest specification/network/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.13.16 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False",
"autorest_command": "autorest specification/network/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.13.19 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False",
"readme": "specification/network/resource-manager/readme.md",
"package-2023-02": "2023-11-08 10:08:29 -0800 4b55e2d0e29fb2e829985485c9150f46157c3b80 Microsoft.Network/stable/2023-02-01/virtualWan.json",
"package-2021-02": "2021-09-14 19:30:27 -0700 54f1c87938269d4706629dc04c26ee1f3634585a Microsoft.Network/stable/2021-02-01/privateLinkService.json",
Expand Down Expand Up @@ -35,5 +35,6 @@
"package-2023-05": "2024-03-26 18:15:54 -0700 22d853c1cb86c38084651732475290eba0cc78a2 Microsoft.Network/stable/2023-05-01/azureFirewall.json",
"package-2023-06": "2024-03-26 18:15:54 -0700 22d853c1cb86c38084651732475290eba0cc78a2 Microsoft.Network/stable/2023-06-01/azureFirewall.json",
"package-2023-09": "2024-05-07 23:29:27 -0600 0f21c214f0f5b4180ec71655b36b8fbd40fd1ceb Microsoft.Network/stable/2023-09-01/virtualWan.json",
"package-2023-11": "2024-05-15 17:57:08 -0700 222ecb7f96343059c8434c7e1f11ad892ffd8c27 Microsoft.Network/stable/2023-11-01/networkVirtualAppliance.json"
"package-2023-11": "2024-06-19 23:36:52 +0530 b48d5d72073a296514d3d4db77887d8711526ccc Microsoft.Network/stable/2023-11-01/virtualNetwork.json",
"package-2024-01": "2024-06-27 16:38:50 -0700 282cbb1ece88b61690962c14eff25df3b669b3c4 Microsoft.Network/stable/2024-01-01/routeFilter.json"
}
8 changes: 4 additions & 4 deletions sdk/network/azure-mgmt-network/assets.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "python",
"TagPrefix": "python/network/azure-mgmt-network",
"Tag": "python/network/azure-mgmt-network_a5909e94e2"
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "python",
"TagPrefix": "python/network/azure-mgmt-network",
"Tag": "python/network/azure-mgmt-network_7efacdc4ed"
}
272 changes: 136 additions & 136 deletions sdk/network/azure-mgmt-network/azure/mgmt/network/_client.py

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -1447,7 +1447,7 @@ def _deserialize(self, target_obj, data):
elif isinstance(response, type) and issubclass(response, Enum):
return self.deserialize_enum(data, response)

if data is None:
if data is None or data is CoreNull:
return data
try:
attributes = response._attribute_map # type: ignore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "25.4.0"
VERSION = "26.0.0"
272 changes: 136 additions & 136 deletions sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_client.py

Large diffs are not rendered by default.

2,164 changes: 1,136 additions & 1,028 deletions sdk/network/azure-mgmt-network/azure/mgmt/network/aio/operations/_operations.py

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -1021,6 +1021,7 @@
NicTypeInRequest,
NicTypeInResponse,
SharingScope,
ProbeNoHealthyBackendsBehavior,
)

from ._patch import __all__ as _patch_all
Expand Down Expand Up @@ -2040,6 +2041,7 @@
"NicTypeInRequest",
"NicTypeInResponse",
"SharingScope",
"ProbeNoHealthyBackendsBehavior",
]
__all__.extend([p for p in _patch_all if p not in __all__])
_patch_sdk()
Original file line number Diff line number Diff line change
Expand Up @@ -1319,11 +1319,12 @@ class VpnNatRuleType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
DYNAMIC = "Dynamic"

class BastionHostSkuName(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The name of this Bastion Host."""
"""The name of the sku of this Bastion Host."""

BASIC = "Basic"
STANDARD = "Standard"
DEVELOPER = "Developer"
PREMIUM = "Premium"

class DeleteOptions(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Specify what happens to the public IP address when the VM using it is deleted."""
Expand Down Expand Up @@ -1909,3 +1910,13 @@ class SharingScope(str, Enum, metaclass=CaseInsensitiveEnumMeta):
TENANT = "Tenant"
DELEGATED_SERVICES = "DelegatedServices"

class ProbeNoHealthyBackendsBehavior(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Determines how new connections are handled by the load balancer when all backend instances are
probed down.
"""

ALL_PROBED_DOWN = "AllProbedDown"
"""No new flows will be sent to the backend pool."""
ALL_PROBED_UP = "AllProbedUp"
"""When all backend instances are probed down, incoming packets will be sent to all instances."""

Loading

0 comments on commit 6769a47

Please sign in to comment.