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 track2_azure-mgmt-containerservice] Add API properties and example JSON for Web App Routing of IngressProfile #9909

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
4 changes: 2 additions & 2 deletions sdk/containerservice/azure-mgmt-containerservice/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"@autorest/python@5.12.0",
"@autorest/modelerfour@4.19.3"
],
"commit": "a70086b6711c1058aaf3c5906744a665a492a504",
"commit": "0003710674717de4385541fbdf5e130de3a50aeb",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/containerservice/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --python3-only --track2 --use=@autorest/python@5.12.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2",
"autorest_command": "autorest specification/containerservice/resource-manager/readme.md --multiapi --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.12.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2",
"readme": "specification/containerservice/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3534,42 +3534,42 @@ class ManagedClusterLoadBalancerProfileManagedOutboundIPs(msrest.serialization.M
load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value
is 1.
:vartype count: int
:ivar count_ipv6: The desired number of IPv6 outbound IPs created/managed by Azure for the
:ivar count_i_pv6: The desired number of IPv6 outbound IPs created/managed by Azure for the
cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default
value is 0 for single-stack and 1 for dual-stack.
:vartype count_ipv6: int
:vartype count_i_pv6: int
"""

_validation = {
'count': {'maximum': 100, 'minimum': 1},
'count_ipv6': {'maximum': 100, 'minimum': 0},
'count_i_pv6': {'maximum': 100, 'minimum': 0},
}

_attribute_map = {
'count': {'key': 'count', 'type': 'int'},
'count_ipv6': {'key': 'countIPv6', 'type': 'int'},
'count_i_pv6': {'key': 'countIPv6', 'type': 'int'},
}

def __init__(
self,
*,
count: Optional[int] = 1,
count_ipv6: Optional[int] = 0,
count_i_pv6: Optional[int] = 0,
**kwargs
):
"""
:keyword count: The desired number of IPv4 outbound IPs created/managed by Azure for the
cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default
value is 1.
:paramtype count: int
:keyword count_ipv6: The desired number of IPv6 outbound IPs created/managed by Azure for the
:keyword count_i_pv6: The desired number of IPv6 outbound IPs created/managed by Azure for the
cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default
value is 0 for single-stack and 1 for dual-stack.
:paramtype count_ipv6: int
:paramtype count_i_pv6: int
"""
super(ManagedClusterLoadBalancerProfileManagedOutboundIPs, self).__init__(**kwargs)
self.count = count
self.count_ipv6 = count_ipv6
self.count_i_pv6 = count_i_pv6


class ManagedClusterLoadBalancerProfileOutboundIPPrefixes(msrest.serialization.Model):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3666,42 +3666,42 @@ class ManagedClusterLoadBalancerProfileManagedOutboundIPs(msrest.serialization.M
load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value
is 1.
:vartype count: int
:ivar count_ipv6: The desired number of IPv6 outbound IPs created/managed by Azure for the
:ivar count_i_pv6: The desired number of IPv6 outbound IPs created/managed by Azure for the
cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default
value is 0 for single-stack and 1 for dual-stack.
:vartype count_ipv6: int
:vartype count_i_pv6: int
"""

_validation = {
'count': {'maximum': 100, 'minimum': 1},
'count_ipv6': {'maximum': 100, 'minimum': 0},
'count_i_pv6': {'maximum': 100, 'minimum': 0},
}

_attribute_map = {
'count': {'key': 'count', 'type': 'int'},
'count_ipv6': {'key': 'countIPv6', 'type': 'int'},
'count_i_pv6': {'key': 'countIPv6', 'type': 'int'},
}

def __init__(
self,
*,
count: Optional[int] = 1,
count_ipv6: Optional[int] = 0,
count_i_pv6: Optional[int] = 0,
**kwargs
):
"""
:keyword count: The desired number of IPv4 outbound IPs created/managed by Azure for the
cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default
value is 1.
:paramtype count: int
:keyword count_ipv6: The desired number of IPv6 outbound IPs created/managed by Azure for the
:keyword count_i_pv6: The desired number of IPv6 outbound IPs created/managed by Azure for the
cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default
value is 0 for single-stack and 1 for dual-stack.
:paramtype count_ipv6: int
:paramtype count_i_pv6: int
"""
super(ManagedClusterLoadBalancerProfileManagedOutboundIPs, self).__init__(**kwargs)
self.count = count
self.count_ipv6 = count_ipv6
self.count_i_pv6 = count_i_pv6


