Skip to content

Commit 2db6c1a

Browse files
[AutoRelease] t2-network-2024-01-25-57447(can only be merged by SDK owner) (#34004)
* code and test * Update CHANGELOG.md --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]>
1 parent ef19493 commit 2db6c1a

File tree

750 files changed

+228796
-3618
lines changed

Some content is hidden

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

750 files changed

+228796
-3618
lines changed

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

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

3+
## 25.3.0 (2024-02-22)
4+
5+
### Features Added
6+
7+
- Model BastionHost has a new parameter zones
8+
39
## 25.2.0 (2023-12-18)
410

511
### Features Added

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Microsoft Azure SDK for Python
22

33
This is the Microsoft Azure Network Management Client Library.
4-
This package has been tested with Python 3.7+.
4+
This package has been tested with Python 3.8+.
55
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
66

77
## _Disclaimer_
@@ -12,7 +12,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For
1212

1313
### Prerequisites
1414

15-
- Python 3.7+ is required to use this package.
15+
- Python 3.8+ is required to use this package.
1616
- [Azure subscription](https://azure.microsoft.com/free/)
1717

1818
### Install the package

sdk/network/azure-mgmt-network/_meta.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"commit": "1ca8b90e85a54ad3de34aae95e319fe33b60a94b",
2+
"commit": "08d85e46a12811435ef64876f0274246a75fdb6e",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.9.7",
55
"use": [
@@ -33,5 +33,6 @@
3333
"package-2015-06split": "2019-06-13 02:17:06 +0300 f0f79bfa8191ac30cfb0f87665411769bd2063a6 Microsoft.Network/stable/2015-06-15/virtualNetworkGateway.json",
3434
"package-2023-04": "2023-11-08 10:08:29 -0800 4b55e2d0e29fb2e829985485c9150f46157c3b80 Microsoft.Network/stable/2023-04-01/virtualWan.json",
3535
"package-2023-05": "2023-11-08 10:08:29 -0800 4b55e2d0e29fb2e829985485c9150f46157c3b80 Microsoft.Network/stable/2023-05-01/virtualWan.json",
36-
"package-2023-06": "2023-11-08 10:08:29 -0800 4b55e2d0e29fb2e829985485c9150f46157c3b80 Microsoft.Network/stable/2023-06-01/webapplicationfirewall.json"
36+
"package-2023-06": "2023-11-08 10:08:29 -0800 4b55e2d0e29fb2e829985485c9150f46157c3b80 Microsoft.Network/stable/2023-06-01/webapplicationfirewall.json",
37+
"package-2023-09": "2023-12-28 00:43:34 +0530 a6237cbef545ae4cd0d3674a7cb3effa2b7b13d8 Microsoft.Network/stable/2023-09-01/webapplicationfirewall.json"
3738
}

sdk/network/azure-mgmt-network/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "python",
44
"TagPrefix": "python/network/azure-mgmt-network",
5-
"Tag": "python/network/azure-mgmt-network_1957a6dd48"
5+
"Tag": "python/network/azure-mgmt-network_fdab1ff6d4"
66
}

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

Lines changed: 133 additions & 133 deletions
Large diffs are not rendered by default.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
VERSION = "25.2.0"
9+
VERSION = "25.3.0"

sdk/network/azure-mgmt-network/azure/mgmt/network/aio/_client.py

Lines changed: 133 additions & 133 deletions
Large diffs are not rendered by default.

sdk/network/azure-mgmt-network/azure/mgmt/network/aio/operations/_operations.py

Lines changed: 1008 additions & 1008 deletions
Large diffs are not rendered by default.

