Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def configure_load_balancer_profile(managed_outbound_ip_count, managed_outbound_
if managed_outbound_ip_count is not None:
profile.managed_outbound_i_ps.count = managed_outbound_ip_count
if managed_outbound_ipv6_count is not None:
profile.managed_outbound_i_ps.count_ipv6 = managed_outbound_ipv6_count
profile.managed_outbound_i_ps.count_i_pv6 = managed_outbound_ipv6_count
elif profile.managed_outbound_i_ps is not None:
profile.managed_outbound_i_ps = None
if outbound_ports is not None:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ interactions:
User-Agent:
- AZURECLI/2.72.0 azsdk-python-core/1.31.0 Python/3.10.11 (Windows-10-10.0.26100-SP0)
method: POST
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedclusters/cliakstest000002/abort?api-version=2025-10-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002/abort?api-version=2025-10-01
response:
body:
string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cliakstest000002\",\n
Expand Down
1,224 changes: 729 additions & 495 deletions ...zure/cli/command_modules/acs/tests/latest/recordings/test_aks_create_gpu_driver_flow.yaml
100755 → 100644

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ interactions:
expires:
- '-1'
location:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedclusters/cmdtest000002/commandResults/300ac3fddbb444308fa05d36a3002ef3?api-version=2025-10-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cmdtest000002/commandResults/300ac3fddbb444308fa05d36a3002ef3?api-version=2025-10-01
pragma:
- no-cache
server:
Expand Down Expand Up @@ -969,7 +969,7 @@ interactions:
- AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/24.0.0 Python/3.8.10
(Linux-5.15.0-1039-azure-x86_64-with-glibc2.29)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedclusters/cmdtest000002/commandResults/300ac3fddbb444308fa05d36a3002ef3?api-version=2025-10-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cmdtest000002/commandResults/300ac3fddbb444308fa05d36a3002ef3?api-version=2025-10-01
response:
body:
string: "{\n \"id\": \"300ac3fddbb444308fa05d36a3002ef3\",\n \"properties\":
Expand All @@ -986,7 +986,7 @@ interactions:
expires:
- '-1'
location:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedclusters/cmdtest000002/commandResults/300ac3fddbb444308fa05d36a3002ef3?api-version=2025-10-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cmdtest000002/commandResults/300ac3fddbb444308fa05d36a3002ef3?api-version=2025-10-01
pragma:
- no-cache
server:
Expand Down Expand Up @@ -1015,7 +1015,7 @@ interactions:
- AZURECLI/2.49.0 azsdk-python-azure-mgmt-containerservice/24.0.0 Python/3.8.10
(Linux-5.15.0-1039-azure-x86_64-with-glibc2.29)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedclusters/cmdtest000002/commandResults/300ac3fddbb444308fa05d36a3002ef3?api-version=2025-10-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ContainerService/managedClusters/cmdtest000002/commandResults/300ac3fddbb444308fa05d36a3002ef3?api-version=2025-10-01
response:
body:
string: "{\n \"id\": \"300ac3fddbb444308fa05d36a3002ef3\",\n \"properties\":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10403,7 +10403,7 @@ def test_aks_update_dualstack(self, resource_group, resource_group_location):
self.check('provisioningState', 'Succeeded'),
self.check('networkProfile.ipFamilies', ['IPv4', 'IPv6']),
self.check(
'networkProfile.loadBalancerProfile.managedOutboundIPs.countIpv6', 4),
'networkProfile.loadBalancerProfile.managedOutboundIPs.countIPv6', 4),
self.check(
'networkProfile.loadBalancerProfile.managedOutboundIPs.count', 1),
self.check(
Expand Down Expand Up @@ -10445,7 +10445,7 @@ def test_aks_create_and_update_ipv6_count(self, resource_group, resource_group_l
'172.56.0.0/16', '2001:ffff::/108']),
self.check('networkProfile.ipFamilies', ['IPv4', 'IPv6']),
self.check(
'networkProfile.loadBalancerProfile.managedOutboundIPs.countIpv6', 2),
'networkProfile.loadBalancerProfile.managedOutboundIPs.countIPv6', 2),
self.check(
'networkProfile.loadBalancerProfile.managedOutboundIPs.count', 1),
self.check(
Expand All @@ -10465,7 +10465,7 @@ def test_aks_create_and_update_ipv6_count(self, resource_group, resource_group_l
'172.56.0.0/16', '2001:ffff::/108']),
self.check('networkProfile.ipFamilies', ['IPv4', 'IPv6']),
self.check(
'networkProfile.loadBalancerProfile.managedOutboundIPs.countIpv6', 4),
'networkProfile.loadBalancerProfile.managedOutboundIPs.countIPv6', 4),
self.check(
'networkProfile.loadBalancerProfile.managedOutboundIPs.count', 1),
self.check(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_configure_load_balancer_profile(self):
profile = ManagedClusterLoadBalancerProfile()
profile.managed_outbound_i_ps = ManagedClusterLoadBalancerProfileManagedOutboundIPs(
count=2,
count_ipv6=3
count_i_pv6=3
)
profile.outbound_i_ps = ManagedClusterLoadBalancerProfileOutboundIPs(
public_i_ps="public_i_ps"
Expand All @@ -64,7 +64,7 @@ def test_configure_load_balancer_profile(self):
)

self.assertEqual(p.managed_outbound_i_ps.count, 5)
self.assertEqual(p.managed_outbound_i_ps.count_ipv6, 4)
self.assertEqual(p.managed_outbound_i_ps.count_i_pv6, 4)
self.assertEqual(p.outbound_i_ps, None)
self.assertEqual(p.outbound_ip_prefixes, None)
self.assertEqual(p.allocated_outbound_ports, 80)
Expand Down Expand Up @@ -95,7 +95,7 @@ def test_update_load_balancer_profile(self):
profile = ManagedClusterLoadBalancerProfile()
profile.managed_outbound_i_ps = ManagedClusterLoadBalancerProfileManagedOutboundIPs(
count=2,
count_ipv6=3
count_i_pv6=3
)

p = loadbalancer.configure_load_balancer_profile(
Expand Down Expand Up @@ -140,7 +140,7 @@ def test_update_load_balancer_profile_reset_empty(self):
profile = ManagedClusterLoadBalancerProfile()
profile.managed_outbound_i_ps = ManagedClusterLoadBalancerProfileManagedOutboundIPs(
count=2,
count_ipv6=3
count_i_pv6=3
)

p = loadbalancer.configure_load_balancer_profile(
Expand Down Expand Up @@ -209,7 +209,7 @@ def test_configure_load_balancer_profile_error(self):
load_balancer_models,
)
self.assertEqual(p.managed_outbound_i_ps.count, 5)
self.assertEqual(p.managed_outbound_i_ps.count_ipv6, 3)
self.assertEqual(p.managed_outbound_i_ps.count_i_pv6, 3)
self.assertEqual(p.outbound_i_ps.public_i_ps, [load_balancer_models.ResourceReference(id=x.strip()) for x in ["testpip1","testpip2"]])
self.assertEqual(p.allocated_outbound_ports, 80)
self.assertEqual(p.idle_timeout_in_minutes, 3600)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7028,7 +7028,7 @@ def test_set_up_network_profile_ipv6(self):
load_balancer_profile_1 = self.models.load_balancer_models.ManagedClusterLoadBalancerProfile(
managed_outbound_i_ps=self.models.load_balancer_models.ManagedClusterLoadBalancerProfileManagedOutboundIPs(
count=3,
count_ipv6=3,
count_i_pv6=3,
),
allocated_outbound_ports=5,
)
Expand Down
Loading