Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR azure-mgmt-network] remove distribution policy #9236

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sdk/network/azure-mgmt-network/_meta.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"commit": "d79d73bea550b643c312dde6a7e817840c1ac914",
"commit": "4efc18c56383b2b879e5a61817fbc641db3f0276",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.10.2",
"use": [
"@autorest/[email protected]",
"@autorest/[email protected]"
],
"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",
"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",
"readme": "specification/network/resource-manager/readme.md",
"package-2015-06split": "2019-06-13 02:17:06 +0300 f0f79bfa8191ac30cfb0f87665411769bd2063a6 Microsoft.Network/stable/2015-06-15/virtualNetworkGateway.json",
"package-2017-10": "2019-06-13 02:23:37 +0300 e19543a6a361096e5ca11a42424a39025fd008fa Microsoft.Network/stable/2017-10-01/applicationGateway.json",
Expand Down Expand Up @@ -37,5 +37,5 @@
"package-2023-09": "2024-08-05 12:54:01 +0800 0699892cadd5825057a797244d8b704e6529631d Microsoft.Network/stable/2023-09-01/ipAllocation.json",
"package-2023-11": "2024-08-05 18:42:45 -0700 9fc2f7eda170fad2fe721788d2824e572a6c4c38 Microsoft.Network/stable/2023-11-01/securityPartnerProvider.json",
"package-2024-01": "2024-09-09 15:04:01 -0700 1ad29756bd141a47cac770140105a706d065ae1b Microsoft.Network/preview/2024-01-01-preview/networkVerifier.json",
"package-2024-03": "2024-08-27 11:05:40 +0530 5164430697eba3c27388fe9112de8eba40f85664 Microsoft.Network/stable/2024-03-01/vmssPublicIpAddress.json"
"package-2024-03": "2024-10-24 18:17:17 +0000 1ca21455b62aef4e1fc71f3fe0f4b778fbdd52b7 Microsoft.Network/stable/2024-03-01/applicationGateway.json"
}
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 = "27.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,6 @@ class ApplicationGateway(Resource): # pylint: disable=too-many-instance-attribu
:ivar force_firewall_policy_association: If true, associates a firewall policy with an
application gateway regardless whether the policy differs from the WAF Config.
:vartype force_firewall_policy_association: bool
:ivar load_distribution_policies: Load distribution policies of the application gateway
resource.
:vartype load_distribution_policies:
list[~azure.mgmt.network.models.ApplicationGatewayLoadDistributionPolicy]
:ivar global_configuration: Global Configuration.
:vartype global_configuration:
~azure.mgmt.network.models.ApplicationGatewayGlobalConfiguration
Expand Down Expand Up @@ -351,10 +347,6 @@ class ApplicationGateway(Resource): # pylint: disable=too-many-instance-attribu
"type": "[ApplicationGatewayCustomError]",
},
"force_firewall_policy_association": {"key": "properties.forceFirewallPolicyAssociation", "type": "bool"},
"load_distribution_policies": {
"key": "properties.loadDistributionPolicies",
"type": "[ApplicationGatewayLoadDistributionPolicy]",
},
"global_configuration": {
"key": "properties.globalConfiguration",
"type": "ApplicationGatewayGlobalConfiguration",
Expand Down Expand Up @@ -401,7 +393,6 @@ def __init__( # pylint: disable=too-many-locals
private_link_configurations: Optional[List["_models.ApplicationGatewayPrivateLinkConfiguration"]] = None,
custom_error_configurations: Optional[List["_models.ApplicationGatewayCustomError"]] = None,
force_firewall_policy_association: Optional[bool] = None,
load_distribution_policies: Optional[List["_models.ApplicationGatewayLoadDistributionPolicy"]] = None,
global_configuration: Optional["_models.ApplicationGatewayGlobalConfiguration"] = None,
**kwargs: Any
) -> None:
Expand Down Expand Up @@ -527,10 +518,6 @@ def __init__( # pylint: disable=too-many-locals
:keyword force_firewall_policy_association: If true, associates a firewall policy with an
application gateway regardless whether the policy differs from the WAF Config.
:paramtype force_firewall_policy_association: bool
:keyword load_distribution_policies: Load distribution policies of the application gateway
resource.
:paramtype load_distribution_policies:
list[~azure.mgmt.network.models.ApplicationGatewayLoadDistributionPolicy]
:keyword global_configuration: Global Configuration.
:paramtype global_configuration:
~azure.mgmt.network.models.ApplicationGatewayGlobalConfiguration
Expand Down Expand Up @@ -572,7 +559,6 @@ def __init__( # pylint: disable=too-many-locals
self.provisioning_state = None
self.custom_error_configurations = custom_error_configurations
self.force_firewall_policy_association = force_firewall_policy_association
self.load_distribution_policies = load_distribution_policies
self.global_configuration = global_configuration
self.default_predefined_ssl_policy = None

Expand Down Expand Up @@ -1250,8 +1236,6 @@ class ApplicationGatewayPathRule(SubResource): # pylint: disable=too-many-insta
:vartype redirect_configuration: ~azure.mgmt.network.models.SubResource
:ivar rewrite_rule_set: Rewrite rule set resource of URL path map path rule.
:vartype rewrite_rule_set: ~azure.mgmt.network.models.SubResource
:ivar load_distribution_policy: Load Distribution Policy resource of URL path map path rule.
:vartype load_distribution_policy: ~azure.mgmt.network.models.SubResource
:ivar provisioning_state: The provisioning state of the path rule resource. Known values are:
"Succeeded", "Updating", "Deleting", and "Failed".
:vartype provisioning_state: str or ~azure.mgmt.network.models.ProvisioningState
Expand All @@ -1275,7 +1259,6 @@ class ApplicationGatewayPathRule(SubResource): # pylint: disable=too-many-insta
"backend_http_settings": {"key": "properties.backendHttpSettings", "type": "SubResource"},
"redirect_configuration": {"key": "properties.redirectConfiguration", "type": "SubResource"},
"rewrite_rule_set": {"key": "properties.rewriteRuleSet", "type": "SubResource"},
"load_distribution_policy": {"key": "properties.loadDistributionPolicy", "type": "SubResource"},
"provisioning_state": {"key": "properties.provisioningState", "type": "str"},
"firewall_policy": {"key": "properties.firewallPolicy", "type": "SubResource"},
}
Expand All @@ -1290,7 +1273,6 @@ def __init__(
backend_http_settings: Optional["_models.SubResource"] = None,
redirect_configuration: Optional["_models.SubResource"] = None,
rewrite_rule_set: Optional["_models.SubResource"] = None,
load_distribution_policy: Optional["_models.SubResource"] = None,
firewall_policy: Optional["_models.SubResource"] = None,
**kwargs: Any
) -> None:
Expand All @@ -1309,8 +1291,6 @@ def __init__(
:paramtype redirect_configuration: ~azure.mgmt.network.models.SubResource
:keyword rewrite_rule_set: Rewrite rule set resource of URL path map path rule.
:paramtype rewrite_rule_set: ~azure.mgmt.network.models.SubResource
:keyword load_distribution_policy: Load Distribution Policy resource of URL path map path rule.
:paramtype load_distribution_policy: ~azure.mgmt.network.models.SubResource
:keyword firewall_policy: Reference to the FirewallPolicy resource.
:paramtype firewall_policy: ~azure.mgmt.network.models.SubResource
"""
Expand All @@ -1323,7 +1303,6 @@ def __init__(
self.backend_http_settings = backend_http_settings
self.redirect_configuration = redirect_configuration
self.rewrite_rule_set = rewrite_rule_set
self.load_distribution_policy = load_distribution_policy
self.provisioning_state = None
self.firewall_policy = firewall_policy

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

Expand All @@ -1557,7 +1533,6 @@ def __init__(
url_path_map: Optional["_models.SubResource"] = None,
rewrite_rule_set: Optional["_models.SubResource"] = None,
redirect_configuration: Optional["_models.SubResource"] = None,
load_distribution_policy: Optional["_models.SubResource"] = None,
**kwargs: Any
) -> None:
"""
Expand All @@ -1582,9 +1557,6 @@ def __init__(
:paramtype rewrite_rule_set: ~azure.mgmt.network.models.SubResource
:keyword redirect_configuration: Redirect configuration resource of the application gateway.
:paramtype redirect_configuration: ~azure.mgmt.network.models.SubResource
:keyword load_distribution_policy: Load Distribution Policy resource of the application
gateway.
:paramtype load_distribution_policy: ~azure.mgmt.network.models.SubResource
"""
super().__init__(id=id, **kwargs)
self.name = name
Expand All @@ -1598,7 +1570,6 @@ def __init__(
self.url_path_map = url_path_map
self.rewrite_rule_set = rewrite_rule_set
self.redirect_configuration = redirect_configuration
self.load_distribution_policy = load_distribution_policy
self.provisioning_state = None

class ApplicationGatewaySku(_serialization.Model):
Expand Down Expand Up @@ -1734,7 +1705,7 @@ def __init__(
self.key_vault_secret_id = key_vault_secret_id
self.provisioning_state = None

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

Variables are only populated by the server, and will be ignored when sending a request.
Expand All @@ -1755,9 +1726,6 @@ class ApplicationGatewayUrlPathMap(SubResource): # pylint: disable=too-many-ins
:vartype default_rewrite_rule_set: ~azure.mgmt.network.models.SubResource
:ivar default_redirect_configuration: Default redirect configuration resource of URL path map.
:vartype default_redirect_configuration: ~azure.mgmt.network.models.SubResource
:ivar default_load_distribution_policy: Default Load Distribution Policy resource of URL path
map.
:vartype default_load_distribution_policy: ~azure.mgmt.network.models.SubResource
:ivar path_rules: Path rule of URL path map resource.
:vartype path_rules: list[~azure.mgmt.network.models.ApplicationGatewayPathRule]
:ivar provisioning_state: The provisioning state of the URL path map resource. Known values
Expand All @@ -1780,7 +1748,6 @@ class ApplicationGatewayUrlPathMap(SubResource): # pylint: disable=too-many-ins
"default_backend_http_settings": {"key": "properties.defaultBackendHttpSettings", "type": "SubResource"},
"default_rewrite_rule_set": {"key": "properties.defaultRewriteRuleSet", "type": "SubResource"},
"default_redirect_configuration": {"key": "properties.defaultRedirectConfiguration", "type": "SubResource"},
"default_load_distribution_policy": {"key": "properties.defaultLoadDistributionPolicy", "type": "SubResource"},
"path_rules": {"key": "properties.pathRules", "type": "[ApplicationGatewayPathRule]"},
"provisioning_state": {"key": "properties.provisioningState", "type": "str"},
}
Expand All @@ -1794,7 +1761,6 @@ def __init__(
default_backend_http_settings: Optional["_models.SubResource"] = None,
default_rewrite_rule_set: Optional["_models.SubResource"] = None,
default_redirect_configuration: Optional["_models.SubResource"] = None,
default_load_distribution_policy: Optional["_models.SubResource"] = None,
path_rules: Optional[List["_models.ApplicationGatewayPathRule"]] = None,
**kwargs: Any
) -> None:
Expand All @@ -1812,9 +1778,6 @@ def __init__(
:keyword default_redirect_configuration: Default redirect configuration resource of URL path
map.
:paramtype default_redirect_configuration: ~azure.mgmt.network.models.SubResource
:keyword default_load_distribution_policy: Default Load Distribution Policy resource of URL
path map.
:paramtype default_load_distribution_policy: ~azure.mgmt.network.models.SubResource
:keyword path_rules: Path rule of URL path map resource.
:paramtype path_rules: list[~azure.mgmt.network.models.ApplicationGatewayPathRule]
"""
Expand All @@ -1826,7 +1789,6 @@ def __init__(
self.default_backend_http_settings = default_backend_http_settings
self.default_rewrite_rule_set = default_rewrite_rule_set
self.default_redirect_configuration = default_redirect_configuration
self.default_load_distribution_policy = default_load_distribution_policy
self.path_rules = path_rules
self.provisioning_state = None

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 = "27.0.0"
VERSION = "1.0.0b1"
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@
from ._models_py3 import ApplicationGatewayIPConfiguration
from ._models_py3 import ApplicationGatewayListResult
from ._models_py3 import ApplicationGatewayListener
from ._models_py3 import ApplicationGatewayLoadDistributionPolicy
from ._models_py3 import ApplicationGatewayLoadDistributionTarget
from ._models_py3 import ApplicationGatewayOnDemandProbe
from ._models_py3 import ApplicationGatewayPathRule
from ._models_py3 import ApplicationGatewayPrivateEndpointConnection
Expand Down Expand Up @@ -749,7 +747,6 @@
from ._network_management_client_enums import ApplicationGatewayFirewallMode
from ._network_management_client_enums import ApplicationGatewayFirewallRateLimitDuration
from ._network_management_client_enums import ApplicationGatewayFirewallUserSessionVariable
from ._network_management_client_enums import ApplicationGatewayLoadDistributionAlgorithm
from ._network_management_client_enums import ApplicationGatewayOperationalState
from ._network_management_client_enums import ApplicationGatewayProtocol
from ._network_management_client_enums import ApplicationGatewayRedirectType
Expand Down Expand Up @@ -1026,8 +1023,6 @@
"ApplicationGatewayIPConfiguration",
"ApplicationGatewayListResult",
"ApplicationGatewayListener",
"ApplicationGatewayLoadDistributionPolicy",
"ApplicationGatewayLoadDistributionTarget",
"ApplicationGatewayOnDemandProbe",
"ApplicationGatewayPathRule",
"ApplicationGatewayPrivateEndpointConnection",
Expand Down Expand Up @@ -1718,7 +1713,6 @@
"ApplicationGatewayFirewallMode",
"ApplicationGatewayFirewallRateLimitDuration",
"ApplicationGatewayFirewallUserSessionVariable",
"ApplicationGatewayLoadDistributionAlgorithm",
"ApplicationGatewayOperationalState",
"ApplicationGatewayProtocol",
"ApplicationGatewayRedirectType",
Expand Down
Loading