sdk/network/azure-mgmt-network/azure/mgmt/network/models/_enums.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1274,6 +1274,8 @@ class VirtualNetworkPrivateEndpointNetworkPolicies(str, Enum, metaclass=CaseInse
12741274

12751275
ENABLED = "Enabled"
12761276
DISABLED = "Disabled"
1277+
NETWORK_SECURITY_GROUP_ENABLED = "NetworkSecurityGroupEnabled"
1278+
ROUTE_TABLE_ENABLED = "RouteTableEnabled"
12771279

12781280
class VirtualNetworkPrivateLinkServiceNetworkPolicies(str, Enum, metaclass=CaseInsensitiveEnumMeta):
12791281
"""Enable or Disable apply network policies on private link service in the subnet."""

sdk/network/azure-mgmt-network/azure/mgmt/network/models/_models.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5913,7 +5913,8 @@ class Subnet(SubResource): # pylint: disable=too-many-instance-attributes
59135913
"Succeeded", "Updating", "Deleting", and "Failed".
59145914
:vartype provisioning_state: str or ~azure.mgmt.network.models.ProvisioningState
59155915
:ivar private_endpoint_network_policies: Enable or Disable apply network policies on private
5916-
end point in the subnet. Known values are: "Enabled" and "Disabled".
5916+
end point in the subnet. Known values are: "Enabled", "Disabled",
5917+
"NetworkSecurityGroupEnabled", and "RouteTableEnabled".
59175918
:vartype private_endpoint_network_policies: str or
59185919
~azure.mgmt.network.models.VirtualNetworkPrivateEndpointNetworkPolicies
59195920
:ivar private_link_service_network_policies: Enable or Disable apply network policies on
@@ -6025,7 +6026,8 @@ def __init__( # pylint: disable=too-many-locals
60256026
:keyword delegations: An array of references to the delegations on the subnet.
60266027
:paramtype delegations: list[~azure.mgmt.network.models.Delegation]
60276028
:keyword private_endpoint_network_policies: Enable or Disable apply network policies on private
6028-
end point in the subnet. Known values are: "Enabled" and "Disabled".
6029+
end point in the subnet. Known values are: "Enabled", "Disabled",
6030+
"NetworkSecurityGroupEnabled", and "RouteTableEnabled".
60296031
:paramtype private_endpoint_network_policies: str or
60306032
~azure.mgmt.network.models.VirtualNetworkPrivateEndpointNetworkPolicies
60316033
:keyword private_link_service_network_policies: Enable or Disable apply network policies on
@@ -22929,6 +22931,8 @@ class BastionHost(Resource): # pylint: disable=too-many-instance-attributes
2292922931
:vartype location: str
2293022932
:ivar tags: Resource tags.
2293122933
:vartype tags: dict[str, str]
22934+
:ivar zones: A list of availability zones denoting where the resource needs to come from.
22935+
:vartype zones: list[str]
2293222936
:ivar etag: A unique read-only string that changes whenever the resource is updated.
2293322937
:vartype etag: str
2293422938
:ivar sku: The sku of this Bastion Host.
@@ -22977,6 +22981,7 @@ class BastionHost(Resource): # pylint: disable=too-many-instance-attributes
2297722981
"type": {"key": "type", "type": "str"},
2297822982
"location": {"key": "location", "type": "str"},
2297922983
"tags": {"key": "tags", "type": "{str}"},
22984+
"zones": {"key": "zones", "type": "[str]"},
2298022985
"etag": {"key": "etag", "type": "str"},
2298122986
"sku": {"key": "sku", "type": "Sku"},
2298222987
"ip_configurations": {"key": "properties.ipConfigurations", "type": "[BastionHostIPConfiguration]"},
@@ -22999,6 +23004,7 @@ def __init__(
2299923004
id: Optional[str] = None, # pylint: disable=redefined-builtin
2300023005
location: Optional[str] = None,
2300123006
tags: Optional[Dict[str, str]] = None,
23007+
zones: Optional[List[str]] = None,
2300223008
sku: Optional["_models.Sku"] = None,
2300323009
ip_configurations: Optional[List["_models.BastionHostIPConfiguration"]] = None,
2300423010
dns_name: Optional[str] = None,
@@ -23020,6 +23026,8 @@ def __init__(
2302023026
:paramtype location: str
2302123027
:keyword tags: Resource tags.
2302223028
:paramtype tags: dict[str, str]
23029+
:keyword zones: A list of availability zones denoting where the resource needs to come from.
23030+
:paramtype zones: list[str]
2302323031
:keyword sku: The sku of this Bastion Host.
2302423032
:paramtype sku: ~azure.mgmt.network.models.Sku
2302523033
:keyword ip_configurations: IP configuration of the Bastion Host resource.
@@ -23049,6 +23057,7 @@ def __init__(
2304923057
:paramtype enable_kerberos: bool
2305023058
"""
2305123059
super().__init__(id=id, location=location, tags=tags, **kwargs)
23060+
self.zones = zones
2305223061
self.etag = None
2305323062
self.sku = sku
2305423063
self.ip_configurations = ip_configurations

0 commit comments

Comments
 (0)