class ManagedClusterLoadBalancerProfileOutboundIPPrefixes(msrest.serialization.Model):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3534,42 +3534,42 @@ class ManagedClusterLoadBalancerProfileManagedOutboundIPs(msrest.serialization.M
load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value
is 1.
:vartype count: int
:ivar count_ipv6: The desired number of IPv6 outbound IPs created/managed by Azure for the
:ivar count_i_pv6: The desired number of IPv6 outbound IPs created/managed by Azure for the
cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default
value is 0 for single-stack and 1 for dual-stack.
:vartype count_ipv6: int
:vartype count_i_pv6: int
"""

_validation = {
'count': {'maximum': 100, 'minimum': 1},
'count_ipv6': {'maximum': 100, 'minimum': 0},
'count_i_pv6': {'maximum': 100, 'minimum': 0},
}

_attribute_map = {
'count': {'key': 'count', 'type': 'int'},
'count_ipv6': {'key': 'countIPv6', 'type': 'int'},
'count_i_pv6': {'key': 'countIPv6', 'type': 'int'},
}

def __init__(
self,
*,
count: Optional[int] = 1,
count_ipv6: Optional[int] = 0,
count_i_pv6: Optional[int] = 0,
**kwargs
):
"""
:keyword count: The desired number of IPv4 outbound IPs created/managed by Azure for the
cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default
value is 1.
:paramtype count: int
:keyword count_ipv6: The desired number of IPv6 outbound IPs created/managed by Azure for the
:keyword count_i_pv6: The desired number of IPv6 outbound IPs created/managed by Azure for the
cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default
value is 0 for single-stack and 1 for dual-stack.
:paramtype count_ipv6: int
:paramtype count_i_pv6: int
"""
super(ManagedClusterLoadBalancerProfileManagedOutboundIPs, self).__init__(**kwargs)
self.count = count
self.count_ipv6 = count_ipv6
self.count_i_pv6 = count_i_pv6


class ManagedClusterLoadBalancerProfileOutboundIPPrefixes(msrest.serialization.Model):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3704,42 +3704,42 @@ class ManagedClusterLoadBalancerProfileManagedOutboundIPs(msrest.serialization.M
load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value
is 1.
:vartype count: int
:ivar count_ipv6: The desired number of IPv6 outbound IPs created/managed by Azure for the
:ivar count_i_pv6: The desired number of IPv6 outbound IPs created/managed by Azure for the
cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default
value is 0 for single-stack and 1 for dual-stack.
:vartype count_ipv6: int
:vartype count_i_pv6: int
"""

_validation = {
'count': {'maximum': 100, 'minimum': 1},
'count_ipv6': {'maximum': 100, 'minimum': 0},
'count_i_pv6': {'maximum': 100, 'minimum': 0},
}

_attribute_map = {
'count': {'key': 'count', 'type': 'int'},
'count_ipv6': {'key': 'countIPv6', 'type': 'int'},
'count_i_pv6': {'key': 'countIPv6', 'type': 'int'},
}

def __init__(
self,
*,
count: Optional[int] = 1,
count_ipv6: Optional[int] = 0,
count_i_pv6: Optional[int] = 0,
**kwargs
):
"""
:keyword count: The desired number of IPv4 outbound IPs created/managed by Azure for the
cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default
value is 1.
:paramtype count: int
:keyword count_ipv6: The desired number of IPv6 outbound IPs created/managed by Azure for the
:keyword count_i_pv6: The desired number of IPv6 outbound IPs created/managed by Azure for the
cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default
value is 0 for single-stack and 1 for dual-stack.
:paramtype count_ipv6: int
:paramtype count_i_pv6: int
"""
super(ManagedClusterLoadBalancerProfileManagedOutboundIPs, self).__init__(**kwargs)
self.count = count
self.count_ipv6 = count_ipv6
self.count_i_pv6 = count_i_pv6


class ManagedClusterLoadBalancerProfileOutboundIPPrefixes(msrest.serialization.Model):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3556,42 +3556,42 @@ class ManagedClusterLoadBalancerProfileManagedOutboundIPs(msrest.serialization.M
load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value
is 1.
:vartype count: int
:ivar count_ipv6: The desired number of IPv6 outbound IPs created/managed by Azure for the
:ivar count_i_pv6: The desired number of IPv6 outbound IPs created/managed by Azure for the
cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default
value is 0 for single-stack and 1 for dual-stack.
:vartype count_ipv6: int
:vartype count_i_pv6: int
"""

_validation = {
'count': {'maximum': 100, 'minimum': 1},
'count_ipv6': {'maximum': 100, 'minimum': 0},
'count_i_pv6': {'maximum': 100, 'minimum': 0},
}

_attribute_map = {
'count': {'key': 'count', 'type': 'int'},
'count_ipv6': {'key': 'countIPv6', 'type': 'int'},
'count_i_pv6': {'key': 'countIPv6', 'type': 'int'},
}

def __init__(
self,
*,
count: Optional[int] = 1,
count_ipv6: Optional[int] = 0,
count_i_pv6: Optional[int] = 0,
**kwargs
):
"""
:keyword count: The desired number of IPv4 outbound IPs created/managed by Azure for the
cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default
value is 1.
:paramtype count: int
:keyword count_ipv6: The desired number of IPv6 outbound IPs created/managed by Azure for the
:keyword count_i_pv6: The desired number of IPv6 outbound IPs created/managed by Azure for the
cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default
value is 0 for single-stack and 1 for dual-stack.
:paramtype count_ipv6: int
:paramtype count_i_pv6: int
"""
super(ManagedClusterLoadBalancerProfileManagedOutboundIPs, self).__init__(**kwargs)
self.count = count
self.count_ipv6 = count_ipv6
self.count_i_pv6 = count_i_pv6


class ManagedClusterLoadBalancerProfileOutboundIPPrefixes(msrest.serialization.Model):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3767,42 +3767,42 @@ class ManagedClusterLoadBalancerProfileManagedOutboundIPs(msrest.serialization.M
load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default value
is 1.
:vartype count: int
:ivar count_ipv6: The desired number of IPv6 outbound IPs created/managed by Azure for the
:ivar count_i_pv6: The desired number of IPv6 outbound IPs created/managed by Azure for the
cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default
value is 0 for single-stack and 1 for dual-stack.
:vartype count_ipv6: int
:vartype count_i_pv6: int
"""

_validation = {
'count': {'maximum': 100, 'minimum': 1},
'count_ipv6': {'maximum': 100, 'minimum': 0},
'count_i_pv6': {'maximum': 100, 'minimum': 0},
}

_attribute_map = {
'count': {'key': 'count', 'type': 'int'},
'count_ipv6': {'key': 'countIPv6', 'type': 'int'},
'count_i_pv6': {'key': 'countIPv6', 'type': 'int'},
}

def __init__(
self,
*,
count: Optional[int] = 1,
count_ipv6: Optional[int] = 0,
count_i_pv6: Optional[int] = 0,
**kwargs
):
"""
:keyword count: The desired number of IPv4 outbound IPs created/managed by Azure for the
cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default
value is 1.
:paramtype count: int
:keyword count_ipv6: The desired number of IPv6 outbound IPs created/managed by Azure for the
:keyword count_i_pv6: The desired number of IPv6 outbound IPs created/managed by Azure for the
cluster load balancer. Allowed values must be in the range of 1 to 100 (inclusive). The default
value is 0 for single-stack and 1 for dual-stack.
:paramtype count_ipv6: int
:paramtype count_i_pv6: int
"""
super(ManagedClusterLoadBalancerProfileManagedOutboundIPs, self).__init__(**kwargs)
self.count = count
self.count_ipv6 = count_ipv6
self.count_i_pv6 = count_i_pv6


class ManagedClusterLoadBalancerProfileOutboundIPPrefixes(msrest.serialization.Model):
Expand Down