Skip to content

Commit 9622fec

Browse files
author
SDKAuto
committed
CodeGen from PR 31209 in Azure/azure-rest-api-specs
Merge 1ca21455b62aef4e1fc71f3fe0f4b778fbdd52b7 into 49d3bdb4f75ed53d3ad333cc6f478d60f49fb2de
1 parent 6fb1f74 commit 9622fec

File tree

288 files changed

+238702
-236
lines changed

Some content is hidden

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

288 files changed

+238702
-236
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"commit": "d79d73bea550b643c312dde6a7e817840c1ac914",
2+
"commit": "4efc18c56383b2b879e5a61817fbc641db3f0276",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.10.2",
55
"use": [
66
"@autorest/[email protected]",
77
"@autorest/[email protected]"
88
],
9-
"autorest_command": "autorest specification/network/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
9+
"autorest_command": "autorest specification/network/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
1010
"readme": "specification/network/resource-manager/readme.md",
1111
"package-2015-06split": "2019-06-13 02:17:06 +0300 f0f79bfa8191ac30cfb0f87665411769bd2063a6 Microsoft.Network/stable/2015-06-15/virtualNetworkGateway.json",
1212
"package-2017-10": "2019-06-13 02:23:37 +0300 e19543a6a361096e5ca11a42424a39025fd008fa Microsoft.Network/stable/2017-10-01/applicationGateway.json",
@@ -37,5 +37,5 @@
3737
"package-2023-09": "2024-08-05 12:54:01 +0800 0699892cadd5825057a797244d8b704e6529631d Microsoft.Network/stable/2023-09-01/ipAllocation.json",
3838
"package-2023-11": "2024-08-05 18:42:45 -0700 9fc2f7eda170fad2fe721788d2824e572a6c4c38 Microsoft.Network/stable/2023-11-01/securityPartnerProvider.json",
3939
"package-2024-01": "2024-09-09 15:04:01 -0700 1ad29756bd141a47cac770140105a706d065ae1b Microsoft.Network/preview/2024-01-01-preview/networkVerifier.json",
40-
"package-2024-03": "2024-08-27 11:05:40 +0530 5164430697eba3c27388fe9112de8eba40f85664 Microsoft.Network/stable/2024-03-01/vmssPublicIpAddress.json"
40+
"package-2024-03": "2024-10-24 18:17:17 +0000 1ca21455b62aef4e1fc71f3fe0f4b778fbdd52b7 Microsoft.Network/stable/2024-03-01/applicationGateway.json"
4141
}

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

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

