Skip to content

Commit 0d50215

Browse files
author
SDKAuto
committed
CodeGen from PR 25343 in Azure/azure-rest-api-specs
Merge 98b1e64ac7454a0a20fec444733985ca1376d7a2 into 624dbc769880e5676ae8bb20d3c82ebd1783c64a
1 parent bfbfcbc commit 0d50215

File tree

713 files changed

+228373
-3571
lines changed

Some content is hidden

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

713 files changed

+228373
-3571
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"commit": "b5f54222a4a925eb0239cd6653ab8b27185195f4",
2+
"commit": "451a462915cbde2ad9ea87dd092c776ed98ab8ff",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.9.7",
55
"use": [
66
"@autorest/python@6.7.1",
77
"@autorest/modelerfour@4.26.2"
88
],
9-
"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.7.1 --use=@autorest/modelerfour@4.26.2 --version=3.9.7 --version-tolerant=False",
9+
"autorest_command": "autorest specification/network/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/python@6.7.1 --use=@autorest/modelerfour@4.26.2 --version=3.9.7 --version-tolerant=False",
1010
"readme": "specification/network/resource-manager/readme.md",
1111
"package-2023-02": "2023-06-19 07:26:19 +0530 0b4a0a3f4bfc198df608f373784505e42e248c2c Microsoft.Network/stable/2023-02-01/networkVirtualAppliance.json",
1212
"package-2021-02": "2021-09-14 19:30:27 -0700 54f1c87938269d4706629dc04c26ee1f3634585a Microsoft.Network/stable/2021-02-01/privateLinkService.json",
@@ -30,5 +30,6 @@
3030
"package-2018-11": "2020-05-09 06:55:46 +0200 42d96397744ec1e6e837a06879d6e43a13f8bc33 Microsoft.Network/stable/2018-11-01/publicIpPrefix.json",
3131
"package-2018-04": "2019-06-13 02:23:37 +0300 e19543a6a361096e5ca11a42424a39025fd008fa Microsoft.Network/stable/2018-04-01/applicationGateway.json",
3232
"package-2017-10": "2019-06-13 02:23:37 +0300 e19543a6a361096e5ca11a42424a39025fd008fa Microsoft.Network/stable/2017-10-01/applicationGateway.json",
33-
"package-2015-06split": "2019-06-13 02:17:06 +0300 f0f79bfa8191ac30cfb0f87665411769bd2063a6 Microsoft.Network/stable/2015-06-15/virtualNetworkGateway.json"
33+
"package-2015-06split": "2019-06-13 02:17:06 +0300 f0f79bfa8191ac30cfb0f87665411769bd2063a6 Microsoft.Network/stable/2015-06-15/virtualNetworkGateway.json",
34+
"package-2023-04": "2023-07-28 12:53:34 -0400 2a4fc9da93229e16716dc34ec5275ed94a918ac4 Microsoft.Network/stable/2023-04-01/applicationGateway.json"
3435
}

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.0.0"
9+
VERSION = "1.0.0b1"

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: 1094 additions & 1003 deletions
Large diffs are not rendered by default.

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -756,6 +756,8 @@
756756
VpnServerConfigurationPolicyGroup,
757757
VpnServerConfigurationPolicyGroupMember,
758758
WebApplicationFirewallScrubbingRules,
759+
MigrateLoadBalancerToIpBasedRequest,
760+
MigratedPools,
759761
)
760762

761763
from ._enums import (
@@ -997,6 +999,7 @@
997999
VpnPolicyMemberAttributeType,
9981000
WebApplicationFirewallScrubbingState,
9991001
WebApplicationFirewallState,
1002+
SyncMode,
10001003
)
10011004

10021005
from ._patch import __all__ as _patch_all
@@ -1754,6 +1757,8 @@
17541757
"VpnServerConfigurationPolicyGroup",
17551758
"VpnServerConfigurationPolicyGroupMember",
17561759
"WebApplicationFirewallScrubbingRules",
1760+
"MigrateLoadBalancerToIpBasedRequest",
1761+
"MigratedPools",
17571762
"ApplicationGatewayCookieBasedAffinity",
17581763
"ApplicationGatewayOperationalState",
17591764
"ApplicationGatewayProtocol",
@@ -1992,6 +1997,7 @@
19921997
"VpnPolicyMemberAttributeType",
19931998
"WebApplicationFirewallScrubbingState",
19941999
"WebApplicationFirewallState",
2000+
"SyncMode",
19952001
]
19962002
__all__.extend([p for p in _patch_all if p not in __all__])
19972003
_patch_sdk()

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ class ApplicationGatewaySkuName(str, Enum, metaclass=CaseInsensitiveEnumMeta):
5050
WAF_LARGE = "WAF_Large"
5151
STANDARD_V2 = "Standard_v2"
5252
WAF_V2 = "WAF_v2"
53+
BASIC = "Basic"
5354

