@@ -12778,10 +12778,7 @@ def test_aks_create_gpu_driver_flow(self, resource_group, resource_group_locatio
1277812778
1277912779 @AllowLargeResponse()
1278012780 @AKSCustomResourceGroupPreparer(
12781- random_name_length=17,
12782- name_prefix="clitest",
12783- location="centraluseuap",
12784- preserve_default_location=True,
12781+ random_name_length=17, name_prefix="clitest", location="westus2"
1278512782 )
1278612783 def test_aks_and_agentpool_with_static_egress_gateway(
1278712784 self, resource_group, resource_group_location
@@ -12803,8 +12800,7 @@ def test_aks_and_agentpool_with_static_egress_gateway(
1280312800 "aks create --resource-group={resource_group} --name={name} --location={location} "
1280412801 "--ssh-key-value={ssh_key_value} "
1280512802 "--kubernetes-version={k8s_version} "
12806- "--enable-static-egress-gateway "
12807- "--aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/StaticEgressGatewayPreview"
12803+ "--enable-static-egress-gateway"
1280812804 )
1280912805 self.cmd(
1281012806 create_cmd,
@@ -12820,7 +12816,6 @@ def test_aks_and_agentpool_with_static_egress_gateway(
1282012816 update_cmd = (
1282112817 "aks update --resource-group {resource_group} --name {name} "
1282212818 "--disable-static-egress-gateway "
12823- "--aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/StaticEgressGatewayPreview "
1282412819 "-o json"
1282512820 )
1282612821 self.cmd(update_cmd, checks=[
@@ -12834,7 +12829,6 @@ def test_aks_and_agentpool_with_static_egress_gateway(
1283412829 update_cmd = (
1283512830 "aks update --resource-group {resource_group} --name {name} "
1283612831 "--enable-static-egress-gateway "
12837- "--aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/StaticEgressGatewayPreview "
1283812832 "-o json"
1283912833 )
1284012834 self.cmd(update_cmd, checks=[
@@ -12852,8 +12846,7 @@ def test_aks_and_agentpool_with_static_egress_gateway(
1285212846 "--name=gwnp "
1285312847 "--mode=Gateway "
1285412848 "--node-count=2 "
12855- "--gateway-prefix-size=31 "
12856- "--aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/StaticEgressGatewayPreview",
12849+ "--gateway-prefix-size=31",
1285712850 checks=[
1285812851 self.check("provisioningState", "Succeeded"),
1285912852 self.check("gatewayProfile.publicIpPrefixSize", 31),
0 commit comments