From f245264d6b722128adfa0c6924014d9a05218809 Mon Sep 17 00:00:00 2001 From: Mansoor Sarfraz Date: Wed, 29 Apr 2026 13:03:15 +1000 Subject: [PATCH 1/3] CI step added to check external github url --- azure-pipelines.yml | 23 +++ scripts/ci/external_url_exclusions.json | 64 ++++++++ scripts/ci/validate_external_source_urls.py | 161 ++++++++++++++++++++ 3 files changed, 248 insertions(+) create mode 100644 scripts/ci/external_url_exclusions.json create mode 100644 scripts/ci/validate_external_source_urls.py diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7b9a213cfd2..3ab5a3e4ea0 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -150,6 +150,29 @@ jobs: ADO_PULL_REQUEST_LATEST_COMMIT: HEAD ADO_PULL_REQUEST_TARGET_BRANCH: $(System.PullRequest.TargetBranch) +- job: CheckExternalUrls + displayName: "Check External Source URLs" + pool: + name: ${{ variables.ubuntu_pool }} + steps: + - task: UsePythonVersion@0 + displayName: 'Use Python 3.13' + inputs: + versionSpec: 3.13 + - bash: | + #!/usr/bin/env bash + set -ev + if [[ "$(System.PullRequest.TargetBranch)" != "" ]]; then + # If CI is set to shallow fetch, target branch should be explicitly fetched. + # External URL exclusions are maintained in scripts/ci/external_url_exclusions.json. + git fetch origin --depth=1 $(System.PullRequest.TargetBranch) + python scripts/ci/validate_external_source_urls.py --src=HEAD --tgt=origin/$(System.PullRequest.TargetBranch) + else + # Non-PR builds + echo "Skipping external URL checks for Non-PR builds" + fi + displayName: 'Validate External Source URLs' + - job: AzdevLinterModifiedExtensions displayName: "azdev linter on Modified Extensions" condition: and(succeeded(), eq(variables['Build.Reason'], 'PullRequest')) diff --git a/scripts/ci/external_url_exclusions.json b/scripts/ci/external_url_exclusions.json new file mode 100644 index 00000000000..ab97c930581 --- /dev/null +++ b/scripts/ci/external_url_exclusions.json @@ -0,0 +1,64 @@ +{ + "tool": "External URL Validation", + "exclusions": [ + { + "file": [ + "*.md", + "*.rst", + "docs/*", + "*/doc/*", + "*/docs/*" + ], + "_justification": "Documentation content may intentionally reference external URLs and is excluded from this source-code-focused validation." + }, + { + "file": [ + "scripts/*" + ], + "_justification": "CI and tooling scripts are maintained separately from extension source content and are excluded to avoid self-flagging the validator configuration." + }, + { + "file": [ + "*/tests/recordings/*", + "*/tests/*.py", + "*/tests/*.json", + "*/tests/*.yaml", + "*/tests/*.yml", + "*/tests/*/recordings/*", + "*/tests/*/test_*.py", + "*/tests/*/*.json", + "*/tests/*/*.yaml", + "*/tests/*/*.yml" + ], + "_justification": "Test sources, recordings, and test data can contain external sample URLs that are not shipped as runtime source dependencies." + }, + { + "file": [ + "src/automation/azext_automation/generated/_help.py" + ], + "_justification": "Generated help content contains a preserved sample raw GitHub URL and is excluded as generated documentation output." + }, + { + "file": [ + "src/custom-providers/azext_custom_providers/_help.py" + ], + "_justification": "Custom Providers help text documents the service contract for validation specifications and intentionally references raw GitHub as an example input." + }, + { + "file": [ + "src/custom-providers/azext_custom_providers/vendored_sdks/customproviders/models/_models.py", + "src/custom-providers/azext_custom_providers/vendored_sdks/customproviders/models/_models_py3.py" + ], + "_justification": "Vendored SDK model validation regexes intentionally describe the accepted raw GitHub URL format and are not outbound source references." + }, + { + "file": [ + "src/machinelearningservices/azext_mlv2/manual/_help/_data_help.py" + ], + "_justification": "Manual help content includes a public sample dataset URL for documentation purposes and is excluded from runtime source validation." + } + ] +} + + + diff --git a/scripts/ci/validate_external_source_urls.py b/scripts/ci/validate_external_source_urls.py new file mode 100644 index 00000000000..8d66a9c2a46 --- /dev/null +++ b/scripts/ci/validate_external_source_urls.py @@ -0,0 +1,161 @@ +#!/usr/bin/env python + +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +"""Fail CI if forbidden raw GitHub URL is introduced in new diff lines.""" + +import argparse +import fnmatch +import json +import re +import subprocess +import sys +from pathlib import Path + + +FORBIDDEN_EXTERNAL_URL_PATTERN = re.compile( + r"https://raw\.githubusercontent\.com" +) +RECOMMENDED_INTERNAL_URL = "https://azcliprod.blob.core.windows.net/cli" +EXCLUSION_CONFIG_PATH = Path(__file__).with_name("external_url_exclusions.json") + +# Paths matching these glob patterns are excluded from the check. +# Exclusions are loaded from external_url_exclusions.json. +EXCLUDED_PATH_PATTERNS = None + + +def _load_excluded_path_patterns(): + """Load excluded path glob patterns from the JSON configuration file.""" + try: + with EXCLUSION_CONFIG_PATH.open(encoding="utf-8") as input_file: + config = json.load(input_file) + except (OSError, ValueError) as ex: + raise RuntimeError(f"Unable to load exclusion patterns from '{EXCLUSION_CONFIG_PATH}': {ex}") from ex + + if not isinstance(config, dict): + raise RuntimeError( + f"Invalid exclusion pattern configuration in '{EXCLUSION_CONFIG_PATH}': expected a JSON object" + ) + + exclusions = config.get("exclusions") + if not isinstance(exclusions, list): + raise RuntimeError( + f"Invalid exclusion pattern configuration in '{EXCLUSION_CONFIG_PATH}': expected 'exclusions' to be a JSON array" + ) + + patterns = [] + for exclusion in exclusions: + if not isinstance(exclusion, dict): + raise RuntimeError( + f"Invalid exclusion pattern configuration in '{EXCLUSION_CONFIG_PATH}': each exclusion must be a JSON object" + ) + + files = exclusion.get("file") + if isinstance(files, str): + files = [files] + + if not isinstance(files, list) or not all(isinstance(pattern, str) for pattern in files): + raise RuntimeError( + f"Invalid exclusion pattern configuration in '{EXCLUSION_CONFIG_PATH}': each exclusion 'file' must be a string or JSON array of strings" + ) + + patterns.extend(pattern.replace("\\", "/") for pattern in files) + + return patterns + + +def _get_excluded_path_patterns(): + """Return cached excluded path glob patterns.""" + global EXCLUDED_PATH_PATTERNS # pylint: disable=global-statement + + if EXCLUDED_PATH_PATTERNS is None: + EXCLUDED_PATH_PATTERNS = _load_excluded_path_patterns() + + return EXCLUDED_PATH_PATTERNS + + +def _is_excluded(file_path: str) -> bool: + """Return True if *file_path* matches one of the exclusion glob patterns.""" + for pattern in _get_excluded_path_patterns(): + if fnmatch.fnmatch(file_path, pattern): + return True + return False + + +def _run_diff(src: str, tgt: str, cached: bool = False) -> str: + cmd = ["git", "diff", "--unified=0", "--no-color"] + if cached: + cmd.append("--cached") + else: + cmd.append(f"{tgt}...{src}") + + proc = subprocess.run( + cmd, + stdout=subprocess.PIPE, + stderr=subprocess.PIPE, + text=True, + check=False, + ) + if proc.returncode != 0: + raise RuntimeError(proc.stderr.strip() or "git diff failed") + return proc.stdout + + +def _find_violations(diff_text: str): + violations = [] + current_file = "" + + for line in diff_text.splitlines(): + if line.startswith("+++ b/"): + current_file = line[6:] + continue + + if not line.startswith("+") or line.startswith("+++"): + continue + + added_line = line[1:] + if FORBIDDEN_EXTERNAL_URL_PATTERN.search(added_line) and not _is_excluded(current_file): + violations.append((current_file or "", added_line.strip())) + + return violations + + +def main() -> int: + parser = argparse.ArgumentParser(description="Check diff for forbidden raw github URL usage.") + parser.add_argument("--src", default="HEAD", help="Source ref/commit for git diff.") + parser.add_argument("--tgt", default="HEAD~1", help="Target ref/commit for git diff.") + parser.add_argument("--cached", action="store_true", help="Check staged changes in git index.") + args = parser.parse_args() + + try: + _get_excluded_path_patterns() + diff_text = _run_diff(src=args.src, tgt=args.tgt, cached=args.cached) + except Exception as ex: # pylint: disable=broad-except + if args.cached: + print(f"Unable to evaluate staged diff: {ex}", file=sys.stderr) + else: + print(f"Unable to evaluate diff between '{args.tgt}' and '{args.src}': {ex}", file=sys.stderr) + return 1 + + violations = _find_violations(diff_text) + if not violations: + print("No forbidden external github URL found in added lines.") + return 0 + + print("Found forbidden external github URL in this change:", file=sys.stderr) + for file_path, content in violations: + print(f" - {file_path}: {content}", file=sys.stderr) + + print( + f"Use '{RECOMMENDED_INTERNAL_URL}' instead of raw GitHub URLs to limit external system access.", + file=sys.stderr, + ) + return 1 + + +if __name__ == "__main__": + sys.exit(main()) + From cdc1547191b211870fc430f2c71929f4ef0e2e3b Mon Sep 17 00:00:00 2001 From: Mansoor Sarfraz Date: Thu, 30 Apr 2026 11:36:32 +1000 Subject: [PATCH 2/3] updated githubusercontent main aliases.json to azure blob --- .../tests/latest/recordings/test_ExtensionUpgrade.yaml | 4 ++-- .../tests/latest/recordings/test_NewExtensionDiskAdd.yaml | 4 ++-- .../latest/recordings/test_NewExtensionUltraDisk.yaml | 4 ++-- .../latest/recordings/test_OldExtensionReinstall.yaml | 4 ++-- .../latest/recordings/test_WithUserAssignedIdentity.yaml | 4 ++-- .../test_amcs_data_collection_endpoint_association.yaml | 4 ++-- .../recordings/test_monitor_control_service_commands.yaml | 4 ++-- .../test_scheduled_query_condition_operator.yaml | 4 ++-- .../test_scheduled_query_update_action_group.yaml | 4 ++-- .../tests/latest/recordings/test_check_resource_VM.yaml | 4 ++-- .../tests/latest/recordings/test_check_resource_VMSS.yaml | 4 ++-- .../test_siterecovery_A2A_selfcreated_scenarios.yaml | 4 ++-- .../latest/recordings/test_siterecovery_scenarios.yaml | 4 ++-- .../recordings/test_storage_mover_endpoint_scenarios.yaml | 8 ++++---- .../test_storage_mover_job_definition_scenarios.yaml | 4 ++-- 15 files changed, 32 insertions(+), 32 deletions(-) diff --git a/src/aem/azext_aem/tests/latest/recordings/test_ExtensionUpgrade.yaml b/src/aem/azext_aem/tests/latest/recordings/test_ExtensionUpgrade.yaml index 32e5d1c53cd..b7d3afb29ea 100644 --- a/src/aem/azext_aem/tests/latest/recordings/test_ExtensionUpgrade.yaml +++ b/src/aem/azext_aem/tests/latest/recordings/test_ExtensionUpgrade.yaml @@ -54,7 +54,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n @@ -1836,7 +1836,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n diff --git a/src/aem/azext_aem/tests/latest/recordings/test_NewExtensionDiskAdd.yaml b/src/aem/azext_aem/tests/latest/recordings/test_NewExtensionDiskAdd.yaml index 0e3e1395009..0f1314a9fc6 100644 --- a/src/aem/azext_aem/tests/latest/recordings/test_NewExtensionDiskAdd.yaml +++ b/src/aem/azext_aem/tests/latest/recordings/test_NewExtensionDiskAdd.yaml @@ -54,7 +54,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n @@ -1836,7 +1836,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n diff --git a/src/aem/azext_aem/tests/latest/recordings/test_NewExtensionUltraDisk.yaml b/src/aem/azext_aem/tests/latest/recordings/test_NewExtensionUltraDisk.yaml index bf64bbb9260..6c0008f7afa 100644 --- a/src/aem/azext_aem/tests/latest/recordings/test_NewExtensionUltraDisk.yaml +++ b/src/aem/azext_aem/tests/latest/recordings/test_NewExtensionUltraDisk.yaml @@ -54,7 +54,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n @@ -1834,7 +1834,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n diff --git a/src/aem/azext_aem/tests/latest/recordings/test_OldExtensionReinstall.yaml b/src/aem/azext_aem/tests/latest/recordings/test_OldExtensionReinstall.yaml index 20da1bb43a2..9e0cfd05487 100644 --- a/src/aem/azext_aem/tests/latest/recordings/test_OldExtensionReinstall.yaml +++ b/src/aem/azext_aem/tests/latest/recordings/test_OldExtensionReinstall.yaml @@ -54,7 +54,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n @@ -1836,7 +1836,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n diff --git a/src/aem/azext_aem/tests/latest/recordings/test_WithUserAssignedIdentity.yaml b/src/aem/azext_aem/tests/latest/recordings/test_WithUserAssignedIdentity.yaml index b164a5a5f1f..c4ba5a06ed1 100644 --- a/src/aem/azext_aem/tests/latest/recordings/test_WithUserAssignedIdentity.yaml +++ b/src/aem/azext_aem/tests/latest/recordings/test_WithUserAssignedIdentity.yaml @@ -54,7 +54,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n @@ -1836,7 +1836,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n diff --git a/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_amcs_data_collection_endpoint_association.yaml b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_amcs_data_collection_endpoint_association.yaml index 912937add20..6673eca42fc 100644 --- a/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_amcs_data_collection_endpoint_association.yaml +++ b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_amcs_data_collection_endpoint_association.yaml @@ -212,7 +212,7 @@ interactions: User-Agent: - python-requests/2.32.0 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\"\ @@ -491,7 +491,7 @@ interactions: User-Agent: - python-requests/2.32.0 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\"\ diff --git a/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_commands.yaml b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_commands.yaml index e9cbf6cdcfb..d1496c4406b 100644 --- a/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_commands.yaml +++ b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_commands.yaml @@ -402,7 +402,7 @@ interactions: User-Agent: - python-requests/2.32.0 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\"\ @@ -681,7 +681,7 @@ interactions: User-Agent: - python-requests/2.32.0 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\"\ diff --git a/src/scheduled-query/azext_scheduled_query/tests/latest/recordings/test_scheduled_query_condition_operator.yaml b/src/scheduled-query/azext_scheduled_query/tests/latest/recordings/test_scheduled_query_condition_operator.yaml index 664a6e69c37..065bd105a61 100644 --- a/src/scheduled-query/azext_scheduled_query/tests/latest/recordings/test_scheduled_query_condition_operator.yaml +++ b/src/scheduled-query/azext_scheduled_query/tests/latest/recordings/test_scheduled_query_condition_operator.yaml @@ -55,7 +55,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\"\ @@ -328,7 +328,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\"\ diff --git a/src/scheduled-query/azext_scheduled_query/tests/latest/recordings/test_scheduled_query_update_action_group.yaml b/src/scheduled-query/azext_scheduled_query/tests/latest/recordings/test_scheduled_query_update_action_group.yaml index b45b5125d79..4e6b9028699 100644 --- a/src/scheduled-query/azext_scheduled_query/tests/latest/recordings/test_scheduled_query_update_action_group.yaml +++ b/src/scheduled-query/azext_scheduled_query/tests/latest/recordings/test_scheduled_query_update_action_group.yaml @@ -55,7 +55,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\"\ @@ -328,7 +328,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\"\ diff --git a/src/serial-console/azext_serialconsole/tests/latest/recordings/test_check_resource_VM.yaml b/src/serial-console/azext_serialconsole/tests/latest/recordings/test_check_resource_VM.yaml index 48f951fbd77..3ac20707660 100644 --- a/src/serial-console/azext_serialconsole/tests/latest/recordings/test_check_resource_VM.yaml +++ b/src/serial-console/azext_serialconsole/tests/latest/recordings/test_check_resource_VM.yaml @@ -150,7 +150,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n @@ -429,7 +429,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n diff --git a/src/serial-console/azext_serialconsole/tests/latest/recordings/test_check_resource_VMSS.yaml b/src/serial-console/azext_serialconsole/tests/latest/recordings/test_check_resource_VMSS.yaml index 73889de8b77..1053c29ae66 100644 --- a/src/serial-console/azext_serialconsole/tests/latest/recordings/test_check_resource_VMSS.yaml +++ b/src/serial-console/azext_serialconsole/tests/latest/recordings/test_check_resource_VMSS.yaml @@ -150,7 +150,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n @@ -429,7 +429,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n diff --git a/src/site-recovery/azext_site_recovery/tests/latest/recordings/test_siterecovery_A2A_selfcreated_scenarios.yaml b/src/site-recovery/azext_site_recovery/tests/latest/recordings/test_siterecovery_A2A_selfcreated_scenarios.yaml index 38732b93793..e3495d636a0 100644 --- a/src/site-recovery/azext_site_recovery/tests/latest/recordings/test_siterecovery_A2A_selfcreated_scenarios.yaml +++ b/src/site-recovery/azext_site_recovery/tests/latest/recordings/test_siterecovery_A2A_selfcreated_scenarios.yaml @@ -148,7 +148,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n @@ -437,7 +437,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n diff --git a/src/site-recovery/azext_site_recovery/tests/latest/recordings/test_siterecovery_scenarios.yaml b/src/site-recovery/azext_site_recovery/tests/latest/recordings/test_siterecovery_scenarios.yaml index b15c6e60cc9..43f48d96225 100644 --- a/src/site-recovery/azext_site_recovery/tests/latest/recordings/test_siterecovery_scenarios.yaml +++ b/src/site-recovery/azext_site_recovery/tests/latest/recordings/test_siterecovery_scenarios.yaml @@ -54,7 +54,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n @@ -2368,7 +2368,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n diff --git a/src/storage-mover/azext_storage_mover/tests/latest/recordings/test_storage_mover_endpoint_scenarios.yaml b/src/storage-mover/azext_storage_mover/tests/latest/recordings/test_storage_mover_endpoint_scenarios.yaml index d82f92663f3..ca5dc086020 100644 --- a/src/storage-mover/azext_storage_mover/tests/latest/recordings/test_storage_mover_endpoint_scenarios.yaml +++ b/src/storage-mover/azext_storage_mover/tests/latest/recordings/test_storage_mover_endpoint_scenarios.yaml @@ -1264,7 +1264,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n @@ -4364,7 +4364,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n @@ -5502,7 +5502,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n @@ -8606,7 +8606,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n diff --git a/src/storage-mover/azext_storage_mover/tests/latest/recordings/test_storage_mover_job_definition_scenarios.yaml b/src/storage-mover/azext_storage_mover/tests/latest/recordings/test_storage_mover_job_definition_scenarios.yaml index a0242eb854f..d3935b9bb3f 100644 --- a/src/storage-mover/azext_storage_mover/tests/latest/recordings/test_storage_mover_job_definition_scenarios.yaml +++ b/src/storage-mover/azext_storage_mover/tests/latest/recordings/test_storage_mover_job_definition_scenarios.yaml @@ -484,7 +484,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n @@ -2937,7 +2937,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: GET - uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json + uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n From ce5b82071df67cec961f9abde0125529415ab782 Mon Sep 17 00:00:00 2001 From: Mansoor Sarfraz Date: Thu, 30 Apr 2026 12:02:06 +1000 Subject: [PATCH 3/3] Revert "updated githubusercontent main aliases.json to azure blob" This reverts commit cdc1547191b211870fc430f2c71929f4ef0e2e3b. --- .../tests/latest/recordings/test_ExtensionUpgrade.yaml | 4 ++-- .../tests/latest/recordings/test_NewExtensionDiskAdd.yaml | 4 ++-- .../latest/recordings/test_NewExtensionUltraDisk.yaml | 4 ++-- .../latest/recordings/test_OldExtensionReinstall.yaml | 4 ++-- .../latest/recordings/test_WithUserAssignedIdentity.yaml | 4 ++-- .../test_amcs_data_collection_endpoint_association.yaml | 4 ++-- .../recordings/test_monitor_control_service_commands.yaml | 4 ++-- .../test_scheduled_query_condition_operator.yaml | 4 ++-- .../test_scheduled_query_update_action_group.yaml | 4 ++-- .../tests/latest/recordings/test_check_resource_VM.yaml | 4 ++-- .../tests/latest/recordings/test_check_resource_VMSS.yaml | 4 ++-- .../test_siterecovery_A2A_selfcreated_scenarios.yaml | 4 ++-- .../latest/recordings/test_siterecovery_scenarios.yaml | 4 ++-- .../recordings/test_storage_mover_endpoint_scenarios.yaml | 8 ++++---- .../test_storage_mover_job_definition_scenarios.yaml | 4 ++-- 15 files changed, 32 insertions(+), 32 deletions(-) diff --git a/src/aem/azext_aem/tests/latest/recordings/test_ExtensionUpgrade.yaml b/src/aem/azext_aem/tests/latest/recordings/test_ExtensionUpgrade.yaml index b7d3afb29ea..32e5d1c53cd 100644 --- a/src/aem/azext_aem/tests/latest/recordings/test_ExtensionUpgrade.yaml +++ b/src/aem/azext_aem/tests/latest/recordings/test_ExtensionUpgrade.yaml @@ -54,7 +54,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n @@ -1836,7 +1836,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n diff --git a/src/aem/azext_aem/tests/latest/recordings/test_NewExtensionDiskAdd.yaml b/src/aem/azext_aem/tests/latest/recordings/test_NewExtensionDiskAdd.yaml index 0f1314a9fc6..0e3e1395009 100644 --- a/src/aem/azext_aem/tests/latest/recordings/test_NewExtensionDiskAdd.yaml +++ b/src/aem/azext_aem/tests/latest/recordings/test_NewExtensionDiskAdd.yaml @@ -54,7 +54,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n @@ -1836,7 +1836,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n diff --git a/src/aem/azext_aem/tests/latest/recordings/test_NewExtensionUltraDisk.yaml b/src/aem/azext_aem/tests/latest/recordings/test_NewExtensionUltraDisk.yaml index 6c0008f7afa..bf64bbb9260 100644 --- a/src/aem/azext_aem/tests/latest/recordings/test_NewExtensionUltraDisk.yaml +++ b/src/aem/azext_aem/tests/latest/recordings/test_NewExtensionUltraDisk.yaml @@ -54,7 +54,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n @@ -1834,7 +1834,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n diff --git a/src/aem/azext_aem/tests/latest/recordings/test_OldExtensionReinstall.yaml b/src/aem/azext_aem/tests/latest/recordings/test_OldExtensionReinstall.yaml index 9e0cfd05487..20da1bb43a2 100644 --- a/src/aem/azext_aem/tests/latest/recordings/test_OldExtensionReinstall.yaml +++ b/src/aem/azext_aem/tests/latest/recordings/test_OldExtensionReinstall.yaml @@ -54,7 +54,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n @@ -1836,7 +1836,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n diff --git a/src/aem/azext_aem/tests/latest/recordings/test_WithUserAssignedIdentity.yaml b/src/aem/azext_aem/tests/latest/recordings/test_WithUserAssignedIdentity.yaml index c4ba5a06ed1..b164a5a5f1f 100644 --- a/src/aem/azext_aem/tests/latest/recordings/test_WithUserAssignedIdentity.yaml +++ b/src/aem/azext_aem/tests/latest/recordings/test_WithUserAssignedIdentity.yaml @@ -54,7 +54,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n @@ -1836,7 +1836,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n diff --git a/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_amcs_data_collection_endpoint_association.yaml b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_amcs_data_collection_endpoint_association.yaml index 6673eca42fc..912937add20 100644 --- a/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_amcs_data_collection_endpoint_association.yaml +++ b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_amcs_data_collection_endpoint_association.yaml @@ -212,7 +212,7 @@ interactions: User-Agent: - python-requests/2.32.0 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\"\ @@ -491,7 +491,7 @@ interactions: User-Agent: - python-requests/2.32.0 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\"\ diff --git a/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_commands.yaml b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_commands.yaml index d1496c4406b..e9cbf6cdcfb 100644 --- a/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_commands.yaml +++ b/src/monitor-control-service/azext_amcs/tests/latest/recordings/test_monitor_control_service_commands.yaml @@ -402,7 +402,7 @@ interactions: User-Agent: - python-requests/2.32.0 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\"\ @@ -681,7 +681,7 @@ interactions: User-Agent: - python-requests/2.32.0 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\"\ diff --git a/src/scheduled-query/azext_scheduled_query/tests/latest/recordings/test_scheduled_query_condition_operator.yaml b/src/scheduled-query/azext_scheduled_query/tests/latest/recordings/test_scheduled_query_condition_operator.yaml index 065bd105a61..664a6e69c37 100644 --- a/src/scheduled-query/azext_scheduled_query/tests/latest/recordings/test_scheduled_query_condition_operator.yaml +++ b/src/scheduled-query/azext_scheduled_query/tests/latest/recordings/test_scheduled_query_condition_operator.yaml @@ -55,7 +55,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\"\ @@ -328,7 +328,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\"\ diff --git a/src/scheduled-query/azext_scheduled_query/tests/latest/recordings/test_scheduled_query_update_action_group.yaml b/src/scheduled-query/azext_scheduled_query/tests/latest/recordings/test_scheduled_query_update_action_group.yaml index 4e6b9028699..b45b5125d79 100644 --- a/src/scheduled-query/azext_scheduled_query/tests/latest/recordings/test_scheduled_query_update_action_group.yaml +++ b/src/scheduled-query/azext_scheduled_query/tests/latest/recordings/test_scheduled_query_update_action_group.yaml @@ -55,7 +55,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\"\ @@ -328,7 +328,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\"\ diff --git a/src/serial-console/azext_serialconsole/tests/latest/recordings/test_check_resource_VM.yaml b/src/serial-console/azext_serialconsole/tests/latest/recordings/test_check_resource_VM.yaml index 3ac20707660..48f951fbd77 100644 --- a/src/serial-console/azext_serialconsole/tests/latest/recordings/test_check_resource_VM.yaml +++ b/src/serial-console/azext_serialconsole/tests/latest/recordings/test_check_resource_VM.yaml @@ -150,7 +150,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n @@ -429,7 +429,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n diff --git a/src/serial-console/azext_serialconsole/tests/latest/recordings/test_check_resource_VMSS.yaml b/src/serial-console/azext_serialconsole/tests/latest/recordings/test_check_resource_VMSS.yaml index 1053c29ae66..73889de8b77 100644 --- a/src/serial-console/azext_serialconsole/tests/latest/recordings/test_check_resource_VMSS.yaml +++ b/src/serial-console/azext_serialconsole/tests/latest/recordings/test_check_resource_VMSS.yaml @@ -150,7 +150,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n @@ -429,7 +429,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n diff --git a/src/site-recovery/azext_site_recovery/tests/latest/recordings/test_siterecovery_A2A_selfcreated_scenarios.yaml b/src/site-recovery/azext_site_recovery/tests/latest/recordings/test_siterecovery_A2A_selfcreated_scenarios.yaml index e3495d636a0..38732b93793 100644 --- a/src/site-recovery/azext_site_recovery/tests/latest/recordings/test_siterecovery_A2A_selfcreated_scenarios.yaml +++ b/src/site-recovery/azext_site_recovery/tests/latest/recordings/test_siterecovery_A2A_selfcreated_scenarios.yaml @@ -148,7 +148,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n @@ -437,7 +437,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n diff --git a/src/site-recovery/azext_site_recovery/tests/latest/recordings/test_siterecovery_scenarios.yaml b/src/site-recovery/azext_site_recovery/tests/latest/recordings/test_siterecovery_scenarios.yaml index 43f48d96225..b15c6e60cc9 100644 --- a/src/site-recovery/azext_site_recovery/tests/latest/recordings/test_siterecovery_scenarios.yaml +++ b/src/site-recovery/azext_site_recovery/tests/latest/recordings/test_siterecovery_scenarios.yaml @@ -54,7 +54,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n @@ -2368,7 +2368,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n diff --git a/src/storage-mover/azext_storage_mover/tests/latest/recordings/test_storage_mover_endpoint_scenarios.yaml b/src/storage-mover/azext_storage_mover/tests/latest/recordings/test_storage_mover_endpoint_scenarios.yaml index ca5dc086020..d82f92663f3 100644 --- a/src/storage-mover/azext_storage_mover/tests/latest/recordings/test_storage_mover_endpoint_scenarios.yaml +++ b/src/storage-mover/azext_storage_mover/tests/latest/recordings/test_storage_mover_endpoint_scenarios.yaml @@ -1264,7 +1264,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n @@ -4364,7 +4364,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n @@ -5502,7 +5502,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n @@ -8606,7 +8606,7 @@ interactions: User-Agent: - python-requests/2.32.4 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n diff --git a/src/storage-mover/azext_storage_mover/tests/latest/recordings/test_storage_mover_job_definition_scenarios.yaml b/src/storage-mover/azext_storage_mover/tests/latest/recordings/test_storage_mover_job_definition_scenarios.yaml index d3935b9bb3f..a0242eb854f 100644 --- a/src/storage-mover/azext_storage_mover/tests/latest/recordings/test_storage_mover_job_definition_scenarios.yaml +++ b/src/storage-mover/azext_storage_mover/tests/latest/recordings/test_storage_mover_job_definition_scenarios.yaml @@ -484,7 +484,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n @@ -2937,7 +2937,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: GET - uri: https://azcliprod.blob.core.windows.net/cli/vm/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n