Lines changed: 1 addition & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -238,10 +238,6 @@ class ApplicationGateway(Resource): # pylint: disable=too-many-instance-attribu
238238
:ivar force_firewall_policy_association: If true, associates a firewall policy with an
239239
application gateway regardless whether the policy differs from the WAF Config.
240240
:vartype force_firewall_policy_association: bool
241-
:ivar load_distribution_policies: Load distribution policies of the application gateway
242-
resource.
243-
:vartype load_distribution_policies:
244-
list[~azure.mgmt.network.models.ApplicationGatewayLoadDistributionPolicy]
245241
:ivar global_configuration: Global Configuration.
246242
:vartype global_configuration:
247243
~azure.mgmt.network.models.ApplicationGatewayGlobalConfiguration
@@ -351,10 +347,6 @@ class ApplicationGateway(Resource): # pylint: disable=too-many-instance-attribu
351347
"type": "[ApplicationGatewayCustomError]",
352348
},
353349
"force_firewall_policy_association": {"key": "properties.forceFirewallPolicyAssociation", "type": "bool"},
354-
"load_distribution_policies": {
355-
"key": "properties.loadDistributionPolicies",
356-
"type": "[ApplicationGatewayLoadDistributionPolicy]",
357-
},
358350
"global_configuration": {
359351
"key": "properties.globalConfiguration",
360352
"type": "ApplicationGatewayGlobalConfiguration",
@@ -401,7 +393,6 @@ def __init__( # pylint: disable=too-many-locals
401393
private_link_configurations: Optional[List["_models.ApplicationGatewayPrivateLinkConfiguration"]] = None,
402394
custom_error_configurations: Optional[List["_models.ApplicationGatewayCustomError"]] = None,
403395
force_firewall_policy_association: Optional[bool] = None,
404-
load_distribution_policies: Optional[List["_models.ApplicationGatewayLoadDistributionPolicy"]] = None,
405396
global_configuration: Optional["_models.ApplicationGatewayGlobalConfiguration"] = None,
406397
**kwargs: Any
407398
) -> None:
@@ -527,10 +518,6 @@ def __init__( # pylint: disable=too-many-locals
527518
:keyword force_firewall_policy_association: If true, associates a firewall policy with an
528519
application gateway regardless whether the policy differs from the WAF Config.
529520
:paramtype force_firewall_policy_association: bool
530-
:keyword load_distribution_policies: Load distribution policies of the application gateway
531-
resource.
532-
:paramtype load_distribution_policies:
533-
list[~azure.mgmt.network.models.ApplicationGatewayLoadDistributionPolicy]
534521
:keyword global_configuration: Global Configuration.
535522
:paramtype global_configuration:
536523
~azure.mgmt.network.models.ApplicationGatewayGlobalConfiguration
@@ -572,7 +559,6 @@ def __init__( # pylint: disable=too-many-locals
572559
self.provisioning_state = None
573560
self.custom_error_configurations = custom_error_configurations
574561
self.force_firewall_policy_association = force_firewall_policy_association
575-
self.load_distribution_policies = load_distribution_policies
576562
self.global_configuration = global_configuration
577563
self.default_predefined_ssl_policy = None
578564

@@ -1250,8 +1236,6 @@ class ApplicationGatewayPathRule(SubResource): # pylint: disable=too-many-insta
12501236
:vartype redirect_configuration: ~azure.mgmt.network.models.SubResource
12511237
:ivar rewrite_rule_set: Rewrite rule set resource of URL path map path rule.
12521238
:vartype rewrite_rule_set: ~azure.mgmt.network.models.SubResource
1253-
:ivar load_distribution_policy: Load Distribution Policy resource of URL path map path rule.
1254-
:vartype load_distribution_policy: ~azure.mgmt.network.models.SubResource
12551239
:ivar provisioning_state: The provisioning state of the path rule resource. Known values are:
12561240
"Succeeded", "Updating", "Deleting", and "Failed".
12571241
:vartype provisioning_state: str or ~azure.mgmt.network.models.ProvisioningState
@@ -1275,7 +1259,6 @@ class ApplicationGatewayPathRule(SubResource): # pylint: disable=too-many-insta
12751259
"backend_http_settings": {"key": "properties.backendHttpSettings", "type": "SubResource"},
12761260
"redirect_configuration": {"key": "properties.redirectConfiguration", "type": "SubResource"},
12771261
"rewrite_rule_set": {"key": "properties.rewriteRuleSet", "type": "SubResource"},
1278-
"load_distribution_policy": {"key": "properties.loadDistributionPolicy", "type": "SubResource"},
12791262
"provisioning_state": {"key": "properties.provisioningState", "type": "str"},
12801263
"firewall_policy": {"key": "properties.firewallPolicy", "type": "SubResource"},
12811264
}
@@ -1290,7 +1273,6 @@ def __init__(
12901273
backend_http_settings: Optional["_models.SubResource"] = None,
12911274
redirect_configuration: Optional["_models.SubResource"] = None,
12921275
rewrite_rule_set: Optional["_models.SubResource"] = None,
1293-
load_distribution_policy: Optional["_models.SubResource"] = None,
12941276
firewall_policy: Optional["_models.SubResource"] = None,
12951277
**kwargs: Any
12961278
) -> None:
@@ -1309,8 +1291,6 @@ def __init__(
13091291
:paramtype redirect_configuration: ~azure.mgmt.network.models.SubResource
13101292
:keyword rewrite_rule_set: Rewrite rule set resource of URL path map path rule.
13111293
:paramtype rewrite_rule_set: ~azure.mgmt.network.models.SubResource
1312-
:keyword load_distribution_policy: Load Distribution Policy resource of URL path map path rule.
1313-
:paramtype load_distribution_policy: ~azure.mgmt.network.models.SubResource
13141294
:keyword firewall_policy: Reference to the FirewallPolicy resource.
13151295
:paramtype firewall_policy: ~azure.mgmt.network.models.SubResource
13161296
"""
@@ -1323,7 +1303,6 @@ def __init__(
13231303
self.backend_http_settings = backend_http_settings
13241304
self.redirect_configuration = redirect_configuration
13251305
self.rewrite_rule_set = rewrite_rule_set
1326-
self.load_distribution_policy = load_distribution_policy
13271306
self.provisioning_state = None
13281307
self.firewall_policy = firewall_policy
13291308

@@ -1513,8 +1492,6 @@ class ApplicationGatewayRequestRoutingRule(SubResource): # pylint: disable=too-
15131492
:vartype rewrite_rule_set: ~azure.mgmt.network.models.SubResource
15141493
:ivar redirect_configuration: Redirect configuration resource of the application gateway.
15151494
:vartype redirect_configuration: ~azure.mgmt.network.models.SubResource
1516-
:ivar load_distribution_policy: Load Distribution Policy resource of the application gateway.
1517-
:vartype load_distribution_policy: ~azure.mgmt.network.models.SubResource
15181495
:ivar provisioning_state: The provisioning state of the request routing rule resource. Known
15191496
values are: "Succeeded", "Updating", "Deleting", and "Failed".
15201497
:vartype provisioning_state: str or ~azure.mgmt.network.models.ProvisioningState
@@ -1540,7 +1517,6 @@ class ApplicationGatewayRequestRoutingRule(SubResource): # pylint: disable=too-
15401517
"url_path_map": {"key": "properties.urlPathMap", "type": "SubResource"},
15411518
"rewrite_rule_set": {"key": "properties.rewriteRuleSet", "type": "SubResource"},
15421519
"redirect_configuration": {"key": "properties.redirectConfiguration", "type": "SubResource"},
1543-
"load_distribution_policy": {"key": "properties.loadDistributionPolicy", "type": "SubResource"},
15441520
"provisioning_state": {"key": "properties.provisioningState", "type": "str"},
15451521
}
15461522

@@ -1557,7 +1533,6 @@ def __init__(
15571533
url_path_map: Optional["_models.SubResource"] = None,
15581534
rewrite_rule_set: Optional["_models.SubResource"] = None,
15591535
redirect_configuration: Optional["_models.SubResource"] = None,
1560-
load_distribution_policy: Optional["_models.SubResource"] = None,
15611536
**kwargs: Any
15621537
) -> None:
15631538
"""
@@ -1582,9 +1557,6 @@ def __init__(
15821557
:paramtype rewrite_rule_set: ~azure.mgmt.network.models.SubResource
15831558
:keyword redirect_configuration: Redirect configuration resource of the application gateway.
15841559
:paramtype redirect_configuration: ~azure.mgmt.network.models.SubResource
1585-
:keyword load_distribution_policy: Load Distribution Policy resource of the application
1586-
gateway.
1587-
:paramtype load_distribution_policy: ~azure.mgmt.network.models.SubResource
15881560
"""
15891561
super().__init__(id=id, **kwargs)
15901562
self.name = name
@@ -1598,7 +1570,6 @@ def __init__(
15981570
self.url_path_map = url_path_map
15991571
self.rewrite_rule_set = rewrite_rule_set
16001572
self.redirect_configuration = redirect_configuration
1601-
self.load_distribution_policy = load_distribution_policy
16021573
self.provisioning_state = None
16031574

16041575
class ApplicationGatewaySku(_serialization.Model):
@@ -1734,7 +1705,7 @@ def __init__(
17341705
self.key_vault_secret_id = key_vault_secret_id
17351706
self.provisioning_state = None
17361707

1737-
class ApplicationGatewayUrlPathMap(SubResource): # pylint: disable=too-many-instance-attributes
1708+
class ApplicationGatewayUrlPathMap(SubResource):
17381709
"""UrlPathMaps give a url path to the backend mapping information for PathBasedRouting.
17391710

17401711
Variables are only populated by the server, and will be ignored when sending a request.
@@ -1755,9 +1726,6 @@ class ApplicationGatewayUrlPathMap(SubResource): # pylint: disable=too-many-ins
17551726
:vartype default_rewrite_rule_set: ~azure.mgmt.network.models.SubResource
17561727
:ivar default_redirect_configuration: Default redirect configuration resource of URL path map.
17571728
:vartype default_redirect_configuration: ~azure.mgmt.network.models.SubResource
1758-
:ivar default_load_distribution_policy: Default Load Distribution Policy resource of URL path
1759-
map.
1760-
:vartype default_load_distribution_policy: ~azure.mgmt.network.models.SubResource
17611729
:ivar path_rules: Path rule of URL path map resource.
17621730
:vartype path_rules: list[~azure.mgmt.network.models.ApplicationGatewayPathRule]
17631731
:ivar provisioning_state: The provisioning state of the URL path map resource. Known values
@@ -1780,7 +1748,6 @@ class ApplicationGatewayUrlPathMap(SubResource): # pylint: disable=too-many-ins
17801748
"default_backend_http_settings": {"key": "properties.defaultBackendHttpSettings", "type": "SubResource"},
17811749
"default_rewrite_rule_set": {"key": "properties.defaultRewriteRuleSet", "type": "SubResource"},
17821750
"default_redirect_configuration": {"key": "properties.defaultRedirectConfiguration", "type": "SubResource"},
1783-
"default_load_distribution_policy": {"key": "properties.defaultLoadDistributionPolicy", "type": "SubResource"},
17841751
"path_rules": {"key": "properties.pathRules", "type": "[ApplicationGatewayPathRule]"},
17851752
"provisioning_state": {"key": "properties.provisioningState", "type": "str"},
17861753
}
@@ -1794,7 +1761,6 @@ def __init__(
17941761
default_backend_http_settings: Optional["_models.SubResource"] = None,
17951762
default_rewrite_rule_set: Optional["_models.SubResource"] = None,
17961763
default_redirect_configuration: Optional["_models.SubResource"] = None,
1797-
default_load_distribution_policy: Optional["_models.SubResource"] = None,
17981764
path_rules: Optional[List["_models.ApplicationGatewayPathRule"]] = None,
17991765
**kwargs: Any
18001766
) -> None:
@@ -1812,9 +1778,6 @@ def __init__(
18121778
:keyword default_redirect_configuration: Default redirect configuration resource of URL path
18131779
map.
18141780
:paramtype default_redirect_configuration: ~azure.mgmt.network.models.SubResource
1815-
:keyword default_load_distribution_policy: Default Load Distribution Policy resource of URL
1816-
path map.
1817-
:paramtype default_load_distribution_policy: ~azure.mgmt.network.models.SubResource
18181781
:keyword path_rules: Path rule of URL path map resource.
18191782
:paramtype path_rules: list[~azure.mgmt.network.models.ApplicationGatewayPathRule]
18201783
"""
@@ -1826,7 +1789,6 @@ def __init__(
18261789
self.default_backend_http_settings = default_backend_http_settings
18271790
self.default_rewrite_rule_set = default_rewrite_rule_set
18281791
self.default_redirect_configuration = default_redirect_configuration
1829-
self.default_load_distribution_policy = default_load_distribution_policy
18301792
self.path_rules = path_rules
18311793
self.provisioning_state = None
18321794

sdk/network/azure-mgmt-network/azure/mgmt/network/v2024_03_01/_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 = "27.0.0"
9+
VERSION = "1.0.0b1"

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@
5454
from ._models_py3 import ApplicationGatewayIPConfiguration
5555
from ._models_py3 import ApplicationGatewayListResult
5656
from ._models_py3 import ApplicationGatewayListener
57-
from ._models_py3 import ApplicationGatewayLoadDistributionPolicy
58-
from ._models_py3 import ApplicationGatewayLoadDistributionTarget
5957
from ._models_py3 import ApplicationGatewayOnDemandProbe
6058
from ._models_py3 import ApplicationGatewayPathRule
6159
from ._models_py3 import ApplicationGatewayPrivateEndpointConnection
@@ -749,7 +747,6 @@
749747
from ._network_management_client_enums import ApplicationGatewayFirewallMode
750748
from ._network_management_client_enums import ApplicationGatewayFirewallRateLimitDuration
751749
from ._network_management_client_enums import ApplicationGatewayFirewallUserSessionVariable
752-
from ._network_management_client_enums import ApplicationGatewayLoadDistributionAlgorithm
753750
from ._network_management_client_enums import ApplicationGatewayOperationalState
754751
from ._network_management_client_enums import ApplicationGatewayProtocol
755752
from ._network_management_client_enums import ApplicationGatewayRedirectType
@@ -1026,8 +1023,6 @@
10261023
"ApplicationGatewayIPConfiguration",
10271024
"ApplicationGatewayListResult",
10281025
"ApplicationGatewayListener",
1029-
"ApplicationGatewayLoadDistributionPolicy",
1030-
"ApplicationGatewayLoadDistributionTarget",
10311026
"ApplicationGatewayOnDemandProbe",
10321027
"ApplicationGatewayPathRule",
10331028
"ApplicationGatewayPrivateEndpointConnection",
@@ -1718,7 +1713,6 @@
17181713
"ApplicationGatewayFirewallMode",
17191714
"ApplicationGatewayFirewallRateLimitDuration",
17201715
"ApplicationGatewayFirewallUserSessionVariable",
1721-
"ApplicationGatewayLoadDistributionAlgorithm",
17221716
"ApplicationGatewayOperationalState",
17231717
"ApplicationGatewayProtocol",
17241718
"ApplicationGatewayRedirectType",

0 commit comments

Comments
 (0)