diff --git a/src/fleet/azext_fleet/_help.py b/src/fleet/azext_fleet/_help.py index dc99ce5630b..195ed3e5903 100644 --- a/src/fleet/azext_fleet/_help.py +++ b/src/fleet/azext_fleet/_help.py @@ -351,9 +351,9 @@ short-summary: Creates or updates an auto upgrade profile. examples: - name: Create an auto upgrade profile with channel 'Rapid' and disabled by default. - text: az fleet autoupgradeprofile create -g MyFleetResourceGroup -l MyLocation -f MyFleetName -n MyAutoUpgradeProfileName -c Rapid --disabled + text: az fleet autoupgradeprofile create -g MyFleetResourceGroup -f MyFleetName -n MyAutoUpgradeProfileName -c Rapid --disabled - name: Create an auto upgrade profile with channel 'NodeImage'. - text: az fleet autoupgradeprofile create -g MyFleetResourceGroup -l MyLocation -f MyFleetName -n MyAutoUpgradeProfileName -c NodeImage + text: az fleet autoupgradeprofile create -g MyFleetResourceGroup -f MyFleetName -n MyAutoUpgradeProfileName -c NodeImage """ helps['fleet autoupgradeprofile delete'] = """ @@ -361,7 +361,7 @@ short-summary: Deletes an auto upgrade profile. examples: - name: Delete an auto upgrade profile. - text: az fleet autoupgradeprofile delete -g MyFleetResourceGroup -l MyLocation -f MyFleetName -n MyAutoUpgradeProfileName + text: az fleet autoupgradeprofile delete -g MyFleetResourceGroup -f MyFleetName -n MyAutoUpgradeProfileName """ helps['fleet autoupgradeprofile show'] = """ @@ -369,7 +369,7 @@ short-summary: Shows an auto upgrade profile. examples: - name: Show the details of an auto upgrade profile. - text: az fleet autoupgradeprofile show -g MyFleetResourceGroup -l MyLocation -f MyFleetName -n MyAutoUpgradeProfileName + text: az fleet autoupgradeprofile show -g MyFleetResourceGroup -f MyFleetName -n MyAutoUpgradeProfileName """ helps['fleet autoupgradeprofile list'] = """ @@ -377,7 +377,7 @@ short-summary: Lists all auto upgrade profiles for a given fleet. examples: - name: List auto upgrade profiles of a fleet. - text: az fleet autouprgadeprofile list -g MyFleetResourceGroup -l MyLocation -f MyFleetName + text: az fleet autouprgadeprofile list -g MyFleetResourceGroup -f MyFleetName """ helps['fleet autoupgradeprofile wait'] = """ diff --git a/src/fleet/azext_fleet/tests/latest/recordings/test_fleet_hubful.yaml b/src/fleet/azext_fleet/tests/latest/recordings/test_fleet_hubful.yaml index f98b15e655e..db81ead0e29 100644 --- a/src/fleet/azext_fleet/tests/latest/recordings/test_fleet_hubful.yaml +++ b/src/fleet/azext_fleet/tests/latest/recordings/test_fleet_hubful.yaml @@ -749,7 +749,7 @@ interactions: User-Agent: - AZURECLI/2.63.0 azsdk-python-core/1.30.2 Python/3.10.12 (Linux-6.2.0-1012-azure-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003?api-version=2024-05-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003?api-version=2024-07-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.ContainerService/managedClusters/flmc-000003'' @@ -861,7 +861,7 @@ interactions: User-Agent: - AZURECLI/2.63.0 azsdk-python-core/1.30.2 Python/3.10.12 (Linux-6.2.0-1012-azure-x86_64-with-glibc2.35) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003?api-version=2024-05-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003?api-version=2024-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003\",\n @@ -1318,7 +1318,7 @@ interactions: User-Agent: - AZURECLI/2.63.0 azsdk-python-core/1.30.2 Python/3.10.12 (Linux-6.2.0-1012-azure-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003?api-version=2024-05-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003?api-version=2024-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003\",\n @@ -1782,7 +1782,7 @@ interactions: User-Agent: - AZURECLI/2.63.0 azsdk-python-core/1.30.2 Python/3.10.12 (Linux-6.2.0-1012-azure-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003?api-version=2024-05-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003?api-version=2024-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003\",\n @@ -1879,7 +1879,7 @@ interactions: User-Agent: - AZURECLI/2.63.0 azsdk-python-core/1.30.2 Python/3.10.12 (Linux-6.2.0-1012-azure-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003?api-version=2024-05-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003?api-version=2024-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003\",\n diff --git a/src/fleet/azext_fleet/tests/latest/recordings/test_fleet_hubless.yaml b/src/fleet/azext_fleet/tests/latest/recordings/test_fleet_hubless.yaml index 2757d892a3a..143e749e611 100644 --- a/src/fleet/azext_fleet/tests/latest/recordings/test_fleet_hubless.yaml +++ b/src/fleet/azext_fleet/tests/latest/recordings/test_fleet_hubless.yaml @@ -627,7 +627,7 @@ interactions: User-Agent: - AZURECLI/2.63.0 azsdk-python-core/1.30.2 Python/3.10.12 (Linux-6.2.0-1012-azure-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003?api-version=2024-05-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003?api-version=2024-07-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.ContainerService/managedClusters/flmc-000003'' @@ -739,7 +739,7 @@ interactions: User-Agent: - AZURECLI/2.63.0 azsdk-python-core/1.30.2 Python/3.10.12 (Linux-6.2.0-1012-azure-x86_64-with-glibc2.35) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003?api-version=2024-05-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003?api-version=2024-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003\",\n @@ -1241,7 +1241,7 @@ interactions: User-Agent: - AZURECLI/2.63.0 azsdk-python-core/1.30.2 Python/3.10.12 (Linux-6.2.0-1012-azure-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003?api-version=2024-05-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003?api-version=2024-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003\",\n @@ -1620,7 +1620,7 @@ interactions: User-Agent: - AZURECLI/2.63.0 azsdk-python-core/1.30.2 Python/3.10.12 (Linux-6.2.0-1012-azure-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003?api-version=2024-05-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003?api-version=2024-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003\",\n @@ -1717,7 +1717,7 @@ interactions: User-Agent: - AZURECLI/2.63.0 azsdk-python-core/1.30.2 Python/3.10.12 (Linux-6.2.0-1012-azure-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003?api-version=2024-05-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003?api-version=2024-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003\",\n @@ -1814,7 +1814,7 @@ interactions: User-Agent: - AZURECLI/2.63.0 azsdk-python-core/1.30.2 Python/3.10.12 (Linux-6.2.0-1012-azure-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003?api-version=2024-05-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003?api-version=2024-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003\",\n @@ -2277,7 +2277,7 @@ interactions: User-Agent: - AZURECLI/2.63.0 azsdk-python-core/1.30.2 Python/3.10.12 (Linux-6.2.0-1012-azure-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003?api-version=2024-05-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003?api-version=2024-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003\",\n @@ -2374,7 +2374,7 @@ interactions: User-Agent: - AZURECLI/2.63.0 azsdk-python-core/1.30.2 Python/3.10.12 (Linux-6.2.0-1012-azure-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003?api-version=2024-05-02-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003?api-version=2024-07-01 response: body: string: "{\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli-000001/providers/Microsoft.ContainerService/managedClusters/flmc-000003\",\n