5455
class ApplicationGatewayTier(str, Enum, metaclass=CaseInsensitiveEnumMeta):
5556
"""Tier of an application gateway."""
@@ -58,6 +59,7 @@ class ApplicationGatewayTier(str, Enum, metaclass=CaseInsensitiveEnumMeta):
5859
WAF = "WAF"
5960
STANDARD_V2 = "Standard_v2"
6061
WAF_V2 = "WAF_v2"
62+
BASIC = "Basic"
6163

6264
class AuthorizationUseStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
6365
"""The authorization use status."""
@@ -1848,3 +1850,9 @@ class WebApplicationFirewallState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
18481850
DISABLED = "Disabled"
18491851
ENABLED = "Enabled"
18501852

1853+
class SyncMode(str, Enum, metaclass=CaseInsensitiveEnumMeta):
1854+
"""Backend address synchronous mode for the backend pool."""
1855+
1856+
AUTOMATIC = "Automatic"
1857+
MANUAL = "Manual"
1858+

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

Lines changed: 55 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1375,7 +1375,7 @@ class ApplicationGatewayProbe(SubResource): # pylint: disable=too-many-instance
13751375
:vartype provisioning_state: str or ~azure.mgmt.network.models.ProvisioningState
13761376
:ivar port: Custom port which will be used for probing the backend servers. The valid value
13771377
ranges from 1 to 65535. In case not set, port from http settings will be used. This property is
1378-
valid for Standard_v2 and WAF_v2 only.
1378+
valid for Basic, Standard_v2 and WAF_v2 only.
13791379
:vartype port: int
13801380
"""
13811381

@@ -1463,7 +1463,7 @@ def __init__(
14631463
~azure.mgmt.network.models.ApplicationGatewayProbeHealthResponseMatch
14641464
:keyword port: Custom port which will be used for probing the backend servers. The valid value
14651465
ranges from 1 to 65535. In case not set, port from http settings will be used. This property is
1466-
valid for Standard_v2 and WAF_v2 only.
1466+
valid for Basic, Standard_v2 and WAF_v2 only.
14671467
:paramtype port: int
14681468
"""
14691469
super().__init__(id=id, **kwargs)
@@ -1605,10 +1605,11 @@ class ApplicationGatewaySku(_serialization.Model):
16051605
"""SKU of an application gateway.
16061606

16071607
:ivar name: Name of an application gateway SKU. Known values are: "Standard_Small",
1608-
"Standard_Medium", "Standard_Large", "WAF_Medium", "WAF_Large", "Standard_v2", and "WAF_v2".
1608+
"Standard_Medium", "Standard_Large", "WAF_Medium", "WAF_Large", "Standard_v2", "WAF_v2", and
1609+
"Basic".
16091610
:vartype name: str or ~azure.mgmt.network.models.ApplicationGatewaySkuName
16101611
:ivar tier: Tier of an application gateway. Known values are: "Standard", "WAF", "Standard_v2",
1611-
and "WAF_v2".
1612+
"WAF_v2", and "Basic".
16121613
:vartype tier: str or ~azure.mgmt.network.models.ApplicationGatewayTier
16131614
:ivar capacity: Capacity (instance count) of an application gateway.
16141615
:vartype capacity: int
@@ -1630,10 +1631,11 @@ def __init__(
16301631
) -> None:
16311632
"""
16321633
:keyword name: Name of an application gateway SKU. Known values are: "Standard_Small",
1633-
"Standard_Medium", "Standard_Large", "WAF_Medium", "WAF_Large", "Standard_v2", and "WAF_v2".
1634+
"Standard_Medium", "Standard_Large", "WAF_Medium", "WAF_Large", "Standard_v2", "WAF_v2", and
1635+
"Basic".
16341636
:paramtype name: str or ~azure.mgmt.network.models.ApplicationGatewaySkuName
16351637
:keyword tier: Tier of an application gateway. Known values are: "Standard", "WAF",
1636-
"Standard_v2", and "WAF_v2".
1638+
"Standard_v2", "WAF_v2", and "Basic".
16371639
:paramtype tier: str or ~azure.mgmt.network.models.ApplicationGatewayTier
16381640
:keyword capacity: Capacity (instance count) of an application gateway.
16391641
:paramtype capacity: int
@@ -1934,6 +1936,9 @@ class BackendAddressPool(SubResource): # pylint: disable=too-many-instance-attr
19341936
:vartype drain_period_in_seconds: int
19351937
:ivar virtual_network: A reference to a virtual network.
19361938
:vartype virtual_network: ~azure.mgmt.network.models.SubResource
1939+
:ivar sync_mode: Backend address synchronous mode for the backend pool. Known values are:
1940+
"Automatic" and "Manual".
1941+
:vartype sync_mode: str or ~azure.mgmt.network.models.SyncMode
19371942
"""
19381943

19391944
_validation = {
@@ -1969,6 +1974,7 @@ class BackendAddressPool(SubResource): # pylint: disable=too-many-instance-attr
19691974
"provisioning_state": {"key": "properties.provisioningState", "type": "str"},
19701975
"drain_period_in_seconds": {"key": "properties.drainPeriodInSeconds", "type": "int"},
19711976
"virtual_network": {"key": "properties.virtualNetwork", "type": "SubResource"},
1977+
"sync_mode": {"key": "properties.syncMode", "type": "str"},
19721978
}
19731979

19741980
def __init__(
@@ -1981,6 +1987,7 @@ def __init__(
19811987
load_balancer_backend_addresses: Optional[List["_models.LoadBalancerBackendAddress"]] = None,
19821988
drain_period_in_seconds: Optional[int] = None,
19831989
virtual_network: Optional["_models.SubResource"] = None,
1990+
sync_mode: Optional[Union[str, "_models.SyncMode"]] = None,
19841991
**kwargs: Any
19851992
) -> None:
19861993
"""
@@ -2002,6 +2009,9 @@ def __init__(
20022009
:paramtype drain_period_in_seconds: int
20032010
:keyword virtual_network: A reference to a virtual network.
20042011
:paramtype virtual_network: ~azure.mgmt.network.models.SubResource
2012+
:keyword sync_mode: Backend address synchronous mode for the backend pool. Known values are:
2013+
"Automatic" and "Manual".
2014+
:paramtype sync_mode: str or ~azure.mgmt.network.models.SyncMode
20052015
"""
20062016
super().__init__(id=id, **kwargs)
20072017
self.name = name
@@ -2018,6 +2028,7 @@ def __init__(
20182028
self.provisioning_state = None
20192029
self.drain_period_in_seconds = drain_period_in_seconds
20202030
self.virtual_network = virtual_network
2031+
self.sync_mode = sync_mode
20212032

20222033
class BgpSettings(_serialization.Model):
20232034
"""BGP settings details.
@@ -41673,3 +41684,41 @@ def __init__(
4167341684
self.selector = selector
4167441685
self.state = state
4167541686

41687+
class MigrateLoadBalancerToIpBasedRequest(_serialization.Model):
41688+
"""The request for a migrateToIpBased API.
41689+
41690+
:ivar pools: A list of pool names that should be migrated from Nic based to IP based pool.
41691+
:vartype pools: list[str]
41692+
"""
41693+
41694+
_attribute_map = {
41695+
"pools": {"key": "pools", "type": "[str]"},
41696+
}
41697+
41698+
def __init__(self, *, pools: Optional[List[str]] = None, **kwargs: Any) -> None:
41699+
"""
41700+
:keyword pools: A list of pool names that should be migrated from Nic based to IP based pool.
41701+
:paramtype pools: list[str]
41702+
"""
41703+
super().__init__(**kwargs)
41704+
self.pools = pools
41705+
41706+
class MigratedPools(_serialization.Model):
41707+
"""The response for a migrateToIpBased API.
41708+
41709+
:ivar migrated_pools: A list of pools migrated from Nic based to IP based pool.
41710+
:vartype migrated_pools: list[str]
41711+
"""
41712+
41713+
_attribute_map = {
41714+
"migrated_pools": {"key": "migratedPools", "type": "[str]"},
41715+
}
41716+
41717+
def __init__(self, *, migrated_pools: Optional[List[str]] = None, **kwargs: Any) -> None:
41718+
"""
41719+
:keyword migrated_pools: A list of pools migrated from Nic based to IP based pool.
41720+
:paramtype migrated_pools: list[str]
41721+
"""
41722+
super().__init__(**kwargs)
41723+
self.migrated_pools = migrated_pools
41724+

0 commit comments

Comments
 (0)