diff --git a/.azure-pipelines/templates/automation_test.yml b/.azure-pipelines/templates/automation_test.yml index 6e0e542884d..c633bfe3c79 100644 --- a/.azure-pipelines/templates/automation_test.yml +++ b/.azure-pipelines/templates/automation_test.yml @@ -1,6 +1,16 @@ +# Azure DevOps task for automation test using azdev and pytest + parameters: - pythonVersion: '' - profile: '' +- name: pythonVersion + type: string + default: 3.8 +- name: profile + type: string + default: latest +- name: fullTest + displayName: 'Run full test?' + type: boolean + default: false steps: - task: UsePythonVersion@0 @@ -13,10 +23,17 @@ steps: source env/bin/activate - if [[ "$(System.PullRequest.TargetBranch)" != "" ]]; then - azdev test --series --no-exitfirst --repo=./ --src=HEAD --tgt=origin/$(System.PullRequest.TargetBranch) --cli-ci --profile ${{ parameters.profile }} + echo pythonVersion: ${{ parameters.pythonVersion }} + echo profile: ${{ parameters.profile }} + echo fullTest: ${{ parameters.fullTest }} + echo Build.Reason: $(Build.Reason) + + if [[ "$(Build.Reason)" == "PullRequest" && "${{ parameters.fullTest }}" == 'False' ]]; then + echo "Running incremental test" + azdev test --no-exitfirst --repo=./ --src=HEAD --tgt=origin/$(System.PullRequest.TargetBranch) --cli-ci --profile ${{ parameters.profile }} --verbose --series else - azdev test --series --no-exitfirst --profile ${{ parameters.profile }} + echo "Running full test" + azdev test --no-exitfirst --profile ${{ parameters.profile }} --verbose --series fi displayName: "Test on Profile ${{ parameters.profile }}" env: diff --git a/.vscode/launch.json b/.vscode/launch.json index 1187e215bf1..c2a47d74891 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,7 +5,7 @@ "name": "Azure CLI Debug (Integrated Console)", "type": "python", "request": "launch", - "pythonPath": "${command:python.interpreterPath}", + "python": "${command:python.interpreterPath}", "program": "${workspaceRoot}/src/azure-cli/azure/cli/__main__.py", "cwd": "${workspaceRoot}", "args": [ @@ -24,7 +24,7 @@ "type": "python", "request": "launch", "stopOnEntry": true, - "pythonPath": "${command:python.interpreterPath}", + "python": "${command:python.interpreterPath}", "program": "${workspaceRoot}/src/azure-cli/azure/cli/__main__.py", "cwd": "${workspaceRoot}", "args": [ @@ -40,7 +40,7 @@ "name": "Azdev Scripts", "type": "python", "request": "launch", - "pythonPath": "${command:python.interpreterPath}", + "python": "${command:python.interpreterPath}", "program": "${workspaceRoot}/tools/automation/__main__.py", "cwd": "${workspaceRoot}", "args": [ diff --git a/azure-pipelines-full-tests.yml b/azure-pipelines-full-tests.yml index 18a6ba50057..7058bf19864 100644 --- a/azure-pipelines-full-tests.yml +++ b/azure-pipelines-full-tests.yml @@ -13,144 +13,74 @@ pr: - '*' jobs: - - job: ExtractMetadata - displayName: Extract Metadata +- job: AutomationTest + displayName: Automation Test (Profile Latest) + timeoutInMinutes: 120 + pool: + vmImage: 'ubuntu-16.04' + strategy: + matrix: + Python36: + python.version: '3.6' + Python38: + python.version: '3.8' + steps: + - template: .azure-pipelines/templates/automation_test.yml + parameters: + pythonVersion: '$(python.version)' + profile: 'latest' + fullTest: true - condition: succeeded() - pool: - vmImage: 'ubuntu-16.04' - steps: - - task: Bash@3 - displayName: 'Extract Version' - inputs: - targetType: 'filePath' - filePath: scripts/release/get_version.sh - - task: PublishPipelineArtifact@0 - displayName: 'Publish Artifact: metadata' - inputs: - TargetPath: $(Build.ArtifactStagingDirectory) - ArtifactName: metadata +- job: AutomationTest20200901 + displayName: Automation Test (Profile 2020-09-01) + timeoutInMinutes: 120 + pool: + vmImage: 'ubuntu-16.04' + strategy: + matrix: + Python36: + python.version: '3.6' + Python38: + python.version: '3.8' + steps: + - template: .azure-pipelines/templates/automation_test.yml + parameters: + pythonVersion: '$(python.version)' + profile: '2020-09-01-hybrid' + fullTest: true - - job: BuildPythonWheel - displayName: Build Python Wheels - dependsOn: ExtractMetadata - condition: succeeded() - pool: - vmImage: 'ubuntu-16.04' - steps: - - task: UsePythonVersion@0 - displayName: 'Use Python 3.7' - inputs: - versionSpec: 3.7 +- job: AutomationTest20190301 + displayName: Automation Test (Profile 2019-03-01) + timeoutInMinutes: 120 + pool: + vmImage: 'ubuntu-16.04' + strategy: + matrix: + Python36: + python.version: '3.6' + Python38: + python.version: '3.8' + steps: + - template: .azure-pipelines/templates/automation_test.yml + parameters: + pythonVersion: '$(python.version)' + profile: '2019-03-01-hybrid' + fullTest: true - - script: | - if [[ "$(Build.Reason)" == "PullRequest" ]]; then - branch=$(System.PullRequest.TargetBranch) - else - branch=$(Build.SourceBranchName) - fi - scripts/release/pypi/build.sh $branch - displayName: 'Run Wheel Build Script' - - - task: PublishPipelineArtifact@0 - displayName: 'Publish Artifact: pypi' - inputs: - TargetPath: $(Build.ArtifactStagingDirectory) - ArtifactName: pypi - - - job: AutomationTest - displayName: Automation Test - dependsOn: BuildPythonWheel - condition: succeeded() - timeoutInMinutes: 90 - - pool: - vmImage: 'ubuntu-16.04' - strategy: - matrix: - Python36: - python.version: '3.6' - Python38: - python.version: '3.8' - steps: - - task: UsePythonVersion@0 - displayName: 'Use Python $(python.version)' - inputs: - versionSpec: '$(python.version)' - - task: DownloadPipelineArtifact@1 - displayName: 'Download Python Wheels' - inputs: - TargetPath: '$(Build.ArtifactStagingDirectory)/pypi' - artifactName: pypi - - bash: | - pip install --force-reinstall wheel - - task: Bash@3 - displayName: 'Run Test Automation' - inputs: - targetType: 'filePath' - filePath: ./scripts/ci/test_automation.sh - - - job: RunAutomationReduced20190301 - displayName: Run Automation Reduced, Profile 2019-03-01 - dependsOn: BuildPythonWheel - condition: succeeded() - pool: - vmImage: 'ubuntu-16.04' - strategy: - matrix: - Python36: - python.version: '3.6' - Python38: - python.version: '3.8' - steps: - - task: UsePythonVersion@0 - displayName: 'Use Python $(python.version)' - inputs: - versionSpec: '$(python.version)' - - task: DownloadPipelineArtifact@1 - displayName: 'Download Python Wheels' - inputs: - TargetPath: '$(Build.ArtifactStagingDirectory)/pypi' - artifactName: pypi - - bash: | - pip install --force-reinstall wheel - - task: Bash@3 - displayName: 'Run Test Automation' - inputs: - targetType: 'filePath' - filePath: ./scripts/ci/test_automation.sh - env: - REDUCE_SDK: 'True' - AZURE_CLI_TEST_TARGET_PROFILE: '2019-03-01' - - - job: RunAutomation20180301 - displayName: Run Automation, Profile 2018-03-01 - dependsOn: BuildPythonWheel - condition: succeeded() - pool: - vmImage: 'ubuntu-16.04' - strategy: - matrix: - Python36: - python.version: '3.6' - Python38: - python.version: '3.8' - steps: - - task: UsePythonVersion@0 - displayName: 'Use Python $(python.version)' - inputs: - versionSpec: '$(python.version)' - - task: DownloadPipelineArtifact@1 - displayName: 'Download Python Wheels' - inputs: - TargetPath: '$(Build.ArtifactStagingDirectory)/pypi' - artifactName: pypi - - bash: | - pip install --force-reinstall wheel - - task: Bash@3 - displayName: 'Run Test Automation' - inputs: - targetType: 'filePath' - filePath: ./scripts/ci/test_automation.sh - env: - AZURE_CLI_TEST_TARGET_PROFILE: '2018-03-01' +- job: AutomationTest20180301 + displayName: Automation Test (Profile 2018-03-01) + timeoutInMinutes: 120 + pool: + vmImage: 'ubuntu-16.04' + strategy: + matrix: + Python36: + python.version: '3.6' + Python38: + python.version: '3.8' + steps: + - template: .azure-pipelines/templates/automation_test.yml + parameters: + pythonVersion: '$(python.version)' + profile: '2018-03-01-hybrid' + fullTest: true diff --git a/doc/track_2_migration_roadmap.md b/doc/track_2_migration_roadmap.md index e567637d7d3..fe1ec78e641 100644 --- a/doc/track_2_migration_roadmap.md +++ b/doc/track_2_migration_roadmap.md @@ -33,7 +33,7 @@ This document provides the roadmap for Track 2 SDK migration in Azure CLI. When | KeyVault | Yes|**Completed** | 04/30/2021 |Catherine||GA (8.0.0) | GA (2.2.0) | Medium (Once three months) | Module | | Monitor |Yes |**Completed** | 04/30/2021 |Yong||Monitor: GA (2.0.0)
LogAnalytics: GA (8.0.0) | Monitor: Preview (0.12.0)
LogAnalytics: GA (2.0.0) | Medium (Once two months) | Module | | Resource | Yes |**Doing** | 04/30/2021 |Yong ||GA (15.0.0) | GA (12.0.0) | Medium (Once two months) | Module | -| AppService | Yes|Not Started | 04/30/2021 |Catherine||GA (1.0.0) | Preview (0.48.0) | Medium (Once three months) | Module | +| AppService | Yes | **In progress** | 04/30/2021 |Catherine||GA (1.0.0) | Preview (0.48.0) | Medium (Once three months) | Module | | ACS | Yes |Not Started | 04/30/2021 |Catherine||ContainerService: GA (14.0.0)
ContainerInstance: GA (7.0.0) | ContainerService: GA (11.0.0)
ContainerInstance: GA (2.0.0) | Medium (Once two months) | Module | | ACR | Yes |Not Started | 04/30/2021 |Catherine||Preview (8.0.0b1) | Preview (3.0.0rc16) | Medium (Once two months) | Module | | CosmosDB | Yes |**Doing** | 04/30/2021 |Yong||GA (6.0.0) | Preview (2.0.0rc1) | Medium (Once two months) |Module| @@ -59,7 +59,7 @@ This document provides the roadmap for Track 2 SDK migration in Azure CLI. When | Synapse | |Not Started | N/A |||Preview (1.0.0b1) | Preview (0.6.0) | Medium (Once two months) | Module | | EventHub | |Not Started | N/A |||GA (8.0.0) | GA (4.2.0) | Low (Once a year) | Module | | Search | |**Completed** | N/A |||GA (8.0.0) | GA (3.0.0) | Low (Once a year) | Module | -| AppConfiguration | |Not Started | N/A |||GA (1.0.1) | Preview (0.6.0) | Medium (Once three months) | Module | +| AppConfiguration | |**Completed** | N/A |||GA (1.0.1) | Preview (0.6.0) | Medium (Once three months) | Module | | Security | |Not Started | N/A |||GA (1.0.0) | Preview (0.6.0) | Medium (Once three months) | Module | | Batch | |Not Started | N/A |||GA (14.0.0) | GA (9.0.0) | Low (Once half year) | Module | | CognitiveServices | |Not Started | N/A ||| GA (11.0.0) | GA (6.3.0) | Low (Once half year) | Module | diff --git a/scripts/ci/test_automation.sh b/scripts/ci/test_automation.sh deleted file mode 100755 index 080b3e118fc..00000000000 --- a/scripts/ci/test_automation.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/usr/bin/env bash - -set -ev - -. $(dirname ${BASH_SOURCE[0]})/artifacts.sh - -ls -la $share_folder/build - -ALL_MODULES=`find $share_folder/build/ -name "*.whl"` - -############################################## -# Define colored output func -function title { - LGREEN='\033[1;32m' - CLEAR='\033[0m' - - echo -e ${LGREEN}$1${CLEAR} -} - -title 'Install azdev' -pip install -qqq -e ./tools - -title 'Install code coverage tools' -pip install -qqq coverage codecov - -title 'Install private packages (optional)' -[ -d privates ] && pip install -qqq privates/*.whl - -title 'Install products' -pip install -qqq $ALL_MODULES - -title 'Installed packages' -pip freeze - -if [ "$REDUCE_SDK" == "True" ] -then - title 'azure.mgmt file counts' - (find $(dirname $(which python))/../lib -name '*.py' | grep azure/mgmt/ | wc) - - python $(dirname ${BASH_SOURCE[0]})/../sdk_process/patch_models.py - - title 'azure.mgmt file counts after reduce' - (find $(dirname $(which python))/../lib -name '*.py' | grep azure/mgmt/ | wc) -fi - -target_profile=${AZURE_CLI_TEST_TARGET_PROFILE:-latest} -if [ "$target_profile" != "latest" ]; then - # example: 2019-03-01-hybrid - target_profile=$target_profile-hybrid -fi - -# test basic az commands -az -v -az -h - -title 'Running tests' -python -m automation test --ci --profile $target_profile diff --git a/scripts/release/debian/prepare.sh b/scripts/release/debian/prepare.sh index ab3ec5f9181..c35181a5704 100755 --- a/scripts/release/debian/prepare.sh +++ b/scripts/release/debian/prepare.sh @@ -106,7 +106,7 @@ override_dh_install: ${TAB}mkdir -p debian/azure-cli/opt/az ${TAB}cp -a python_env/* debian/azure-cli/opt/az ${TAB}mkdir -p debian/azure-cli/usr/bin/ -${TAB}echo "\043!/usr/bin/env bash\nAZ_INSTALLER=DEB /opt/az/bin/python3 -Im azure.cli \"\044\100\"" > debian/azure-cli/usr/bin/az +${TAB}echo "\043!/usr/bin/env bash\nbin_dir=\140cd \"\044(dirname \"\044BASH_SOURCE[0]\")\"; pwd\140\nAZ_INSTALLER=DEB \"\044bin_dir\"/../../opt/az/bin/python3 -Im azure.cli \"\044\100\"" > debian/azure-cli/usr/bin/az ${TAB}chmod 0755 debian/azure-cli/usr/bin/az ${TAB}mkdir -p debian/azure-cli/etc/bash_completion.d/ ${TAB}cat ${completion_script} > debian/azure-cli/etc/bash_completion.d/azure-cli diff --git a/scripts/release/rpm/azure-cli.spec b/scripts/release/rpm/azure-cli.spec index 0a6560e7fdf..0a52d0ca69c 100644 --- a/scripts/release/rpm/azure-cli.spec +++ b/scripts/release/rpm/azure-cli.spec @@ -26,6 +26,8 @@ Release: %{release} Url: https://docs.microsoft.com/cli/azure/install-azure-cli BuildArch: x86_64 Requires: %{python_cmd} +Prefix: /usr +Prefix: /etc BuildRequires: gcc, libffi-devel, openssl-devel, perl BuildRequires: %{python_cmd}-devel @@ -52,7 +54,7 @@ for d in %{buildroot}%{cli_lib_dir}/bin/*; do perl -p -i -e "s#%{buildroot}##g" # Create executable mkdir -p %{buildroot}%{_bindir} python_version=$(ls %{buildroot}%{cli_lib_dir}/lib/ | head -n 1) -printf "#!/usr/bin/env bash\nAZ_INSTALLER=RPM PYTHONPATH=%{cli_lib_dir}/lib/${python_version}/site-packages /usr/bin/%{python_cmd} -sm azure.cli \"\$@\"" > %{buildroot}%{_bindir}/az +printf "#!/usr/bin/env bash\nbin_dir=\`cd \"\$(dirname \"\$BASH_SOURCE[0]\")\"; pwd\`\nAZ_INSTALLER=RPM PYTHONPATH=\"\$bin_dir\"/../%{_lib}/az/lib/${python_version}/site-packages %{python_cmd} -sm azure.cli \"\$@\"" > %{buildroot}%{_bindir}/az rm %{buildroot}%{cli_lib_dir}/bin/python* %{buildroot}%{cli_lib_dir}/bin/pip* # Remove unused Network SDK API versions diff --git a/src/azure-cli-core/azure/cli/core/_profile.py b/src/azure-cli-core/azure/cli/core/_profile.py index cb9b67a3ad6..6ec68b0cbaa 100644 --- a/src/azure-cli-core/azure/cli/core/_profile.py +++ b/src/azure-cli-core/azure/cli/core/_profile.py @@ -113,6 +113,7 @@ def _load_tokens_from_file(file_path): raise CLIError("Failed to load token files. If you have a repro, please log an issue at " "https://github.com/Azure/azure-cli/issues. At the same time, you can clean " "up by running 'az account clear' and then 'az login'. (Inner Error: {})".format(ex)) + logger.debug("'%s' is not a file or doesn't exist.", file_path) return [] diff --git a/src/azure-cli-core/azure/cli/core/tests/test_profile.py b/src/azure-cli-core/azure/cli/core/tests/test_profile.py index 1ff0e4cbb95..1e127aa2573 100644 --- a/src/azure-cli-core/azure/cli/core/tests/test_profile.py +++ b/src/azure-cli-core/azure/cli/core/tests/test_profile.py @@ -1788,8 +1788,9 @@ def get_auth_context(_, authority, **kwargs): # pylint: disable=unused-argument self.assertEqual(token_type, token_entry2['tokenType']) @mock.patch('azure.cli.core._profile.get_file_json', autospec=True) - def test_credscache_good_error_on_file_corruption(self, mock_read_file): - mock_read_file.side_effect = ValueError('a bad error for you') + @mock.patch('os.path.isfile', autospec=True, return_value=True) + def test_credscache_good_error_on_file_corruption(self, isfile_mock, get_file_json_mock): + get_file_json_mock.side_effect = ValueError('a bad error for you') cli = DummyCli() # action diff --git a/src/azure-cli-core/azure/cli/core/tests/test_util.py b/src/azure-cli-core/azure/cli/core/tests/test_util.py index 544d21dd9ec..0b5c2e8eed3 100644 --- a/src/azure-cli-core/azure/cli/core/tests/test_util.py +++ b/src/azure-cli-core/azure/cli/core/tests/test_util.py @@ -16,7 +16,7 @@ (get_file_json, truncate_text, shell_safe_json_parse, b64_to_hex, hash_string, random_string, open_page_in_browser, can_launch_browser, handle_exception, ConfiguredDefaultSetter, send_raw_request, should_disable_connection_verify, parse_proxy_resource_id, get_az_user_agent, get_az_rest_user_agent, - _get_parent_proc_name) + _get_parent_proc_name, is_wsl) from azure.cli.core.mock import DummyCli @@ -151,11 +151,13 @@ def test_proxy_resource_parse(self): @mock.patch('webbrowser.open', autospec=True) @mock.patch('subprocess.Popen', autospec=True) - def test_open_page_in_browser(self, sunprocess_open_mock, webbrowser_open_mock): + def test_open_page_in_browser(self, subprocess_open_mock, webbrowser_open_mock): platform = sys.platform.lower() open_page_in_browser('http://foo') - if platform == 'darwin': - sunprocess_open_mock.assert_called_once_with(['open', 'http://foo']) + if is_wsl(): + subprocess_open_mock.assert_called_once_with(['powershell.exe', '-Command', 'Start-Process "http://foo"']) + elif platform == 'darwin': + subprocess_open_mock.assert_called_once_with(['open', 'http://foo']) else: webbrowser_open_mock.assert_called_once_with('http://foo', 2) diff --git a/src/azure-cli-core/azure/cli/core/util.py b/src/azure-cli-core/azure/cli/core/util.py index af130a175c2..15a1e1b5708 100644 --- a/src/azure-cli-core/azure/cli/core/util.py +++ b/src/azure-cli-core/azure/cli/core/util.py @@ -379,9 +379,9 @@ def _get_version_string(name, version_dict): else: _print(ext.name.ljust(20) + (ext.version or 'Unknown').rjust(20)) _print() - _print("Python location '{}'".format(sys.executable)) - _print("Extensions directory '{}'".format(EXTENSIONS_DIR)) import os + _print("Python location '{}'".format(os.path.abspath(sys.executable))) + _print("Extensions directory '{}'".format(EXTENSIONS_DIR)) if os.path.isdir(EXTENSIONS_SYS_DIR) and os.listdir(EXTENSIONS_SYS_DIR): _print("Extensions system directory '{}'".format(EXTENSIONS_SYS_DIR)) if DEV_EXTENSION_SOURCES: @@ -657,7 +657,7 @@ def open_page_in_browser(url): try: # https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_powershell_exe # Ampersand (&) should be quoted - return subprocess.call(['powershell.exe', '-Command', 'Start-Process "{}"'.format(url)]) + return subprocess.Popen(['powershell.exe', '-Command', 'Start-Process "{}"'.format(url)]) except OSError: # WSL might be too old # FileNotFoundError introduced in Python 3 pass elif platform_name == 'darwin': diff --git a/src/azure-cli/azure/cli/command_modules/acr/connected_registry.py b/src/azure-cli/azure/cli/command_modules/acr/connected_registry.py index 2dac6b803a2..0ebc47fd64a 100644 --- a/src/azure-cli/azure/cli/command_modules/acr/connected_registry.py +++ b/src/azure-cli/azure/cli/command_modules/acr/connected_registry.py @@ -394,22 +394,23 @@ def _get_install_info(cmd, registry_name, regenerate_credentials, resource_group_name=None): - registry, resource_group_name = validate_managed_registry( + _, resource_group_name = validate_managed_registry( cmd, registry_name, resource_group_name) connected_registry = acr_connected_registry_show( cmd, client, connected_registry_name, registry_name, resource_group_name) parent_gateway_endpoint = connected_registry.parent.sync_properties.gateway_endpoint + if parent_gateway_endpoint is None or parent_gateway_endpoint == '': + parent_gateway_endpoint = "" parent_id = connected_registry.parent.id - sync_token_name = connected_registry.parent.sync_properties.token_id.split('/tokens/')[1] + # if parent_id is not none, parent is a connected registry if parent_id: - parent = parent_id.split('/connectedRegistries/')[1] - parent = acr_connected_registry_show( - cmd, client, parent, registry_name, resource_group_name) - parent_registry_endpoint = parent.login_server.host + parent_endpoint_protocol = "" + # if parent_id is none, parent is a cloud registry else: - parent_registry_endpoint = registry.login_server + parent_endpoint_protocol = "https" + sync_token_name = connected_registry.parent.sync_properties.token_id.split('/tokens/')[1] - connected_registry_login_server = "" if regenerate_credentials: @@ -418,28 +419,20 @@ def _get_install_info(cmd, cred_client = cf_acr_token_credentials(cmd.cli_ctx) poller = acr_token_credential_generate( cmd, cred_client, registry_name, sync_token_name, - password1=True, password2=True, resource_group_name=resource_group_name) + password1=True, password2=False, resource_group_name=resource_group_name) credentials = LongRunningOperation(cmd.cli_ctx)(poller) sync_username = credentials.username - sync_password = { - "password1": credentials.passwords[0].value, - "password2": credentials.passwords[1].value - } + sync_password = credentials.passwords[0].value logger.warning('Please store your generated credentials safely.') else: sync_username = sync_token_name sync_password = "" - logger.warning("Value 'ACR_SYNC_TOKEN_USERNAME' has been deprecated and will be removed in a future release." - " Use 'ACR_SYNC_TOKEN_NAME' instead.") + connection_string = "ConnectedRegistryName=%s;" % connected_registry_name + \ + "SyncTokenName=%s;SyncTokenPassword=%s;" % (sync_username, sync_password) + \ + "ParentGatewayEndpoint=%s;ParentEndpointProtocol=%s" % (parent_gateway_endpoint, parent_endpoint_protocol) return { - "ACR_REGISTRY_NAME": connected_registry_name, - "ACR_REGISTRY_LOGIN_SERVER": connected_registry_login_server, - "ACR_SYNC_TOKEN_NAME": sync_username, - "ACR_SYNC_TOKEN_USERNAME": sync_username, - "ACR_SYNC_TOKEN_PASSWORD": sync_password, - "ACR_PARENT_GATEWAY_ENDPOINT": parent_gateway_endpoint, - "ACR_PARENT_LOGIN_SERVER": parent_registry_endpoint, - "ACR_PARENT_PROTOCOL": "https" + "ACR_REGISTRY_CONNECTION_STRING": connection_string, + "ACR_REGISTRY_LOGIN_SERVER": connected_registry_login_server } # endregion diff --git a/src/azure-cli/azure/cli/command_modules/acs/_help.py b/src/azure-cli/azure/cli/command_modules/acs/_help.py index cc0b09b09b0..98fa64145e9 100644 --- a/src/azure-cli/azure/cli/command_modules/acs/_help.py +++ b/src/azure-cli/azure/cli/command_modules/acs/_help.py @@ -154,12 +154,12 @@ helps["aks check-acr"] = """ type: command -short-summary: Validate an ACR is accesible from an AKS cluster. +short-summary: Validate an ACR is accessible from an AKS cluster. parameters: - name: --acr short-summary: The FQDN of the ACR. examples: - - name: Validate the ACR is accesible from the AKS cluster. + - name: Validate the ACR is accessible from the AKS cluster. text: az aks check-acr --name MyManagedCluster --resource-group MyResourceGroup --acr myacr.azurecr.io crafted: true """ diff --git a/src/azure-cli/azure/cli/command_modules/appservice/custom.py b/src/azure-cli/azure/cli/command_modules/appservice/custom.py index 9914a9792d8..4f8a9d4e5c1 100644 --- a/src/azure-cli/azure/cli/command_modules/appservice/custom.py +++ b/src/azure-cli/azure/cli/command_modules/appservice/custom.py @@ -1053,8 +1053,11 @@ def get_azure_storage_accounts(cmd, resource_group_name, name, slot=None): def _fill_ftp_publishing_url(cmd, webapp, resource_group_name, name, slot=None): profiles = list_publish_profiles(cmd, resource_group_name, name, slot) - url = next(p['publishUrl'] for p in profiles if p['publishMethod'] == 'FTP') - setattr(webapp, 'ftpPublishingUrl', url) + try: + url = next(p['publishUrl'] for p in profiles if p['publishMethod'] == 'FTP') + setattr(webapp, 'ftpPublishingUrl', url) + except StopIteration: + pass return webapp @@ -1080,7 +1083,7 @@ def _add_fx_version(cmd, resource_group_name, name, custom_image_name, slot=None web_app = get_webapp(cmd, resource_group_name, name, slot) if not web_app: raise CLIError("'{}' app doesn't exist in resource group {}".format(name, resource_group_name)) - linux_fx = fx_version if web_app.reserved else None + linux_fx = fx_version if (web_app.reserved or not web_app.is_xenon) else None windows_fx = fx_version if web_app.is_xenon else None return update_site_configs(cmd, resource_group_name, name, linux_fx_version=linux_fx, windows_fx_version=windows_fx, slot=slot) @@ -2009,6 +2012,10 @@ def list_publish_profiles(cmd, resource_group_name, name, slot=None, xml=False): if not xml: profiles = xmltodict.parse(full_xml, xml_attribs=True)['publishData']['publishProfile'] converted = [] + + if not isinstance(profiles, list): + profiles = [profiles] + for profile in profiles: new = {} for key in profile: @@ -2016,6 +2023,7 @@ def list_publish_profiles(cmd, resource_group_name, name, slot=None, xml=False): new[key.lstrip('@')] = profile[key] converted.append(new) return converted + cmd.cli_ctx.invocation.data['output'] = 'tsv' return full_xml diff --git a/src/azure-cli/azure/cli/command_modules/appservice/resources/LinuxFunctionsStacks.json b/src/azure-cli/azure/cli/command_modules/appservice/resources/LinuxFunctionsStacks.json index 84583d0793e..c56eafd4960 100644 --- a/src/azure-cli/azure/cli/command_modules/appservice/resources/LinuxFunctionsStacks.json +++ b/src/azure-cli/azure/cli/command_modules/appservice/resources/LinuxFunctionsStacks.json @@ -250,7 +250,7 @@ "use32BitWorkerProcess": false, "linuxFxVersion": "Python|3.9" }, - "isPreview": true, + "isPreview": false, "isDeprecated": false, "isHidden": false } diff --git a/src/azure-cli/azure/cli/command_modules/backup/custom.py b/src/azure-cli/azure/cli/command_modules/backup/custom.py index 3aaf9f56800..de066311391 100644 --- a/src/azure-cli/azure/cli/command_modules/backup/custom.py +++ b/src/azure-cli/azure/cli/command_modules/backup/custom.py @@ -279,6 +279,11 @@ def create_policy(client, resource_group_name, vault_name, name, policy): policy_object = _get_policy_from_json(client, policy) policy_object.name = name policy_object.properties.backup_management_type = "AzureIaasVM" + + additional_properties = policy_object.properties.additional_properties + if 'instantRpDetails' in additional_properties: + policy_object.properties.instant_rp_details = additional_properties['instantRpDetails'] + return client.create_or_update(vault_name, resource_group_name, name, policy_object) diff --git a/src/azure-cli/azure/cli/command_modules/cdn/_help.py b/src/azure-cli/azure/cli/command_modules/cdn/_help.py index 2d0cefae5e5..262efec2a97 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/_help.py +++ b/src/azure-cli/azure/cli/command_modules/cdn/_help.py @@ -85,6 +85,16 @@ short-summary: View all available CDN edge nodes. """ +helps['cdn name-exists'] = """ +type: command +short-summary: Check the availability of a resource name. + This is needed for resources where name is globally unique, such as a CDN endpoint. +examples: + - name: Check whether the resource name contoso is available or not. + text: > + az cdn name-exists --name contoso +""" + helps['cdn endpoint'] = """ type: group short-summary: Manage CDN endpoints. @@ -134,6 +144,11 @@ helps['cdn endpoint load'] = """ type: command short-summary: Pre-load content for a CDN endpoint. +parameters: + - name: --content-paths + type: string + short-summary: The path to the content to be loaded. Path should be a relative + file URL of the origin. examples: - name: Pre-load Javascript and CSS content for an endpoint. text: > @@ -144,6 +159,11 @@ helps['cdn endpoint purge'] = """ type: command short-summary: Purge pre-loaded content for a CDN endpoint. +parameters: + - name: --content-paths + type: string + short-summary: The path to the content to be purged. Can describe a file path or a + wildcard directory. examples: - name: Purge pre-loaded Javascript and CSS content. text: > @@ -151,6 +171,19 @@ '/scripts/app.js' '/styles/*' """ +helps['cdn endpoint validate-custom-domain'] = """ +type: command +short-summary: Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. +parameters: + - name: --host-name + type: string + short-summary: The host name of the custom domain. Must be a domain name. +examples: + - name: Validate domain www.contoso.com to see whether it maps to the correct CDN endpoint in DNS. + text: > + az cdn endpoint validate-custom-domain -g group -n endpoint --profile-name profile-name --host-name www.contoso.com +""" + helps['cdn endpoint start'] = """ type: command short-summary: Start a CDN endpoint. @@ -1255,6 +1288,15 @@ az afd endpoint list -g group --profile-name profile """ +helps['afd endpoint purge'] = """ +type: command +short-summary: Removes cached contents from Azure Front Door. +examples: + - name: Remove all cached cotents under directory "/script" for domain www.contoso.com + text: > + az afd endpoint purge -g group --profile-name profile --domains www.contoso.com --content-paths '/scripts/*' +""" + helps['afd route'] = """ type: group short-summary: Manage routes under an AFD endpoint. diff --git a/src/azure-cli/azure/cli/command_modules/cdn/commands.py b/src/azure-cli/azure/cli/command_modules/cdn/commands.py index 50b2749df53..aae9c16b7f8 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/commands.py +++ b/src/azure-cli/azure/cli/command_modules/cdn/commands.py @@ -16,10 +16,8 @@ def _not_found(message): def _inner_not_found(ex): - from azure.mgmt.cdn.models import ErrorResponseException - if isinstance(ex, ErrorResponseException) \ - and ex.response is not None \ - and ex.response.status_code == 404: + from azure.core.exceptions import ResourceNotFoundError + if isinstance(ex, ResourceNotFoundError): raise CLIError(message) raise ex return _inner_not_found @@ -165,23 +163,23 @@ def load_command_table(self, _): ) with self.command_group('cdn', cdn_sdk) as g: - g.command('name-exists', 'check_name_availability') + g.custom_command('name-exists', 'check_name_availability', client_factory=cf_cdn) with self.command_group('cdn', cdn_usage_sdk) as g: g.command('usage', 'list') with self.command_group('cdn endpoint', cdn_endpoints_sdk) as g: for name in ['start', 'stop', 'delete']: - g.command(name, name, supports_no_wait=True) + g.command(name, f"begin_{name}", supports_no_wait=True) g.show_command('show', 'get') g.command('list', 'list_by_profile') - g.command('load', 'load_content', supports_no_wait=True) - g.command('purge', 'purge_content', supports_no_wait=True) - g.command('validate-custom-domain', 'validate_custom_domain') + g.custom_command('load', 'load_endpoint_content', client_factory=cf_cdn, supports_no_wait=True) + g.custom_command('purge', 'purge_endpoint_content', client_factory=cf_cdn, supports_no_wait=True) + g.custom_command('validate-custom-domain', 'validate_custom_domain', client_factory=cf_cdn) g.custom_command('create', 'create_endpoint', client_factory=cf_cdn, doc_string_source='azure.mgmt.cdn.models#Endpoint', supports_no_wait=True) - g.generic_update_command('update', setter_name='update', setter_arg_name='endpoint_update_properties', + g.generic_update_command('update', setter_name='begin_update', setter_arg_name='endpoint_update_properties', custom_func_name='update_endpoint', doc_string_source='azure.mgmt.cdn.models#EndpointUpdateParameters', supports_no_wait=True) @@ -218,12 +216,13 @@ def load_command_table(self, _): g.custom_command('delete', 'delete_profile', client_factory=cf_cdn) g.custom_command('list', 'list_profiles', client_factory=cf_cdn) g.custom_command('create', 'create_profile', client_factory=cf_cdn) - g.generic_update_command('update', setter_name='update', custom_func_name='update_profile', + g.generic_update_command('update', setter_name='begin_update', custom_func_name='update_profile', + setter_arg_name='profile_update_parameters', doc_string_source='azure.mgmt.cdn.models#ProfileUpdateParameters') with self.command_group('cdn custom-domain', cdn_domain_sdk) as g: g.show_command('show', 'get') - g.command('delete', 'delete') + g.command('delete', 'begin_delete') g.command('list', 'list_by_endpoint') g.custom_command('create', 'create_custom_domain', client_factory=cf_cdn) g.custom_command('enable-https', 'enable_custom_https', client_factory=cf_cdn) @@ -234,14 +233,14 @@ def load_command_table(self, _): g.command('list', 'list_by_endpoint') g.custom_command('create', 'create_origin', client_factory=cf_origins, is_preview=True) g.custom_command('update', 'update_origin', client_factory=cf_origins) - g.command('delete', 'delete', confirmation=True) + g.command('delete', 'begin_delete', confirmation=True) with self.command_group('cdn origin-group', cdn_origin_group_sdk, is_preview=True) as g: g.show_command('show', 'get') g.command('list', 'list_by_endpoint') g.custom_command('create', 'create_origin_group', client_factory=cf_origin_groups) g.custom_command('update', 'update_origin_group', client_factory=cf_origin_groups) - g.command('delete', 'delete', confirmation=True) + g.command('delete', 'begin_delete', confirmation=True) with self.command_group('cdn edge-node', cdn_edge_sdk) as g: g.command('list', 'list') @@ -302,8 +301,8 @@ def load_command_table(self, _): client_factory=cf_afd_endpoints) as g: g.show_command('show', 'get') g.command('list', 'list_by_profile') - g.command('purge', 'purge_content', supports_no_wait=True) - g.command('delete', 'delete', confirmation=True) + g.custom_command('purge', 'purge_afd_endpoint_content', supports_no_wait=True) + g.command('delete', 'begin_delete', confirmation=True) g.custom_command('update', 'update_afd_endpoint') g.custom_command('create', 'create_afd_endpoint', @@ -315,7 +314,7 @@ def load_command_table(self, _): g.command('list', 'list_by_profile') g.custom_command('create', 'create_afd_origin_group') g.custom_command('update', 'update_afd_origin_group') - g.command('delete', 'delete', confirmation=True) + g.command('delete', 'begin_delete', confirmation=True) with self.command_group('afd origin', cdn_afd_origin_sdk, client_factory=cf_afd_origins) as g: @@ -323,7 +322,7 @@ def load_command_table(self, _): g.command('list', 'list_by_origin_group') g.custom_command('create', 'create_afd_origin') g.custom_command('update', 'update_afd_origin') - g.command('delete', 'delete', confirmation=True) + g.command('delete', 'begin_delete', confirmation=True) with self.command_group('afd route', cdn_afd_route_sdk, client_factory=cf_afd_routes) as g: @@ -331,21 +330,21 @@ def load_command_table(self, _): g.command('list', 'list_by_endpoint') g.custom_command('create', 'create_afd_route') g.custom_command('update', 'update_afd_route') - g.command('delete', 'delete', confirmation=True) + g.command('delete', 'begin_delete', confirmation=True) with self.command_group('afd rule-set', cdn_afd_rule_set_sdk, client_factory=cf_afd_rule_sets) as g: g.show_command('show', 'get') g.command('list', 'list_by_profile') g.custom_command('create', 'create_afd_rule_set') - g.command('delete', 'delete', confirmation=True) + g.command('delete', 'begin_delete', confirmation=True) with self.command_group('afd rule', cdn_afd_rule_sdk, client_factory=cf_afd_rules) as g: g.show_command('show', 'get') g.command('list', 'list_by_rule_set') g.custom_command('create', 'create_afd_rule') - g.command('delete', 'delete', confirmation=True) + g.command('delete', 'begin_delete', confirmation=True) with self.command_group('afd rule condition', cdn_afd_rule_sdk, @@ -371,13 +370,13 @@ def load_command_table(self, _): g.command('list', 'list_by_profile') g.custom_command('create', 'create_afd_security_policy') g.custom_command('update', 'update_afd_security_policy') - g.command('delete', 'delete', confirmation=True) + g.command('delete', 'begin_delete', confirmation=True) with self.command_group('afd custom-domain', cdn_afd_domain_sdk, client_factory=cf_afd_custom_domain) as g: g.show_command('show', 'get') g.wait_command('wait') - g.command('delete', 'delete', confirmation=True) + g.command('delete', 'begin_delete', confirmation=True) g.command('list', 'list_by_profile') g.custom_command('create', 'create_afd_custom_domain', supports_no_wait=True) @@ -386,7 +385,7 @@ def load_command_table(self, _): with self.command_group('afd secret', cdn_afd_secret_sdk, client_factory=cf_afd_secrets) as g: g.show_command('show', 'get') - g.command('delete', 'delete', confirmation=True) + g.command('delete', 'begin_delete', confirmation=True) g.command('list', 'list_by_profile') g.custom_command('create', 'create_afd_secret') g.custom_command('update', 'update_afd_secret') diff --git a/src/azure-cli/azure/cli/command_modules/cdn/custom/__init__.py b/src/azure-cli/azure/cli/command_modules/cdn/custom/__init__.py index 83b82147905..54f96a7b721 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/custom/__init__.py +++ b/src/azure-cli/azure/cli/command_modules/cdn/custom/__init__.py @@ -3,28 +3,32 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- -from .custom import default_content_types # pylint: disable=unused-import -from .custom import list_profiles # pylint: disable=unused-import -from .custom import get_profile # pylint: disable=unused-import -from .custom import delete_profile # pylint: disable=unused-import -from .custom import update_endpoint # pylint: disable=unused-import -from .custom import create_condition # pylint: disable=unused-import -from .custom import create_action # pylint: disable=unused-import -from .custom import add_rule # pylint: disable=unused-import -from .custom import add_condition # pylint: disable=unused-import -from .custom import add_action # pylint: disable=unused-import -from .custom import remove_rule # pylint: disable=unused-import -from .custom import remove_condition # pylint: disable=unused-import -from .custom import remove_action # pylint: disable=unused-import -from .custom import create_endpoint # pylint: disable=unused-import -from .custom import create_custom_domain # pylint: disable=unused-import -from .custom import enable_custom_https # pylint: disable=unused-import -from .custom import update_origin # pylint: disable=unused-import -from .custom import create_origin # pylint: disable=unused-import -from .custom import update_profile # pylint: disable=unused-import -from .custom import create_profile # pylint: disable=unused-import -from .custom import create_origin_group # pylint: disable=unused-import -from .custom import update_origin_group # pylint: disable=unused-import +from .custom import default_content_types # pylint: disable=unused-import +from .custom import list_profiles # pylint: disable=unused-import +from .custom import get_profile # pylint: disable=unused-import +from .custom import delete_profile # pylint: disable=unused-import +from .custom import update_endpoint # pylint: disable=unused-import +from .custom import create_condition # pylint: disable=unused-import +from .custom import create_action # pylint: disable=unused-import +from .custom import add_rule # pylint: disable=unused-import +from .custom import add_condition # pylint: disable=unused-import +from .custom import add_action # pylint: disable=unused-import +from .custom import remove_rule # pylint: disable=unused-import +from .custom import remove_condition # pylint: disable=unused-import +from .custom import remove_action # pylint: disable=unused-import +from .custom import create_endpoint # pylint: disable=unused-import +from .custom import purge_endpoint_content # pylint: disable=unused-import +from .custom import load_endpoint_content # pylint: disable=unused-import +from .custom import create_custom_domain # pylint: disable=unused-import +from .custom import enable_custom_https # pylint: disable=unused-import +from .custom import update_origin # pylint: disable=unused-import +from .custom import create_origin # pylint: disable=unused-import +from .custom import update_profile # pylint: disable=unused-import +from .custom import create_profile # pylint: disable=unused-import +from .custom import create_origin_group # pylint: disable=unused-import +from .custom import update_origin_group # pylint: disable=unused-import +from .custom import check_name_availability # pylint: disable=unused-import +from .custom import validate_custom_domain # pylint: disable=unused-import from .custom_waf import show_endpoint_waf_policy_link # pylint: disable=unused-import from .custom_waf import set_endpoint_waf_policy_link # pylint: disable=unused-import @@ -59,6 +63,7 @@ from .custom_afdx import update_afd_endpoint # pylint: disable=unused-import from .custom_afdx import create_afd_origin_group # pylint: disable=unused-import from .custom_afdx import update_afd_origin_group # pylint: disable=unused-import +from .custom_afdx import purge_afd_endpoint_content # pylint: disable=unused-import from .custom_afdx import create_afd_origin # pylint: disable=unused-import from .custom_afdx import update_afd_origin # pylint: disable=unused-import from .custom_afdx import create_afd_route # pylint: disable=unused-import diff --git a/src/azure-cli/azure/cli/command_modules/cdn/custom/custom.py b/src/azure-cli/azure/cli/command_modules/cdn/custom/custom.py index ea4f9f657ce..984d1f767d9 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/custom/custom.py +++ b/src/azure-cli/azure/cli/command_modules/cdn/custom/custom.py @@ -25,14 +25,18 @@ DeliveryRuleCacheExpirationAction, CacheExpirationActionParameters, DeliveryRuleRequestHeaderAction, HeaderActionParameters, DeliveryRuleResponseHeaderAction, DeliveryRuleCacheKeyQueryStringAction, - CacheKeyQueryStringActionParameters, UrlRedirectAction, - DeliveryRuleAction, UrlRedirectActionParameters, - UrlRewriteAction, UrlRewriteActionParameters, ErrorResponseException) + CacheKeyQueryStringActionParameters, UrlRedirectAction, ValidateCustomDomainInput, + DeliveryRuleAction, UrlRedirectActionParameters, LoadParameters, + UrlRewriteAction, UrlRewriteActionParameters, PurgeParameters, + CheckNameAvailabilityInput, CustomDomainParameters, ProbeProtocol, + HealthProbeRequestType, RequestMethodOperator) +from azure.mgmt.cdn.models._cdn_management_client_enums import CacheType from azure.mgmt.cdn.operations import (OriginsOperations, OriginGroupsOperations) +from azure.cli.core.commands.client_factory import get_subscription_id from azure.cli.core.util import (sdk_no_wait) -from azure.cli.core.azclierror import (ResourceNotFoundError) +from azure.core.exceptions import (ResourceNotFoundError) from knack.util import CLIError from knack.log import get_logger @@ -70,6 +74,24 @@ def list_profiles(client, resource_group_name=None): (SkuName.premium_azure_front_door, SkuName.standard_azure_front_door)] +def check_name_availability(client, name): + """Check the availability of a resource name. This is needed for resources + where name is globally unique, such as a CDN endpoint. + :param name: The resource name to validate. + :type name: str + """ + + validate_input = CheckNameAvailabilityInput(name=name) + + return client.check_name_availability(validate_input) + + +def validate_custom_domain(client, resource_group_name, profile_name, endpoint_name, host_name): + validate_input = ValidateCustomDomainInput(host_name=host_name) + + return client.endpoints.validate_custom_domain(resource_group_name, profile_name, endpoint_name, validate_input) + + def get_profile(client, resource_group_name, profile_name): profile = client.profiles.get(resource_group_name, profile_name) if profile.sku.name in (SkuName.premium_azure_front_door, SkuName.standard_azure_front_door): @@ -84,13 +106,8 @@ def delete_profile(client, resource_group_name, profile_name): profile = None try: profile = client.profiles.get(resource_group_name, profile_name) - except ErrorResponseException as e: - props = getattr(e.inner_exception, 'additional_properties', {}) - if not isinstance(props, dict) or not isinstance(props.get('error'), dict): - raise e - props = props['error'] - if props.get('code') != 'ResourceNotFound': - raise e + except ResourceNotFoundError: + pass if profile is None or profile.sku.name in (SkuName.premium_azure_front_door, SkuName.standard_azure_front_door): def get_long_running_output(_): @@ -99,7 +116,7 @@ def get_long_running_output(_): logger.warning('Standard_AzureFrontDoor and Premium_AzureFrontDoor are only supported for AFD profiles') return LROPoller(client, None, get_long_running_output, NoPolling()) - return client.profiles.delete(resource_group_name, profile_name) + return client.profiles.begin_delete(resource_group_name, profile_name) def update_endpoint(instance, @@ -165,7 +182,8 @@ def create_condition(match_variable=None, operator=None, match_values=None, return DeliveryRuleRequestMethodCondition( parameters=RequestMethodMatchConditionParameters( match_values=match_values, - negate_condition=negate_condition + negate_condition=negate_condition, + operator=RequestMethodOperator.EQUAL )) if match_variable == 'QueryString': return DeliveryRuleQueryStringCondition( @@ -213,7 +231,8 @@ def create_condition(match_variable=None, operator=None, match_values=None, return DeliveryRuleRequestSchemeCondition( parameters=RequestSchemeMatchConditionParameters( match_values=match_values, - negate_condition=negate_condition + negate_condition=negate_condition, + operator=RequestMethodOperator.EQUAL )) if match_variable == 'UrlPath': return DeliveryRuleUrlPathCondition( @@ -243,13 +262,15 @@ def create_condition(match_variable=None, operator=None, match_values=None, return DeliveryRuleHttpVersionCondition( parameters=HttpVersionMatchConditionParameters( match_values=match_values, - negate_condition=negate_condition + negate_condition=negate_condition, + operator=RequestMethodOperator.EQUAL )) if match_variable == 'IsDevice': return DeliveryRuleIsDeviceCondition( parameters=IsDeviceMatchConditionParameters( match_values=match_values, - negate_condition=negate_condition + negate_condition=negate_condition, + operator=RequestMethodOperator.EQUAL )) if match_variable == 'Cookies': return DeliveryRuleCookiesCondition( @@ -273,7 +294,8 @@ def create_action(action_name, cache_behavior=None, cache_duration=None, header_ return DeliveryRuleCacheExpirationAction( parameters=CacheExpirationActionParameters( cache_behavior=cache_behavior, - cache_duration=cache_duration + cache_duration=cache_duration, + cache_type=CacheType.ALL )) if action_name in ('RequestHeader', 'ModifyRequestHeader'): return DeliveryRuleRequestHeaderAction( @@ -355,7 +377,7 @@ def add_rule(client, resource_group_name, profile_name, endpoint_name, delivery_policy=policy ) - return client.endpoints.update(resource_group_name, profile_name, endpoint_name, params) + return client.endpoints.begin_update(resource_group_name, profile_name, endpoint_name, params) def add_condition(client, resource_group_name, profile_name, endpoint_name, @@ -373,7 +395,7 @@ def add_condition(client, resource_group_name, profile_name, endpoint_name, delivery_policy=policy ) - return client.endpoints.update(resource_group_name, profile_name, endpoint_name, params) + return client.endpoints.begin_update(resource_group_name, profile_name, endpoint_name, params) def add_action(client, resource_group_name, profile_name, endpoint_name, @@ -397,7 +419,7 @@ def add_action(client, resource_group_name, profile_name, endpoint_name, delivery_policy=policy ) - return client.endpoints.update(resource_group_name, profile_name, endpoint_name, params) + return client.endpoints.begin_update(resource_group_name, profile_name, endpoint_name, params) def remove_rule(client, resource_group_name, profile_name, endpoint_name, rule_name): @@ -415,7 +437,7 @@ def remove_rule(client, resource_group_name, profile_name, endpoint_name, rule_n delivery_policy=policy ) - return client.endpoints.update(resource_group_name, profile_name, endpoint_name, params) + return client.endpoints.begin_update(resource_group_name, profile_name, endpoint_name, params) def remove_condition(client, resource_group_name, profile_name, endpoint_name, rule_name, index): @@ -433,7 +455,7 @@ def remove_condition(client, resource_group_name, profile_name, endpoint_name, r delivery_policy=policy ) - return client.endpoints.update(resource_group_name, profile_name, endpoint_name, params) + return client.endpoints.begin_update(resource_group_name, profile_name, endpoint_name, params) def remove_action(client, resource_group_name, profile_name, endpoint_name, rule_name, index): @@ -451,7 +473,7 @@ def remove_action(client, resource_group_name, profile_name, endpoint_name, rule delivery_policy=policy ) - return client.endpoints.update(resource_group_name, profile_name, endpoint_name, params) + return client.endpoints.begin_update(resource_group_name, profile_name, endpoint_name, params) def create_endpoint(client, resource_group_name, profile_name, name, origins, location=None, @@ -475,20 +497,37 @@ def create_endpoint(client, resource_group_name, profile_name, name, origins, lo if is_compression_enabled and not endpoint.content_types_to_compress: endpoint.content_types_to_compress = default_content_types() - return sdk_no_wait(no_wait, client.endpoints.create, resource_group_name, profile_name, name, endpoint) + return sdk_no_wait(no_wait, client.endpoints.begin_create, resource_group_name, profile_name, name, endpoint) + + +def purge_endpoint_content(client, resource_group_name, profile_name, endpoint_name, + content_paths, no_wait=None): + purge_paramters = PurgeParameters(content_paths=content_paths) + + return sdk_no_wait(no_wait, client.endpoints.begin_purge_content, resource_group_name, + profile_name, endpoint_name, purge_paramters) + + +def load_endpoint_content(client, resource_group_name, profile_name, endpoint_name, + content_paths, no_wait=None): + load_paramters = LoadParameters(content_paths=content_paths) + + return sdk_no_wait(no_wait, client.endpoints.begin_load_content, resource_group_name, profile_name, + endpoint_name, load_paramters) # pylint: disable=unused-argument def create_custom_domain(client, resource_group_name, profile_name, endpoint_name, custom_domain_name, hostname, location=None, tags=None): - return client.custom_domains.create(resource_group_name, - profile_name, - endpoint_name, - custom_domain_name, - hostname) + + return client.custom_domains.begin_create(resource_group_name, + profile_name, + endpoint_name, + custom_domain_name, + CustomDomainParameters(host_name=hostname)) -def enable_custom_https(client, resource_group_name, profile_name, endpoint_name, +def enable_custom_https(cmd, client, resource_group_name, profile_name, endpoint_name, custom_domain_name, user_cert_subscription_id=None, user_cert_group_name=None, user_cert_vault_name=None, user_cert_secret_name=None, user_cert_secret_version=None, user_cert_protocol_type=None, min_tls_version=None): @@ -499,7 +538,9 @@ def enable_custom_https(client, resource_group_name, profile_name, endpoint_name KeyVaultCertificateSourceParameters, CertificateType, Profile, - ProtocolType) + ProtocolType, + UpdateRule, + DeleteRule) profile: Profile = client.profiles.get(resource_group_name, profile_name) @@ -527,7 +568,7 @@ def enable_custom_https(client, resource_group_name, profile_name, endpoint_name "and --user-cert-protocol-type are all required for user managed certificates.") if user_cert_subscription_id is None: - user_cert_subscription_id = client.config.subscription_id + user_cert_subscription_id = get_subscription_id(cmd.cli_ctx) # All BYOC params are set, let's create the https parameters if user_cert_protocol_type is None or user_cert_protocol_type.lower() == 'sni': @@ -541,7 +582,9 @@ def enable_custom_https(client, resource_group_name, profile_name, endpoint_name resource_group_name=user_cert_group_name, vault_name=user_cert_vault_name, secret_name=user_cert_secret_name, - secret_version=user_cert_secret_version) + secret_version=user_cert_secret_version, + update_rule=UpdateRule.NO_ACTION, + delete_rule=DeleteRule.NO_ACTION) https_params = UserManagedHttpsParameters(protocol_type=user_cert_protocol_type, certificate_source_parameters=cert_source_params, @@ -601,21 +644,21 @@ def update_origin(client: OriginsOperations, private_link_approval_message: Optional[str] = None): from azure.mgmt.cdn.models import OriginUpdateParameters - return client.update(resource_group_name, - profile_name, - endpoint_name, - origin_name, - OriginUpdateParameters( - host_name=host_name, - http_port=http_port, - https_port=https_port, - enabled=not disabled, - origin_host_header=origin_host_header, - priority=priority, - weight=weight, - private_link_resource_id=private_link_resource_id, - private_link_location=private_link_location, - private_link_approval_message=private_link_approval_message)) + return client.begin_update(resource_group_name, + profile_name, + endpoint_name, + origin_name, + OriginUpdateParameters( + host_name=host_name, + http_port=http_port, + https_port=https_port, + enabled=not disabled, + origin_host_header=origin_host_header, + priority=priority, + weight=weight, + private_link_resource_id=private_link_resource_id, + private_link_location=private_link_location, + private_link_approval_message=private_link_approval_message)) def create_origin(client: OriginsOperations, @@ -635,21 +678,21 @@ def create_origin(client: OriginsOperations, private_link_approval_message: Optional[str] = None): from azure.mgmt.cdn.models import Origin - return client.create(resource_group_name, - profile_name, - endpoint_name, - origin_name, - Origin( - host_name=host_name, - http_port=http_port, - https_port=https_port, - enabled=not disabled, - origin_host_header=origin_host_header, - priority=priority, - weight=weight, - private_link_resource_id=private_link_resource_id, - private_link_location=private_link_location, - private_link_approval_message=private_link_approval_message)) + return client.begin_create(resource_group_name, + profile_name, + endpoint_name, + origin_name, + Origin( + host_name=host_name, + http_port=http_port, + https_port=https_port, + enabled=not disabled, + origin_host_header=origin_host_header, + priority=priority, + weight=weight, + private_link_resource_id=private_link_resource_id, + private_link_location=private_link_location, + private_link_approval_message=private_link_approval_message)) def update_profile(instance, tags=None): @@ -667,7 +710,7 @@ def create_profile(client, resource_group_name, name, location=None, tags=None): from azure.mgmt.cdn.models import (Profile, Sku) profile = Profile(location=location, sku=Sku(name=sku), tags=tags) - return client.profiles.create(resource_group_name, name, profile) + return client.profiles.begin_create(resource_group_name, name, profile) def _parse_ranges(ranges: str): @@ -692,7 +735,8 @@ def parse_range(error_range: str): return [parse_range(error_range) for error_range in ranges.split(',')] -def create_origin_group(client: OriginGroupsOperations, +def create_origin_group(cmd, + client: OriginGroupsOperations, resource_group_name: str, profile_name: str, endpoint_name: str, @@ -714,8 +758,8 @@ def create_origin_group(client: OriginGroupsOperations, ResourceReference) health_probe_settings = HealthProbeParameters(probe_path=probe_path, - probe_request_type=probe_method, - probe_protocol=probe_protocol, + probe_request_type=HealthProbeRequestType[probe_method.upper()], + probe_protocol=ProbeProtocol[probe_protocol.upper()], probe_interval_in_seconds=probe_interval) error_types = None @@ -732,11 +776,12 @@ def create_origin_group(client: OriginGroupsOperations, http_error_ranges=_parse_ranges(response_error_detection_status_code_ranges)) formatted_origins = [] + subscription_id = get_subscription_id(cmd.cli_ctx) if origins: for origin in origins.split(','): # If the origin is not an ID, assume it's a name and format it as an ID. if '/' not in origin: - origin = f'/subscriptions/{client.config.subscription_id}/resourceGroups/{resource_group_name}' \ + origin = f'/subscriptions/{subscription_id}/resourceGroups/{resource_group_name}' \ f'/providers/Microsoft.Cdn/profiles/{profile_name}/endpoints/{endpoint_name}' \ f'/origins/{origin}' formatted_origins.append(ResourceReference(id=origin)) @@ -745,14 +790,15 @@ def create_origin_group(client: OriginGroupsOperations, health_probe_settings=health_probe_settings, response_based_origin_error_detection_settings=error_detection_settings) - return client.create(resource_group_name, - profile_name, - endpoint_name, - name, - origin_group).result() + return client.begin_create(resource_group_name, + profile_name, + endpoint_name, + name, + origin_group).result() -def update_origin_group(client: OriginGroupsOperations, +def update_origin_group(cmd, + client: OriginGroupsOperations, resource_group_name: str, profile_name: str, endpoint_name: str, @@ -773,6 +819,12 @@ def update_origin_group(client: OriginGroupsOperations, ResponseBasedOriginErrorDetectionParameters, ResourceReference) + if probe_method is not None: + probe_method = HealthProbeRequestType[probe_method.upper()] + + if probe_protocol is not None: + probe_protocol = ProbeProtocol[probe_protocol.upper()] + # Get existing health probe settings: existing = client.get(resource_group_name, profile_name, @@ -818,10 +870,11 @@ def update_origin_group(client: OriginGroupsOperations, http_error_ranges=status_code_ranges) formatted_origins = [] + subscription_id = get_subscription_id(cmd.cli_ctx) for origin in origins.split(','): # If the origin is not an ID, assume it's a name and format it as an ID. if '/' not in origin: - origin = f'/subscriptions/{client.config.subscription_id}/resourceGroups/{resource_group_name}' \ + origin = f'/subscriptions/{subscription_id}/resourceGroups/{resource_group_name}' \ f'/providers/Microsoft.Cdn/profiles/{profile_name}/endpoints/{endpoint_name}' \ f'/origins/{origin}' formatted_origins.append(ResourceReference(id=origin)) @@ -831,11 +884,11 @@ def update_origin_group(client: OriginGroupsOperations, health_probe_settings=health_probe_settings, response_based_origin_error_detection_settings=error_detection_settings) - # client.create isn't really a create, it's a PUT which is create or update, - # client.update doesn't allow unsetting fields. - return client.create(resource_group_name, - profile_name, - endpoint_name, - name, - origin_group) + # client.begin_create isn't really a create, it's a PUT which is create or update, + # client.begin_update doesn't allow unsetting fields. + return client.begin_create(resource_group_name, + profile_name, + endpoint_name, + name, + origin_group) # endregion diff --git a/src/azure-cli/azure/cli/command_modules/cdn/custom/custom_afdx.py b/src/azure-cli/azure/cli/command_modules/cdn/custom/custom_afdx.py index 093464ad937..aa3bd2cff9a 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/custom/custom_afdx.py +++ b/src/azure-cli/azure/cli/command_modules/cdn/custom/custom_afdx.py @@ -11,15 +11,18 @@ LoadBalancingSettingsParameters, SecurityPolicyWebApplicationFirewallParameters, SecurityPolicyWebApplicationFirewallAssociation, CustomerCertificateParameters, AFDDomain, AFDDomainHttpsParameters, AfdCertificateType, AfdMinimumTlsVersion, - AFDEndpointUpdateParameters, SkuName, ErrorResponseException) + AFDEndpointUpdateParameters, SkuName, AfdPurgeParameters, Secret, + SecurityPolicy, ProfileUpdateParameters) from azure.mgmt.cdn.operations import (AFDOriginGroupsOperations, AFDOriginsOperations, AFDProfilesOperations, SecretsOperations, AFDEndpointsOperations, RoutesOperations, RuleSetsOperations, RulesOperations, SecurityPoliciesOperations, AFDCustomDomainsOperations, ProfilesOperations) +from azure.cli.core.commands.client_factory import get_subscription_id from azure.cli.core.util import (sdk_no_wait) -from azure.cli.core.azclierror import (ResourceNotFoundError, InvalidArgumentValueError) +from azure.cli.core.azclierror import (InvalidArgumentValueError) +from azure.core.exceptions import (ResourceNotFoundError) from knack.log import get_logger from msrest.polling import LROPoller, NoPolling @@ -80,20 +83,15 @@ def create_afd_profile(client: ProfilesOperations, resource_group_name, profile_ # Force location to global profile = Profile(location="global", sku=Sku(name=sku), tags=tags) - return client.create(resource_group_name, profile_name, profile) + return client.begin_create(resource_group_name, profile_name, profile) def delete_afd_profile(client: ProfilesOperations, resource_group_name, profile_name): profile = None try: profile = client.get(resource_group_name, profile_name) - except ErrorResponseException as e: - props = getattr(e.inner_exception, 'additional_properties', {}) - if not isinstance(props, dict) or not isinstance(props.get('error'), dict): - raise e - props = props['error'] - if props.get('code') != 'ResourceNotFound': - raise e + except ResourceNotFoundError: + pass if profile is None or profile.sku.name not in (SkuName.premium_azure_front_door, SkuName.standard_azure_front_door): @@ -103,7 +101,7 @@ def get_long_running_output(_): logger.warning("Unexpected SKU type, only Standard_AzureFrontDoor and Premium_AzureFrontDoor are supported.") return LROPoller(client, None, get_long_running_output, NoPolling()) - return client.delete(resource_group_name, profile_name) + return client.begin_delete(resource_group_name, profile_name) def update_afd_profile(client: ProfilesOperations, resource_group_name, profile_name, tags): @@ -112,7 +110,7 @@ def update_afd_profile(client: ProfilesOperations, resource_group_name, profile_ logger.warning('Unexpected SKU type, only Standard_AzureFrontDoor and Premium_AzureFrontDoor are supported') raise ResourceNotFoundError("Operation returned an invalid status code 'Not Found'") - return client.update(resource_group_name, profile_name, tags) + return client.begin_update(resource_group_name, profile_name, ProfileUpdateParameters(tags=tags)) def list_afd_profiles(client: ProfilesOperations, resource_group_name=None): @@ -149,7 +147,15 @@ def create_afd_endpoint(client: AFDEndpointsOperations, resource_group_name, pro enabled_state=enabled_state, tags=tags) - return sdk_no_wait(no_wait, client.create, resource_group_name, profile_name, endpoint_name, endpoint) + return sdk_no_wait(no_wait, client.begin_create, resource_group_name, profile_name, endpoint_name, endpoint) + + +def purge_afd_endpoint_content(client: AFDEndpointsOperations, resource_group_name, profile_name, endpoint_name, + content_paths, domains=None, no_wait=None): + endpoint = AfdPurgeParameters(content_paths=content_paths, + domains=domains) + + return sdk_no_wait(no_wait, client.begin_purge_content, resource_group_name, profile_name, endpoint_name, endpoint) def update_afd_endpoint(client: AFDEndpointsOperations, resource_group_name, profile_name, endpoint_name, @@ -160,7 +166,7 @@ def update_afd_endpoint(client: AFDEndpointsOperations, resource_group_name, pro tags=tags ) - return client.update(resource_group_name, profile_name, endpoint_name, update_properties) + return client.begin_update(resource_group_name, profile_name, endpoint_name, update_properties) def create_afd_origin_group(client: AFDOriginGroupsOperations, @@ -189,10 +195,10 @@ def create_afd_origin_group(client: AFDOriginGroupsOperations, afd_origin_group = AFDOriginGroup(load_balancing_settings=load_balancing_settings_parameters, health_probe_settings=health_probe_parameters) - return client.create(resource_group_name, - profile_name, - origin_group_name, - afd_origin_group).result() + return client.begin_create(resource_group_name, + profile_name, + origin_group_name, + afd_origin_group).result() def update_afd_origin_group(client: AFDOriginGroupsOperations, @@ -230,10 +236,10 @@ def update_afd_origin_group(client: AFDOriginGroupsOperations, afd_origin_group = AFDOriginGroup(load_balancing_settings=load_balancing_settings_parameters, health_probe_settings=health_probe_parameters) - return client.create(resource_group_name, - profile_name, - origin_group_name, - afd_origin_group).result() + return client.begin_create(resource_group_name, + profile_name, + origin_group_name, + afd_origin_group).result() def create_afd_origin(client: AFDOriginsOperations, @@ -262,19 +268,19 @@ def create_afd_origin(client: AFDOriginsOperations, group_id=private_link_sub_resource_type, request_message=private_link_request_message) - return client.create(resource_group_name, - profile_name, - origin_group_name, - origin_name, - AFDOrigin( - host_name=host_name, - http_port=http_port, - https_port=https_port, - origin_host_header=origin_host_header, - priority=priority, - weight=weight, - shared_private_link_resource=shared_private_link_resource, - enabled_state=enabled_state)) + return client.begin_create(resource_group_name, + profile_name, + origin_group_name, + origin_name, + AFDOrigin( + host_name=host_name, + http_port=http_port, + https_port=https_port, + origin_host_header=origin_host_header, + priority=priority, + weight=weight, + shared_private_link_resource=shared_private_link_resource, + enabled_state=enabled_state)) def update_afd_origin(client: AFDOriginsOperations, @@ -339,14 +345,15 @@ def update_afd_origin(client: AFDOriginsOperations, origin.shared_private_link_resource = existing.shared_private_link_resource # client.update does not allow unset field - return client.create(resource_group_name, - profile_name, - origin_group_name, - origin_name, - origin) + return client.begin_create(resource_group_name, + profile_name, + origin_group_name, + origin_name, + origin) -def create_afd_route(client: RoutesOperations, +def create_afd_route(cmd, + client: RoutesOperations, resource_group_name: str, profile_name: str, endpoint_name: str, @@ -364,18 +371,19 @@ def create_afd_route(client: RoutesOperations, patterns_to_match: List[str] = None, rule_sets: List[str] = None): + subscription_id = get_subscription_id(cmd.cli_ctx) formatted_custom_domains = [] if custom_domains is not None: for custom_domain in custom_domains: if '/customdomains/' not in custom_domain.lower(): - custom_domain = f'/subscriptions/{client.config.subscription_id}/resourceGroups/{resource_group_name}' \ + custom_domain = f'/subscriptions/{subscription_id}/resourceGroups/{resource_group_name}' \ f'/providers/Microsoft.Cdn/profiles/{profile_name}/customDomains/{custom_domain}' # If the origin is not an ID, assume it's a name and format it as an ID. formatted_custom_domains.append(ResourceReference(id=custom_domain)) if '/origingroups/' not in origin_group.lower(): - origin_group = f'/subscriptions/{client.config.subscription_id}/resourceGroups/{resource_group_name}' \ + origin_group = f'/subscriptions/{subscription_id}/resourceGroups/{resource_group_name}' \ f'/providers/Microsoft.Cdn/profiles/{profile_name}/originGroups/{origin_group}' compression_settings = CompressionSettings( @@ -386,35 +394,39 @@ def create_afd_route(client: RoutesOperations, if is_compression_enabled and content_types_to_compress is None: compression_settings.content_types_to_compress = default_content_types() + if not compression_settings.is_compression_enabled: + compression_settings.content_types_to_compress = [] + formatted_rule_sets = [] if rule_sets is not None: for rule_set in rule_sets: if '/rulesets/' not in rule_set.lower(): - rule_set = f'/subscriptions/{client.config.subscription_id}/resourceGroups/{resource_group_name}' \ + rule_set = f'/subscriptions/{subscription_id}/resourceGroups/{resource_group_name}' \ f'/providers/Microsoft.Cdn/profiles/{profile_name}/ruleSets/{rule_set}' formatted_rule_sets.append(ResourceReference(id=rule_set)) - return client.create(resource_group_name, - profile_name, - endpoint_name, - route_name, - Route( - custom_domains=formatted_custom_domains, - origin_path=origin_path, - patterns_to_match=patterns_to_match if patterns_to_match is not None else ['/*'], - supported_protocols=supported_protocols, - https_redirect=https_redirect, - origin_group=ResourceReference(id=origin_group), - forwarding_protocol=forwarding_protocol, - rule_sets=formatted_rule_sets, - query_string_caching_behavior=query_string_caching_behavior, - compression_settings=compression_settings, - link_to_default_domain=LinkToDefaultDomain.enabled if link_to_default_domain else - LinkToDefaultDomain.disabled)) - - -def update_afd_route(client: RoutesOperations, + return client.begin_create(resource_group_name, + profile_name, + endpoint_name, + route_name, + Route( + custom_domains=formatted_custom_domains, + origin_path=origin_path, + patterns_to_match=patterns_to_match if patterns_to_match is not None else ['/*'], + supported_protocols=supported_protocols, + https_redirect=https_redirect, + origin_group=ResourceReference(id=origin_group), + forwarding_protocol=forwarding_protocol, + rule_sets=formatted_rule_sets, + query_string_caching_behavior=query_string_caching_behavior, + compression_settings=compression_settings, + link_to_default_domain=LinkToDefaultDomain.enabled if link_to_default_domain else + LinkToDefaultDomain.disabled)) + + +def update_afd_route(cmd, + client: RoutesOperations, resource_group_name: str, profile_name: str, endpoint_name: str, @@ -443,11 +455,12 @@ def update_afd_route(client: RoutesOperations, query_string_caching_behavior=query_string_caching_behavior, link_to_default_domain=link_to_default_domain) + subscription_id = get_subscription_id(cmd.cli_ctx) if custom_domains is not None: formatted_custom_domains = [] for custom_domain in custom_domains: if '/customdomains/' not in custom_domain.lower(): - custom_domain = f'/subscriptions/{client.config.subscription_id}/resourceGroups/{resource_group_name}' \ + custom_domain = f'/subscriptions/{subscription_id}/resourceGroups/{resource_group_name}' \ f'/providers/Microsoft.Cdn/profiles/{profile_name}/customDomains/{custom_domain}' # If the origin is not an ID, assume it's a name and format it as an ID. @@ -457,7 +470,7 @@ def update_afd_route(client: RoutesOperations, if origin_group is not None: if '/origingroups/' not in origin_group.lower(): - origin_group = f'/subscriptions/{client.config.subscription_id}/resourceGroups/{resource_group_name}' \ + origin_group = f'/subscriptions/{subscription_id}/resourceGroups/{resource_group_name}' \ f'/providers/Microsoft.Cdn/profiles/{profile_name}/originGroups/{origin_group}' route.origin_group = origin_group @@ -466,7 +479,7 @@ def update_afd_route(client: RoutesOperations, formatted_rule_sets = [] for rule_set in rule_sets: if '/rulesets/' not in rule_set.lower(): - rule_set = f'/subscriptions/{client.config.subscription_id}/resourceGroups/{resource_group_name}' \ + rule_set = f'/subscriptions/{subscription_id}/resourceGroups/{resource_group_name}' \ f'/providers/Microsoft.Cdn/profiles/{profile_name}/ruleSets/{rule_set}' # If the origin is not an ID, assume it's a name and format it as an ID. @@ -500,13 +513,16 @@ def update_afd_route(client: RoutesOperations, is_compression_enabled=existing.compression_settings["isCompressionEnabled"] ) else: - route.compression_settings = None + route.compression_settings = CompressionSettings( + content_types_to_compress=[], + is_compression_enabled=False + ) - return client.create(resource_group_name, - profile_name, - endpoint_name, - route_name, - route) + return client.begin_create(resource_group_name, + profile_name, + endpoint_name, + route_name, + route) def create_afd_rule_set(client: RuleSetsOperations, @@ -514,7 +530,7 @@ def create_afd_rule_set(client: RuleSetsOperations, profile_name: str, rule_set_name: str): - return client.create(resource_group_name, profile_name, rule_set_name) + return client.begin_create(resource_group_name, profile_name, rule_set_name) # pylint: disable=too-many-locals @@ -552,11 +568,11 @@ def create_afd_rule(client: RulesOperations, resource_group_name, profile_name, match_processing_behavior=match_processing_behavior ) - return client.create(resource_group_name, - profile_name, - rule_set_name, - rule_name, - rule=rule) + return client.begin_create(resource_group_name, + profile_name, + rule_set_name, + rule_name, + rule=rule) def add_afd_rule_condition(client: RulesOperations, resource_group_name, profile_name, rule_set_name, @@ -568,11 +584,11 @@ def add_afd_rule_condition(client: RulesOperations, resource_group_name, profile condition = create_condition(match_variable, operator, match_values, selector, negate_condition, transform) existing_rule.conditions.append(condition) - return client.create(resource_group_name, - profile_name, - rule_set_name, - rule_name, - rule=existing_rule) + return client.begin_create(resource_group_name, + profile_name, + rule_set_name, + rule_name, + rule=existing_rule) def add_afd_rule_action(client: RulesOperations, resource_group_name, profile_name, rule_set_name, @@ -590,11 +606,11 @@ def add_afd_rule_action(client: RulesOperations, resource_group_name, profile_na custom_fragment, source_pattern, destination, preserve_unmatched_path) existing_rule.actions.append(action) - return client.create(resource_group_name, - profile_name, - rule_set_name, - rule_name, - rule=existing_rule) + return client.begin_create(resource_group_name, + profile_name, + rule_set_name, + rule_name, + rule=existing_rule) def remove_afd_rule_condition(client: RulesOperations, resource_group_name, profile_name, @@ -605,11 +621,11 @@ def remove_afd_rule_condition(client: RulesOperations, resource_group_name, prof else: logger.warning("Invalid condition index found. This command will be skipped. Please check the rule.") - return client.create(resource_group_name, - profile_name, - rule_set_name, - rule_name, - rule=existing_rule) + return client.begin_create(resource_group_name, + profile_name, + rule_set_name, + rule_name, + rule=existing_rule) def remove_afd_rule_action(client: RulesOperations, resource_group_name, profile_name, rule_set_name, rule_name, index): @@ -619,11 +635,11 @@ def remove_afd_rule_action(client: RulesOperations, resource_group_name, profile else: logger.warning("Invalid condition index found. This command will be skipped. Please check the rule.") - return client.create(resource_group_name, - profile_name, - rule_set_name, - rule_name, - rule=existing_rule) + return client.begin_create(resource_group_name, + profile_name, + rule_set_name, + rule_name, + rule=existing_rule) def list_afd_rule_condition(client: RulesOperations, resource_group_name, @@ -661,10 +677,10 @@ def create_afd_security_policy(client: SecurityPoliciesOperations, domains=[ResourceReference(id=domain) for domain in domains], patterns_to_match=["/*"])]) - return client.create(resource_group_name, - profile_name, - security_policy_name, - parameters=parameters) + return client.begin_create(resource_group_name, + profile_name, + security_policy_name, + SecurityPolicy(parameters=parameters)) def update_afd_security_policy(client: SecurityPoliciesOperations, @@ -690,10 +706,10 @@ def update_afd_security_policy(client: SecurityPoliciesOperations, domains=[ResourceReference(id=domain) for domain in domains], patterns_to_match=["/*"])] if domains is not None else existing.parameters.associations) - return client.create(resource_group_name, - profile_name, - security_policy_name, - parameters=parameters) + return client.begin_create(resource_group_name, + profile_name, + security_policy_name, + SecurityPolicy(parameters=parameters)) def create_afd_secret(client: SecretsOperations, @@ -725,10 +741,10 @@ def create_afd_secret(client: SecretsOperations, use_latest_version=False ) - return client.create(resource_group_name, - profile_name, - secret_name, - parameters=parameters) + return client.begin_create(resource_group_name, + profile_name, + secret_name, + Secret(parameters=parameters)) def update_afd_secret(client: SecretsOperations, @@ -760,7 +776,8 @@ def update_afd_secret(client: SecretsOperations, use_latest_version) -def create_afd_custom_domain(client: AFDCustomDomainsOperations, +def create_afd_custom_domain(cmd, + client: AFDCustomDomainsOperations, resource_group_name: str, profile_name: str, custom_domain_name: str, @@ -774,8 +791,9 @@ def create_afd_custom_domain(client: AFDCustomDomainsOperations, if azure_dns_zone is not None and "/dnszones/" not in azure_dns_zone.lower(): raise InvalidArgumentValueError('azure_dns_zone should be valid Azure dns zone ID.') + subscription_id = get_subscription_id(cmd.cli_ctx) if secret is not None and "/secrets/" not in secret.lower(): - secret = f'/subscriptions/{client.config.subscription_id}/resourceGroups/{resource_group_name}' \ + secret = f'/subscriptions/{subscription_id}/resourceGroups/{resource_group_name}' \ f'/providers/Microsoft.Cdn/profiles/{profile_name}/secrets/{secret}' tls_settings = AFDDomainHttpsParameters(certificate_type=certificate_type, @@ -786,10 +804,11 @@ def create_afd_custom_domain(client: AFDCustomDomainsOperations, tls_settings=tls_settings, azure_dns_zone=ResourceReference(id=azure_dns_zone) if azure_dns_zone is not None else None) - return sdk_no_wait(no_wait, client.create, resource_group_name, profile_name, custom_domain_name, afd_domain) + return sdk_no_wait(no_wait, client.begin_create, resource_group_name, profile_name, custom_domain_name, afd_domain) -def update_afd_custom_domain(client: AFDCustomDomainsOperations, +def update_afd_custom_domain(cmd, + client: AFDCustomDomainsOperations, resource_group_name: str, profile_name: str, custom_domain_name: str, @@ -801,8 +820,9 @@ def update_afd_custom_domain(client: AFDCustomDomainsOperations, if azure_dns_zone is not None and "/dnszones/" not in azure_dns_zone.lower(): raise InvalidArgumentValueError('azure_dns_zone should be valid Azure dns zone ID.') + subscription_id = get_subscription_id(cmd.cli_ctx) if secret is not None and "/secrets/" not in secret.lower(): - secret = f'/subscriptions/{client.config.subscription_id}/resourceGroups/{resource_group_name}' \ + secret = f'/subscriptions/{subscription_id}/resourceGroups/{resource_group_name}' \ f'/providers/Microsoft.Cdn/profiles/{profile_name}/secrets/{secret}' existing = client.get(resource_group_name, profile_name, custom_domain_name) @@ -821,9 +841,9 @@ def update_afd_custom_domain(client: AFDCustomDomainsOperations, tls_settings=tls_settings, azure_dns_zone=ResourceReference(id=azure_dns_zone) if azure_dns_zone is not None else existing.azure_dns_zone) - return client.create(resource_group_name, - profile_name, - custom_domain_name, - afd_domain).result() + return client.begin_create(resource_group_name, + profile_name, + custom_domain_name, + afd_domain).result() # endregion diff --git a/src/azure-cli/azure/cli/command_modules/cdn/custom/custom_waf.py b/src/azure-cli/azure/cli/command_modules/cdn/custom/custom_waf.py index 9f4ca96ec26..94246a3cab9 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/custom/custom_waf.py +++ b/src/azure-cli/azure/cli/command_modules/cdn/custom/custom_waf.py @@ -54,7 +54,7 @@ def set_endpoint_waf_policy_link(client: EndpointsOperations, endpoint.web_application_firewall_policy_link = \ EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink(id=waf_policy_id) - result = client.create(resource_group_name, profile_name, endpoint_name, endpoint).result() + result = client.begin_create(resource_group_name, profile_name, endpoint_name, endpoint).result() if result.web_application_firewall_policy_link is not None: return result.web_application_firewall_policy_link return EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink(id=None) @@ -67,7 +67,7 @@ def remove_endpoint_waf_policy_link(client: EndpointsOperations, endpoint = client.get(resource_group_name, profile_name, endpoint_name) endpoint.web_application_firewall_policy_link = None - client.create(resource_group_name, profile_name, endpoint_name, endpoint).wait() + client.begin_create(resource_group_name, profile_name, endpoint_name, endpoint).wait() def list_waf_managed_rule_set(client): @@ -95,7 +95,8 @@ def set_waf_policy(client, block_response_body=None, block_response_status_code=None, tags=None): - from azure.mgmt.cdn.models import (PolicySettings, ErrorResponseException, Sku) + from azure.core.exceptions import ResourceNotFoundError + from azure.mgmt.cdn.models import (PolicySettings, Sku) policy = CdnWebApplicationFirewallPolicy( tags=tags, sku=Sku(name=sku), @@ -114,17 +115,11 @@ def set_waf_policy(client, policy.custom_rules = existing.custom_rules policy.rate_limit_rules = existing.rate_limit_rules policy.managed_rules = existing.managed_rules - except ErrorResponseException as e: - # If the error isn't a 404, rethrow it. - props = getattr(e.inner_exception, 'additional_properties', {}) - if not isinstance(props, dict) or not isinstance(props.get('error'), dict): - raise e - props = props['error'] - if props.get('code') != 'ResourceNotFound': - raise e + except ResourceNotFoundError: + pass # 404 error means it's a new policy, nothing to copy. - return client.create_or_update(resource_group_name, name, policy) + return client.begin_create_or_update(resource_group_name, name, policy) def _find_policy_managed_rule_set(policy, rule_set_type, rule_set_version): @@ -152,7 +147,7 @@ def add_waf_policy_managed_rule_set(client, # Add the managed rule set to the policy. policy.managed_rules.managed_rule_sets.append(ManagedRuleSet(rule_set_type=rule_set_type, rule_set_version=rule_set_version)) - result = client.create_or_update(resource_group_name, policy_name, policy).result() + result = client.begin_create_or_update(resource_group_name, policy_name, policy).result() # Return the new managed rule set from the updated policy. updated = _find_policy_managed_rule_set(result, rule_set_type, rule_set_version) @@ -178,7 +173,7 @@ def remove_waf_policy_managed_rule_set(client, # Remove the managed rule set from the policy. policy.managed_rules.managed_rule_sets.remove(existing) - client.create_or_update(resource_group_name, policy_name, policy).wait() + client.begin_create_or_update(resource_group_name, policy_name, policy).wait() def list_waf_policy_managed_rule_sets(client, @@ -216,7 +211,7 @@ def set_waf_managed_rule_group_override(client, rulegroup = ManagedRuleGroupOverride(rule_group_name=name, rules=rule_overrides) upsert_to_collection(ruleset, 'rule_group_overrides', rulegroup, 'rule_group_name') - policy = client.create_or_update(resource_group_name, policy_name, policy).result() + policy = client.begin_create_or_update(resource_group_name, policy_name, policy).result() ruleset = _find_policy_managed_rule_set(policy, rule_set_type, rule_set_version) return find_child_item(ruleset, name, path='rule_group_overrides', key_path='rule_group_name') @@ -235,7 +230,7 @@ def delete_waf_managed_rule_group_override(client, override = find_child_item(ruleset, name, path='rule_group_overrides', key_path='rule_group_name') ruleset.rule_group_overrides.remove(override) - client.create_or_update(resource_group_name, policy_name, policy).wait() + client.begin_create_or_update(resource_group_name, policy_name, policy).wait() def list_waf_policy_managed_rule_group_overrides(client, @@ -283,7 +278,7 @@ def set_waf_custom_rule(client, policy = client.get(resource_group_name, policy_name) upsert_to_collection(policy.custom_rules, 'rules', rule, 'name') - policy = client.create_or_update(resource_group_name, policy_name, policy).result() + policy = client.begin_create_or_update(resource_group_name, policy_name, policy).result() return find_child_item(policy.custom_rules, name, path='rules', key_path='name') @@ -295,7 +290,7 @@ def delete_waf_custom_rule(client, policy = client.get(resource_group_name, policy_name) rule = find_child_item(policy.custom_rules, name, path='rules', key_path='name') policy.custom_rules.rules.remove(rule) - return sdk_no_wait(no_wait, client.create_or_update, resource_group_name, policy_name, policy) + return sdk_no_wait(no_wait, client.begin_create_or_update, resource_group_name, policy_name, policy) def show_waf_custom_rule(client, resource_group_name, policy_name, name): @@ -331,7 +326,7 @@ def set_waf_rate_limit_rule(client, policy = client.get(resource_group_name, policy_name) upsert_to_collection(policy.rate_limit_rules, 'rules', rule, 'name') - updated = client.create_or_update(resource_group_name, policy_name, policy).result() + updated = client.begin_create_or_update(resource_group_name, policy_name, policy).result() return find_child_item(updated.rate_limit_rules, name, path='rules', key_path='name') @@ -343,7 +338,7 @@ def delete_waf_rate_limit_rule(client, policy = client.get(resource_group_name, policy_name) rule = find_child_item(policy.rate_limit_rules, name, path='rules', key_path='name') policy.rate_limit_rules.rules.remove(rule) - return sdk_no_wait(no_wait, client.create_or_update, resource_group_name, policy_name, policy) + return sdk_no_wait(no_wait, client.begin_create_or_update, resource_group_name, policy_name, policy) def show_waf_rate_limit_rule(client, resource_group_name, policy_name, name): diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_custom_domain_crud.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_custom_domain_crud.yaml index 07a4c84a278..5c0c5d2bf30 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_custom_domain_crud.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_custom_domain_crud.yaml @@ -13,10 +13,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/customDomains?api-version=2020-09-01 response: @@ -32,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:10:38 GMT + - Fri, 02 Apr 2021 13:46:13 GMT expires: - '-1' pragma: @@ -60,22 +57,19 @@ interactions: Content-Length: - '66' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"34453708-975c-4e37-b8fe-9a8a61a08a6e","resourceState":"Creating","provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"2d665dff-8bcf-45b2-ade6-4dee90f22504","resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/5d89d225-add5-422d-84e9-598c4b1ccb08?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/131246b9-3919-4089-87b4-0e4a16d83861?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -83,7 +77,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:10:49 GMT + - Fri, 02 Apr 2021 13:46:20 GMT expires: - '-1' pragma: @@ -95,7 +89,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '23' + - '24' status: code: 201 message: Created @@ -103,7 +97,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -113,10 +107,9 @@ interactions: ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/5d89d225-add5-422d-84e9-598c4b1ccb08?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/131246b9-3919-4089-87b4-0e4a16d83861?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -128,7 +121,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:10:59 GMT + - Fri, 02 Apr 2021 13:46:30 GMT expires: - '-1' pragma: @@ -150,7 +143,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -160,13 +153,12 @@ interactions: ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"34453708-975c-4e37-b8fe-9a8a61a08a6e","resourceState":"Active","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"2d665dff-8bcf-45b2-ade6-4dee90f22504","resourceState":"Active","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -175,7 +167,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:11:00 GMT + - Fri, 02 Apr 2021 13:46:31 GMT expires: - '-1' pragma: @@ -209,10 +201,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/customDomains?api-version=2020-09-01 response: @@ -226,7 +215,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:11:01 GMT + - Fri, 02 Apr 2021 13:46:32 GMT expires: - '-1' pragma: @@ -246,7 +235,7 @@ interactions: message: OK - request: body: '{"properties": {"parameters": {"type": "CustomerCertificate", "secretSource": - {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc/certificates/localdev-wild"}, + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc-int/certificates/localdev-wild"}, "useLatestVersion": true}}}' headers: Accept: @@ -258,32 +247,82 @@ interactions: Connection: - keep-alive Content-Length: - - '274' + - '278' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --secret-name --secret-source --use-latest-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003","type":"Microsoft.Cdn/profiles/secrets","name":"secret000003","properties":{"parameters":{"type":"CustomerCertificate","subject":null,"certificateAuthority":null,"expirationDate":null,"thumbprint":null,"secretSource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc/certificates/localdev-wild"},"secretVersion":null,"useLatestVersion":true,"subjectAlternativeNames":null},"provisioningState":"Creating","deploymentStatus":"NotStarted"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003","type":"Microsoft.Cdn/profiles/secrets","name":"secret000003","properties":{"parameters":{"type":"CustomerCertificate","subject":"*.localdev.cdn.azure.cn","certificateAuthority":"CN=DigiCert + Basic RSA CN CA G2, O=DigiCert Inc, C=US","expirationDate":"2021-12-08T23:59:59+00:00","thumbprint":"E23BED5CF38497BDA0CF3050BF879C0E6874C205","secretSource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc-int/certificates/localdev-wild"},"secretVersion":"79a28a39f92e4772819a488497b15b31","useLatestVersion":true,"subjectAlternativeNames":["*.localdev.cdn.azure.cn","localdev.cdn.azure.cn"]},"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' + headers: + cache-control: + - no-cache + content-length: + - '985' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Apr 2021 13:46:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99' + status: + code: 201 + message: Created +- request: + body: '{"properties": {"tlsSettings": {"certificateType": "CustomerCertificate", + "minimumTlsVersion": "TLS12", "secret": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003"}}, + "hostName": "customdomain000004.localdev.cdn.azure.cn"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - afd custom-domain create + Connection: + - keep-alive + Content-Length: + - '414' + Content-Type: + - application/json + ParameterSetName: + - -g --profile-name --custom-domain-name --host-name --certificate-type --minimum-tls-version + --secret + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/customDomains/customdomain000004?api-version=2020-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/customdomains/customdomain000004","type":"Microsoft.Cdn/profiles/customdomains","name":"customdomain000004","properties":{"hostName":"customdomain000004.localdev.cdn.azure.cn","tlsSettings":{"certificateType":"CustomerCertificate","minimumTlsVersion":"TLS12","secret":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003"}},"validationProperties":{"validationToken":null,"expirationDate":"01/01/0001 + 00:00:00"},"azureDnsZone":null,"domainValidationState":"Submitting","provisioningState":"Creating","deploymentStatus":"NotStarted"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/0f6fd01e-9a4a-4aea-85d4-212319fec6ee?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/fd7bcd4a-93a3-47d6-a2f5-124ef3a578f4?api-version=2020-09-01 cache-control: - no-cache content-length: - - '771' + - '930' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:11:04 GMT + - Fri, 02 Apr 2021 13:46:37 GMT expires: - '-1' pragma: @@ -303,32 +342,32 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - afd secret create + - afd custom-domain create Connection: - keep-alive ParameterSetName: - - -g --profile-name --secret-name --secret-source --use-latest-version + - -g --profile-name --custom-domain-name --host-name --certificate-type --minimum-tls-version + --secret User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/0f6fd01e-9a4a-4aea-85d4-212319fec6ee?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/fd7bcd4a-93a3-47d6-a2f5-124ef3a578f4?api-version=2020-09-01 response: body: - string: '{"status":"Succeeded","error":{"code":"None","message":null}}' + string: '{"status":"InProgress","error":{"code":"None","message":null}}' headers: cache-control: - no-cache content-length: - - '61' + - '62' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:11:15 GMT + - Fri, 02 Apr 2021 13:46:47 GMT expires: - '-1' pragma: @@ -350,33 +389,32 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - afd secret create + - afd custom-domain create Connection: - keep-alive ParameterSetName: - - -g --profile-name --secret-name --secret-source --use-latest-version + - -g --profile-name --custom-domain-name --host-name --certificate-type --minimum-tls-version + --secret User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/fd7bcd4a-93a3-47d6-a2f5-124ef3a578f4?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003","type":"Microsoft.Cdn/profiles/secrets","name":"secret000003","properties":{"parameters":{"type":"CustomerCertificate","subject":"*.localdev.cdn.azure.cn","certificateAuthority":"DigiCert - Basic RSA CN CA G2","expirationDate":"2021-12-08T23:59:59+00:00","thumbprint":"E23BED5CF38497BDA0CF3050BF879C0E6874C205","secretSource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc/certificates/localdev-wild"},"secretVersion":"9677c7fac7c94435bd2a909be2804f9e","useLatestVersion":true,"subjectAlternativeNames":["*.localdev.cdn.azure.cn","localdev.cdn.azure.cn"]},"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' + string: '{"status":"InProgress","error":{"code":"None","message":null}}' headers: cache-control: - no-cache content-length: - - '956' + - '62' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:11:16 GMT + - Fri, 02 Apr 2021 13:47:17 GMT expires: - '-1' pragma: @@ -395,47 +433,82 @@ interactions: code: 200 message: OK - request: - body: '{"properties": {"tlsSettings": {"certificateType": "CustomerCertificate", - "minimumTlsVersion": "TLS12", "secret": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003"}}, - "hostName": "customdomain000004.localdev.cdn.azure.cn"}}' + body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - afd custom-domain create Connection: - keep-alive - Content-Length: - - '414' - Content-Type: + ParameterSetName: + - -g --profile-name --custom-domain-name --host-name --certificate-type --minimum-tls-version + --secret + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/fd7bcd4a-93a3-47d6-a2f5-124ef3a578f4?api-version=2020-09-01 + response: + body: + string: '{"status":"InProgress","error":{"code":"None","message":null}}' + headers: + cache-control: + - no-cache + content-length: + - '62' + content-type: - application/json; charset=utf-8 + date: + - Fri, 02 Apr 2021 13:47:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - afd custom-domain create + Connection: + - keep-alive ParameterSetName: - -g --profile-name --custom-domain-name --host-name --certificate-type --minimum-tls-version --secret User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/customDomains/customdomain000004?api-version=2020-09-01 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/fd7bcd4a-93a3-47d6-a2f5-124ef3a578f4?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/customdomains/customdomain000004","type":"Microsoft.Cdn/profiles/customdomains","name":"customdomain000004","properties":{"hostName":"customdomain000004.localdev.cdn.azure.cn","tlsSettings":{"certificateType":"CustomerCertificate","minimumTlsVersion":"TLS12","secret":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003"}},"validationProperties":{"validationToken":null,"expirationDate":"01/01/0001 - 00:00:00"},"azureDnsZone":null,"domainValidationState":"Submitting","provisioningState":"Creating","deploymentStatus":"NotStarted"}}' + string: '{"status":"InProgress","error":{"code":"None","message":null}}' headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9eae25ef-1918-4a65-aff3-0c6a28ed3295?api-version=2020-09-01 cache-control: - no-cache content-length: - - '930' + - '62' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:11:21 GMT + - Fri, 02 Apr 2021 13:48:18 GMT expires: - '-1' pragma: @@ -444,18 +517,20 @@ interactions: - Kestrel strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-resource-requests: - - '99' status: - code: 201 - message: Created + code: 200 + message: OK - request: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -466,10 +541,9 @@ interactions: - -g --profile-name --custom-domain-name --host-name --certificate-type --minimum-tls-version --secret User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9eae25ef-1918-4a65-aff3-0c6a28ed3295?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/fd7bcd4a-93a3-47d6-a2f5-124ef3a578f4?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -481,7 +555,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:11:32 GMT + - Fri, 02 Apr 2021 13:48:49 GMT expires: - '-1' pragma: @@ -503,7 +577,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -514,10 +588,9 @@ interactions: - -g --profile-name --custom-domain-name --host-name --certificate-type --minimum-tls-version --secret User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9eae25ef-1918-4a65-aff3-0c6a28ed3295?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/fd7bcd4a-93a3-47d6-a2f5-124ef3a578f4?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -529,7 +602,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:12:03 GMT + - Fri, 02 Apr 2021 13:49:19 GMT expires: - '-1' pragma: @@ -551,7 +624,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -562,10 +635,9 @@ interactions: - -g --profile-name --custom-domain-name --host-name --certificate-type --minimum-tls-version --secret User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9eae25ef-1918-4a65-aff3-0c6a28ed3295?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/fd7bcd4a-93a3-47d6-a2f5-124ef3a578f4?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -577,7 +649,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:12:33 GMT + - Fri, 02 Apr 2021 13:49:49 GMT expires: - '-1' pragma: @@ -599,7 +671,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -610,10 +682,9 @@ interactions: - -g --profile-name --custom-domain-name --host-name --certificate-type --minimum-tls-version --secret User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9eae25ef-1918-4a65-aff3-0c6a28ed3295?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/fd7bcd4a-93a3-47d6-a2f5-124ef3a578f4?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -625,7 +696,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:13:04 GMT + - Fri, 02 Apr 2021 13:50:19 GMT expires: - '-1' pragma: @@ -647,7 +718,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -658,10 +729,9 @@ interactions: - -g --profile-name --custom-domain-name --host-name --certificate-type --minimum-tls-version --secret User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9eae25ef-1918-4a65-aff3-0c6a28ed3295?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/fd7bcd4a-93a3-47d6-a2f5-124ef3a578f4?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -673,7 +743,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:13:34 GMT + - Fri, 02 Apr 2021 13:50:50 GMT expires: - '-1' pragma: @@ -695,7 +765,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -706,10 +776,9 @@ interactions: - -g --profile-name --custom-domain-name --host-name --certificate-type --minimum-tls-version --secret User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9eae25ef-1918-4a65-aff3-0c6a28ed3295?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/fd7bcd4a-93a3-47d6-a2f5-124ef3a578f4?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -721,7 +790,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:14:04 GMT + - Fri, 02 Apr 2021 13:51:20 GMT expires: - '-1' pragma: @@ -743,7 +812,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -754,10 +823,9 @@ interactions: - -g --profile-name --custom-domain-name --host-name --certificate-type --minimum-tls-version --secret User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9eae25ef-1918-4a65-aff3-0c6a28ed3295?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/fd7bcd4a-93a3-47d6-a2f5-124ef3a578f4?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -769,7 +837,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:14:35 GMT + - Fri, 02 Apr 2021 13:51:51 GMT expires: - '-1' pragma: @@ -791,7 +859,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -802,10 +870,9 @@ interactions: - -g --profile-name --custom-domain-name --host-name --certificate-type --minimum-tls-version --secret User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9eae25ef-1918-4a65-aff3-0c6a28ed3295?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/fd7bcd4a-93a3-47d6-a2f5-124ef3a578f4?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -817,7 +884,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:15:05 GMT + - Fri, 02 Apr 2021 13:52:21 GMT expires: - '-1' pragma: @@ -839,7 +906,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -850,10 +917,150 @@ interactions: - -g --profile-name --custom-domain-name --host-name --certificate-type --minimum-tls-version --secret User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9eae25ef-1918-4a65-aff3-0c6a28ed3295?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/fd7bcd4a-93a3-47d6-a2f5-124ef3a578f4?api-version=2020-09-01 + response: + body: + string: '{"status":"InProgress","error":{"code":"None","message":null}}' + headers: + cache-control: + - no-cache + content-length: + - '62' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Apr 2021 13:52:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - afd custom-domain create + Connection: + - keep-alive + ParameterSetName: + - -g --profile-name --custom-domain-name --host-name --certificate-type --minimum-tls-version + --secret + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/fd7bcd4a-93a3-47d6-a2f5-124ef3a578f4?api-version=2020-09-01 + response: + body: + string: '{"status":"InProgress","error":{"code":"None","message":null}}' + headers: + cache-control: + - no-cache + content-length: + - '62' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Apr 2021 13:53:22 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - afd custom-domain create + Connection: + - keep-alive + ParameterSetName: + - -g --profile-name --custom-domain-name --host-name --certificate-type --minimum-tls-version + --secret + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/fd7bcd4a-93a3-47d6-a2f5-124ef3a578f4?api-version=2020-09-01 + response: + body: + string: '{"status":"InProgress","error":{"code":"None","message":null}}' + headers: + cache-control: + - no-cache + content-length: + - '62' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Apr 2021 13:53:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - afd custom-domain create + Connection: + - keep-alive + ParameterSetName: + - -g --profile-name --custom-domain-name --host-name --certificate-type --minimum-tls-version + --secret + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/fd7bcd4a-93a3-47d6-a2f5-124ef3a578f4?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -865,7 +1072,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:15:35 GMT + - Fri, 02 Apr 2021 13:54:23 GMT expires: - '-1' pragma: @@ -887,7 +1094,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -898,14 +1105,13 @@ interactions: - -g --profile-name --custom-domain-name --host-name --certificate-type --minimum-tls-version --secret User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/customDomains/customdomain000004?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/customdomains/customdomain000004","type":"Microsoft.Cdn/profiles/customdomains","name":"customdomain000004","properties":{"hostName":"customdomain000004.localdev.cdn.azure.cn","tlsSettings":{"certificateType":"CustomerCertificate","minimumTlsVersion":"TLS12","secret":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003"}},"validationProperties":{"validationToken":"l8lywlsycnp4hj07jghhfrbfvjl4p2nx","expirationDate":"03/12/2021 - 12:11:59"},"azureDnsZone":null,"domainValidationState":"Approved","provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/customdomains/customdomain000004","type":"Microsoft.Cdn/profiles/customdomains","name":"customdomain000004","properties":{"hostName":"customdomain000004.localdev.cdn.azure.cn","tlsSettings":{"certificateType":"CustomerCertificate","minimumTlsVersion":"TLS12","secret":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003"}},"validationProperties":{"validationToken":"2x99nftl0w9k6ft40z8d7m07swzk154v","expirationDate":"04/23/2021 + 13:47:29"},"azureDnsZone":null,"domainValidationState":"Approved","provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' headers: cache-control: - no-cache @@ -914,7 +1120,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:15:36 GMT + - Fri, 02 Apr 2021 13:54:23 GMT expires: - '-1' pragma: @@ -946,16 +1152,13 @@ interactions: ParameterSetName: - -g --profile-name --custom-domain-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/customDomains/customdomain000004?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/customdomains/customdomain000004","type":"Microsoft.Cdn/profiles/customdomains","name":"customdomain000004","properties":{"hostName":"customdomain000004.localdev.cdn.azure.cn","tlsSettings":{"certificateType":"CustomerCertificate","minimumTlsVersion":"TLS12","secret":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003"}},"validationProperties":{"validationToken":"l8lywlsycnp4hj07jghhfrbfvjl4p2nx","expirationDate":"03/12/2021 - 12:11:59"},"azureDnsZone":null,"domainValidationState":"Approved","provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/customdomains/customdomain000004","type":"Microsoft.Cdn/profiles/customdomains","name":"customdomain000004","properties":{"hostName":"customdomain000004.localdev.cdn.azure.cn","tlsSettings":{"certificateType":"CustomerCertificate","minimumTlsVersion":"TLS12","secret":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003"}},"validationProperties":{"validationToken":"2x99nftl0w9k6ft40z8d7m07swzk154v","expirationDate":"04/23/2021 + 13:47:29"},"azureDnsZone":null,"domainValidationState":"Approved","provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' headers: cache-control: - no-cache @@ -964,7 +1167,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:15:37 GMT + - Fri, 02 Apr 2021 13:54:26 GMT expires: - '-1' pragma: @@ -996,16 +1199,13 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/customDomains?api-version=2020-09-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/customdomains/customdomain000004","type":"Microsoft.Cdn/profiles/customdomains","name":"customdomain000004","properties":{"hostName":"customdomain000004.localdev.cdn.azure.cn","tlsSettings":{"certificateType":"CustomerCertificate","minimumTlsVersion":"TLS12","secret":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003"}},"validationProperties":{"validationToken":"l8lywlsycnp4hj07jghhfrbfvjl4p2nx","expirationDate":"03/12/2021 - 12:11:59"},"azureDnsZone":null,"domainValidationState":"Approved","provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/customdomains/customdomain000004","type":"Microsoft.Cdn/profiles/customdomains","name":"customdomain000004","properties":{"hostName":"customdomain000004.localdev.cdn.azure.cn","tlsSettings":{"certificateType":"CustomerCertificate","minimumTlsVersion":"TLS12","secret":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003"}},"validationProperties":{"validationToken":"2x99nftl0w9k6ft40z8d7m07swzk154v","expirationDate":"04/23/2021 + 13:47:29"},"azureDnsZone":null,"domainValidationState":"Approved","provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}]}' headers: cache-control: - no-cache @@ -1014,7 +1214,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:15:38 GMT + - Fri, 02 Apr 2021 13:54:27 GMT expires: - '-1' pragma: @@ -1046,16 +1246,13 @@ interactions: ParameterSetName: - -g --profile-name --custom-domain-name --certificate-type --minimum-tls-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/customDomains/customdomain000004?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/customdomains/customdomain000004","type":"Microsoft.Cdn/profiles/customdomains","name":"customdomain000004","properties":{"hostName":"customdomain000004.localdev.cdn.azure.cn","tlsSettings":{"certificateType":"CustomerCertificate","minimumTlsVersion":"TLS12","secret":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003"}},"validationProperties":{"validationToken":"l8lywlsycnp4hj07jghhfrbfvjl4p2nx","expirationDate":"03/12/2021 - 12:11:59"},"azureDnsZone":null,"domainValidationState":"Approved","provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/customdomains/customdomain000004","type":"Microsoft.Cdn/profiles/customdomains","name":"customdomain000004","properties":{"hostName":"customdomain000004.localdev.cdn.azure.cn","tlsSettings":{"certificateType":"CustomerCertificate","minimumTlsVersion":"TLS12","secret":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003"}},"validationProperties":{"validationToken":"2x99nftl0w9k6ft40z8d7m07swzk154v","expirationDate":"04/23/2021 + 13:47:29"},"azureDnsZone":null,"domainValidationState":"Approved","provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' headers: cache-control: - no-cache @@ -1064,7 +1261,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:15:39 GMT + - Fri, 02 Apr 2021 13:54:28 GMT expires: - '-1' pragma: @@ -1097,23 +1294,20 @@ interactions: Content-Length: - '166' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --custom-domain-name --certificate-type --minimum-tls-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/customDomains/customdomain000004?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/customdomains/customdomain000004","type":"Microsoft.Cdn/profiles/customdomains","name":"customdomain000004","properties":{"hostName":"customdomain000004.localdev.cdn.azure.cn","tlsSettings":{"certificateType":"ManagedCertificate","minimumTlsVersion":"TLS10","secret":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/Profiles/profile000002/secrets/34453708-975c-4e37-b8fe-9a8a61a08a6e-customdomain000004-localdev-cdn-azure-cn"}},"validationProperties":{"validationToken":"l8lywlsycnp4hj07jghhfrbfvjl4p2nx","expirationDate":"03/12/2021 - 12:11:59"},"azureDnsZone":null,"domainValidationState":"Approved","provisioningState":"Updating","deploymentStatus":"NotStarted"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/customdomains/customdomain000004","type":"Microsoft.Cdn/profiles/customdomains","name":"customdomain000004","properties":{"hostName":"customdomain000004.localdev.cdn.azure.cn","tlsSettings":{"certificateType":"ManagedCertificate","minimumTlsVersion":"TLS10","secret":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/Profiles/profile000002/secrets/2d665dff-8bcf-45b2-ade6-4dee90f22504-customdomain000004-localdev-cdn-azure-cn"}},"validationProperties":{"validationToken":"2x99nftl0w9k6ft40z8d7m07swzk154v","expirationDate":"04/23/2021 + 13:47:29"},"azureDnsZone":null,"domainValidationState":"Approved","provisioningState":"Updating","deploymentStatus":"NotStarted"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2efe7647-aae9-45d8-bea5-f5ff8d5806d9?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/575a6383-4d6d-42f7-86e1-1f66c0d9e9b0?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -1121,11 +1315,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:15:41 GMT + - Fri, 02 Apr 2021 13:54:30 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2efe7647-aae9-45d8-bea5-f5ff8d5806d9/profileresults/profile000002/customdomainresults/customdomain000004?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/575a6383-4d6d-42f7-86e1-1f66c0d9e9b0/profileresults/profile000002/customdomainresults/customdomain000004?api-version=2020-09-01 pragma: - no-cache server: @@ -1143,7 +1337,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1153,10 +1347,9 @@ interactions: ParameterSetName: - -g --profile-name --custom-domain-name --certificate-type --minimum-tls-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2efe7647-aae9-45d8-bea5-f5ff8d5806d9?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/575a6383-4d6d-42f7-86e1-1f66c0d9e9b0?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -1168,7 +1361,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:15:52 GMT + - Fri, 02 Apr 2021 13:54:40 GMT expires: - '-1' pragma: @@ -1190,7 +1383,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1200,10 +1393,9 @@ interactions: ParameterSetName: - -g --profile-name --custom-domain-name --certificate-type --minimum-tls-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2efe7647-aae9-45d8-bea5-f5ff8d5806d9?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/575a6383-4d6d-42f7-86e1-1f66c0d9e9b0?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -1215,7 +1407,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:16:23 GMT + - Fri, 02 Apr 2021 13:55:10 GMT expires: - '-1' pragma: @@ -1237,7 +1429,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1247,14 +1439,13 @@ interactions: ParameterSetName: - -g --profile-name --custom-domain-name --certificate-type --minimum-tls-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/customDomains/customdomain000004?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/customdomains/customdomain000004","type":"Microsoft.Cdn/profiles/customdomains","name":"customdomain000004","properties":{"hostName":"customdomain000004.localdev.cdn.azure.cn","tlsSettings":{"certificateType":"ManagedCertificate","minimumTlsVersion":"TLS10","secret":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/Profiles/profile000002/secrets/34453708-975c-4e37-b8fe-9a8a61a08a6e-customdomain000004-localdev-cdn-azure-cn"}},"validationProperties":{"validationToken":"l8lywlsycnp4hj07jghhfrbfvjl4p2nx","expirationDate":"03/12/2021 - 12:11:59"},"azureDnsZone":null,"domainValidationState":"Approved","provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/customdomains/customdomain000004","type":"Microsoft.Cdn/profiles/customdomains","name":"customdomain000004","properties":{"hostName":"customdomain000004.localdev.cdn.azure.cn","tlsSettings":{"certificateType":"ManagedCertificate","minimumTlsVersion":"TLS10","secret":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/Profiles/profile000002/secrets/2d665dff-8bcf-45b2-ade6-4dee90f22504-customdomain000004-localdev-cdn-azure-cn"}},"validationProperties":{"validationToken":"2x99nftl0w9k6ft40z8d7m07swzk154v","expirationDate":"04/23/2021 + 13:47:29"},"azureDnsZone":null,"domainValidationState":"Approved","provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' headers: cache-control: - no-cache @@ -1263,7 +1454,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:16:23 GMT + - Fri, 02 Apr 2021 13:55:11 GMT expires: - '-1' pragma: @@ -1297,10 +1488,7 @@ interactions: ParameterSetName: - -g --profile-name --custom-domain-name --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/customDomains/customdomain000004?api-version=2020-09-01 response: @@ -1308,17 +1496,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/825ecfe7-7c06-4027-827c-ee191e13c27a?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/3539402d-607c-4c64-8a17-3a17bb0a4803?api-version=2020-09-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 19 Feb 2021 12:16:24 GMT + - Fri, 02 Apr 2021 13:55:13 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/825ecfe7-7c06-4027-827c-ee191e13c27a/profileresults/profile000002/customdomainresults/customdomain000004?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/3539402d-607c-4c64-8a17-3a17bb0a4803/profileresults/profile000002/customdomainresults/customdomain000004?api-version=2020-09-01 pragma: - no-cache server: @@ -1328,7 +1516,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14999' status: code: 202 message: Accepted @@ -1336,7 +1524,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1346,10 +1534,9 @@ interactions: ParameterSetName: - -g --profile-name --custom-domain-name --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/825ecfe7-7c06-4027-827c-ee191e13c27a?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/3539402d-607c-4c64-8a17-3a17bb0a4803?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -1361,7 +1548,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:16:35 GMT + - Fri, 02 Apr 2021 13:55:23 GMT expires: - '-1' pragma: @@ -1383,7 +1570,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1393,10 +1580,9 @@ interactions: ParameterSetName: - -g --profile-name --custom-domain-name --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/825ecfe7-7c06-4027-827c-ee191e13c27a?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/3539402d-607c-4c64-8a17-3a17bb0a4803?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -1408,7 +1594,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:17:06 GMT + - Fri, 02 Apr 2021 13:55:53 GMT expires: - '-1' pragma: @@ -1440,10 +1626,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/customDomains?api-version=2020-09-01 response: @@ -1457,7 +1640,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:17:08 GMT + - Fri, 02 Apr 2021 13:55:55 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_endpoint_crud.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_endpoint_crud.yaml index 1048a636ddc..cda2f701bc4 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_endpoint_crud.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_endpoint_crud.yaml @@ -13,10 +13,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/afdEndpoints?api-version=2020-09-01 response: @@ -32,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:46:36 GMT + - Fri, 02 Apr 2021 10:22:28 GMT expires: - '-1' pragma: @@ -60,22 +57,19 @@ interactions: Content-Length: - '66' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123","type":"Microsoft.Cdn/profiles","name":"profile123","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"166c044c-ee6b-46f1-a75d-92943c62b16d","resourceState":"Creating","provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123","type":"Microsoft.Cdn/profiles","name":"profile123","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"b4f39570-6ea1-4d51-8a5c-63d107aa4b95","resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/fddbe90d-1f9c-4d83-9724-243b9f75520d?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/7f83bd3b-6744-4d4d-9edf-8fd0bf495062?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -83,7 +77,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:46:45 GMT + - Fri, 02 Apr 2021 10:22:36 GMT expires: - '-1' pragma: @@ -103,7 +97,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -113,10 +107,9 @@ interactions: ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/fddbe90d-1f9c-4d83-9724-243b9f75520d?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/7f83bd3b-6744-4d4d-9edf-8fd0bf495062?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -128,7 +121,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:46:57 GMT + - Fri, 02 Apr 2021 10:22:46 GMT expires: - '-1' pragma: @@ -150,7 +143,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -160,13 +153,12 @@ interactions: ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123","type":"Microsoft.Cdn/profiles","name":"profile123","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"166c044c-ee6b-46f1-a75d-92943c62b16d","resourceState":"Active","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123","type":"Microsoft.Cdn/profiles","name":"profile123","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"b4f39570-6ea1-4d51-8a5c-63d107aa4b95","resourceState":"Active","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -175,7 +167,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:46:57 GMT + - Fri, 02 Apr 2021 10:22:47 GMT expires: - '-1' pragma: @@ -209,10 +201,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/afdEndpoints?api-version=2020-09-01 response: @@ -226,7 +215,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:46:59 GMT + - Fri, 02 Apr 2021 10:22:48 GMT expires: - '-1' pragma: @@ -261,14 +250,11 @@ interactions: Content-Length: - '102' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --endpoint-name --profile-name --origin-response-timeout-seconds --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/afdEndpoints/endpoint000002?api-version=2020-09-01 response: @@ -276,7 +262,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/afdEndpoints/endpoint000002","type":"Microsoft.Cdn/profiles/afdendpoints","name":"endpoint000002","location":"Global","tags":{},"properties":{"hostName":"endpoint000002.z01.azurefd.net","originResponseTimeoutSeconds":100,"enabledState":"Enabled","provisioningState":"Creating","deploymentStatus":"NotStarted"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/bb79ade5-fdb6-4d31-8824-2956f7246e2d?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b9afc61e-4343-44f5-b13a-3c1ce9137f9c?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -284,7 +270,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:06 GMT + - Fri, 02 Apr 2021 10:22:56 GMT expires: - '-1' pragma: @@ -304,7 +290,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -314,10 +300,9 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name --origin-response-timeout-seconds --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/bb79ade5-fdb6-4d31-8824-2956f7246e2d?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b9afc61e-4343-44f5-b13a-3c1ce9137f9c?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -329,7 +314,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:17 GMT + - Fri, 02 Apr 2021 10:23:07 GMT expires: - '-1' pragma: @@ -351,7 +336,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -361,8 +346,7 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name --origin-response-timeout-seconds --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/afdEndpoints/endpoint000002?api-version=2020-09-01 response: @@ -376,7 +360,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:17 GMT + - Fri, 02 Apr 2021 10:23:07 GMT expires: - '-1' pragma: @@ -410,10 +394,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/afdEndpoints?api-version=2020-09-01 response: @@ -427,7 +408,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:19 GMT + - Fri, 02 Apr 2021 10:23:09 GMT expires: - '-1' pragma: @@ -443,7 +424,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '49' + - '48' status: code: 200 message: OK @@ -461,14 +442,11 @@ interactions: Content-Length: - '44' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --endpoint-name --profile-name --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/afdEndpoints/endpoint000002?api-version=2020-09-01 response: @@ -476,7 +454,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/afdEndpoints/endpoint000002","type":"Microsoft.Cdn/profiles/afdendpoints","name":"endpoint000002","location":"Global","tags":{},"properties":{"hostName":"endpoint000002.z01.azurefd.net","originResponseTimeoutSeconds":100,"enabledState":"Disabled","provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/5e21f79c-016a-41a7-84aa-6070f150eeb4?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/e6d44793-7331-49a4-9c89-741307648606?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -484,11 +462,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:20 GMT + - Fri, 02 Apr 2021 10:23:11 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/5e21f79c-016a-41a7-84aa-6070f150eeb4/profileresults/profile123/afdendpointresults/endpoint000002?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/e6d44793-7331-49a4-9c89-741307648606/profileresults/profile123/afdendpointresults/endpoint000002?api-version=2020-09-01 pragma: - no-cache server: @@ -506,7 +484,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -516,10 +494,9 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/5e21f79c-016a-41a7-84aa-6070f150eeb4?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/e6d44793-7331-49a4-9c89-741307648606?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -531,7 +508,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:31 GMT + - Fri, 02 Apr 2021 10:23:21 GMT expires: - '-1' pragma: @@ -553,7 +530,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -563,8 +540,7 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/afdEndpoints/endpoint000002?api-version=2020-09-01 response: @@ -578,7 +554,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:31 GMT + - Fri, 02 Apr 2021 10:23:22 GMT expires: - '-1' pragma: @@ -594,7 +570,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '48' + - '49' status: code: 200 message: OK @@ -612,14 +588,11 @@ interactions: Content-Length: - '80' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --endpoint-name --profile-name --origin-response-timeout-seconds --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/afdEndpoints/endpoint000002?api-version=2020-09-01 response: @@ -627,7 +600,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/afdEndpoints/endpoint000002","type":"Microsoft.Cdn/profiles/afdendpoints","name":"endpoint000002","location":"Global","tags":{},"properties":{"hostName":"endpoint000002.z01.azurefd.net","originResponseTimeoutSeconds":120,"enabledState":"Enabled","provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/07060ca8-8aaf-48ee-8419-4cb546e9916e?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/64b61491-d19d-4f59-9470-464517269944?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -635,11 +608,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:33 GMT + - Fri, 02 Apr 2021 10:23:25 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/07060ca8-8aaf-48ee-8419-4cb546e9916e/profileresults/profile123/afdendpointresults/endpoint000002?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/64b61491-d19d-4f59-9470-464517269944/profileresults/profile123/afdendpointresults/endpoint000002?api-version=2020-09-01 pragma: - no-cache server: @@ -657,7 +630,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -667,10 +640,9 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name --origin-response-timeout-seconds --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/07060ca8-8aaf-48ee-8419-4cb546e9916e?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/64b61491-d19d-4f59-9470-464517269944?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -682,7 +654,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:44 GMT + - Fri, 02 Apr 2021 10:23:35 GMT expires: - '-1' pragma: @@ -704,7 +676,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -714,8 +686,7 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name --origin-response-timeout-seconds --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/afdEndpoints/endpoint000002?api-version=2020-09-01 response: @@ -729,7 +700,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:44 GMT + - Fri, 02 Apr 2021 10:23:35 GMT expires: - '-1' pragma: @@ -765,10 +736,7 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/afdEndpoints/endpoint000002?api-version=2020-09-01 response: @@ -776,17 +744,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/3003bb16-5810-46b6-93a4-006c70127b84?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/ec0fb0ab-0805-4284-9daa-bd6db52d4049?api-version=2020-09-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 19 Feb 2021 11:47:46 GMT + - Fri, 02 Apr 2021 10:23:37 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/3003bb16-5810-46b6-93a4-006c70127b84/profileresults/profile123/afdendpointresults/endpoint000002?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/ec0fb0ab-0805-4284-9daa-bd6db52d4049/profileresults/profile123/afdendpointresults/endpoint000002?api-version=2020-09-01 pragma: - no-cache server: @@ -796,7 +764,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14998' status: code: 202 message: Accepted @@ -804,7 +772,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -814,10 +782,9 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/3003bb16-5810-46b6-93a4-006c70127b84?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/ec0fb0ab-0805-4284-9daa-bd6db52d4049?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -829,7 +796,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:56 GMT + - Fri, 02 Apr 2021 10:23:47 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_endpoint_purge.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_endpoint_purge.yaml index e9dccb78aaa..23e957f90b0 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_endpoint_purge.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_endpoint_purge.yaml @@ -13,22 +13,19 @@ interactions: Content-Length: - '66' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123","type":"Microsoft.Cdn/profiles","name":"profile123","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"594955b3-e94e-4e1f-b4ce-79dc3f512ef1","resourceState":"Creating","provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123","type":"Microsoft.Cdn/profiles","name":"profile123","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"b8e3f358-efd3-4ff4-97f8-753aa9b93199","resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/ab061baf-e2a8-45a7-8467-e0e3ff86fe29?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/07403733-08e9-4936-bc02-7bc6a92a2711?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -36,7 +33,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:46:44 GMT + - Fri, 02 Apr 2021 10:22:36 GMT expires: - '-1' pragma: @@ -48,7 +45,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '22' + - '23' status: code: 201 message: Created @@ -56,7 +53,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -66,57 +63,9 @@ interactions: ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/ab061baf-e2a8-45a7-8467-e0e3ff86fe29?api-version=2020-09-01 - response: - body: - string: '{"status":"InProgress","error":{"code":"None","message":null}}' - headers: - cache-control: - - no-cache - content-length: - - '62' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 19 Feb 2021 11:46:54 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - afd profile create - Connection: - - keep-alive - ParameterSetName: - - -g --profile-name --sku - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/ab061baf-e2a8-45a7-8467-e0e3ff86fe29?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/07403733-08e9-4936-bc02-7bc6a92a2711?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -128,7 +77,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:24 GMT + - Fri, 02 Apr 2021 10:22:46 GMT expires: - '-1' pragma: @@ -150,7 +99,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -160,13 +109,12 @@ interactions: ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123","type":"Microsoft.Cdn/profiles","name":"profile123","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"594955b3-e94e-4e1f-b4ce-79dc3f512ef1","resourceState":"Active","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123","type":"Microsoft.Cdn/profiles","name":"profile123","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"b8e3f358-efd3-4ff4-97f8-753aa9b93199","resourceState":"Active","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -175,7 +123,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:25 GMT + - Fri, 02 Apr 2021 10:22:46 GMT expires: - '-1' pragma: @@ -210,14 +158,11 @@ interactions: Content-Length: - '102' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --endpoint-name --profile-name --origin-response-timeout-seconds --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/afdEndpoints/endpoint000002?api-version=2020-09-01 response: @@ -225,7 +170,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/afdEndpoints/endpoint000002","type":"Microsoft.Cdn/profiles/afdendpoints","name":"endpoint000002","location":"Global","tags":{},"properties":{"hostName":"endpoint000002.z01.azurefd.net","originResponseTimeoutSeconds":100,"enabledState":"Enabled","provisioningState":"Creating","deploymentStatus":"NotStarted"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/5293f5ac-880d-4925-84db-aaca7a90f5ee?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/4589a745-1910-49ba-91ac-2c1b1a7c07f7?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -233,7 +178,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:32 GMT + - Fri, 02 Apr 2021 10:22:55 GMT expires: - '-1' pragma: @@ -245,7 +190,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '98' + - '99' status: code: 201 message: Created @@ -253,7 +198,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -263,10 +208,9 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name --origin-response-timeout-seconds --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/5293f5ac-880d-4925-84db-aaca7a90f5ee?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/4589a745-1910-49ba-91ac-2c1b1a7c07f7?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -278,7 +222,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:43 GMT + - Fri, 02 Apr 2021 10:23:05 GMT expires: - '-1' pragma: @@ -300,7 +244,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -310,8 +254,7 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name --origin-response-timeout-seconds --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/afdEndpoints/endpoint000002?api-version=2020-09-01 response: @@ -325,7 +268,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:43 GMT + - Fri, 02 Apr 2021 10:23:05 GMT expires: - '-1' pragma: @@ -359,14 +302,11 @@ interactions: Content-Length: - '50' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --endpoint-name --profile-name --content-paths User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/afdEndpoints/endpoint000002/purge?api-version=2020-09-01 response: @@ -374,17 +314,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a51b6aa9-5ddf-4f5a-88d4-f4c51cf7ba66?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/7364cc27-b1e5-4c76-9a93-5b19dba37c14?api-version=2020-09-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 19 Feb 2021 11:47:45 GMT + - Fri, 02 Apr 2021 10:23:08 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a51b6aa9-5ddf-4f5a-88d4-f4c51cf7ba66/profileresults/profile123/afdendpointresults/endpoint000002?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/7364cc27-b1e5-4c76-9a93-5b19dba37c14/profileresults/profile123/afdendpointresults/endpoint000002?api-version=2020-09-01 pragma: - no-cache server: @@ -402,7 +342,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -412,10 +352,9 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name --content-paths User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a51b6aa9-5ddf-4f5a-88d4-f4c51cf7ba66?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/7364cc27-b1e5-4c76-9a93-5b19dba37c14?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -427,7 +366,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:56 GMT + - Fri, 02 Apr 2021 10:23:19 GMT expires: - '-1' pragma: @@ -459,14 +398,11 @@ interactions: Content-Length: - '107' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --endpoint-name --profile-name --content-paths --domains User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/afdEndpoints/endpoint000002/purge?api-version=2020-09-01 response: @@ -474,17 +410,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/8a51520d-330a-471f-a67f-e79a43415dbc?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/d1ff66dd-05db-4b9d-8370-dcebab41a98d?api-version=2020-09-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 19 Feb 2021 11:47:59 GMT + - Fri, 02 Apr 2021 10:23:22 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/8a51520d-330a-471f-a67f-e79a43415dbc/profileresults/profile123/afdendpointresults/endpoint000002?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/d1ff66dd-05db-4b9d-8370-dcebab41a98d/profileresults/profile123/afdendpointresults/endpoint000002?api-version=2020-09-01 pragma: - no-cache server: @@ -502,7 +438,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -512,10 +448,9 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name --content-paths --domains User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/8a51520d-330a-471f-a67f-e79a43415dbc?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/d1ff66dd-05db-4b9d-8370-dcebab41a98d?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -527,7 +462,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:09 GMT + - Fri, 02 Apr 2021 10:23:32 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_log_analytic.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_log_analytic.yaml index 51e62a523ee..8fa67d465a7 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_log_analytic.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_log_analytic.yaml @@ -13,22 +13,19 @@ interactions: Content-Length: - '66' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123","type":"Microsoft.Cdn/profiles","name":"profile123","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"cfd9643b-6fd0-494b-9043-98f9f819cfb1","resourceState":"Creating","provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123","type":"Microsoft.Cdn/profiles","name":"profile123","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"846ee6b5-b7eb-4992-a6a3-92c82b3b909d","resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/468dd7af-5d20-4cfd-ab80-65859c58f612?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/d5028f86-5ce7-4fc9-9f2c-2f0c38dc835c?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -36,7 +33,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:46:42 GMT + - Fri, 02 Apr 2021 10:22:35 GMT expires: - '-1' pragma: @@ -48,7 +45,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '22' + - '24' status: code: 201 message: Created @@ -56,54 +53,7 @@ interactions: body: null headers: Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - afd profile create - Connection: - - keep-alive - ParameterSetName: - - -g --profile-name --sku - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/468dd7af-5d20-4cfd-ab80-65859c58f612?api-version=2020-09-01 - response: - body: - string: '{"status":"InProgress","error":{"code":"None","message":null}}' - headers: - cache-control: - - no-cache - content-length: - - '62' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 19 Feb 2021 11:46:54 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -113,10 +63,9 @@ interactions: ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/468dd7af-5d20-4cfd-ab80-65859c58f612?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/d5028f86-5ce7-4fc9-9f2c-2f0c38dc835c?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -128,7 +77,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:24 GMT + - Fri, 02 Apr 2021 10:22:46 GMT expires: - '-1' pragma: @@ -150,7 +99,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -160,13 +109,12 @@ interactions: ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123","type":"Microsoft.Cdn/profiles","name":"profile123","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"cfd9643b-6fd0-494b-9043-98f9f819cfb1","resourceState":"Active","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123","type":"Microsoft.Cdn/profiles","name":"profile123","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"846ee6b5-b7eb-4992-a6a3-92c82b3b909d","resourceState":"Active","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -175,7 +123,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:25 GMT + - Fri, 02 Apr 2021 10:22:47 GMT expires: - '-1' pragma: @@ -210,14 +158,11 @@ interactions: Content-Length: - '102' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --endpoint-name --profile-name --origin-response-timeout-seconds --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/afdEndpoints/endpoint000002?api-version=2020-09-01 response: @@ -225,7 +170,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/afdEndpoints/endpoint000002","type":"Microsoft.Cdn/profiles/afdendpoints","name":"endpoint000002","location":"Global","tags":{},"properties":{"hostName":"endpoint000002.z01.azurefd.net","originResponseTimeoutSeconds":100,"enabledState":"Enabled","provisioningState":"Creating","deploymentStatus":"NotStarted"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/14e1438d-a87e-45bf-8469-b41ff952a534?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/f39e5541-bf26-4a9c-ae29-86c95b6ac06f?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -233,7 +178,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:29 GMT + - Fri, 02 Apr 2021 10:22:55 GMT expires: - '-1' pragma: @@ -253,7 +198,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -263,10 +208,9 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name --origin-response-timeout-seconds --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/14e1438d-a87e-45bf-8469-b41ff952a534?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/f39e5541-bf26-4a9c-ae29-86c95b6ac06f?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -278,7 +222,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:40 GMT + - Fri, 02 Apr 2021 10:23:05 GMT expires: - '-1' pragma: @@ -300,7 +244,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -310,8 +254,7 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name --origin-response-timeout-seconds --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/afdEndpoints/endpoint000002?api-version=2020-09-01 response: @@ -325,7 +268,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:40 GMT + - Fri, 02 Apr 2021 10:23:06 GMT expires: - '-1' pragma: @@ -359,10 +302,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/getLogAnalyticsLocations?api-version=2020-09-01 response: @@ -376,7 +316,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:41 GMT + - Fri, 02 Apr 2021 10:23:08 GMT expires: - '-1' pragma: @@ -408,10 +348,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/getLogAnalyticsResources?api-version=2020-09-01 response: @@ -425,7 +362,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:43 GMT + - Fri, 02 Apr 2021 10:23:09 GMT expires: - '-1' pragma: @@ -458,15 +395,12 @@ interactions: - -g --profile-name --metrics --date-time-begin --granularity --date-time-end --custom-domains --protocols --group-by User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/getLogAnalyticsMetrics?api-version=2020-09-01&metrics=clientRequestCount&dateTimeBegin=2021-02-19T11%3A47%3A41.000Z&dateTimeEnd=2021-02-19T11%3A52%3A41.000Z&granularity=PT5M&groupBy=cacheStatus&customDomains=endpoint000002.z01.azurefd.net&protocols=http + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/getLogAnalyticsMetrics?api-version=2020-09-01&metrics=clientRequestCount&dateTimeBegin=2021-04-02T10%3A23%3A07.000Z&dateTimeEnd=2021-04-02T10%3A28%3A07.000Z&granularity=PT5M&groupBy=cacheStatus&customDomains=endpoint000002.z01.azurefd.net&protocols=http response: body: - string: '{"dateTimeBegin":"2021-02-19T11:47:41+00:00","dateTimeEnd":"2021-02-19T11:52:41+00:00","granularity":"PT5M","series":[]}' + string: '{"dateTimeBegin":"2021-04-02T10:23:07+00:00","dateTimeEnd":"2021-04-02T10:28:07+00:00","granularity":"PT5M","series":[]}' headers: cache-control: - no-cache @@ -475,7 +409,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:44 GMT + - Fri, 02 Apr 2021 10:23:11 GMT expires: - '-1' pragma: @@ -508,15 +442,12 @@ interactions: - -g --profile-name --metrics --date-time-begin --date-time-end --custom-domains --rankings --max-ranking User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/getLogAnalyticsRankings?api-version=2020-09-01&rankings=referrer&metrics=clientRequestCount&maxRanking=10&dateTimeBegin=2021-02-19T11%3A47%3A41.000Z&dateTimeEnd=2021-02-19T11%3A52%3A41.000Z&customDomains=endpoint000002.z01.azurefd.net + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/getLogAnalyticsRankings?api-version=2020-09-01&rankings=referrer&metrics=clientRequestCount&maxRanking=10&dateTimeBegin=2021-04-02T10%3A23%3A07.000Z&dateTimeEnd=2021-04-02T10%3A28%3A07.000Z&customDomains=endpoint000002.z01.azurefd.net response: body: - string: '{"dateTimeBegin":"2021-02-19T11:47:41+00:00","dateTimeEnd":"2021-02-19T11:52:41+00:00","tables":[{"ranking":"referrer","data":[]}]}' + string: '{"dateTimeBegin":"2021-04-02T10:23:07+00:00","dateTimeEnd":"2021-04-02T10:28:07+00:00","tables":[{"ranking":"referrer","data":[]}]}' headers: cache-control: - no-cache @@ -525,7 +456,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:45 GMT + - Fri, 02 Apr 2021 10:23:12 GMT expires: - '-1' pragma: @@ -559,10 +490,7 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/afdEndpoints/endpoint000002?api-version=2020-09-01 response: @@ -570,17 +498,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/aee60b91-0a2b-42f0-a387-c76963d20b5e?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/735ed794-963b-44c3-b6d1-c18f5967e3cd?api-version=2020-09-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 19 Feb 2021 11:47:47 GMT + - Fri, 02 Apr 2021 10:23:14 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/aee60b91-0a2b-42f0-a387-c76963d20b5e/profileresults/profile123/afdendpointresults/endpoint000002?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/735ed794-963b-44c3-b6d1-c18f5967e3cd/profileresults/profile123/afdendpointresults/endpoint000002?api-version=2020-09-01 pragma: - no-cache server: @@ -590,7 +518,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14997' status: code: 202 message: Accepted @@ -598,7 +526,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -608,10 +536,9 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/aee60b91-0a2b-42f0-a387-c76963d20b5e?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/735ed794-963b-44c3-b6d1-c18f5967e3cd?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -623,7 +550,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:58 GMT + - Fri, 02 Apr 2021 10:23:24 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_origin_crud.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_origin_crud.yaml index 18dcbcab6d8..68902700b6d 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_origin_crud.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_origin_crud.yaml @@ -13,22 +13,19 @@ interactions: Content-Length: - '65' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Premium_AzureFrontDoor"},"properties":{"frontDoorId":"1c934b52-b250-4e36-a5d2-ce9951d3979e","resourceState":"Creating","provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Premium_AzureFrontDoor"},"properties":{"frontDoorId":"d4faaff8-379b-44df-9006-301be47564d1","resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/bcec11c5-b502-4d76-981d-8b3df6e12269?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/ece1bd64-5bc4-4810-b719-21178ed7c91b?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -36,7 +33,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:46:43 GMT + - Fri, 02 Apr 2021 13:19:05 GMT expires: - '-1' pragma: @@ -56,7 +53,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -66,57 +63,9 @@ interactions: ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/bcec11c5-b502-4d76-981d-8b3df6e12269?api-version=2020-09-01 - response: - body: - string: '{"status":"InProgress","error":{"code":"None","message":null}}' - headers: - cache-control: - - no-cache - content-length: - - '62' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 19 Feb 2021 11:46:54 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - afd profile create - Connection: - - keep-alive - ParameterSetName: - - -g --profile-name --sku - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/bcec11c5-b502-4d76-981d-8b3df6e12269?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/ece1bd64-5bc4-4810-b719-21178ed7c91b?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -128,7 +77,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:24 GMT + - Fri, 02 Apr 2021 13:19:15 GMT expires: - '-1' pragma: @@ -150,7 +99,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -160,13 +109,12 @@ interactions: ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Premium_AzureFrontDoor"},"properties":{"frontDoorId":"1c934b52-b250-4e36-a5d2-ce9951d3979e","resourceState":"Active","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Premium_AzureFrontDoor"},"properties":{"frontDoorId":"d4faaff8-379b-44df-9006-301be47564d1","resourceState":"Active","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -175,7 +123,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:24 GMT + - Fri, 02 Apr 2021 13:19:15 GMT expires: - '-1' pragma: @@ -212,16 +160,13 @@ interactions: Content-Length: - '272' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --origin-group-name --probe-request-type --probe-protocol --probe-interval-in-seconds --probe-path --sample-size --successful-samples-required --additional-latency-in-milliseconds User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003?api-version=2020-09-01 response: @@ -235,7 +180,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:27 GMT + - Fri, 02 Apr 2021 13:19:18 GMT expires: - '-1' pragma: @@ -252,8 +197,8 @@ interactions: code: 201 message: Created - request: - body: '{"properties": {"hostName": "huaiyiztesthost1.blob.core.chinacloudapi.cn", - "httpPort": 80, "httpsPort": 443, "originHostHeader": "huaiyiztesthost1.blob.core.chinacloudapi.cn", + body: '{"properties": {"hostName": "plstestcli.blob.core.windows.net", "httpPort": + 80, "httpsPort": 443, "originHostHeader": "plstestcli.blob.core.windows.net", "priority": 1, "weight": 1000, "enabledState": "Enabled"}}' headers: Accept: @@ -265,33 +210,30 @@ interactions: Connection: - keep-alive Content-Length: - - '234' + - '212' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --origin-group-name --origin-name --host-name --origin-host-header --priority --weight --http-port --https-port --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000004","properties":{"originGroupName":"og000003","hostName":"huaiyiztesthost1.blob.core.chinacloudapi.cn","httpPort":80,"httpsPort":443,"originHostHeader":"huaiyiztesthost1.blob.core.chinacloudapi.cn","priority":1,"weight":1000,"enabledState":"Enabled","sharedPrivateLinkResource":null,"provisioningState":"Creating","deploymentStatus":"NotStarted"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000004","properties":{"originGroupName":"og000003","hostName":"plstestcli.blob.core.windows.net","httpPort":80,"httpsPort":443,"originHostHeader":"plstestcli.blob.core.windows.net","priority":1,"weight":1000,"enabledState":"Enabled","sharedPrivateLinkResource":null,"provisioningState":"Creating","deploymentStatus":"NotStarted"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/d4d488c0-bc6a-4b1c-938b-e9a82efaf819?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/952b6972-985f-41e2-bb6b-b8a53b37f9d1?api-version=2020-09-01 cache-control: - no-cache content-length: - - '687' + - '665' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:29 GMT + - Fri, 02 Apr 2021 13:19:21 GMT expires: - '-1' pragma: @@ -311,7 +253,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -322,10 +264,9 @@ interactions: - -g --profile-name --origin-group-name --origin-name --host-name --origin-host-header --priority --weight --http-port --https-port --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/d4d488c0-bc6a-4b1c-938b-e9a82efaf819?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/952b6972-985f-41e2-bb6b-b8a53b37f9d1?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -337,7 +278,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:40 GMT + - Fri, 02 Apr 2021 13:19:31 GMT expires: - '-1' pragma: @@ -359,7 +300,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -370,22 +311,21 @@ interactions: - -g --profile-name --origin-group-name --origin-name --host-name --origin-host-header --priority --weight --http-port --https-port --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000004","properties":{"originGroupName":"og000003","hostName":"huaiyiztesthost1.blob.core.chinacloudapi.cn","httpPort":80,"httpsPort":443,"originHostHeader":"huaiyiztesthost1.blob.core.chinacloudapi.cn","priority":1,"weight":1000,"enabledState":"Enabled","sharedPrivateLinkResource":null,"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000004","properties":{"originGroupName":"og000003","hostName":"plstestcli.blob.core.windows.net","httpPort":80,"httpsPort":443,"originHostHeader":"plstestcli.blob.core.windows.net","priority":1,"weight":1000,"enabledState":"Enabled","sharedPrivateLinkResource":null,"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' headers: cache-control: - no-cache content-length: - - '688' + - '666' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:40 GMT + - Fri, 02 Apr 2021 13:19:31 GMT expires: - '-1' pragma: @@ -419,15 +359,12 @@ interactions: Content-Length: - '235' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --origin-group-name --origin-name --host-name --origin-host-header --priority --weight --http-port --https-port --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000005?api-version=2020-09-01 response: @@ -435,7 +372,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000005","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000005","properties":{"originGroupName":"og000003","hostName":"huaiyiztesthost1.blob.core.chinacloudapi.cn","httpPort":8080,"httpsPort":443,"originHostHeader":"huaiyiztesthost1.blob.core.chinacloudapi.cn","priority":1,"weight":666,"enabledState":"Enabled","sharedPrivateLinkResource":null,"provisioningState":"Creating","deploymentStatus":"NotStarted"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/c51f3d57-2752-4ac0-856e-db26e0ac198f?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/7a7cd48e-2317-43ce-8ba2-c3700e68a3e2?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -443,7 +380,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:41 GMT + - Fri, 02 Apr 2021 13:19:34 GMT expires: - '-1' pragma: @@ -455,7 +392,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '98' + - '99' status: code: 201 message: Created @@ -463,7 +400,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -474,10 +411,9 @@ interactions: - -g --profile-name --origin-group-name --origin-name --host-name --origin-host-header --priority --weight --http-port --https-port --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/c51f3d57-2752-4ac0-856e-db26e0ac198f?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/7a7cd48e-2317-43ce-8ba2-c3700e68a3e2?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -489,7 +425,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:53 GMT + - Fri, 02 Apr 2021 13:19:44 GMT expires: - '-1' pragma: @@ -511,7 +447,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -522,8 +458,7 @@ interactions: - -g --profile-name --origin-group-name --origin-name --host-name --origin-host-header --priority --weight --http-port --https-port --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000005?api-version=2020-09-01 response: @@ -537,7 +472,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:53 GMT + - Fri, 02 Apr 2021 13:19:45 GMT expires: - '-1' pragma: @@ -569,24 +504,21 @@ interactions: ParameterSetName: - -g --profile-name --origin-group-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins?api-version=2020-09-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000004","properties":{"originGroupName":"og000003","hostName":"huaiyiztesthost1.blob.core.chinacloudapi.cn","httpPort":80,"httpsPort":443,"originHostHeader":"huaiyiztesthost1.blob.core.chinacloudapi.cn","priority":1,"weight":1000,"enabledState":"Enabled","sharedPrivateLinkResource":null,"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000005","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000005","properties":{"originGroupName":"og000003","hostName":"huaiyiztesthost1.blob.core.chinacloudapi.cn","httpPort":8080,"httpsPort":443,"originHostHeader":"huaiyiztesthost1.blob.core.chinacloudapi.cn","priority":1,"weight":666,"enabledState":"Enabled","sharedPrivateLinkResource":null,"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000004","properties":{"originGroupName":"og000003","hostName":"plstestcli.blob.core.windows.net","httpPort":80,"httpsPort":443,"originHostHeader":"plstestcli.blob.core.windows.net","priority":1,"weight":1000,"enabledState":"Enabled","sharedPrivateLinkResource":null,"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000005","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000005","properties":{"originGroupName":"og000003","hostName":"huaiyiztesthost1.blob.core.chinacloudapi.cn","httpPort":8080,"httpsPort":443,"originHostHeader":"huaiyiztesthost1.blob.core.chinacloudapi.cn","priority":1,"weight":666,"enabledState":"Enabled","sharedPrivateLinkResource":null,"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}]}' headers: cache-control: - no-cache content-length: - - '1390' + - '1368' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:55 GMT + - Fri, 02 Apr 2021 13:19:46 GMT expires: - '-1' pragma: @@ -618,24 +550,21 @@ interactions: ParameterSetName: - -g --profile-name --origin-group-name --origin-name --weight --http-port User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000004","properties":{"originGroupName":"og000003","hostName":"huaiyiztesthost1.blob.core.chinacloudapi.cn","httpPort":80,"httpsPort":443,"originHostHeader":"huaiyiztesthost1.blob.core.chinacloudapi.cn","priority":1,"weight":1000,"enabledState":"Enabled","sharedPrivateLinkResource":null,"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000004","properties":{"originGroupName":"og000003","hostName":"plstestcli.blob.core.windows.net","httpPort":80,"httpsPort":443,"originHostHeader":"plstestcli.blob.core.windows.net","priority":1,"weight":1000,"enabledState":"Enabled","sharedPrivateLinkResource":null,"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' headers: cache-control: - no-cache content-length: - - '688' + - '666' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:56 GMT + - Fri, 02 Apr 2021 13:19:48 GMT expires: - '-1' pragma: @@ -654,8 +583,8 @@ interactions: code: 200 message: OK - request: - body: '{"properties": {"hostName": "huaiyiztesthost1.blob.core.chinacloudapi.cn", - "httpPort": 8080, "httpsPort": 443, "originHostHeader": "huaiyiztesthost1.blob.core.chinacloudapi.cn", + body: '{"properties": {"hostName": "plstestcli.blob.core.windows.net", "httpPort": + 8080, "httpsPort": 443, "originHostHeader": "plstestcli.blob.core.windows.net", "priority": 1, "weight": 58, "enabledState": "Enabled"}}' headers: Accept: @@ -667,36 +596,33 @@ interactions: Connection: - keep-alive Content-Length: - - '234' + - '212' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --origin-group-name --origin-name --weight --http-port User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000004","properties":{"originGroupName":"og000003","hostName":"huaiyiztesthost1.blob.core.chinacloudapi.cn","httpPort":8080,"httpsPort":443,"originHostHeader":"huaiyiztesthost1.blob.core.chinacloudapi.cn","priority":1,"weight":58,"enabledState":"Enabled","sharedPrivateLinkResource":null,"provisioningState":"Updating","deploymentStatus":"NotStarted"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000004","properties":{"originGroupName":"og000003","hostName":"plstestcli.blob.core.windows.net","httpPort":8080,"httpsPort":443,"originHostHeader":"plstestcli.blob.core.windows.net","priority":1,"weight":58,"enabledState":"Enabled","sharedPrivateLinkResource":null,"provisioningState":"Updating","deploymentStatus":"NotStarted"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/571771ce-b5d9-41c3-b1bf-11fa9e6f374c?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/5a5784fb-4376-4f99-80b2-f35b639915f6?api-version=2020-09-01 cache-control: - no-cache content-length: - - '687' + - '665' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:58 GMT + - Fri, 02 Apr 2021 13:19:50 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/571771ce-b5d9-41c3-b1bf-11fa9e6f374c/profileresults/profile000002/origingroupresults/og000003/originresults/origin000004?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/5a5784fb-4376-4f99-80b2-f35b639915f6/profileresults/profile000002/origingroupresults/og000003/originresults/origin000004?api-version=2020-09-01 pragma: - no-cache server: @@ -714,7 +640,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -724,10 +650,9 @@ interactions: ParameterSetName: - -g --profile-name --origin-group-name --origin-name --weight --http-port User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/571771ce-b5d9-41c3-b1bf-11fa9e6f374c?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/5a5784fb-4376-4f99-80b2-f35b639915f6?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -739,7 +664,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:09 GMT + - Fri, 02 Apr 2021 13:20:00 GMT expires: - '-1' pragma: @@ -761,7 +686,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -771,22 +696,21 @@ interactions: ParameterSetName: - -g --profile-name --origin-group-name --origin-name --weight --http-port User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000004","properties":{"originGroupName":"og000003","hostName":"huaiyiztesthost1.blob.core.chinacloudapi.cn","httpPort":8080,"httpsPort":443,"originHostHeader":"huaiyiztesthost1.blob.core.chinacloudapi.cn","priority":1,"weight":58,"enabledState":"Enabled","sharedPrivateLinkResource":null,"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000004","properties":{"originGroupName":"og000003","hostName":"plstestcli.blob.core.windows.net","httpPort":8080,"httpsPort":443,"originHostHeader":"plstestcli.blob.core.windows.net","priority":1,"weight":58,"enabledState":"Enabled","sharedPrivateLinkResource":null,"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' headers: cache-control: - no-cache content-length: - - '688' + - '666' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:09 GMT + - Fri, 02 Apr 2021 13:20:00 GMT expires: - '-1' pragma: @@ -820,24 +744,21 @@ interactions: --private-link-resource --private-link-sub-resource --private-link-location --private-link-request-message User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000004","properties":{"originGroupName":"og000003","hostName":"huaiyiztesthost1.blob.core.chinacloudapi.cn","httpPort":8080,"httpsPort":443,"originHostHeader":"huaiyiztesthost1.blob.core.chinacloudapi.cn","priority":1,"weight":58,"enabledState":"Enabled","sharedPrivateLinkResource":null,"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000004","properties":{"originGroupName":"og000003","hostName":"plstestcli.blob.core.windows.net","httpPort":8080,"httpsPort":443,"originHostHeader":"plstestcli.blob.core.windows.net","priority":1,"weight":58,"enabledState":"Enabled","sharedPrivateLinkResource":null,"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' headers: cache-control: - no-cache content-length: - - '688' + - '666' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:10 GMT + - Fri, 02 Apr 2021 13:20:02 GMT expires: - '-1' pragma: @@ -856,10 +777,10 @@ interactions: code: 200 message: OK - request: - body: '{"properties": {"hostName": "huaiyiztesthost1.blob.core.chinacloudapi.cn", - "httpPort": 80, "httpsPort": 443, "originHostHeader": "huaiyiztesthost1.blob.core.chinacloudapi.cn", + body: '{"properties": {"hostName": "plstestcli.blob.core.windows.net", "httpPort": + 80, "httpsPort": 443, "originHostHeader": "plstestcli.blob.core.windows.net", "priority": 1, "weight": 58, "sharedPrivateLinkResource": {"privateLink": {"id": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/AFDX-Portal-BugBash/providers/Microsoft.Storage/storageAccounts/plstest"}, + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.Storage/storageAccounts/plstestcli"}, "privateLinkLocation": "eastus", "groupId": "blob", "requestMessage": "Private link service from AFD"}, "enabledState": "Enabled"}}' headers: @@ -872,39 +793,36 @@ interactions: Connection: - keep-alive Content-Length: - - '531' + - '512' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --origin-group-name --origin-name --http-port --enable-private-link --private-link-resource --private-link-sub-resource --private-link-location --private-link-request-message User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000004","properties":{"originGroupName":"og000003","hostName":"huaiyiztesthost1.blob.core.chinacloudapi.cn","httpPort":80,"httpsPort":443,"originHostHeader":"huaiyiztesthost1.blob.core.chinacloudapi.cn","priority":1,"weight":58,"enabledState":"Enabled","sharedPrivateLinkResource":{"privateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/AFDX-Portal-BugBash/providers/Microsoft.Storage/storageAccounts/plstest"},"groupId":"blob","privateLinkLocation":"eastus","status":null,"requestMessage":"Private + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000004","properties":{"originGroupName":"og000003","hostName":"plstestcli.blob.core.windows.net","httpPort":80,"httpsPort":443,"originHostHeader":"plstestcli.blob.core.windows.net","priority":1,"weight":58,"enabledState":"Enabled","sharedPrivateLinkResource":{"privateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.Storage/storageAccounts/plstestcli"},"groupId":"blob","privateLinkLocation":"eastus","status":null,"requestMessage":"Private link service from AFD"},"provisioningState":"Updating","deploymentStatus":"NotStarted"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/456da961-83fd-4f53-9bf9-e86987826803?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/c01ff19d-4e98-497e-a115-57adb7c025c6?api-version=2020-09-01 cache-control: - no-cache content-length: - - '955' + - '936' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:11 GMT + - Fri, 02 Apr 2021 13:20:03 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/456da961-83fd-4f53-9bf9-e86987826803/profileresults/profile000002/origingroupresults/og000003/originresults/origin000004?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/c01ff19d-4e98-497e-a115-57adb7c025c6/profileresults/profile000002/origingroupresults/og000003/originresults/origin000004?api-version=2020-09-01 pragma: - no-cache server: @@ -914,7 +832,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '97' + - '98' status: code: 202 message: Accepted @@ -922,7 +840,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -934,10 +852,9 @@ interactions: --private-link-resource --private-link-sub-resource --private-link-location --private-link-request-message User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/456da961-83fd-4f53-9bf9-e86987826803?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/c01ff19d-4e98-497e-a115-57adb7c025c6?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -949,7 +866,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:22 GMT + - Fri, 02 Apr 2021 13:20:14 GMT expires: - '-1' pragma: @@ -971,7 +888,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -983,10 +900,9 @@ interactions: --private-link-resource --private-link-sub-resource --private-link-location --private-link-request-message User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/456da961-83fd-4f53-9bf9-e86987826803?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/c01ff19d-4e98-497e-a115-57adb7c025c6?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -998,7 +914,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:52 GMT + - Fri, 02 Apr 2021 13:20:44 GMT expires: - '-1' pragma: @@ -1020,7 +936,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1032,23 +948,22 @@ interactions: --private-link-resource --private-link-sub-resource --private-link-location --private-link-request-message User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000004","properties":{"originGroupName":"og000003","hostName":"huaiyiztesthost1.blob.core.chinacloudapi.cn","httpPort":80,"httpsPort":443,"originHostHeader":"huaiyiztesthost1.blob.core.chinacloudapi.cn","priority":1,"weight":58,"enabledState":"Enabled","sharedPrivateLinkResource":{"privateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/AFDX-Portal-BugBash/providers/Microsoft.Storage/storageAccounts/plstest"},"groupId":"blob","privateLinkLocation":"eastus","status":null,"requestMessage":"Private + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000004","properties":{"originGroupName":"og000003","hostName":"plstestcli.blob.core.windows.net","httpPort":80,"httpsPort":443,"originHostHeader":"plstestcli.blob.core.windows.net","priority":1,"weight":58,"enabledState":"Enabled","sharedPrivateLinkResource":{"privateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.Storage/storageAccounts/plstestcli"},"groupId":"blob","privateLinkLocation":"eastus","status":null,"requestMessage":"Private link service from AFD"},"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' headers: cache-control: - no-cache content-length: - - '956' + - '937' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:53 GMT + - Fri, 02 Apr 2021 13:20:45 GMT expires: - '-1' pragma: @@ -1080,25 +995,22 @@ interactions: ParameterSetName: - -g --profile-name --origin-group-name --origin-name --private-link-sub-resource User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000004","properties":{"originGroupName":"og000003","hostName":"huaiyiztesthost1.blob.core.chinacloudapi.cn","httpPort":80,"httpsPort":443,"originHostHeader":"huaiyiztesthost1.blob.core.chinacloudapi.cn","priority":1,"weight":58,"enabledState":"Enabled","sharedPrivateLinkResource":{"privateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/AFDX-Portal-BugBash/providers/Microsoft.Storage/storageAccounts/plstest"},"groupId":"blob","privateLinkLocation":"eastus","status":null,"requestMessage":"Private + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000004","properties":{"originGroupName":"og000003","hostName":"plstestcli.blob.core.windows.net","httpPort":80,"httpsPort":443,"originHostHeader":"plstestcli.blob.core.windows.net","priority":1,"weight":58,"enabledState":"Enabled","sharedPrivateLinkResource":{"privateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.Storage/storageAccounts/plstestcli"},"groupId":"blob","privateLinkLocation":"eastus","status":null,"requestMessage":"Private link service from AFD"},"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' headers: cache-control: - no-cache content-length: - - '956' + - '937' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:53 GMT + - Fri, 02 Apr 2021 13:20:46 GMT expires: - '-1' pragma: @@ -1117,10 +1029,10 @@ interactions: code: 200 message: OK - request: - body: '{"properties": {"hostName": "huaiyiztesthost1.blob.core.chinacloudapi.cn", - "httpPort": 80, "httpsPort": 443, "originHostHeader": "huaiyiztesthost1.blob.core.chinacloudapi.cn", + body: '{"properties": {"hostName": "plstestcli.blob.core.windows.net", "httpPort": + 80, "httpsPort": 443, "originHostHeader": "plstestcli.blob.core.windows.net", "priority": 1, "weight": 58, "sharedPrivateLinkResource": {"privateLink": {"id": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/AFDX-Portal-BugBash/providers/Microsoft.Storage/storageAccounts/plstest"}, + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.Storage/storageAccounts/plstestcli"}, "privateLinkLocation": "eastus", "groupId": "table", "requestMessage": "Private link service from AFD"}, "enabledState": "Enabled"}}' headers: @@ -1133,37 +1045,34 @@ interactions: Connection: - keep-alive Content-Length: - - '532' + - '513' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --origin-group-name --origin-name --private-link-sub-resource User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000004","properties":{"originGroupName":"og000003","hostName":"huaiyiztesthost1.blob.core.chinacloudapi.cn","httpPort":80,"httpsPort":443,"originHostHeader":"huaiyiztesthost1.blob.core.chinacloudapi.cn","priority":1,"weight":58,"enabledState":"Enabled","sharedPrivateLinkResource":{"privateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/AFDX-Portal-BugBash/providers/Microsoft.Storage/storageAccounts/plstest"},"groupId":"table","privateLinkLocation":"eastus","status":null,"requestMessage":"Private + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000004","properties":{"originGroupName":"og000003","hostName":"plstestcli.blob.core.windows.net","httpPort":80,"httpsPort":443,"originHostHeader":"plstestcli.blob.core.windows.net","priority":1,"weight":58,"enabledState":"Enabled","sharedPrivateLinkResource":{"privateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.Storage/storageAccounts/plstestcli"},"groupId":"table","privateLinkLocation":"eastus","status":null,"requestMessage":"Private link service from AFD"},"provisioningState":"Updating","deploymentStatus":"NotStarted"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/f442ce7c-26bf-4598-85d7-1c58c81f9943?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a53de9fd-117d-47e1-b0cc-863aefb96df3?api-version=2020-09-01 cache-control: - no-cache content-length: - - '956' + - '937' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:54 GMT + - Fri, 02 Apr 2021 13:20:48 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/f442ce7c-26bf-4598-85d7-1c58c81f9943/profileresults/profile000002/origingroupresults/og000003/originresults/origin000004?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a53de9fd-117d-47e1-b0cc-863aefb96df3/profileresults/profile000002/origingroupresults/og000003/originresults/origin000004?api-version=2020-09-01 pragma: - no-cache server: @@ -1181,7 +1090,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1191,10 +1100,9 @@ interactions: ParameterSetName: - -g --profile-name --origin-group-name --origin-name --private-link-sub-resource User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/f442ce7c-26bf-4598-85d7-1c58c81f9943?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a53de9fd-117d-47e1-b0cc-863aefb96df3?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -1206,7 +1114,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:05 GMT + - Fri, 02 Apr 2021 13:20:58 GMT expires: - '-1' pragma: @@ -1228,7 +1136,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1238,10 +1146,9 @@ interactions: ParameterSetName: - -g --profile-name --origin-group-name --origin-name --private-link-sub-resource User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/f442ce7c-26bf-4598-85d7-1c58c81f9943?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a53de9fd-117d-47e1-b0cc-863aefb96df3?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -1253,7 +1160,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:36 GMT + - Fri, 02 Apr 2021 13:21:29 GMT expires: - '-1' pragma: @@ -1275,7 +1182,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1285,23 +1192,22 @@ interactions: ParameterSetName: - -g --profile-name --origin-group-name --origin-name --private-link-sub-resource User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000004","properties":{"originGroupName":"og000003","hostName":"huaiyiztesthost1.blob.core.chinacloudapi.cn","httpPort":80,"httpsPort":443,"originHostHeader":"huaiyiztesthost1.blob.core.chinacloudapi.cn","priority":1,"weight":58,"enabledState":"Enabled","sharedPrivateLinkResource":{"privateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/AFDX-Portal-BugBash/providers/Microsoft.Storage/storageAccounts/plstest"},"groupId":"table","privateLinkLocation":"eastus","status":null,"requestMessage":"Private + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000004","properties":{"originGroupName":"og000003","hostName":"plstestcli.blob.core.windows.net","httpPort":80,"httpsPort":443,"originHostHeader":"plstestcli.blob.core.windows.net","priority":1,"weight":58,"enabledState":"Enabled","sharedPrivateLinkResource":{"privateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.Storage/storageAccounts/plstestcli"},"groupId":"table","privateLinkLocation":"eastus","status":null,"requestMessage":"Private link service from AFD"},"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' headers: cache-control: - no-cache content-length: - - '957' + - '938' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:36 GMT + - Fri, 02 Apr 2021 13:21:29 GMT expires: - '-1' pragma: @@ -1334,25 +1240,22 @@ interactions: - -g --profile-name --origin-group-name --origin-name --weight --enable-private-link --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000004","properties":{"originGroupName":"og000003","hostName":"huaiyiztesthost1.blob.core.chinacloudapi.cn","httpPort":80,"httpsPort":443,"originHostHeader":"huaiyiztesthost1.blob.core.chinacloudapi.cn","priority":1,"weight":58,"enabledState":"Enabled","sharedPrivateLinkResource":{"privateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/AFDX-Portal-BugBash/providers/Microsoft.Storage/storageAccounts/plstest"},"groupId":"table","privateLinkLocation":"eastus","status":null,"requestMessage":"Private + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000004","properties":{"originGroupName":"og000003","hostName":"plstestcli.blob.core.windows.net","httpPort":80,"httpsPort":443,"originHostHeader":"plstestcli.blob.core.windows.net","priority":1,"weight":58,"enabledState":"Enabled","sharedPrivateLinkResource":{"privateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.Storage/storageAccounts/plstestcli"},"groupId":"table","privateLinkLocation":"eastus","status":null,"requestMessage":"Private link service from AFD"},"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' headers: cache-control: - no-cache content-length: - - '957' + - '938' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:38 GMT + - Fri, 02 Apr 2021 13:21:31 GMT expires: - '-1' pragma: @@ -1371,8 +1274,8 @@ interactions: code: 200 message: OK - request: - body: '{"properties": {"hostName": "huaiyiztesthost1.blob.core.chinacloudapi.cn", - "httpPort": 80, "httpsPort": 443, "originHostHeader": "huaiyiztesthost1.blob.core.chinacloudapi.cn", + body: '{"properties": {"hostName": "plstestcli.blob.core.windows.net", "httpPort": + 80, "httpsPort": 443, "originHostHeader": "plstestcli.blob.core.windows.net", "priority": 1, "weight": 99, "enabledState": "Disabled"}}' headers: Accept: @@ -1384,37 +1287,34 @@ interactions: Connection: - keep-alive Content-Length: - - '233' + - '211' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --origin-group-name --origin-name --weight --enable-private-link --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000004","properties":{"originGroupName":"og000003","hostName":"huaiyiztesthost1.blob.core.chinacloudapi.cn","httpPort":80,"httpsPort":443,"originHostHeader":"huaiyiztesthost1.blob.core.chinacloudapi.cn","priority":1,"weight":99,"enabledState":"Disabled","sharedPrivateLinkResource":null,"provisioningState":"Updating","deploymentStatus":"NotStarted"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000004","properties":{"originGroupName":"og000003","hostName":"plstestcli.blob.core.windows.net","httpPort":80,"httpsPort":443,"originHostHeader":"plstestcli.blob.core.windows.net","priority":1,"weight":99,"enabledState":"Disabled","sharedPrivateLinkResource":null,"provisioningState":"Updating","deploymentStatus":"NotStarted"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/cc45ee5c-dd48-488a-94c9-9f68d8978c21?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/09717157-745a-4577-989b-aa18736c0e97?api-version=2020-09-01 cache-control: - no-cache content-length: - - '686' + - '664' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:39 GMT + - Fri, 02 Apr 2021 13:21:32 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/cc45ee5c-dd48-488a-94c9-9f68d8978c21/profileresults/profile000002/origingroupresults/og000003/originresults/origin000004?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/09717157-745a-4577-989b-aa18736c0e97/profileresults/profile000002/origingroupresults/og000003/originresults/origin000004?api-version=2020-09-01 pragma: - no-cache server: @@ -1432,7 +1332,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1443,10 +1343,9 @@ interactions: - -g --profile-name --origin-group-name --origin-name --weight --enable-private-link --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/cc45ee5c-dd48-488a-94c9-9f68d8978c21?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/09717157-745a-4577-989b-aa18736c0e97?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -1458,7 +1357,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:49 GMT + - Fri, 02 Apr 2021 13:21:43 GMT expires: - '-1' pragma: @@ -1480,7 +1379,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1491,22 +1390,21 @@ interactions: - -g --profile-name --origin-group-name --origin-name --weight --enable-private-link --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000004","properties":{"originGroupName":"og000003","hostName":"huaiyiztesthost1.blob.core.chinacloudapi.cn","httpPort":80,"httpsPort":443,"originHostHeader":"huaiyiztesthost1.blob.core.chinacloudapi.cn","priority":1,"weight":99,"enabledState":"Disabled","sharedPrivateLinkResource":null,"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000004","properties":{"originGroupName":"og000003","hostName":"plstestcli.blob.core.windows.net","httpPort":80,"httpsPort":443,"originHostHeader":"plstestcli.blob.core.windows.net","priority":1,"weight":99,"enabledState":"Disabled","sharedPrivateLinkResource":null,"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' headers: cache-control: - no-cache content-length: - - '687' + - '665' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:50 GMT + - Fri, 02 Apr 2021 13:21:43 GMT expires: - '-1' pragma: @@ -1540,10 +1438,7 @@ interactions: ParameterSetName: - -g --profile-name --origin-group-name --origin-name --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000004?api-version=2020-09-01 response: @@ -1551,17 +1446,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/833e2667-5190-4bcd-97c3-27d76e9e8110?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9d0f6f92-45d6-483c-b26d-44fc9df185f4?api-version=2020-09-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 19 Feb 2021 11:49:53 GMT + - Fri, 02 Apr 2021 13:21:45 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/833e2667-5190-4bcd-97c3-27d76e9e8110/profileresults/profile000002/origingroupresults/og000003/originresults/origin000004?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9d0f6f92-45d6-483c-b26d-44fc9df185f4/profileresults/profile000002/origingroupresults/og000003/originresults/origin000004?api-version=2020-09-01 pragma: - no-cache server: @@ -1571,7 +1466,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14996' + - '14999' status: code: 202 message: Accepted @@ -1579,7 +1474,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1589,10 +1484,9 @@ interactions: ParameterSetName: - -g --profile-name --origin-group-name --origin-name --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/833e2667-5190-4bcd-97c3-27d76e9e8110?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9d0f6f92-45d6-483c-b26d-44fc9df185f4?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -1604,7 +1498,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:03 GMT + - Fri, 02 Apr 2021 13:21:55 GMT expires: - '-1' pragma: @@ -1638,10 +1532,7 @@ interactions: ParameterSetName: - -g --profile-name --origin-group-name --origin-name --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins/origin000005?api-version=2020-09-01 response: @@ -1649,17 +1540,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/02cfb577-a945-4874-ac6e-6166be358149?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/614acc06-8d8e-40a2-85f5-ae184e31318a?api-version=2020-09-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 19 Feb 2021 11:50:05 GMT + - Fri, 02 Apr 2021 13:21:59 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/02cfb577-a945-4874-ac6e-6166be358149/profileresults/profile000002/origingroupresults/og000003/originresults/origin000005?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/614acc06-8d8e-40a2-85f5-ae184e31318a/profileresults/profile000002/origingroupresults/og000003/originresults/origin000005?api-version=2020-09-01 pragma: - no-cache server: @@ -1669,7 +1560,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 202 message: Accepted @@ -1677,54 +1568,7 @@ interactions: body: null headers: Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - afd origin delete - Connection: - - keep-alive - ParameterSetName: - - -g --profile-name --origin-group-name --origin-name --yes - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/02cfb577-a945-4874-ac6e-6166be358149?api-version=2020-09-01 - response: - body: - string: '{"status":"InProgress","error":{"code":"None","message":null}}' - headers: - cache-control: - - no-cache - content-length: - - '62' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 19 Feb 2021 11:50:15 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1734,10 +1578,9 @@ interactions: ParameterSetName: - -g --profile-name --origin-group-name --origin-name --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/02cfb577-a945-4874-ac6e-6166be358149?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/614acc06-8d8e-40a2-85f5-ae184e31318a?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -1749,7 +1592,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:45 GMT + - Fri, 02 Apr 2021 13:22:09 GMT expires: - '-1' pragma: @@ -1781,10 +1624,7 @@ interactions: ParameterSetName: - -g --profile-name --origin-group-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003/origins?api-version=2020-09-01 response: @@ -1798,7 +1638,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:47 GMT + - Fri, 02 Apr 2021 13:22:11 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_origin_group_crud.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_origin_group_crud.yaml index 64450671ac4..4f94af807f6 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_origin_group_crud.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_origin_group_crud.yaml @@ -13,22 +13,19 @@ interactions: Content-Length: - '66' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"2e105366-9d1f-4c8b-953b-3d6a3fa79ba3","resourceState":"Creating","provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"62e335af-9429-4269-a4ae-1c8d03434231","resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/7c990359-a1bb-45d3-bef4-8374c866b366?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/0486243a-c882-4dc7-91e0-13fdf4ceb5ce?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -36,7 +33,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:46:43 GMT + - Fri, 02 Apr 2021 10:22:36 GMT expires: - '-1' pragma: @@ -48,7 +45,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '22' + - '23' status: code: 201 message: Created @@ -56,7 +53,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -66,10 +63,9 @@ interactions: ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/7c990359-a1bb-45d3-bef4-8374c866b366?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/0486243a-c882-4dc7-91e0-13fdf4ceb5ce?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -81,7 +77,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:46:54 GMT + - Fri, 02 Apr 2021 10:22:47 GMT expires: - '-1' pragma: @@ -103,7 +99,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -113,13 +109,12 @@ interactions: ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"2e105366-9d1f-4c8b-953b-3d6a3fa79ba3","resourceState":"Active","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"62e335af-9429-4269-a4ae-1c8d03434231","resourceState":"Active","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -128,7 +123,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:46:54 GMT + - Fri, 02 Apr 2021 10:22:47 GMT expires: - '-1' pragma: @@ -162,10 +157,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups?api-version=2020-09-01 response: @@ -179,7 +171,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:46:56 GMT + - Fri, 02 Apr 2021 10:22:48 GMT expires: - '-1' pragma: @@ -214,16 +206,13 @@ interactions: Content-Length: - '272' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --origin-group-name --probe-request-type --probe-protocol --probe-interval-in-seconds --probe-path --sample-size --successful-samples-required --additional-latency-in-milliseconds User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003?api-version=2020-09-01 response: @@ -237,7 +226,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:46:58 GMT + - Fri, 02 Apr 2021 10:22:50 GMT expires: - '-1' pragma: @@ -267,10 +256,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups?api-version=2020-09-01 response: @@ -284,7 +270,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:46:59 GMT + - Fri, 02 Apr 2021 10:22:51 GMT expires: - '-1' pragma: @@ -316,10 +302,7 @@ interactions: ParameterSetName: - -g --profile-name --origin-group-name --probe-request-type --probe-protocol User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003?api-version=2020-09-01 response: @@ -333,7 +316,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:46:59 GMT + - Fri, 02 Apr 2021 10:22:52 GMT expires: - '-1' pragma: @@ -368,14 +351,11 @@ interactions: Content-Length: - '273' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --origin-group-name --probe-request-type --probe-protocol User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003?api-version=2020-09-01 response: @@ -383,7 +363,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003","type":"Microsoft.Cdn/profiles/originGroups","name":"og000003","properties":{"loadBalancingSettings":{"sampleSize":4,"successfulSamplesRequired":3,"additionalLatencyInMilliseconds":50},"healthProbeSettings":{"probePath":"/test1/azure.txt","probeRequestType":"GET","probeProtocol":"Https","probeIntervalInSeconds":120},"responseBasedAFDOriginErrorDetectionSettings":null,"trafficRestorationTimeToHealedOrNewEndpointsInMinutes":null,"sessionAffinityState":"Disabled","provisioningState":"Updating","deploymentStatus":"NotStarted"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/20542545-a6bc-47ac-a2a9-228491ddac43?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/54a7e0a5-3f78-40b0-8c63-5b6cbc0f8714?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -391,11 +371,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:01 GMT + - Fri, 02 Apr 2021 10:22:54 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/20542545-a6bc-47ac-a2a9-228491ddac43/profileresults/profile000002/origingroupresults/og000003?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/54a7e0a5-3f78-40b0-8c63-5b6cbc0f8714/profileresults/profile000002/origingroupresults/og000003?api-version=2020-09-01 pragma: - no-cache server: @@ -413,7 +393,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -423,10 +403,9 @@ interactions: ParameterSetName: - -g --profile-name --origin-group-name --probe-request-type --probe-protocol User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/20542545-a6bc-47ac-a2a9-228491ddac43?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/54a7e0a5-3f78-40b0-8c63-5b6cbc0f8714?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -438,7 +417,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:12 GMT + - Fri, 02 Apr 2021 10:23:04 GMT expires: - '-1' pragma: @@ -460,7 +439,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -470,8 +449,7 @@ interactions: ParameterSetName: - -g --profile-name --origin-group-name --probe-request-type --probe-protocol User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003?api-version=2020-09-01 response: @@ -485,7 +463,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:13 GMT + - Fri, 02 Apr 2021 10:23:04 GMT expires: - '-1' pragma: @@ -517,10 +495,7 @@ interactions: ParameterSetName: - -g --profile-name --origin-group-name --sample-size --additional-latency-in-milliseconds User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003?api-version=2020-09-01 response: @@ -534,7 +509,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:14 GMT + - Fri, 02 Apr 2021 10:23:05 GMT expires: - '-1' pragma: @@ -569,14 +544,11 @@ interactions: Content-Length: - '273' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --origin-group-name --sample-size --additional-latency-in-milliseconds User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003?api-version=2020-09-01 response: @@ -584,7 +556,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003","type":"Microsoft.Cdn/profiles/originGroups","name":"og000003","properties":{"loadBalancingSettings":{"sampleSize":5,"successfulSamplesRequired":3,"additionalLatencyInMilliseconds":30},"healthProbeSettings":{"probePath":"/test1/azure.txt","probeRequestType":"GET","probeProtocol":"Https","probeIntervalInSeconds":120},"responseBasedAFDOriginErrorDetectionSettings":null,"trafficRestorationTimeToHealedOrNewEndpointsInMinutes":null,"sessionAffinityState":"Disabled","provisioningState":"Updating","deploymentStatus":"NotStarted"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/bef4dbae-c0ef-4c64-803a-7e51b90124cf?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/bdecc3a0-001a-48a0-9030-c9c6b7fed5f2?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -592,11 +564,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:16 GMT + - Fri, 02 Apr 2021 10:23:06 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/bef4dbae-c0ef-4c64-803a-7e51b90124cf/profileresults/profile000002/origingroupresults/og000003?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/bdecc3a0-001a-48a0-9030-c9c6b7fed5f2/profileresults/profile000002/origingroupresults/og000003?api-version=2020-09-01 pragma: - no-cache server: @@ -606,7 +578,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '98' + - '99' status: code: 202 message: Accepted @@ -614,7 +586,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -624,10 +596,9 @@ interactions: ParameterSetName: - -g --profile-name --origin-group-name --sample-size --additional-latency-in-milliseconds User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/bef4dbae-c0ef-4c64-803a-7e51b90124cf?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/bdecc3a0-001a-48a0-9030-c9c6b7fed5f2?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -639,7 +610,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:25 GMT + - Fri, 02 Apr 2021 10:23:17 GMT expires: - '-1' pragma: @@ -661,7 +632,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -671,8 +642,7 @@ interactions: ParameterSetName: - -g --profile-name --origin-group-name --sample-size --additional-latency-in-milliseconds User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003?api-version=2020-09-01 response: @@ -686,7 +656,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:26 GMT + - Fri, 02 Apr 2021 10:23:17 GMT expires: - '-1' pragma: @@ -719,10 +689,7 @@ interactions: - -g --profile-name --origin-group-name --sample-size --additional-latency-in-milliseconds --probe-request-type User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003?api-version=2020-09-01 response: @@ -736,7 +703,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:27 GMT + - Fri, 02 Apr 2021 10:23:18 GMT expires: - '-1' pragma: @@ -771,15 +738,12 @@ interactions: Content-Length: - '274' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --origin-group-name --sample-size --additional-latency-in-milliseconds --probe-request-type User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003?api-version=2020-09-01 response: @@ -787,7 +751,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003","type":"Microsoft.Cdn/profiles/originGroups","name":"og000003","properties":{"loadBalancingSettings":{"sampleSize":4,"successfulSamplesRequired":3,"additionalLatencyInMilliseconds":30},"healthProbeSettings":{"probePath":"/test1/azure.txt","probeRequestType":"HEAD","probeProtocol":"Https","probeIntervalInSeconds":120},"responseBasedAFDOriginErrorDetectionSettings":null,"trafficRestorationTimeToHealedOrNewEndpointsInMinutes":null,"sessionAffinityState":"Disabled","provisioningState":"Updating","deploymentStatus":"NotStarted"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/510a75ad-7e9e-454c-bfbf-ecf170ecd37a?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/bc08a629-2819-4f8d-b0f6-ed95b28ed4c4?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -795,11 +759,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:29 GMT + - Fri, 02 Apr 2021 10:23:19 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/510a75ad-7e9e-454c-bfbf-ecf170ecd37a/profileresults/profile000002/origingroupresults/og000003?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/bc08a629-2819-4f8d-b0f6-ed95b28ed4c4/profileresults/profile000002/origingroupresults/og000003?api-version=2020-09-01 pragma: - no-cache server: @@ -817,7 +781,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -828,10 +792,9 @@ interactions: - -g --profile-name --origin-group-name --sample-size --additional-latency-in-milliseconds --probe-request-type User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/510a75ad-7e9e-454c-bfbf-ecf170ecd37a?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/bc08a629-2819-4f8d-b0f6-ed95b28ed4c4?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -843,7 +806,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:38 GMT + - Fri, 02 Apr 2021 10:23:29 GMT expires: - '-1' pragma: @@ -865,7 +828,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -876,8 +839,7 @@ interactions: - -g --profile-name --origin-group-name --sample-size --additional-latency-in-milliseconds --probe-request-type User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003?api-version=2020-09-01 response: @@ -891,7 +853,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:39 GMT + - Fri, 02 Apr 2021 10:23:30 GMT expires: - '-1' pragma: @@ -925,10 +887,7 @@ interactions: ParameterSetName: - -g --profile-name --origin-group-name --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000003?api-version=2020-09-01 response: @@ -936,17 +895,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/81bdc4e6-829a-4e37-ad5a-e72092358b50?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/40113862-9629-4352-a602-97910dddd038?api-version=2020-09-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 19 Feb 2021 11:47:41 GMT + - Fri, 02 Apr 2021 10:23:32 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/81bdc4e6-829a-4e37-ad5a-e72092358b50/profileresults/profile000002/origingroupresults/og000003?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/40113862-9629-4352-a602-97910dddd038/profileresults/profile000002/origingroupresults/og000003?api-version=2020-09-01 pragma: - no-cache server: @@ -956,7 +915,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14997' status: code: 202 message: Accepted @@ -964,7 +923,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -974,10 +933,9 @@ interactions: ParameterSetName: - -g --profile-name --origin-group-name --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/81bdc4e6-829a-4e37-ad5a-e72092358b50?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/40113862-9629-4352-a602-97910dddd038?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -989,7 +947,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:52 GMT + - Fri, 02 Apr 2021 10:23:42 GMT expires: - '-1' pragma: @@ -1021,10 +979,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups?api-version=2020-09-01 response: @@ -1038,7 +993,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:53 GMT + - Fri, 02 Apr 2021 10:23:44 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_profile_crud.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_profile_crud.yaml index a4745fd1a86..6e5c9e9739b 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_profile_crud.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_profile_crud.yaml @@ -13,10 +13,7 @@ interactions: ParameterSetName: - -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles?api-version=2020-09-01 response: @@ -30,23 +27,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:04 GMT + - Fri, 02 Apr 2021 10:23:55 GMT expires: - '-1' pragma: - no-cache - server: - - Kestrel strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - Accept-Encoding x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '49' + - '48' status: code: 200 message: OK @@ -65,22 +58,19 @@ interactions: Content-Length: - '112' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --sku --tags User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{"tag1":"value1","tag2":"value2"},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"07338272-b698-4f11-981e-fa23605cd03f","resourceState":"Creating","provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{"tag1":"value1","tag2":"value2"},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"04f607d4-aada-4f25-881f-b0d5ee07bc1a","resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/68d19dd1-9fe8-4111-980a-8416fa1cc65b?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a0397f31-d68d-4b81-a2a2-39760fe7387f?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -88,7 +78,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:11 GMT + - Fri, 02 Apr 2021 10:24:01 GMT expires: - '-1' pragma: @@ -100,7 +90,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '23' + - '24' status: code: 201 message: Created @@ -108,7 +98,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -118,10 +108,9 @@ interactions: ParameterSetName: - -g --profile-name --sku --tags User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/68d19dd1-9fe8-4111-980a-8416fa1cc65b?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a0397f31-d68d-4b81-a2a2-39760fe7387f?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -133,7 +122,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:22 GMT + - Fri, 02 Apr 2021 10:24:12 GMT expires: - '-1' pragma: @@ -155,7 +144,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -165,13 +154,12 @@ interactions: ParameterSetName: - -g --profile-name --sku --tags User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{"tag1":"value1","tag2":"value2"},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"07338272-b698-4f11-981e-fa23605cd03f","resourceState":"Active","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{"tag1":"value1","tag2":"value2"},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"04f607d4-aada-4f25-881f-b0d5ee07bc1a","resourceState":"Active","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -180,7 +168,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:22 GMT + - Fri, 02 Apr 2021 10:24:13 GMT expires: - '-1' pragma: @@ -214,15 +202,12 @@ interactions: ParameterSetName: - -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles?api-version=2020-09-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{"tag1":"value1","tag2":"value2"},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"07338272-b698-4f11-981e-fa23605cd03f","resourceState":"Active","provisioningState":"Succeeded"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{"tag1":"value1","tag2":"value2"},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"04f607d4-aada-4f25-881f-b0d5ee07bc1a","resourceState":"Active","provisioningState":"Succeeded"}}]}' headers: cache-control: - no-cache @@ -231,7 +216,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:23 GMT + - Fri, 02 Apr 2021 10:24:13 GMT expires: - '-1' pragma: @@ -247,7 +232,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '49' + - '48' status: code: 200 message: OK @@ -265,15 +250,12 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{"tag1":"value1","tag2":"value2"},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"07338272-b698-4f11-981e-fa23605cd03f","resourceState":"Active","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{"tag1":"value1","tag2":"value2"},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"04f607d4-aada-4f25-881f-b0d5ee07bc1a","resourceState":"Active","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -282,7 +264,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:24 GMT + - Fri, 02 Apr 2021 10:24:14 GMT expires: - '-1' pragma: @@ -298,7 +280,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '47' + - '49' status: code: 200 message: OK @@ -316,15 +298,12 @@ interactions: ParameterSetName: - -g --profile-name --tags User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{"tag1":"value1","tag2":"value2"},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"07338272-b698-4f11-981e-fa23605cd03f","resourceState":"Active","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{"tag1":"value1","tag2":"value2"},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"04f607d4-aada-4f25-881f-b0d5ee07bc1a","resourceState":"Active","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -333,7 +312,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:24 GMT + - Fri, 02 Apr 2021 10:24:15 GMT expires: - '-1' pragma: @@ -367,22 +346,19 @@ interactions: Content-Length: - '46' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --tags User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{"tag3":"value3","tag4":"value4"},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"07338272-b698-4f11-981e-fa23605cd03f","resourceState":"Active","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{"tag3":"value3","tag4":"value4"},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"04f607d4-aada-4f25-881f-b0d5ee07bc1a","resourceState":"Active","provisioningState":"Succeeded"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/d54f8a25-1400-47dd-a1ba-313daf1306d5?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/76fef7d4-67da-4ea9-9099-25711af3628e?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -390,11 +366,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:26 GMT + - Fri, 02 Apr 2021 10:24:17 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/d54f8a25-1400-47dd-a1ba-313daf1306d5/profileresults/profile000002?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/76fef7d4-67da-4ea9-9099-25711af3628e/profileresults/profile000002?api-version=2020-09-01 pragma: - no-cache server: @@ -412,7 +388,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -422,10 +398,9 @@ interactions: ParameterSetName: - -g --profile-name --tags User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/d54f8a25-1400-47dd-a1ba-313daf1306d5?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/76fef7d4-67da-4ea9-9099-25711af3628e?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -437,7 +412,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:38 GMT + - Fri, 02 Apr 2021 10:24:28 GMT expires: - '-1' pragma: @@ -459,7 +434,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -469,13 +444,12 @@ interactions: ParameterSetName: - -g --profile-name --tags User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{"tag3":"value3","tag4":"value4"},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"07338272-b698-4f11-981e-fa23605cd03f","resourceState":"Active","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{"tag3":"value3","tag4":"value4"},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"04f607d4-aada-4f25-881f-b0d5ee07bc1a","resourceState":"Active","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -484,7 +458,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:38 GMT + - Fri, 02 Apr 2021 10:24:28 GMT expires: - '-1' pragma: @@ -520,24 +494,21 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/usages?api-version=2020-09-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","unit":"count","currentValue":0,"limit":25,"name":{"value":"afdEndpoint","localizedValue":"afdEndpoint"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","unit":"count","currentValue":0,"limit":25,"name":{"value":"customdomain","localizedValue":"customdomain"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","unit":"count","currentValue":0,"limit":25,"name":{"value":"origingroup","localizedValue":"origingroup"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","unit":"count","currentValue":0,"limit":25,"name":{"value":"secret","localizedValue":"secret"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","unit":"count","currentValue":0,"limit":25,"name":{"value":"ruleset","localizedValue":"ruleset"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","unit":"count","currentValue":0,"limit":25,"name":{"value":"securityPolicy","localizedValue":"securityPolicy"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","unit":"count","currentValue":0,"limit":10,"name":{"value":"afdEndpoint","localizedValue":"afdEndpoint"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","unit":"count","currentValue":0,"limit":100,"name":{"value":"customdomain","localizedValue":"customdomain"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","unit":"count","currentValue":0,"limit":100,"name":{"value":"origingroup","localizedValue":"origingroup"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","unit":"count","currentValue":0,"limit":100,"name":{"value":"secret","localizedValue":"secret"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","unit":"count","currentValue":0,"limit":100,"name":{"value":"ruleset","localizedValue":"ruleset"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","unit":"count","currentValue":0,"limit":100,"name":{"value":"securityPolicy","localizedValue":"securityPolicy"}}]}' headers: cache-control: - no-cache content-length: - - '1891' + - '1896' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:40 GMT + - Fri, 02 Apr 2021 10:24:30 GMT expires: - '-1' pragma: @@ -571,15 +542,12 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{"tag3":"value3","tag4":"value4"},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"07338272-b698-4f11-981e-fa23605cd03f","resourceState":"Active","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{"tag3":"value3","tag4":"value4"},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"04f607d4-aada-4f25-881f-b0d5ee07bc1a","resourceState":"Active","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -588,7 +556,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:41 GMT + - Fri, 02 Apr 2021 10:24:31 GMT expires: - '-1' pragma: @@ -604,7 +572,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '47' + - '49' status: code: 200 message: OK @@ -624,10 +592,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002?api-version=2020-09-01 response: @@ -635,17 +600,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a9cecd92-53dc-4cc7-9327-a68ee2b8aa4c?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/29a38413-243e-426c-aba2-4b9560285704?api-version=2020-09-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 19 Feb 2021 11:48:42 GMT + - Fri, 02 Apr 2021 10:24:33 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a9cecd92-53dc-4cc7-9327-a68ee2b8aa4c/profileresults/profile000002?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/29a38413-243e-426c-aba2-4b9560285704/profileresults/profile000002?api-version=2020-09-01 pragma: - no-cache server: @@ -655,7 +620,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14998' status: code: 202 message: Accepted @@ -663,7 +628,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -673,10 +638,9 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a9cecd92-53dc-4cc7-9327-a68ee2b8aa4c?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/29a38413-243e-426c-aba2-4b9560285704?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -688,7 +652,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:52 GMT + - Fri, 02 Apr 2021 10:24:43 GMT expires: - '-1' pragma: @@ -710,7 +674,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -720,10 +684,9 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a9cecd92-53dc-4cc7-9327-a68ee2b8aa4c?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/29a38413-243e-426c-aba2-4b9560285704?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -735,7 +698,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:22 GMT + - Fri, 02 Apr 2021 10:25:14 GMT expires: - '-1' pragma: @@ -767,10 +730,7 @@ interactions: ParameterSetName: - -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles?api-version=2020-09-01 response: @@ -784,17 +744,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:23 GMT + - Fri, 02 Apr 2021 10:25:15 GMT expires: - '-1' pragma: - no-cache - server: - - Kestrel strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - Accept-Encoding x-content-type-options: diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_route_crud.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_route_crud.yaml index cfbc0895bbf..ec348504abc 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_route_crud.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_route_crud.yaml @@ -13,22 +13,19 @@ interactions: Content-Length: - '66' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"2b8f63d3-2d8e-4d19-b209-7befdce8a6f8","resourceState":"Creating","provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"41c1cde7-c54a-42f1-94e2-5876f4f8bd68","resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/cdee9d9e-fcff-4fbb-9b17-e882775b0d6c?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/5b58937e-d1c4-4eef-ac65-2e77f43f3581?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -36,7 +33,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:22 GMT + - Fri, 02 Apr 2021 10:23:46 GMT expires: - '-1' pragma: @@ -48,7 +45,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '24' + - '23' status: code: 201 message: Created @@ -56,7 +53,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -66,57 +63,9 @@ interactions: ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/cdee9d9e-fcff-4fbb-9b17-e882775b0d6c?api-version=2020-09-01 - response: - body: - string: '{"status":"InProgress","error":{"code":"None","message":null}}' - headers: - cache-control: - - no-cache - content-length: - - '62' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 19 Feb 2021 11:48:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - afd profile create - Connection: - - keep-alive - ParameterSetName: - - -g --profile-name --sku - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/cdee9d9e-fcff-4fbb-9b17-e882775b0d6c?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/5b58937e-d1c4-4eef-ac65-2e77f43f3581?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -128,7 +77,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:03 GMT + - Fri, 02 Apr 2021 10:23:56 GMT expires: - '-1' pragma: @@ -150,7 +99,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -160,13 +109,12 @@ interactions: ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"2b8f63d3-2d8e-4d19-b209-7befdce8a6f8","resourceState":"Active","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"41c1cde7-c54a-42f1-94e2-5876f4f8bd68","resourceState":"Active","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -175,7 +123,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:04 GMT + - Fri, 02 Apr 2021 10:23:56 GMT expires: - '-1' pragma: @@ -191,7 +139,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '46' + - '49' status: code: 200 message: OK @@ -210,14 +158,11 @@ interactions: Content-Length: - '102' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --endpoint-name --profile-name --origin-response-timeout-seconds --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003?api-version=2020-09-01 response: @@ -225,7 +170,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003","type":"Microsoft.Cdn/profiles/afdendpoints","name":"endpoint000003","location":"Global","tags":{},"properties":{"hostName":"endpoint000003.z01.azurefd.net","originResponseTimeoutSeconds":100,"enabledState":"Enabled","provisioningState":"Creating","deploymentStatus":"NotStarted"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/7539c5ba-0a2d-4b4e-86b4-b917f8a74067?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/e217618e-6b89-4282-92dc-fffec414d964?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -233,7 +178,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:12 GMT + - Fri, 02 Apr 2021 10:24:03 GMT expires: - '-1' pragma: @@ -245,7 +190,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '99' + - '97' status: code: 201 message: Created @@ -253,7 +198,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -263,10 +208,9 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name --origin-response-timeout-seconds --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/7539c5ba-0a2d-4b4e-86b4-b917f8a74067?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/e217618e-6b89-4282-92dc-fffec414d964?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -278,7 +222,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:23 GMT + - Fri, 02 Apr 2021 10:24:14 GMT expires: - '-1' pragma: @@ -300,7 +244,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -310,8 +254,7 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name --origin-response-timeout-seconds --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003?api-version=2020-09-01 response: @@ -325,7 +268,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:23 GMT + - Fri, 02 Apr 2021 10:24:14 GMT expires: - '-1' pragma: @@ -362,16 +305,13 @@ interactions: Content-Length: - '272' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --origin-group-name --probe-request-type --probe-protocol --probe-interval-in-seconds --probe-path --sample-size --successful-samples-required --additional-latency-in-milliseconds User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000004?api-version=2020-09-01 response: @@ -385,7 +325,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:25 GMT + - Fri, 02 Apr 2021 10:24:16 GMT expires: - '-1' pragma: @@ -397,7 +337,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '98' + - '99' status: code: 201 message: Created @@ -417,15 +357,12 @@ interactions: Content-Length: - '234' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --origin-group-name --origin-name --host-name --origin-host-header --priority --weight --http-port --https-port --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000004/origins/origin000005?api-version=2020-09-01 response: @@ -433,7 +370,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000004/origins/origin000005","type":"Microsoft.Cdn/profiles/originGroups/origins","name":"origin000005","properties":{"originGroupName":"og000004","hostName":"huaiyiztesthost1.blob.core.chinacloudapi.cn","httpPort":80,"httpsPort":443,"originHostHeader":"huaiyiztesthost1.blob.core.chinacloudapi.cn","priority":1,"weight":1000,"enabledState":"Enabled","sharedPrivateLinkResource":null,"provisioningState":"Creating","deploymentStatus":"NotStarted"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/5a74a363-da12-4fe1-b1f4-68e5f35ecab6?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a282721f-d69c-4c89-a794-d18e53c233cb?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -441,7 +378,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:27 GMT + - Fri, 02 Apr 2021 10:24:19 GMT expires: - '-1' pragma: @@ -461,7 +398,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -472,10 +409,9 @@ interactions: - -g --profile-name --origin-group-name --origin-name --host-name --origin-host-header --priority --weight --http-port --https-port --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/5a74a363-da12-4fe1-b1f4-68e5f35ecab6?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a282721f-d69c-4c89-a794-d18e53c233cb?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -487,7 +423,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:38 GMT + - Fri, 02 Apr 2021 10:24:29 GMT expires: - '-1' pragma: @@ -509,7 +445,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -520,8 +456,7 @@ interactions: - -g --profile-name --origin-group-name --origin-name --host-name --origin-host-header --priority --weight --http-port --https-port --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000004/origins/origin000005?api-version=2020-09-01 response: @@ -535,7 +470,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:39 GMT + - Fri, 02 Apr 2021 10:24:30 GMT expires: - '-1' pragma: @@ -556,8 +491,9 @@ interactions: - request: body: '{"properties": {"customDomains": [], "originGroup": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000004"}, "ruleSets": [], "supportedProtocols": ["Https", "Http"], "patternsToMatch": - ["/*"], "compressionSettings": {"isCompressionEnabled": false}, "forwardingProtocol": - "MatchRequest", "linkToDefaultDomain": "Enabled", "httpsRedirect": "Enabled"}}' + ["/*"], "compressionSettings": {"contentTypesToCompress": [], "isCompressionEnabled": + false}, "forwardingProtocol": "MatchRequest", "linkToDefaultDomain": "Enabled", + "httpsRedirect": "Enabled"}}' headers: Accept: - application/json @@ -568,33 +504,30 @@ interactions: Connection: - keep-alive Content-Length: - - '526' + - '556' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --endpoint-name --route-name --origin-group --supported-protocols --link-to-default-domain --https-redirect --forwarding-protocol User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003/routes/route000006?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003/routes/route000006","type":"Microsoft.Cdn/profiles/afdendpoints/routes","name":"route000006","properties":{"customDomains":[],"originGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000004"},"originPath":null,"ruleSets":[],"supportedProtocols":["Https","Http"],"patternsToMatch":["/*"],"compressionSettings":{"isCompressionEnabled":false,"contentTypesToCompress":null},"queryStringCachingBehavior":"NotSet","forwardingProtocol":"MatchRequest","linkToDefaultDomain":"Enabled","httpsRedirect":"Enabled","enabledState":"Enabled","provisioningState":"Creating","deploymentStatus":"NotStarted"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003/routes/route000006","type":"Microsoft.Cdn/profiles/afdendpoints/routes","name":"route000006","properties":{"customDomains":[],"originGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000004"},"originPath":null,"ruleSets":[],"supportedProtocols":["Https","Http"],"patternsToMatch":["/*"],"compressionSettings":{"isCompressionEnabled":false,"contentTypesToCompress":[]},"queryStringCachingBehavior":"NotSet","forwardingProtocol":"MatchRequest","linkToDefaultDomain":"Enabled","httpsRedirect":"Enabled","enabledState":"Enabled","provisioningState":"Creating","deploymentStatus":"NotStarted"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b2571511-98b1-4b13-bcab-d604d964e957?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a5551b6b-8d80-43fe-885a-0ea680156e0a?api-version=2020-09-01 cache-control: - no-cache content-length: - - '1019' + - '1017' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:40 GMT + - Fri, 02 Apr 2021 10:24:33 GMT expires: - '-1' pragma: @@ -614,7 +547,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -625,10 +558,9 @@ interactions: - -g --profile-name --endpoint-name --route-name --origin-group --supported-protocols --link-to-default-domain --https-redirect --forwarding-protocol User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b2571511-98b1-4b13-bcab-d604d964e957?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a5551b6b-8d80-43fe-885a-0ea680156e0a?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -640,7 +572,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:51 GMT + - Fri, 02 Apr 2021 10:24:43 GMT expires: - '-1' pragma: @@ -662,7 +594,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -673,22 +605,21 @@ interactions: - -g --profile-name --endpoint-name --route-name --origin-group --supported-protocols --link-to-default-domain --https-redirect --forwarding-protocol User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003/routes/route000006?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003/routes/route000006","type":"Microsoft.Cdn/profiles/afdendpoints/routes","name":"route000006","properties":{"customDomains":[],"originGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000004"},"originPath":null,"ruleSets":[],"supportedProtocols":["Https","Http"],"patternsToMatch":["/*"],"compressionSettings":{"isCompressionEnabled":false,"contentTypesToCompress":null},"queryStringCachingBehavior":"NotSet","forwardingProtocol":"MatchRequest","linkToDefaultDomain":"Enabled","httpsRedirect":"Enabled","enabledState":"Enabled","provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003/routes/route000006","type":"Microsoft.Cdn/profiles/afdendpoints/routes","name":"route000006","properties":{"customDomains":[],"originGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000004"},"originPath":null,"ruleSets":[],"supportedProtocols":["Https","Http"],"patternsToMatch":["/*"],"compressionSettings":{"isCompressionEnabled":false,"contentTypesToCompress":[]},"queryStringCachingBehavior":"NotSet","forwardingProtocol":"MatchRequest","linkToDefaultDomain":"Enabled","httpsRedirect":"Enabled","enabledState":"Enabled","provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' headers: cache-control: - no-cache content-length: - - '1020' + - '1018' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:51 GMT + - Fri, 02 Apr 2021 10:24:43 GMT expires: - '-1' pragma: @@ -720,24 +651,21 @@ interactions: ParameterSetName: - -g --profile-name --endpoint-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003/routes?api-version=2020-09-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003/routes/route000006","type":"Microsoft.Cdn/profiles/afdendpoints/routes","name":"route000006","properties":{"customDomains":[],"originGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000004"},"originPath":null,"ruleSets":[],"supportedProtocols":["Https","Http"],"patternsToMatch":["/*"],"compressionSettings":{"isCompressionEnabled":false,"contentTypesToCompress":null},"queryStringCachingBehavior":"NotSet","forwardingProtocol":"MatchRequest","linkToDefaultDomain":"Enabled","httpsRedirect":"Enabled","enabledState":"Enabled","provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003/routes/route000006","type":"Microsoft.Cdn/profiles/afdendpoints/routes","name":"route000006","properties":{"customDomains":[],"originGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000004"},"originPath":null,"ruleSets":[],"supportedProtocols":["Https","Http"],"patternsToMatch":["/*"],"compressionSettings":{"isCompressionEnabled":false,"contentTypesToCompress":[]},"queryStringCachingBehavior":"NotSet","forwardingProtocol":"MatchRequest","linkToDefaultDomain":"Enabled","httpsRedirect":"Enabled","enabledState":"Enabled","provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}]}' headers: cache-control: - no-cache content-length: - - '1032' + - '1030' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:52 GMT + - Fri, 02 Apr 2021 10:24:44 GMT expires: - '-1' pragma: @@ -770,24 +698,21 @@ interactions: - -g --profile-name --route-name --endpoint-name --forwarding-protocol --query-string-caching-behavior --enable-compression --content-types-to-compress User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003/routes/route000006?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003/routes/route000006","type":"Microsoft.Cdn/profiles/afdendpoints/routes","name":"route000006","properties":{"customDomains":[],"originGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000004"},"originPath":null,"ruleSets":[],"supportedProtocols":["Https","Http"],"patternsToMatch":["/*"],"compressionSettings":{"isCompressionEnabled":false,"contentTypesToCompress":null},"queryStringCachingBehavior":"NotSet","forwardingProtocol":"MatchRequest","linkToDefaultDomain":"Enabled","httpsRedirect":"Enabled","enabledState":"Enabled","provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003/routes/route000006","type":"Microsoft.Cdn/profiles/afdendpoints/routes","name":"route000006","properties":{"customDomains":[],"originGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000004"},"originPath":null,"ruleSets":[],"supportedProtocols":["Https","Http"],"patternsToMatch":["/*"],"compressionSettings":{"isCompressionEnabled":false,"contentTypesToCompress":[]},"queryStringCachingBehavior":"NotSet","forwardingProtocol":"MatchRequest","linkToDefaultDomain":"Enabled","httpsRedirect":"Enabled","enabledState":"Enabled","provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' headers: cache-control: - no-cache content-length: - - '1020' + - '1018' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:53 GMT + - Fri, 02 Apr 2021 10:24:45 GMT expires: - '-1' pragma: @@ -824,15 +749,12 @@ interactions: Content-Length: - '634' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --route-name --endpoint-name --forwarding-protocol --query-string-caching-behavior --enable-compression --content-types-to-compress User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003/routes/route000006?api-version=2020-09-01 response: @@ -840,7 +762,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003/routes/route000006","type":"Microsoft.Cdn/profiles/afdendpoints/routes","name":"route000006","properties":{"customDomains":[],"originGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000004"},"originPath":null,"ruleSets":[],"supportedProtocols":["Https","Http"],"patternsToMatch":["/*"],"compressionSettings":{"isCompressionEnabled":true,"contentTypesToCompress":["text/javascript","text/plain"]},"queryStringCachingBehavior":"IgnoreQueryString","forwardingProtocol":"HttpsOnly","linkToDefaultDomain":"Enabled","httpsRedirect":"Enabled","enabledState":"Enabled","provisioningState":"Updating","deploymentStatus":"NotStarted"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/934558d6-34e6-44a7-bcca-f062253b6152?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/48505ce6-02df-427f-a35f-2f4cb8569c4c?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -848,11 +770,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:55 GMT + - Fri, 02 Apr 2021 10:24:47 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/934558d6-34e6-44a7-bcca-f062253b6152/profileresults/profile000002/afdendpointresults/endpoint000003/routeresults/route000006?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/48505ce6-02df-427f-a35f-2f4cb8569c4c/profileresults/profile000002/afdendpointresults/endpoint000003/routeresults/route000006?api-version=2020-09-01 pragma: - no-cache server: @@ -870,7 +792,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -881,58 +803,9 @@ interactions: - -g --profile-name --route-name --endpoint-name --forwarding-protocol --query-string-caching-behavior --enable-compression --content-types-to-compress User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/934558d6-34e6-44a7-bcca-f062253b6152?api-version=2020-09-01 - response: - body: - string: '{"status":"InProgress","error":{"code":"None","message":null}}' - headers: - cache-control: - - no-cache - content-length: - - '62' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 19 Feb 2021 11:50:06 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - afd route update - Connection: - - keep-alive - ParameterSetName: - - -g --profile-name --route-name --endpoint-name --forwarding-protocol --query-string-caching-behavior - --enable-compression --content-types-to-compress - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/934558d6-34e6-44a7-bcca-f062253b6152?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/48505ce6-02df-427f-a35f-2f4cb8569c4c?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -944,7 +817,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:36 GMT + - Fri, 02 Apr 2021 10:24:58 GMT expires: - '-1' pragma: @@ -966,7 +839,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -977,8 +850,7 @@ interactions: - -g --profile-name --route-name --endpoint-name --forwarding-protocol --query-string-caching-behavior --enable-compression --content-types-to-compress User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003/routes/route000006?api-version=2020-09-01 response: @@ -992,7 +864,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:37 GMT + - Fri, 02 Apr 2021 10:24:58 GMT expires: - '-1' pragma: @@ -1025,10 +897,7 @@ interactions: - -g --profile-name --route-name --endpoint-name --query-string-caching-behavior --content-types-to-compress User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003/routes/route000006?api-version=2020-09-01 response: @@ -1042,7 +911,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:38 GMT + - Fri, 02 Apr 2021 10:24:59 GMT expires: - '-1' pragma: @@ -1078,15 +947,12 @@ interactions: Content-Length: - '610' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --route-name --endpoint-name --query-string-caching-behavior --content-types-to-compress User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003/routes/route000006?api-version=2020-09-01 response: @@ -1094,7 +960,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003/routes/route000006","type":"Microsoft.Cdn/profiles/afdendpoints/routes","name":"route000006","properties":{"customDomains":[],"originGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000004"},"originPath":null,"ruleSets":[],"supportedProtocols":["Https","Http"],"patternsToMatch":["/*"],"compressionSettings":{"isCompressionEnabled":true,"contentTypesToCompress":["text/css"]},"queryStringCachingBehavior":"UseQueryString","forwardingProtocol":"HttpsOnly","linkToDefaultDomain":"Enabled","httpsRedirect":"Enabled","enabledState":"Enabled","provisioningState":"Updating","deploymentStatus":"NotStarted"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/86ee1f24-4d9d-4df8-a9e1-38ac49b3e813?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/835dd8ff-001a-4e13-8088-3d88aa6d3c6f?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -1102,11 +968,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:41 GMT + - Fri, 02 Apr 2021 10:25:01 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/86ee1f24-4d9d-4df8-a9e1-38ac49b3e813/profileresults/profile000002/afdendpointresults/endpoint000003/routeresults/route000006?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/835dd8ff-001a-4e13-8088-3d88aa6d3c6f/profileresults/profile000002/afdendpointresults/endpoint000003/routeresults/route000006?api-version=2020-09-01 pragma: - no-cache server: @@ -1124,7 +990,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1135,10 +1001,9 @@ interactions: - -g --profile-name --route-name --endpoint-name --query-string-caching-behavior --content-types-to-compress User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/86ee1f24-4d9d-4df8-a9e1-38ac49b3e813?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/835dd8ff-001a-4e13-8088-3d88aa6d3c6f?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -1150,7 +1015,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:52 GMT + - Fri, 02 Apr 2021 10:25:11 GMT expires: - '-1' pragma: @@ -1172,7 +1037,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1183,8 +1048,7 @@ interactions: - -g --profile-name --route-name --endpoint-name --query-string-caching-behavior --content-types-to-compress User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003/routes/route000006?api-version=2020-09-01 response: @@ -1198,7 +1062,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:52 GMT + - Fri, 02 Apr 2021 10:25:12 GMT expires: - '-1' pragma: @@ -1217,7 +1081,7 @@ interactions: code: 200 message: OK - request: - body: '{}' + body: null headers: Accept: - application/json @@ -1228,16 +1092,11 @@ interactions: Connection: - keep-alive Content-Length: - - '2' - Content-Type: - - application/json; charset=utf-8 + - '0' ParameterSetName: - -g --rule-set-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets/ruleset000007?api-version=2020-09-01 response: @@ -1251,7 +1110,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:54 GMT + - Fri, 02 Apr 2021 10:25:14 GMT expires: - '-1' pragma: @@ -1263,7 +1122,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '99' + - '98' status: code: 201 message: Created @@ -1281,10 +1140,7 @@ interactions: ParameterSetName: - -g --profile-name --route-name --endpoint-name --rule-sets --enable-compression User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003/routes/route000006?api-version=2020-09-01 response: @@ -1298,7 +1154,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:54 GMT + - Fri, 02 Apr 2021 10:25:14 GMT expires: - '-1' pragma: @@ -1319,7 +1175,8 @@ interactions: - request: body: '{"properties": {"customDomains": [], "originGroup": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000004"}, "ruleSets": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets/ruleset000007"}], - "supportedProtocols": ["Https", "Http"], "patternsToMatch": ["/*"], "queryStringCachingBehavior": + "supportedProtocols": ["Https", "Http"], "patternsToMatch": ["/*"], "compressionSettings": + {"contentTypesToCompress": [], "isCompressionEnabled": false}, "queryStringCachingBehavior": "UseQueryString", "forwardingProtocol": "HttpsOnly", "linkToDefaultDomain": "Enabled", "httpsRedirect": "Enabled"}}' headers: @@ -1332,16 +1189,13 @@ interactions: Connection: - keep-alive Content-Length: - - '743' + - '829' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --route-name --endpoint-name --rule-sets --enable-compression User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003/routes/route000006?api-version=2020-09-01 response: @@ -1349,7 +1203,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003/routes/route000006","type":"Microsoft.Cdn/profiles/afdendpoints/routes","name":"route000006","properties":{"customDomains":[],"originGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000004"},"originPath":null,"ruleSets":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets/ruleset000007"}],"supportedProtocols":["Https","Http"],"patternsToMatch":["/*"],"compressionSettings":{"isCompressionEnabled":false,"contentTypesToCompress":[]},"queryStringCachingBehavior":"UseQueryString","forwardingProtocol":"HttpsOnly","linkToDefaultDomain":"Enabled","httpsRedirect":"Enabled","enabledState":"Enabled","provisioningState":"Updating","deploymentStatus":"NotStarted"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/6706272f-8292-4010-817e-3b9d4e808f47?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a8f3ce96-1000-4c5d-8203-92aa8e99d947?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -1357,11 +1211,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:56 GMT + - Fri, 02 Apr 2021 10:25:16 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/6706272f-8292-4010-817e-3b9d4e808f47/profileresults/profile000002/afdendpointresults/endpoint000003/routeresults/route000006?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a8f3ce96-1000-4c5d-8203-92aa8e99d947/profileresults/profile000002/afdendpointresults/endpoint000003/routeresults/route000006?api-version=2020-09-01 pragma: - no-cache server: @@ -1379,7 +1233,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1389,10 +1243,9 @@ interactions: ParameterSetName: - -g --profile-name --route-name --endpoint-name --rule-sets --enable-compression User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/6706272f-8292-4010-817e-3b9d4e808f47?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a8f3ce96-1000-4c5d-8203-92aa8e99d947?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -1404,7 +1257,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:07 GMT + - Fri, 02 Apr 2021 10:25:28 GMT expires: - '-1' pragma: @@ -1426,7 +1279,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1436,8 +1289,7 @@ interactions: ParameterSetName: - -g --profile-name --route-name --endpoint-name --rule-sets --enable-compression User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003/routes/route000006?api-version=2020-09-01 response: @@ -1451,7 +1303,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:08 GMT + - Fri, 02 Apr 2021 10:25:28 GMT expires: - '-1' pragma: @@ -1483,10 +1335,7 @@ interactions: ParameterSetName: - -g --profile-name --route-name --endpoint-name --rule-sets --https-redirect User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003/routes/route000006?api-version=2020-09-01 response: @@ -1500,7 +1349,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:10 GMT + - Fri, 02 Apr 2021 10:25:29 GMT expires: - '-1' pragma: @@ -1536,14 +1385,11 @@ interactions: Content-Length: - '602' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --route-name --endpoint-name --rule-sets --https-redirect User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003/routes/route000006?api-version=2020-09-01 response: @@ -1551,7 +1397,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003/routes/route000006","type":"Microsoft.Cdn/profiles/afdendpoints/routes","name":"route000006","properties":{"customDomains":[],"originGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/originGroups/og000004"},"originPath":null,"ruleSets":[],"supportedProtocols":["Https","Http"],"patternsToMatch":["/*"],"compressionSettings":{"isCompressionEnabled":false,"contentTypesToCompress":[]},"queryStringCachingBehavior":"UseQueryString","forwardingProtocol":"HttpsOnly","linkToDefaultDomain":"Enabled","httpsRedirect":"Disabled","enabledState":"Enabled","provisioningState":"Updating","deploymentStatus":"NotStarted"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/43ff92da-93d3-435e-baa2-e67a39370688?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/c5ab2a32-e28c-4ebd-83bb-c24823be3615?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -1559,11 +1405,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:12 GMT + - Fri, 02 Apr 2021 10:25:31 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/43ff92da-93d3-435e-baa2-e67a39370688/profileresults/profile000002/afdendpointresults/endpoint000003/routeresults/route000006?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/c5ab2a32-e28c-4ebd-83bb-c24823be3615/profileresults/profile000002/afdendpointresults/endpoint000003/routeresults/route000006?api-version=2020-09-01 pragma: - no-cache server: @@ -1581,54 +1427,7 @@ interactions: body: null headers: Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - afd route update - Connection: - - keep-alive - ParameterSetName: - - -g --profile-name --route-name --endpoint-name --rule-sets --https-redirect - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/43ff92da-93d3-435e-baa2-e67a39370688?api-version=2020-09-01 - response: - body: - string: '{"status":"InProgress","error":{"code":"None","message":null}}' - headers: - cache-control: - - no-cache - content-length: - - '62' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 19 Feb 2021 11:51:23 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1638,10 +1437,9 @@ interactions: ParameterSetName: - -g --profile-name --route-name --endpoint-name --rule-sets --https-redirect User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/43ff92da-93d3-435e-baa2-e67a39370688?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/c5ab2a32-e28c-4ebd-83bb-c24823be3615?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -1653,7 +1451,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:53 GMT + - Fri, 02 Apr 2021 10:25:41 GMT expires: - '-1' pragma: @@ -1675,7 +1473,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1685,8 +1483,7 @@ interactions: ParameterSetName: - -g --profile-name --route-name --endpoint-name --rule-sets --https-redirect User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003/routes/route000006?api-version=2020-09-01 response: @@ -1700,7 +1497,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:54 GMT + - Fri, 02 Apr 2021 10:25:41 GMT expires: - '-1' pragma: @@ -1734,10 +1531,7 @@ interactions: ParameterSetName: - -g --profile-name --endpoint-name --route-name --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003/routes/route000006?api-version=2020-09-01 response: @@ -1745,17 +1539,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/107c07fe-2651-49bf-8050-86115055cebe?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/ae9d63bb-2f22-4b32-9bc4-593e449bd3de?api-version=2020-09-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 19 Feb 2021 11:51:56 GMT + - Fri, 02 Apr 2021 10:25:44 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/107c07fe-2651-49bf-8050-86115055cebe/profileresults/profile000002/afdendpointresults/endpoint000003/routeresults/route000006?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/ae9d63bb-2f22-4b32-9bc4-593e449bd3de/profileresults/profile000002/afdendpointresults/endpoint000003/routeresults/route000006?api-version=2020-09-01 pragma: - no-cache server: @@ -1765,7 +1559,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14999' status: code: 202 message: Accepted @@ -1773,7 +1567,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1783,10 +1577,9 @@ interactions: ParameterSetName: - -g --profile-name --endpoint-name --route-name --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/107c07fe-2651-49bf-8050-86115055cebe?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/ae9d63bb-2f22-4b32-9bc4-593e449bd3de?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -1798,7 +1591,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:52:07 GMT + - Fri, 02 Apr 2021 10:25:54 GMT expires: - '-1' pragma: @@ -1830,10 +1623,7 @@ interactions: ParameterSetName: - -g --profile-name --endpoint-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/afdEndpoints/endpoint000003/routes?api-version=2020-09-01 response: @@ -1847,7 +1637,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:52:09 GMT + - Fri, 02 Apr 2021 10:25:56 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_rule_crud.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_rule_crud.yaml index afc39785cc6..f23dd1b4314 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_rule_crud.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_rule_crud.yaml @@ -13,22 +13,19 @@ interactions: Content-Length: - '66' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"ff12cacb-3f01-41a5-aa76-ffc8837ecacd","resourceState":"Creating","provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"0c9cd45f-cc2a-4344-a166-3099611768c5","resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/25318ab2-53ce-4bb1-adf8-9d9f7931ddc7?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/d7437b60-583b-4b8e-9318-d8e68c7b5809?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -36,7 +33,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:12 GMT + - Fri, 02 Apr 2021 10:23:38 GMT expires: - '-1' pragma: @@ -56,7 +53,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -66,10 +63,55 @@ interactions: ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/25318ab2-53ce-4bb1-adf8-9d9f7931ddc7?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/d7437b60-583b-4b8e-9318-d8e68c7b5809?api-version=2020-09-01 + response: + body: + string: '{"status":"InProgress","error":{"code":"None","message":null}}' + headers: + cache-control: + - no-cache + content-length: + - '62' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Apr 2021 10:23:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - afd profile create + Connection: + - keep-alive + ParameterSetName: + - -g --profile-name --sku + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/d7437b60-583b-4b8e-9318-d8e68c7b5809?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -81,7 +123,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:22 GMT + - Fri, 02 Apr 2021 10:24:18 GMT expires: - '-1' pragma: @@ -103,7 +145,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -113,13 +155,12 @@ interactions: ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"ff12cacb-3f01-41a5-aa76-ffc8837ecacd","resourceState":"Active","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"0c9cd45f-cc2a-4344-a166-3099611768c5","resourceState":"Active","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -128,7 +169,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:23 GMT + - Fri, 02 Apr 2021 10:24:18 GMT expires: - '-1' pragma: @@ -144,12 +185,12 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '48' + - '49' status: code: 200 message: OK - request: - body: '{}' + body: null headers: Accept: - application/json @@ -160,16 +201,11 @@ interactions: Connection: - keep-alive Content-Length: - - '2' - Content-Type: - - application/json; charset=utf-8 + - '0' ParameterSetName: - -g --rule-set-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets/ruleset000003?api-version=2020-09-01 response: @@ -183,7 +219,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:24 GMT + - Fri, 02 Apr 2021 10:24:21 GMT expires: - '-1' pragma: @@ -213,10 +249,7 @@ interactions: ParameterSetName: - -g --rule-set-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets/ruleset000003/rules?api-version=2020-09-01 response: @@ -230,7 +263,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:25 GMT + - Fri, 02 Apr 2021 10:24:23 GMT expires: - '-1' pragma: @@ -266,15 +299,12 @@ interactions: Content-Length: - '425' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --rule-set-name --profile-name --rule-name --match-variable --operator --match-values --action-name --cache-behavior --order User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets/ruleset000003/rules/r1?api-version=2020-09-01 response: @@ -288,7 +318,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:27 GMT + - Fri, 02 Apr 2021 10:24:25 GMT expires: - '-1' pragma: @@ -304,6 +334,52 @@ interactions: status: code: 201 message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - afd rule show + Connection: + - keep-alive + ParameterSetName: + - -g --rule-set-name --profile-name --rule-name + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets/ruleset000003/rules/r1?api-version=2020-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/rulesets/ruleset000003/rules/r1","type":"Microsoft.Cdn/profiles/rulesets/rules","name":"r1","properties":{"order":1,"conditions":[{"name":"RemoteAddress","parameters":{"operator":"GeoMatch","negateCondition":false,"matchValues":["TH"],"transforms":[],"@odata.type":"#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters"}}],"actions":[{"name":"CacheExpiration","parameters":{"cacheBehavior":"BypassCache","cacheType":"All","cacheDuration":null,"@odata.type":"#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters"}}],"matchProcessingBehavior":null,"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' + headers: + cache-control: + - no-cache + content-length: + - '853' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Apr 2021 10:24:24 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: '{"properties": {"order": 2, "conditions": [{"name": "RequestScheme", "parameters": {"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestSchemeConditionParameters", @@ -322,15 +398,12 @@ interactions: Content-Length: - '421' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --rule-set-name --profile-name --rule-name --match-variable --match-values --action-name --redirect-protocol --redirect-type --order User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets/ruleset000003/rules/r2?api-version=2020-09-01 response: @@ -344,7 +417,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:28 GMT + - Fri, 02 Apr 2021 10:24:26 GMT expires: - '-1' pragma: @@ -360,6 +433,52 @@ interactions: status: code: 201 message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - afd rule show + Connection: + - keep-alive + ParameterSetName: + - -g --rule-set-name --profile-name --rule-name + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets/ruleset000003/rules/r2?api-version=2020-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/rulesets/ruleset000003/rules/r2","type":"Microsoft.Cdn/profiles/rulesets/rules","name":"r2","properties":{"order":2,"conditions":[{"name":"RequestScheme","parameters":{"matchValues":["HTTP"],"operator":"Equal","negateCondition":false,"transforms":[],"@odata.type":"#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestSchemeConditionParameters"}}],"actions":[{"name":"UrlRedirect","parameters":{"redirectType":"Moved","destinationProtocol":"Https","customQueryString":null,"customPath":null,"customHostname":null,"customFragment":null,"@odata.type":"#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlRedirectActionParameters"}}],"matchProcessingBehavior":null,"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' + headers: + cache-control: + - no-cache + content-length: + - '915' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Apr 2021 10:24:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: @@ -374,10 +493,7 @@ interactions: ParameterSetName: - -g --rule-set-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets/ruleset000003/rules?api-version=2020-09-01 response: @@ -391,7 +507,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:29 GMT + - Fri, 02 Apr 2021 10:24:28 GMT expires: - '-1' pragma: @@ -425,10 +541,7 @@ interactions: ParameterSetName: - -g --rule-set-name --profile-name --rule-name --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets/ruleset000003/rules/r2?api-version=2020-09-01 response: @@ -440,7 +553,7 @@ interactions: content-length: - '0' date: - - Fri, 19 Feb 2021 11:48:30 GMT + - Fri, 02 Apr 2021 10:24:30 GMT expires: - '-1' pragma: @@ -452,7 +565,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14996' + - '14999' status: code: 200 message: OK @@ -470,10 +583,7 @@ interactions: ParameterSetName: - -g --rule-set-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets/ruleset000003/rules?api-version=2020-09-01 response: @@ -487,7 +597,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:31 GMT + - Fri, 02 Apr 2021 10:24:31 GMT expires: - '-1' pragma: @@ -520,10 +630,7 @@ interactions: - -g --rule-set-name --profile-name --rule-name --match-variable --operator --match-values User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets/ruleset000003/rules/r1?api-version=2020-09-01 response: @@ -537,7 +644,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:32 GMT + - Fri, 02 Apr 2021 10:24:31 GMT expires: - '-1' pragma: @@ -575,15 +682,12 @@ interactions: Content-Length: - '656' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --rule-set-name --profile-name --rule-name --match-variable --operator --match-values User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets/ruleset000003/rules/r1?api-version=2020-09-01 response: @@ -597,7 +701,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:34 GMT + - Fri, 02 Apr 2021 10:24:33 GMT expires: - '-1' pragma: @@ -613,7 +717,53 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '99' + - '98' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - afd rule show + Connection: + - keep-alive + ParameterSetName: + - -g --rule-set-name --profile-name --rule-name + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets/ruleset000003/rules/r1?api-version=2020-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/rulesets/ruleset000003/rules/r1","type":"Microsoft.Cdn/profiles/rulesets/rules","name":"r1","properties":{"order":1,"conditions":[{"name":"RemoteAddress","parameters":{"operator":"GeoMatch","negateCondition":false,"matchValues":["TH"],"transforms":[],"@odata.type":"#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters"}},{"name":"RemoteAddress","parameters":{"operator":"GeoMatch","negateCondition":false,"matchValues":["TH","US"],"transforms":[],"@odata.type":"#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters"}}],"actions":[{"name":"CacheExpiration","parameters":{"cacheBehavior":"BypassCache","cacheType":"All","cacheDuration":null,"@odata.type":"#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters"}}],"matchProcessingBehavior":null,"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' + headers: + cache-control: + - no-cache + content-length: + - '1070' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Apr 2021 10:24:33 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff status: code: 200 message: OK @@ -632,10 +782,7 @@ interactions: - -g --rule-set-name --profile-name --rule-name --action-name --source-pattern --destination User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets/ruleset000003/rules/r1?api-version=2020-09-01 response: @@ -649,7 +796,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:35 GMT + - Fri, 02 Apr 2021 10:24:34 GMT expires: - '-1' pragma: @@ -690,15 +837,12 @@ interactions: Content-Length: - '873' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --rule-set-name --profile-name --rule-name --action-name --source-pattern --destination User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets/ruleset000003/rules/r1?api-version=2020-09-01 response: @@ -712,7 +856,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:36 GMT + - Fri, 02 Apr 2021 10:24:36 GMT expires: - '-1' pragma: @@ -728,7 +872,53 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '99' + - '97' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - afd rule show + Connection: + - keep-alive + ParameterSetName: + - -g --rule-set-name --profile-name --rule-name + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets/ruleset000003/rules/r1?api-version=2020-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/rulesets/ruleset000003/rules/r1","type":"Microsoft.Cdn/profiles/rulesets/rules","name":"r1","properties":{"order":1,"conditions":[{"name":"RemoteAddress","parameters":{"operator":"GeoMatch","negateCondition":false,"matchValues":["TH"],"transforms":[],"@odata.type":"#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters"}},{"name":"RemoteAddress","parameters":{"operator":"GeoMatch","negateCondition":false,"matchValues":["TH","US"],"transforms":[],"@odata.type":"#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters"}}],"actions":[{"name":"CacheExpiration","parameters":{"cacheBehavior":"BypassCache","cacheType":"All","cacheDuration":null,"@odata.type":"#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters"}},{"name":"UrlRewrite","parameters":{"sourcePattern":"/abc","destination":"/def","preserveUnmatchedPath":null,"@odata.type":"#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlRewriteActionParameters"}}],"matchProcessingBehavior":null,"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' + headers: + cache-control: + - no-cache + content-length: + - '1263' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Apr 2021 10:24:36 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff status: code: 200 message: OK @@ -746,10 +936,7 @@ interactions: ParameterSetName: - -g --rule-set-name --profile-name --rule-name --index User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets/ruleset000003/rules/r1?api-version=2020-09-01 response: @@ -763,7 +950,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:36 GMT + - Fri, 02 Apr 2021 10:24:37 GMT expires: - '-1' pragma: @@ -802,14 +989,11 @@ interactions: Content-Length: - '648' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --rule-set-name --profile-name --rule-name --index User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets/ruleset000003/rules/r1?api-version=2020-09-01 response: @@ -823,7 +1007,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:38 GMT + - Fri, 02 Apr 2021 10:24:39 GMT expires: - '-1' pragma: @@ -839,7 +1023,53 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '99' + - '97' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - afd rule show + Connection: + - keep-alive + ParameterSetName: + - -g --rule-set-name --profile-name --rule-name + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets/ruleset000003/rules/r1?api-version=2020-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/rulesets/ruleset000003/rules/r1","type":"Microsoft.Cdn/profiles/rulesets/rules","name":"r1","properties":{"order":1,"conditions":[{"name":"RemoteAddress","parameters":{"operator":"GeoMatch","negateCondition":false,"matchValues":["TH","US"],"transforms":[],"@odata.type":"#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters"}}],"actions":[{"name":"CacheExpiration","parameters":{"cacheBehavior":"BypassCache","cacheType":"All","cacheDuration":null,"@odata.type":"#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters"}},{"name":"UrlRewrite","parameters":{"sourcePattern":"/abc","destination":"/def","preserveUnmatchedPath":null,"@odata.type":"#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlRewriteActionParameters"}}],"matchProcessingBehavior":null,"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' + headers: + cache-control: + - no-cache + content-length: + - '1051' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Apr 2021 10:24:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff status: code: 200 message: OK @@ -857,10 +1087,7 @@ interactions: ParameterSetName: - -g --rule-set-name --profile-name --rule-name --index User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets/ruleset000003/rules/r1?api-version=2020-09-01 response: @@ -874,7 +1101,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:39 GMT + - Fri, 02 Apr 2021 10:24:40 GMT expires: - '-1' pragma: @@ -911,14 +1138,11 @@ interactions: Content-Length: - '461' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --rule-set-name --profile-name --rule-name --index User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets/ruleset000003/rules/r1?api-version=2020-09-01 response: @@ -932,7 +1156,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:40 GMT + - Fri, 02 Apr 2021 10:24:42 GMT expires: - '-1' pragma: @@ -948,7 +1172,53 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '98' + - '99' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - afd rule show + Connection: + - keep-alive + ParameterSetName: + - -g --rule-set-name --profile-name --rule-name + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets/ruleset000003/rules/r1?api-version=2020-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/rulesets/ruleset000003/rules/r1","type":"Microsoft.Cdn/profiles/rulesets/rules","name":"r1","properties":{"order":1,"conditions":[{"name":"RemoteAddress","parameters":{"operator":"GeoMatch","negateCondition":false,"matchValues":["TH","US"],"transforms":[],"@odata.type":"#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters"}}],"actions":[{"name":"UrlRewrite","parameters":{"sourcePattern":"/abc","destination":"/def","preserveUnmatchedPath":null,"@odata.type":"#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlRewriteActionParameters"}}],"matchProcessingBehavior":null,"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' + headers: + cache-control: + - no-cache + content-length: + - '852' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Apr 2021 10:24:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff status: code: 200 message: OK @@ -968,10 +1238,7 @@ interactions: ParameterSetName: - -g --rule-set-name --profile-name --rule-name --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets/ruleset000003/rules/r1?api-version=2020-09-01 response: @@ -983,7 +1250,7 @@ interactions: content-length: - '0' date: - - Fri, 19 Feb 2021 11:48:42 GMT + - Fri, 02 Apr 2021 10:24:43 GMT expires: - '-1' pragma: @@ -995,7 +1262,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14996' + - '14999' status: code: 200 message: OK @@ -1013,10 +1280,7 @@ interactions: ParameterSetName: - -g --rule-set-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets/ruleset000003/rules?api-version=2020-09-01 response: @@ -1030,7 +1294,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:42 GMT + - Fri, 02 Apr 2021 10:24:44 GMT expires: - '-1' pragma: @@ -1064,10 +1328,7 @@ interactions: ParameterSetName: - -g --rule-set-name --profile-name --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets/ruleset000003?api-version=2020-09-01 response: @@ -1079,7 +1340,7 @@ interactions: content-length: - '0' date: - - Fri, 19 Feb 2021 11:48:44 GMT + - Fri, 02 Apr 2021 10:24:45 GMT expires: - '-1' pragma: @@ -1091,7 +1352,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14995' status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_secret_crud.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_secret_crud.yaml deleted file mode 100644 index fe19f13b96a..00000000000 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_secret_crud.yaml +++ /dev/null @@ -1,692 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - afd secret list - Connection: - - keep-alive - ParameterSetName: - - -g --profile-name - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecrettest/secrets?api-version=2020-09-01 - response: - body: - string: '{"error":{"code":"ParentResourceNotFound","message":"Can not perform - requested operation on nested resource. Parent resource ''profilesecrettest'' - not found."}}' - headers: - cache-control: - - no-cache - content-length: - - '158' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 15 Feb 2021 15:37:11 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-failure-cause: - - gateway - status: - code: 404 - message: Not Found -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - cdn profile create - Connection: - - keep-alive - ParameterSetName: - - -g -n --sku - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-15T15:37:01Z"},"properties":{"provisioningState":"Succeeded"}}' - headers: - cache-control: - - no-cache - content-length: - - '428' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 15 Feb 2021 15:37:12 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"location": "westus", "sku": {"name": "Standard_AzureFrontDoor"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - cdn profile create - Connection: - - keep-alive - Content-Length: - - '66' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -g -n --sku - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecrettest?api-version=2020-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecrettest","type":"Microsoft.Cdn/profiles","name":"profilesecrettest","location":"WestUs","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"5d895625-1117-478e-b188-639be1619ea7","resourceState":"Creating","provisioningState":"Creating"}}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/f6e681a6-568c-4bdb-a413-03151c24f935?api-version=2020-09-01 - cache-control: - - no-cache - content-length: - - '477' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 15 Feb 2021 15:37:21 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-resource-requests: - - '24' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - cdn profile create - Connection: - - keep-alive - ParameterSetName: - - -g -n --sku - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/f6e681a6-568c-4bdb-a413-03151c24f935?api-version=2020-09-01 - response: - body: - string: '{"status":"InProgress","error":{"code":"None","message":null}}' - headers: - cache-control: - - no-cache - content-length: - - '62' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 15 Feb 2021 15:37:32 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - cdn profile create - Connection: - - keep-alive - ParameterSetName: - - -g -n --sku - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/f6e681a6-568c-4bdb-a413-03151c24f935?api-version=2020-09-01 - response: - body: - string: '{"status":"Succeeded","error":{"code":"None","message":null}}' - headers: - cache-control: - - no-cache - content-length: - - '61' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 15 Feb 2021 15:38:02 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - cdn profile create - Connection: - - keep-alive - ParameterSetName: - - -g -n --sku - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecrettest?api-version=2020-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecrettest","type":"Microsoft.Cdn/profiles","name":"profilesecrettest","location":"WestUs","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"5d895625-1117-478e-b188-639be1619ea7","resourceState":"Active","provisioningState":"Succeeded"}}' - headers: - cache-control: - - no-cache - content-length: - - '476' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 15 Feb 2021 15:38:02 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-resource-requests: - - '49' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - afd secret list - Connection: - - keep-alive - ParameterSetName: - - -g --profile-name - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecrettest/secrets?api-version=2020-09-01 - response: - body: - string: '{"value":[]}' - headers: - cache-control: - - no-cache - content-length: - - '12' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 15 Feb 2021 15:38:04 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"properties": {"parameters": {"type": "CustomerCertificate", "secretSource": - {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc/certificates/localdev-multi/3528eb888f114c20930edbd56c7ed57c"}, - "secretVersion": "3528eb888f114c20930edbd56c7ed57c", "useLatestVersion": false}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - afd secret create - Connection: - - keep-alive - Content-Length: - - '362' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -g --profile-name --secret-name --secret-source --use-latest-version --secret-version - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecrettest/secrets/secret000002?api-version=2020-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecrettest/secrets/secret000002","type":"Microsoft.Cdn/profiles/secrets","name":"secret000002","properties":{"parameters":{"type":"CustomerCertificate","subject":null,"certificateAuthority":null,"expirationDate":null,"thumbprint":null,"secretSource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc/certificates/localdev-multi/3528eb888f114c20930edbd56c7ed57c"},"secretVersion":"3528eb888f114c20930edbd56c7ed57c","useLatestVersion":false,"subjectAlternativeNames":null},"provisioningState":"Creating","deploymentStatus":"NotStarted"}}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b963d342-e8c3-4de1-96af-7e881e966349?api-version=2020-09-01 - cache-control: - - no-cache - content-length: - - '837' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 15 Feb 2021 15:38:06 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-resource-requests: - - '99' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - afd secret create - Connection: - - keep-alive - ParameterSetName: - - -g --profile-name --secret-name --secret-source --use-latest-version --secret-version - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b963d342-e8c3-4de1-96af-7e881e966349?api-version=2020-09-01 - response: - body: - string: '{"status":"Succeeded","error":{"code":"None","message":null}}' - headers: - cache-control: - - no-cache - content-length: - - '61' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 15 Feb 2021 15:38:17 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - afd secret create - Connection: - - keep-alive - ParameterSetName: - - -g --profile-name --secret-name --secret-source --use-latest-version --secret-version - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecrettest/secrets/secret000002?api-version=2020-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecrettest/secrets/secret000002","type":"Microsoft.Cdn/profiles/secrets","name":"secret000002","properties":{"parameters":{"type":"CustomerCertificate","subject":"clitest.localdev.cdn.azure.cn","certificateAuthority":"R3","expirationDate":"2021-05-16T10:43:37+00:00","thumbprint":"7438D3856FA95A15EEDB1D12CA4E2A73DE0B7DC8","secretSource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc/certificates/localdev-multi/3528eb888f114c20930edbd56c7ed57c"},"secretVersion":"3528eb888f114c20930edbd56c7ed57c","useLatestVersion":false,"subjectAlternativeNames":["clitest.localdev.cdn.azure.cn"]},"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' - headers: - cache-control: - - no-cache - content-length: - - '955' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 15 Feb 2021 15:38:18 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - afd secret show - Connection: - - keep-alive - ParameterSetName: - - -g --profile-name --secret-name - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecrettest/secrets/secret000002?api-version=2020-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecrettest/secrets/secret000002","type":"Microsoft.Cdn/profiles/secrets","name":"secret000002","properties":{"parameters":{"type":"CustomerCertificate","subject":"clitest.localdev.cdn.azure.cn","certificateAuthority":"R3","expirationDate":"2021-05-16T10:43:37+00:00","thumbprint":"7438D3856FA95A15EEDB1D12CA4E2A73DE0B7DC8","secretSource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc/certificates/localdev-multi/3528eb888f114c20930edbd56c7ed57c"},"secretVersion":"3528eb888f114c20930edbd56c7ed57c","useLatestVersion":false,"subjectAlternativeNames":["clitest.localdev.cdn.azure.cn"]},"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' - headers: - cache-control: - - no-cache - content-length: - - '955' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 15 Feb 2021 15:38:19 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - afd secret list - Connection: - - keep-alive - ParameterSetName: - - -g --profile-name - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecrettest/secrets?api-version=2020-09-01 - response: - body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecrettest/secrets/secret000002","type":"Microsoft.Cdn/profiles/secrets","name":"secret000002","properties":{"parameters":{"type":"CustomerCertificate","subject":"clitest.localdev.cdn.azure.cn","certificateAuthority":"R3","expirationDate":"2021-05-16T10:43:37+00:00","thumbprint":"7438D3856FA95A15EEDB1D12CA4E2A73DE0B7DC8","secretSource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc/certificates/localdev-multi/3528eb888f114c20930edbd56c7ed57c"},"secretVersion":"3528eb888f114c20930edbd56c7ed57c","useLatestVersion":false,"subjectAlternativeNames":["clitest.localdev.cdn.azure.cn"]},"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}]}' - headers: - cache-control: - - no-cache - content-length: - - '967' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 15 Feb 2021 15:38:20 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - afd secret update - Connection: - - keep-alive - ParameterSetName: - - -g --profile-name --secret-name --use-latest-version --use-latest-version - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecrettest/secrets/secret000002?api-version=2020-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecrettest/secrets/secret000002","type":"Microsoft.Cdn/profiles/secrets","name":"secret000002","properties":{"parameters":{"type":"CustomerCertificate","subject":"clitest.localdev.cdn.azure.cn","certificateAuthority":"R3","expirationDate":"2021-05-16T10:43:37+00:00","thumbprint":"7438D3856FA95A15EEDB1D12CA4E2A73DE0B7DC8","secretSource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc/certificates/localdev-multi/3528eb888f114c20930edbd56c7ed57c"},"secretVersion":"3528eb888f114c20930edbd56c7ed57c","useLatestVersion":false,"subjectAlternativeNames":["clitest.localdev.cdn.azure.cn"]},"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' - headers: - cache-control: - - no-cache - content-length: - - '955' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 15 Feb 2021 15:38:22 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"properties": {"parameters": {"type": "CustomerCertificate", "secretSource": - {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc/certificates/localdev-multi"}, - "useLatestVersion": true}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - afd secret update - Connection: - - keep-alive - Content-Length: - - '275' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -g --profile-name --secret-name --use-latest-version --use-latest-version - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecrettest/secrets/secret000002?api-version=2020-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecrettest/secrets/secret000002","type":"Microsoft.Cdn/profiles/secrets","name":"secret000002","properties":{"parameters":{"type":"CustomerCertificate","subject":"clitest.localdev.cdn.azure.cn","certificateAuthority":"R3","expirationDate":"2021-05-16T10:43:37+00:00","thumbprint":"7438D3856FA95A15EEDB1D12CA4E2A73DE0B7DC8","secretSource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc/certificates/localdev-multi/3528eb888f114c20930edbd56c7ed57c"},"secretVersion":"3528eb888f114c20930edbd56c7ed57c","useLatestVersion":false,"subjectAlternativeNames":["clitest.localdev.cdn.azure.cn"]},"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' - headers: - cache-control: - - no-cache - content-length: - - '955' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 15 Feb 2021 15:38:23 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-resource-requests: - - '99' - status: - code: 200 - message: OK -version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_secret_latest_version_crud.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_secret_latest_version_crud.yaml index 4ef09d5b3d7..61bbebf52de 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_secret_latest_version_crud.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_secret_latest_version_crud.yaml @@ -13,22 +13,19 @@ interactions: Content-Length: - '66' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"4728978a-198f-4410-bc7e-89f7ea1fd1e5","resourceState":"Creating","provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"2ac4bb55-d713-45f7-a1ad-06ee7b7aee87","resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/91eda88a-5456-4ade-9a8f-86ce96ce6ca3?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/31ee617f-c59d-4f2f-aee0-698c84aad19d?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -36,7 +33,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:05 GMT + - Fri, 02 Apr 2021 13:28:11 GMT expires: - '-1' pragma: @@ -56,7 +53,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -66,22 +63,21 @@ interactions: ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/91eda88a-5456-4ade-9a8f-86ce96ce6ca3?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/31ee617f-c59d-4f2f-aee0-698c84aad19d?api-version=2020-09-01 response: body: - string: '{"status":"Succeeded","error":{"code":"None","message":null}}' + string: '{"status":"InProgress","error":{"code":"None","message":null}}' headers: cache-control: - no-cache content-length: - - '61' + - '62' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:16 GMT + - Fri, 02 Apr 2021 13:28:21 GMT expires: - '-1' pragma: @@ -103,7 +99,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -113,22 +109,21 @@ interactions: ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/31ee617f-c59d-4f2f-aee0-698c84aad19d?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"4728978a-198f-4410-bc7e-89f7ea1fd1e5","resourceState":"Active","provisioningState":"Succeeded"}}' + string: '{"status":"Succeeded","error":{"code":"None","message":null}}' headers: cache-control: - no-cache content-length: - - '490' + - '61' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:17 GMT + - Fri, 02 Apr 2021 13:28:51 GMT expires: - '-1' pragma: @@ -143,8 +138,6 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-resource-requests: - - '49' status: code: 200 message: OK @@ -152,34 +145,31 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - afd secret list + - afd profile create Connection: - keep-alive ParameterSetName: - - -g --profile-name + - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002?api-version=2020-09-01 response: body: - string: '{"value":[]}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"2ac4bb55-d713-45f7-a1ad-06ee7b7aee87","resourceState":"Active","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '12' + - '490' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:18 GMT + - Fri, 02 Apr 2021 13:28:52 GMT expires: - '-1' pragma: @@ -194,64 +184,11 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '49' status: code: 200 message: OK -- request: - body: '{"properties": {"parameters": {"type": "CustomerCertificate", "secretSource": - {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc/certificates/localdev-multi"}, - "useLatestVersion": true}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - afd secret create - Connection: - - keep-alive - Content-Length: - - '275' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -g --profile-name --secret-name --secret-source --use-latest-version - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003?api-version=2020-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003","type":"Microsoft.Cdn/profiles/secrets","name":"secret000003","properties":{"parameters":{"type":"CustomerCertificate","subject":null,"certificateAuthority":null,"expirationDate":null,"thumbprint":null,"secretSource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc/certificates/localdev-multi"},"secretVersion":null,"useLatestVersion":true,"subjectAlternativeNames":null},"provisioningState":"Creating","deploymentStatus":"NotStarted"}}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/c943bed5-ec05-46ab-8436-5a0ac1c0bc19?api-version=2020-09-01 - cache-control: - - no-cache - content-length: - - '780' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 19 Feb 2021 11:48:19 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-resource-requests: - - '99' - status: - code: 201 - message: Created - request: body: null headers: @@ -260,28 +197,27 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - afd secret create + - afd secret list Connection: - keep-alive ParameterSetName: - - -g --profile-name --secret-name --secret-source --use-latest-version + - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/c943bed5-ec05-46ab-8436-5a0ac1c0bc19?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets?api-version=2020-09-01 response: body: - string: '{"status":"Succeeded","error":{"code":"None","message":null}}' + string: '{"value":[]}' headers: cache-control: - no-cache content-length: - - '61' + - '12' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:29 GMT + - Fri, 02 Apr 2021 13:28:53 GMT expires: - '-1' pragma: @@ -300,7 +236,9 @@ interactions: code: 200 message: OK - request: - body: null + body: '{"properties": {"parameters": {"type": "CustomerCertificate", "secretSource": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc-int/certificates/localdev-multi"}, + "useLatestVersion": true}}}' headers: Accept: - application/json @@ -310,26 +248,29 @@ interactions: - afd secret create Connection: - keep-alive + Content-Length: + - '279' + Content-Type: + - application/json ParameterSetName: - -g --profile-name --secret-name --secret-source --use-latest-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - method: GET + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003","type":"Microsoft.Cdn/profiles/secrets","name":"secret000003","properties":{"parameters":{"type":"CustomerCertificate","subject":"*.localdev.cdn.azure.cn","certificateAuthority":"DigiCert - Basic RSA CN CA G2","expirationDate":"2021-12-08T23:59:59+00:00","thumbprint":"E23BED5CF38497BDA0CF3050BF879C0E6874C205","secretSource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc/certificates/localdev-multi"},"secretVersion":"8191a537d089481d91f20dc0b1e59e0a","useLatestVersion":true,"subjectAlternativeNames":["*.localdev.cdn.azure.cn","localdev.cdn.azure.cn"]},"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003","type":"Microsoft.Cdn/profiles/secrets","name":"secret000003","properties":{"parameters":{"type":"CustomerCertificate","subject":"*.localdev.cdn.azure.cn","certificateAuthority":"CN=DigiCert + Basic RSA CN CA G2, O=DigiCert Inc, C=US","expirationDate":"2021-12-08T23:59:59+00:00","thumbprint":"E23BED5CF38497BDA0CF3050BF879C0E6874C205","secretSource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc-int/certificates/localdev-multi"},"secretVersion":"5f652542f6ef46ef9fc4ed8af07c54f1","useLatestVersion":true,"subjectAlternativeNames":["*.localdev.cdn.azure.cn","localdev.cdn.azure.cn"]},"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' headers: cache-control: - no-cache content-length: - - '965' + - '994' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:30 GMT + - Fri, 02 Apr 2021 13:28:56 GMT expires: - '-1' pragma: @@ -338,15 +279,13 @@ interactions: - Kestrel strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '99' status: - code: 200 - message: OK + code: 201 + message: Created - request: body: null headers: @@ -361,25 +300,22 @@ interactions: ParameterSetName: - -g --profile-name --secret-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003","type":"Microsoft.Cdn/profiles/secrets","name":"secret000003","properties":{"parameters":{"type":"CustomerCertificate","subject":"*.localdev.cdn.azure.cn","certificateAuthority":"DigiCert - Basic RSA CN CA G2","expirationDate":"2021-12-08T23:59:59+00:00","thumbprint":"E23BED5CF38497BDA0CF3050BF879C0E6874C205","secretSource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc/certificates/localdev-multi"},"secretVersion":"8191a537d089481d91f20dc0b1e59e0a","useLatestVersion":true,"subjectAlternativeNames":["*.localdev.cdn.azure.cn","localdev.cdn.azure.cn"]},"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003","type":"Microsoft.Cdn/profiles/secrets","name":"secret000003","properties":{"parameters":{"type":"CustomerCertificate","subject":"*.localdev.cdn.azure.cn","certificateAuthority":"CN=DigiCert + Basic RSA CN CA G2, O=DigiCert Inc, C=US","expirationDate":"2021-12-08T23:59:59+00:00","thumbprint":"E23BED5CF38497BDA0CF3050BF879C0E6874C205","secretSource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc-int/certificates/localdev-multi"},"secretVersion":"5f652542f6ef46ef9fc4ed8af07c54f1","useLatestVersion":true,"subjectAlternativeNames":["*.localdev.cdn.azure.cn","localdev.cdn.azure.cn"]},"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' headers: cache-control: - no-cache content-length: - - '965' + - '994' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:31 GMT + - Fri, 02 Apr 2021 13:28:58 GMT expires: - '-1' pragma: @@ -413,10 +349,7 @@ interactions: ParameterSetName: - -g --profile-name --secret-name --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003?api-version=2020-09-01 response: @@ -428,7 +361,7 @@ interactions: content-length: - '0' date: - - Fri, 19 Feb 2021 11:48:32 GMT + - Fri, 02 Apr 2021 13:28:59 GMT expires: - '-1' pragma: @@ -458,10 +391,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets?api-version=2020-09-01 response: @@ -475,7 +405,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:33 GMT + - Fri, 02 Apr 2021 13:29:01 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_secret_specific_version_crud.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_secret_specific_version_crud.yaml index 7ce7466a0d4..f1180fefc6b 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_secret_specific_version_crud.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_secret_specific_version_crud.yaml @@ -13,10 +13,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets?api-version=2020-09-01 response: @@ -32,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:54 GMT + - Fri, 02 Apr 2021 13:28:03 GMT expires: - '-1' pragma: @@ -60,22 +57,19 @@ interactions: Content-Length: - '66' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"97658bec-11fa-4387-bee3-6fdf63a2a533","resourceState":"Creating","provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"2e4d926e-488a-473a-9b39-52a427902d3a","resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/52fcc65f-ca57-4142-ace1-d86359747d93?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/f1124173-f85c-4d77-9878-cc1c88fc6a95?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -83,7 +77,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:02 GMT + - Fri, 02 Apr 2021 13:28:11 GMT expires: - '-1' pragma: @@ -95,7 +89,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '21' + - '24' status: code: 201 message: Created @@ -103,7 +97,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -113,10 +107,9 @@ interactions: ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/52fcc65f-ca57-4142-ace1-d86359747d93?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/f1124173-f85c-4d77-9878-cc1c88fc6a95?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -128,7 +121,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:13 GMT + - Fri, 02 Apr 2021 13:28:21 GMT expires: - '-1' pragma: @@ -150,7 +143,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -160,13 +153,12 @@ interactions: ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"97658bec-11fa-4387-bee3-6fdf63a2a533","resourceState":"Active","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"2e4d926e-488a-473a-9b39-52a427902d3a","resourceState":"Active","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -175,7 +167,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:13 GMT + - Fri, 02 Apr 2021 13:28:21 GMT expires: - '-1' pragma: @@ -191,7 +183,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '46' + - '49' status: code: 200 message: OK @@ -209,10 +201,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets?api-version=2020-09-01 response: @@ -226,7 +215,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:14 GMT + - Fri, 02 Apr 2021 13:28:23 GMT expires: - '-1' pragma: @@ -246,8 +235,8 @@ interactions: message: OK - request: body: '{"properties": {"parameters": {"type": "CustomerCertificate", "secretSource": - {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc/certificates/localdev-multi/3528eb888f114c20930edbd56c7ed57c"}, - "secretVersion": "3528eb888f114c20930edbd56c7ed57c", "useLatestVersion": false}}}' + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc-int/certificates/localdev-multi/aab1df2865274378a04592e4f1233797"}, + "secretVersion": "aab1df2865274378a04592e4f1233797", "useLatestVersion": false}}}' headers: Accept: - application/json @@ -258,32 +247,28 @@ interactions: Connection: - keep-alive Content-Length: - - '362' + - '366' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --secret-name --secret-source --use-latest-version --secret-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003","type":"Microsoft.Cdn/profiles/secrets","name":"secret000003","properties":{"parameters":{"type":"CustomerCertificate","subject":null,"certificateAuthority":null,"expirationDate":null,"thumbprint":null,"secretSource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc/certificates/localdev-multi/3528eb888f114c20930edbd56c7ed57c"},"secretVersion":"3528eb888f114c20930edbd56c7ed57c","useLatestVersion":false,"subjectAlternativeNames":null},"provisioningState":"Creating","deploymentStatus":"NotStarted"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003","type":"Microsoft.Cdn/profiles/secrets","name":"secret000003","properties":{"parameters":{"type":"CustomerCertificate","subject":"clitest.localdev.cdn.azure.cn","certificateAuthority":"CN=R3, + O=Let''s Encrypt, C=US","expirationDate":"2021-05-16T10:43:37+00:00","thumbprint":"7438D3856FA95A15EEDB1D12CA4E2A73DE0B7DC8","secretSource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc-int/certificates/localdev-multi/aab1df2865274378a04592e4f1233797"},"secretVersion":"aab1df2865274378a04592e4f1233797","useLatestVersion":false,"subjectAlternativeNames":["clitest.localdev.cdn.azure.cn"]},"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/1e6fd959-26ec-4515-8434-91f9ea3a9fb6?api-version=2020-09-01 cache-control: - no-cache content-length: - - '844' + - '992' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:15 GMT + - Fri, 02 Apr 2021 13:28:25 GMT expires: - '-1' pragma: @@ -295,104 +280,10 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '98' + - '99' status: code: 201 message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - afd secret create - Connection: - - keep-alive - ParameterSetName: - - -g --profile-name --secret-name --secret-source --use-latest-version --secret-version - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/1e6fd959-26ec-4515-8434-91f9ea3a9fb6?api-version=2020-09-01 - response: - body: - string: '{"status":"Succeeded","error":{"code":"None","message":null}}' - headers: - cache-control: - - no-cache - content-length: - - '61' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 19 Feb 2021 11:51:26 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - afd secret create - Connection: - - keep-alive - ParameterSetName: - - -g --profile-name --secret-name --secret-source --use-latest-version --secret-version - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003?api-version=2020-09-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003","type":"Microsoft.Cdn/profiles/secrets","name":"secret000003","properties":{"parameters":{"type":"CustomerCertificate","subject":"clitest.localdev.cdn.azure.cn","certificateAuthority":"R3","expirationDate":"2021-05-16T10:43:37+00:00","thumbprint":"7438D3856FA95A15EEDB1D12CA4E2A73DE0B7DC8","secretSource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc/certificates/localdev-multi/3528eb888f114c20930edbd56c7ed57c"},"secretVersion":"3528eb888f114c20930edbd56c7ed57c","useLatestVersion":false,"subjectAlternativeNames":["clitest.localdev.cdn.azure.cn"]},"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' - headers: - cache-control: - - no-cache - content-length: - - '962' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 19 Feb 2021 11:51:26 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK - request: body: null headers: @@ -407,24 +298,22 @@ interactions: ParameterSetName: - -g --profile-name --secret-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003","type":"Microsoft.Cdn/profiles/secrets","name":"secret000003","properties":{"parameters":{"type":"CustomerCertificate","subject":"clitest.localdev.cdn.azure.cn","certificateAuthority":"R3","expirationDate":"2021-05-16T10:43:37+00:00","thumbprint":"7438D3856FA95A15EEDB1D12CA4E2A73DE0B7DC8","secretSource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc/certificates/localdev-multi/3528eb888f114c20930edbd56c7ed57c"},"secretVersion":"3528eb888f114c20930edbd56c7ed57c","useLatestVersion":false,"subjectAlternativeNames":["clitest.localdev.cdn.azure.cn"]},"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003","type":"Microsoft.Cdn/profiles/secrets","name":"secret000003","properties":{"parameters":{"type":"CustomerCertificate","subject":"clitest.localdev.cdn.azure.cn","certificateAuthority":"CN=R3, + O=Let''s Encrypt, C=US","expirationDate":"2021-05-16T10:43:37+00:00","thumbprint":"7438D3856FA95A15EEDB1D12CA4E2A73DE0B7DC8","secretSource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc-int/certificates/localdev-multi/aab1df2865274378a04592e4f1233797"},"secretVersion":"aab1df2865274378a04592e4f1233797","useLatestVersion":false,"subjectAlternativeNames":["clitest.localdev.cdn.azure.cn"]},"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}' headers: cache-control: - no-cache content-length: - - '962' + - '992' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:28 GMT + - Fri, 02 Apr 2021 13:28:27 GMT expires: - '-1' pragma: @@ -456,24 +345,22 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets?api-version=2020-09-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003","type":"Microsoft.Cdn/profiles/secrets","name":"secret000003","properties":{"parameters":{"type":"CustomerCertificate","subject":"clitest.localdev.cdn.azure.cn","certificateAuthority":"R3","expirationDate":"2021-05-16T10:43:37+00:00","thumbprint":"7438D3856FA95A15EEDB1D12CA4E2A73DE0B7DC8","secretSource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc/certificates/localdev-multi/3528eb888f114c20930edbd56c7ed57c"},"secretVersion":"3528eb888f114c20930edbd56c7ed57c","useLatestVersion":false,"subjectAlternativeNames":["clitest.localdev.cdn.azure.cn"]},"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003","type":"Microsoft.Cdn/profiles/secrets","name":"secret000003","properties":{"parameters":{"type":"CustomerCertificate","subject":"clitest.localdev.cdn.azure.cn","certificateAuthority":"CN=R3, + O=Let''s Encrypt, C=US","expirationDate":"2021-05-16T10:43:37+00:00","thumbprint":"7438D3856FA95A15EEDB1D12CA4E2A73DE0B7DC8","secretSource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc-int/certificates/localdev-multi/aab1df2865274378a04592e4f1233797"},"secretVersion":"aab1df2865274378a04592e4f1233797","useLatestVersion":false,"subjectAlternativeNames":["clitest.localdev.cdn.azure.cn"]},"provisioningState":"Succeeded","deploymentStatus":"NotStarted"}}]}' headers: cache-control: - no-cache content-length: - - '974' + - '1004' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:28 GMT + - Fri, 02 Apr 2021 13:28:28 GMT expires: - '-1' pragma: @@ -507,10 +394,7 @@ interactions: ParameterSetName: - -g --profile-name --secret-name --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets/secret000003?api-version=2020-09-01 response: @@ -522,7 +406,7 @@ interactions: content-length: - '0' date: - - Fri, 19 Feb 2021 11:51:29 GMT + - Fri, 02 Apr 2021 13:28:30 GMT expires: - '-1' pragma: @@ -552,10 +436,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/secrets?api-version=2020-09-01 response: @@ -569,7 +450,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:30 GMT + - Fri, 02 Apr 2021 13:28:31 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_security_policy_crud.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_security_policy_crud.yaml index 589bdadd0cc..eb70b3f29c6 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_security_policy_crud.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_security_policy_crud.yaml @@ -13,10 +13,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecuritytest/securityPolicies?api-version=2020-09-01 response: @@ -32,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:38 GMT + - Fri, 02 Apr 2021 10:24:29 GMT expires: - '-1' pragma: @@ -60,22 +57,19 @@ interactions: Content-Length: - '66' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecuritytest?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecuritytest","type":"Microsoft.Cdn/profiles","name":"profilesecuritytest","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"1a1226e3-3a50-49d7-a291-eef4658cfbf6","resourceState":"Creating","provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecuritytest","type":"Microsoft.Cdn/profiles","name":"profilesecuritytest","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"7dda964b-5654-4076-8e4d-2855398a70d4","resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/86724efd-f49a-4527-b110-e5e1b7cf9f3f?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/05fade57-932a-4902-b6f9-5fa89a5401e8?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -83,7 +77,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:46 GMT + - Fri, 02 Apr 2021 10:24:37 GMT expires: - '-1' pragma: @@ -103,7 +97,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -113,10 +107,9 @@ interactions: ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/86724efd-f49a-4527-b110-e5e1b7cf9f3f?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/05fade57-932a-4902-b6f9-5fa89a5401e8?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -128,7 +121,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:56 GMT + - Fri, 02 Apr 2021 10:24:47 GMT expires: - '-1' pragma: @@ -150,7 +143,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -160,13 +153,12 @@ interactions: ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecuritytest?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecuritytest","type":"Microsoft.Cdn/profiles","name":"profilesecuritytest","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"1a1226e3-3a50-49d7-a291-eef4658cfbf6","resourceState":"Active","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecuritytest","type":"Microsoft.Cdn/profiles","name":"profilesecuritytest","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"7dda964b-5654-4076-8e4d-2855398a70d4","resourceState":"Active","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -175,7 +167,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:57 GMT + - Fri, 02 Apr 2021 10:24:47 GMT expires: - '-1' pragma: @@ -191,7 +183,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '48' + - '49' status: code: 200 message: OK @@ -209,10 +201,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecuritytest/securityPolicies?api-version=2020-09-01 response: @@ -226,7 +215,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:59 GMT + - Fri, 02 Apr 2021 10:24:49 GMT expires: - '-1' pragma: @@ -259,14 +248,11 @@ interactions: Content-Length: - '102' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --endpoint-name --profile-name --origin-response-timeout-seconds --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecuritytest/afdEndpoints/endpoint1000002?api-version=2020-09-01 response: @@ -274,7 +260,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecuritytest/afdEndpoints/endpoint1000002","type":"Microsoft.Cdn/profiles/afdendpoints","name":"endpoint1000002","location":"Global","tags":{},"properties":{"hostName":"endpoint1000002.z01.azurefd.net","originResponseTimeoutSeconds":100,"enabledState":"Enabled","provisioningState":"Creating","deploymentStatus":"NotStarted"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/64033e6f-e7ad-4be8-b9f5-24c91062efab?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/989043c7-5168-4a9d-9c2d-aac84eea333a?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -282,7 +268,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:03 GMT + - Fri, 02 Apr 2021 10:24:56 GMT expires: - '-1' pragma: @@ -294,7 +280,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '98' + - '99' status: code: 201 message: Created @@ -302,7 +288,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -312,10 +298,9 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name --origin-response-timeout-seconds --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/64033e6f-e7ad-4be8-b9f5-24c91062efab?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/989043c7-5168-4a9d-9c2d-aac84eea333a?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -327,7 +312,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:14 GMT + - Fri, 02 Apr 2021 10:25:07 GMT expires: - '-1' pragma: @@ -349,7 +334,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -359,8 +344,7 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name --origin-response-timeout-seconds --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecuritytest/afdEndpoints/endpoint1000002?api-version=2020-09-01 response: @@ -374,7 +358,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:14 GMT + - Fri, 02 Apr 2021 10:25:07 GMT expires: - '-1' pragma: @@ -390,7 +374,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '48' + - '49' status: code: 200 message: OK @@ -409,14 +393,11 @@ interactions: Content-Length: - '102' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --endpoint-name --profile-name --origin-response-timeout-seconds --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecuritytest/afdEndpoints/endpoint2000003?api-version=2020-09-01 response: @@ -424,7 +405,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecuritytest/afdEndpoints/endpoint2000003","type":"Microsoft.Cdn/profiles/afdendpoints","name":"endpoint2000003","location":"Global","tags":{},"properties":{"hostName":"endpoint2000003.z01.azurefd.net","originResponseTimeoutSeconds":100,"enabledState":"Enabled","provisioningState":"Creating","deploymentStatus":"NotStarted"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/70381535-866c-4635-8ff0-35e3545907ef?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/ee202b73-4018-4c60-8aa1-0f73777a2e41?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -432,7 +413,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:22 GMT + - Fri, 02 Apr 2021 10:25:14 GMT expires: - '-1' pragma: @@ -444,7 +425,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '99' + - '98' status: code: 201 message: Created @@ -452,7 +433,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -462,10 +443,9 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name --origin-response-timeout-seconds --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/70381535-866c-4635-8ff0-35e3545907ef?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/ee202b73-4018-4c60-8aa1-0f73777a2e41?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -477,7 +457,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:31 GMT + - Fri, 02 Apr 2021 10:25:25 GMT expires: - '-1' pragma: @@ -499,7 +479,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -509,8 +489,7 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name --origin-response-timeout-seconds --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecuritytest/afdEndpoints/endpoint2000003?api-version=2020-09-01 response: @@ -524,7 +503,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:33 GMT + - Fri, 02 Apr 2021 10:25:26 GMT expires: - '-1' pragma: @@ -540,7 +519,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '48' + - '47' status: code: 200 message: OK @@ -562,14 +541,11 @@ interactions: Content-Length: - '810' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --security-policy-name --waf-policy --domains User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecuritytest/securityPolicies/security000004?api-version=2020-09-01 response: @@ -577,7 +553,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecuritytest/securitypolicies/security000004","type":"Microsoft.Cdn/profiles/securityPolicies","name":"security000004","properties":{"parameters":{"wafPolicy":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/CliDevReservedGroup/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/SampleStandard"},"associations":[{"domains":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecuritytest/afdEndpoints/endpoint1000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecuritytest/afdEndpoints/endpoint2000003"}],"patternsToMatch":["/*"]}],"type":"WebApplicationFirewall"},"deploymentStatus":"NotStarted","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/34bdbb5f-bb52-43bc-ac2a-ea996aa57551?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/41408b70-7bdd-4a7e-ad58-ac7731c53482?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -585,7 +561,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:35 GMT + - Fri, 02 Apr 2021 10:25:28 GMT expires: - '-1' pragma: @@ -605,7 +581,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -615,57 +591,9 @@ interactions: ParameterSetName: - -g --profile-name --security-policy-name --waf-policy --domains User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/34bdbb5f-bb52-43bc-ac2a-ea996aa57551?api-version=2020-09-01 - response: - body: - string: '{"status":"InProgress","error":{"code":"None","message":null}}' - headers: - cache-control: - - no-cache - content-length: - - '62' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 19 Feb 2021 11:49:45 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - afd security-policy create - Connection: - - keep-alive - ParameterSetName: - - -g --profile-name --security-policy-name --waf-policy --domains - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/34bdbb5f-bb52-43bc-ac2a-ea996aa57551?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/41408b70-7bdd-4a7e-ad58-ac7731c53482?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -677,7 +605,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:16 GMT + - Fri, 02 Apr 2021 10:25:39 GMT expires: - '-1' pragma: @@ -699,7 +627,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -709,8 +637,7 @@ interactions: ParameterSetName: - -g --profile-name --security-policy-name --waf-policy --domains User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecuritytest/securityPolicies/security000004?api-version=2020-09-01 response: @@ -724,7 +651,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:16 GMT + - Fri, 02 Apr 2021 10:25:40 GMT expires: - '-1' pragma: @@ -756,10 +683,7 @@ interactions: ParameterSetName: - -g --profile-name --security-policy-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecuritytest/securityPolicies/security000004?api-version=2020-09-01 response: @@ -773,7 +697,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:18 GMT + - Fri, 02 Apr 2021 10:25:41 GMT expires: - '-1' pragma: @@ -805,10 +729,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecuritytest/securityPolicies?api-version=2020-09-01 response: @@ -822,7 +743,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:18 GMT + - Fri, 02 Apr 2021 10:25:42 GMT expires: - '-1' pragma: @@ -854,10 +775,7 @@ interactions: ParameterSetName: - -g --profile-name --security-policy-name --domains --waf-policy User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecuritytest/securityPolicies/security000004?api-version=2020-09-01 response: @@ -871,7 +789,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:19 GMT + - Fri, 02 Apr 2021 10:25:43 GMT expires: - '-1' pragma: @@ -906,14 +824,11 @@ interactions: Content-Length: - '565' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --security-policy-name --domains --waf-policy User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecuritytest/securityPolicies/security000004?api-version=2020-09-01 response: @@ -921,7 +836,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecuritytest/securitypolicies/security000004","type":"Microsoft.Cdn/profiles/securityPolicies","name":"security000004","properties":{"parameters":{"wafPolicy":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/CliDevReservedGroup/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/SampleStandard"},"associations":[{"domains":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecuritytest/afdEndpoints/endpoint2000003"}],"patternsToMatch":["/*"]}],"type":"WebApplicationFirewall"},"deploymentStatus":"NotStarted","provisioningState":"Updating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/994deb38-108b-4394-9406-c9f2c580c796?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/7e8e00d8-124a-47d1-8365-dba8c2903eb0?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -929,11 +844,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:21 GMT + - Fri, 02 Apr 2021 10:25:45 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/994deb38-108b-4394-9406-c9f2c580c796/profileresults/profilesecuritytest/securitypolicyresults/security000004?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/7e8e00d8-124a-47d1-8365-dba8c2903eb0/profileresults/profilesecuritytest/securitypolicyresults/security000004?api-version=2020-09-01 pragma: - no-cache server: @@ -951,7 +866,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -961,10 +876,9 @@ interactions: ParameterSetName: - -g --profile-name --security-policy-name --domains --waf-policy User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/994deb38-108b-4394-9406-c9f2c580c796?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/7e8e00d8-124a-47d1-8365-dba8c2903eb0?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -976,7 +890,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:32 GMT + - Fri, 02 Apr 2021 10:25:55 GMT expires: - '-1' pragma: @@ -998,7 +912,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1008,8 +922,7 @@ interactions: ParameterSetName: - -g --profile-name --security-policy-name --domains --waf-policy User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecuritytest/securityPolicies/security000004?api-version=2020-09-01 response: @@ -1023,7 +936,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:32 GMT + - Fri, 02 Apr 2021 10:25:56 GMT expires: - '-1' pragma: @@ -1057,10 +970,7 @@ interactions: ParameterSetName: - -g --profile-name --security-policy-name --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecuritytest/securityPolicies/security000004?api-version=2020-09-01 response: @@ -1068,17 +978,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9ebebc4f-9526-4235-a320-08bf66269e7a?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/bc954c70-9c04-4edb-88bd-870d49d5010e?api-version=2020-09-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 19 Feb 2021 11:50:36 GMT + - Fri, 02 Apr 2021 10:25:59 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9ebebc4f-9526-4235-a320-08bf66269e7a/profileresults/profilesecuritytest/securitypolicyresults/security000004?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/bc954c70-9c04-4edb-88bd-870d49d5010e/profileresults/profilesecuritytest/securitypolicyresults/security000004?api-version=2020-09-01 pragma: - no-cache server: @@ -1096,7 +1006,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1106,10 +1016,9 @@ interactions: ParameterSetName: - -g --profile-name --security-policy-name --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9ebebc4f-9526-4235-a320-08bf66269e7a?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/bc954c70-9c04-4edb-88bd-870d49d5010e?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -1121,7 +1030,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:46 GMT + - Fri, 02 Apr 2021 10:26:09 GMT expires: - '-1' pragma: @@ -1143,7 +1052,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1153,10 +1062,9 @@ interactions: ParameterSetName: - -g --profile-name --security-policy-name --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9ebebc4f-9526-4235-a320-08bf66269e7a?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/bc954c70-9c04-4edb-88bd-870d49d5010e?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -1168,7 +1076,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:17 GMT + - Fri, 02 Apr 2021 10:26:39 GMT expires: - '-1' pragma: @@ -1200,10 +1108,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profilesecuritytest/securityPolicies?api-version=2020-09-01 response: @@ -1217,7 +1122,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:19 GMT + - Fri, 02 Apr 2021 10:26:40 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_waf_log_analytic.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_waf_log_analytic.yaml index 24d1c1aaf1c..2b42ab1caf4 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_waf_log_analytic.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_afd_waf_log_analytic.yaml @@ -13,22 +13,19 @@ interactions: Content-Length: - '65' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123","type":"Microsoft.Cdn/profiles","name":"profile123","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Premium_AzureFrontDoor"},"properties":{"frontDoorId":"c0ec0c99-f5b2-4940-849b-d156eb392f32","resourceState":"Creating","provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123","type":"Microsoft.Cdn/profiles","name":"profile123","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Premium_AzureFrontDoor"},"properties":{"frontDoorId":"ea9c06ac-cbeb-4336-a1ed-c4d8337a4a57","resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/f0de1147-11ff-4d5c-a538-a0256caff7eb?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a33ce260-b452-476a-a045-28b44f5eaa32?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -36,7 +33,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:46:43 GMT + - Fri, 02 Apr 2021 10:22:35 GMT expires: - '-1' pragma: @@ -48,7 +45,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '22' + - '24' status: code: 201 message: Created @@ -56,54 +53,7 @@ interactions: body: null headers: Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - afd profile create - Connection: - - keep-alive - ParameterSetName: - - -g --profile-name --sku - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/f0de1147-11ff-4d5c-a538-a0256caff7eb?api-version=2020-09-01 - response: - body: - string: '{"status":"InProgress","error":{"code":"None","message":null}}' - headers: - cache-control: - - no-cache - content-length: - - '62' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 19 Feb 2021 11:46:53 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -113,10 +63,9 @@ interactions: ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/f0de1147-11ff-4d5c-a538-a0256caff7eb?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a33ce260-b452-476a-a045-28b44f5eaa32?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -128,7 +77,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:23 GMT + - Fri, 02 Apr 2021 10:22:46 GMT expires: - '-1' pragma: @@ -150,7 +99,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -160,13 +109,12 @@ interactions: ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123","type":"Microsoft.Cdn/profiles","name":"profile123","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Premium_AzureFrontDoor"},"properties":{"frontDoorId":"c0ec0c99-f5b2-4940-849b-d156eb392f32","resourceState":"Active","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123","type":"Microsoft.Cdn/profiles","name":"profile123","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Premium_AzureFrontDoor"},"properties":{"frontDoorId":"ea9c06ac-cbeb-4336-a1ed-c4d8337a4a57","resourceState":"Active","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -175,7 +123,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:24 GMT + - Fri, 02 Apr 2021 10:22:47 GMT expires: - '-1' pragma: @@ -210,14 +158,11 @@ interactions: Content-Length: - '102' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --endpoint-name --profile-name --origin-response-timeout-seconds --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/afdEndpoints/endpoint000002?api-version=2020-09-01 response: @@ -225,7 +170,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/afdEndpoints/endpoint000002","type":"Microsoft.Cdn/profiles/afdendpoints","name":"endpoint000002","location":"Global","tags":{},"properties":{"hostName":"endpoint000002.z01.azurefd.net","originResponseTimeoutSeconds":100,"enabledState":"Enabled","provisioningState":"Creating","deploymentStatus":"NotStarted"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/66406a53-0017-43ee-969b-66d9fde58e6f?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/c083eec1-5f01-4ae0-91e5-73c6b05069fc?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -233,7 +178,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:31 GMT + - Fri, 02 Apr 2021 10:22:54 GMT expires: - '-1' pragma: @@ -253,7 +198,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -263,10 +208,9 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name --origin-response-timeout-seconds --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/66406a53-0017-43ee-969b-66d9fde58e6f?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/c083eec1-5f01-4ae0-91e5-73c6b05069fc?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -278,7 +222,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:42 GMT + - Fri, 02 Apr 2021 10:23:04 GMT expires: - '-1' pragma: @@ -300,7 +244,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -310,8 +254,7 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name --origin-response-timeout-seconds --enabled-state User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/afdEndpoints/endpoint000002?api-version=2020-09-01 response: @@ -325,7 +268,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:42 GMT + - Fri, 02 Apr 2021 10:23:04 GMT expires: - '-1' pragma: @@ -360,15 +303,12 @@ interactions: - -g --profile-name --metrics --date-time-begin --date-time-end --granularity --rule-types User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/getWafLogAnalyticsMetrics?api-version=2020-09-01&metrics=clientRequestCount&dateTimeBegin=2021-02-19T11%3A47%3A45.000Z&dateTimeEnd=2021-02-19T11%3A52%3A45.000Z&granularity=PT5M&ruleTypes=managed + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/getWafLogAnalyticsMetrics?api-version=2020-09-01&metrics=clientRequestCount&dateTimeBegin=2021-04-02T10%3A23%3A06.000Z&dateTimeEnd=2021-04-02T10%3A28%3A06.000Z&granularity=PT5M&ruleTypes=managed response: body: - string: '{"dateTimeBegin":"2021-02-19T11:47:45+00:00","dateTimeEnd":"2021-02-19T11:52:45+00:00","granularity":"PT5M","series":[{"metric":"clientRequestCount","unit":"count","groups":null,"data":[]}]}' + string: '{"dateTimeBegin":"2021-04-02T10:23:06+00:00","dateTimeEnd":"2021-04-02T10:28:06+00:00","granularity":"PT5M","series":[{"metric":"clientRequestCount","unit":"count","groups":null,"data":[]}]}' headers: cache-control: - no-cache @@ -377,7 +317,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:45 GMT + - Fri, 02 Apr 2021 10:23:07 GMT expires: - '-1' pragma: @@ -409,15 +349,12 @@ interactions: ParameterSetName: - -g --profile-name --metrics --date-time-begin --date-time-end --rankings --max-ranking User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/getWafLogAnalyticsRankings?api-version=2020-09-01&metrics=clientRequestCount&dateTimeBegin=2021-02-19T11%3A47%3A45.000Z&dateTimeEnd=2021-02-19T11%3A52%3A45.000Z&maxRanking=10&rankings=action + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/getWafLogAnalyticsRankings?api-version=2020-09-01&metrics=clientRequestCount&dateTimeBegin=2021-04-02T10%3A23%3A06.000Z&dateTimeEnd=2021-04-02T10%3A28%3A06.000Z&maxRanking=10&rankings=action response: body: - string: '{"dateTimeBegin":"2021-02-19T11:47:45+00:00","dateTimeEnd":"2021-02-19T11:52:45+00:00","groups":["action"],"data":[]}' + string: '{"dateTimeBegin":"2021-04-02T10:23:06+00:00","dateTimeEnd":"2021-04-02T10:28:06+00:00","groups":["action"],"data":[]}' headers: cache-control: - no-cache @@ -426,7 +363,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:46 GMT + - Fri, 02 Apr 2021 10:23:08 GMT expires: - '-1' pragma: @@ -460,10 +397,7 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/afdEndpoints/endpoint000002?api-version=2020-09-01 response: @@ -471,17 +405,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/113ea68c-4da6-4239-a53e-68ee5251def7?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2e5f5c91-5456-42fa-93af-dd8ed1f72e67?api-version=2020-09-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 19 Feb 2021 11:47:48 GMT + - Fri, 02 Apr 2021 10:23:10 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/113ea68c-4da6-4239-a53e-68ee5251def7/profileresults/profile123/afdendpointresults/endpoint000002?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2e5f5c91-5456-42fa-93af-dd8ed1f72e67/profileresults/profile123/afdendpointresults/endpoint000002?api-version=2020-09-01 pragma: - no-cache server: @@ -499,7 +433,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -509,10 +443,9 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/113ea68c-4da6-4239-a53e-68ee5251def7?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2e5f5c91-5456-42fa-93af-dd8ed1f72e67?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -524,7 +457,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:47:59 GMT + - Fri, 02 Apr 2021 10:23:20 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_custom_domain_byoc_latest.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_custom_domain_byoc_latest.yaml index c3f92636956..8e17590fa9b 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_custom_domain_byoc_latest.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_custom_domain_byoc_latest.yaml @@ -13,10 +13,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints?api-version=2020-09-01 response: @@ -32,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:30 GMT + - Fri, 02 Apr 2021 10:24:53 GMT expires: - '-1' pragma: @@ -60,15 +57,15 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T11:49:28Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:24:51Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -77,7 +74,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:31 GMT + - Fri, 02 Apr 2021 10:24:53 GMT expires: - '-1' pragma: @@ -105,14 +102,11 @@ interactions: Content-Length: - '61' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -120,7 +114,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123","type":"Microsoft.Cdn/profiles","name":"profile123","location":"WestUs","kind":"cdn","tags":{},"sku":{"name":"Standard_Microsoft"},"properties":{"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/70172179-7e5e-42f1-859f-8b7a8b7b49c5?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/c0b2aee9-d7e6-487e-9b3d-b8cf067874df?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -128,7 +122,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:35 GMT + - Fri, 02 Apr 2021 10:25:00 GMT expires: - '-1' pragma: @@ -140,7 +134,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '21' + - '24' status: code: 201 message: Created @@ -148,7 +142,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -158,10 +152,9 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/70172179-7e5e-42f1-859f-8b7a8b7b49c5?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/c0b2aee9-d7e6-487e-9b3d-b8cf067874df?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -173,7 +166,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:46 GMT + - Fri, 02 Apr 2021 10:25:10 GMT expires: - '-1' pragma: @@ -195,7 +188,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -205,10 +198,9 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/70172179-7e5e-42f1-859f-8b7a8b7b49c5?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/c0b2aee9-d7e6-487e-9b3d-b8cf067874df?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -220,7 +212,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:16 GMT + - Fri, 02 Apr 2021 10:25:41 GMT expires: - '-1' pragma: @@ -242,7 +234,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -252,8 +244,7 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -267,7 +258,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:16 GMT + - Fri, 02 Apr 2021 10:25:41 GMT expires: - '-1' pragma: @@ -283,7 +274,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '47' + - '49' status: code: 200 message: OK @@ -301,15 +292,15 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T11:49:28Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:24:51Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -318,7 +309,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:17 GMT + - Fri, 02 Apr 2021 10:25:42 GMT expires: - '-1' pragma: @@ -348,14 +339,11 @@ interactions: Content-Length: - '232' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-5?api-version=2020-09-01 response: @@ -363,7 +351,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-5","type":"Microsoft.Cdn/profiles/endpoints","name":"cdn-cli-test-5","location":"WestUs","tags":{},"properties":{"hostName":"cdn-cli-test-5.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.example.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":1,"weight":1000,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":null,"webApplicationFirewallPolicyLink":null,"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/e33bbbc8-18a0-40f1-860c-ad88e840fbcb?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/edfaeecd-8f0c-46eb-b5b0-7ac58071da98?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -371,7 +359,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:27 GMT + - Fri, 02 Apr 2021 10:25:53 GMT expires: - '-1' pragma: @@ -391,7 +379,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -401,10 +389,9 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/e33bbbc8-18a0-40f1-860c-ad88e840fbcb?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/edfaeecd-8f0c-46eb-b5b0-7ac58071da98?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -416,7 +403,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:38 GMT + - Fri, 02 Apr 2021 10:26:03 GMT expires: - '-1' pragma: @@ -438,7 +425,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -448,10 +435,9 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/e33bbbc8-18a0-40f1-860c-ad88e840fbcb?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/edfaeecd-8f0c-46eb-b5b0-7ac58071da98?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -463,7 +449,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:09 GMT + - Fri, 02 Apr 2021 10:26:33 GMT expires: - '-1' pragma: @@ -485,7 +471,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -495,8 +481,7 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-5?api-version=2020-09-01 response: @@ -510,7 +495,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:09 GMT + - Fri, 02 Apr 2021 10:26:33 GMT expires: - '-1' pragma: @@ -526,7 +511,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '48' + - '49' status: code: 200 message: OK @@ -544,15 +529,15 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name --hostname User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T11:49:28Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:24:51Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -561,7 +546,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:10 GMT + - Fri, 02 Apr 2021 10:26:34 GMT expires: - '-1' pragma: @@ -589,14 +574,11 @@ interactions: Content-Length: - '80' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --endpoint-name --profile-name --hostname User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-5/customDomains/customdomain000002?api-version=2020-09-01 response: @@ -604,7 +586,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-5/customdomains/customdomain000002","type":"Microsoft.Cdn/profiles/endpoints/customdomains","name":"customdomain000002","properties":{"hostName":"customdomain000002.cdn-cli-test-5.azfdtest.xyz","validationData":null,"resourceState":"Creating","customHttpsProvisioningState":"Disabled","customHttpsProvisioningSubstate":"None","customHttpsParameters":null,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/34931be5-7f58-43eb-b9fe-1b29bfb7b4b3?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b3948f34-28c3-40b6-b5e2-af46e4bb2cfd?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -612,7 +594,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:14 GMT + - Fri, 02 Apr 2021 10:26:37 GMT expires: - '-1' pragma: @@ -624,7 +606,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 201 message: Created @@ -632,7 +614,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -642,10 +624,9 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name --hostname User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/34931be5-7f58-43eb-b9fe-1b29bfb7b4b3?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b3948f34-28c3-40b6-b5e2-af46e4bb2cfd?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -657,7 +638,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:23 GMT + - Fri, 02 Apr 2021 10:26:47 GMT expires: - '-1' pragma: @@ -679,7 +660,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -689,10 +670,9 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name --hostname User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/34931be5-7f58-43eb-b9fe-1b29bfb7b4b3?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b3948f34-28c3-40b6-b5e2-af46e4bb2cfd?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -704,7 +684,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:55 GMT + - Fri, 02 Apr 2021 10:27:18 GMT expires: - '-1' pragma: @@ -726,7 +706,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -736,8 +716,7 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name --hostname User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-5/customDomains/customdomain000002?api-version=2020-09-01 response: @@ -751,7 +730,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:55 GMT + - Fri, 02 Apr 2021 10:27:19 GMT expires: - '-1' pragma: @@ -783,10 +762,7 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-5/customDomains/customdomain000002?api-version=2020-09-01 response: @@ -800,7 +776,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:57 GMT + - Fri, 02 Apr 2021 10:27:20 GMT expires: - '-1' pragma: @@ -828,7 +804,7 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-graphrbac/0.60.0 Azure-SDK-For-Python accept-language: - en-US @@ -866,19 +842,19 @@ interactions: dataserviceversion: - 3.0; date: - - Fri, 19 Feb 2021 11:51:59 GMT + - Fri, 02 Apr 2021 10:27:23 GMT duration: - - '889923' + - '945967' expires: - '-1' ocp-aad-diagnostics-server-name: - - GSLer+bmMzYs8KRP5LBwmPdWtXNObpJ+fdyPFxaIyEc= + - gS+frNo3rO6GSlO6IH51fz2c8D+WsOV3OT3jYQim89w= ocp-aad-session-key: - - zZT7tY_hrd4ra4uHJ-pKU2vPf_TorV8Y7FJD5asf__RrHQLpi5ab5GQq4gh2l4LCkgM7FwLSGC3dDVc8sdmj2GSsoypm1FJuwRh9p2ht_HajhVcaWkXZJs5f1N-VuDZc.2IU0aPiAETzc3ba2mCjpa9mqaSfDI9Z0HLur_B906Zo + - jzkonGS27933-0GrO6s6s0fXj6_R3U9gC1WCWHErCSiC8xpCEaxIuVdWWyhRt7XYUkVl9uOoKp_fbOLEL5p4BQHb2RMatawJE0zRfan96AoiRgKzbpLhAEGAL5wSgVH_.nwV95V989PZRH4VbuVaQZeBGfN9SpOM8om3m3OomBgU pragma: - no-cache request-id: - - 994c2f3c-c725-4d87-9bd9-ec40789859aa + - 5b94d2d4-e1f7-47f1-84a1-36955d4b3e14 strict-transport-security: - max-age=31536000; includeSubDomains x-aspnet-version: @@ -920,7 +896,7 @@ interactions: ParameterSetName: - --location --name -g User-Agent: - - AZURECLI/2.19.1 azsdk-python-azure-mgmt-keyvault/8.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.21.0 azsdk-python-azure-mgmt-keyvault/8.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/keyvault000003?api-version=2019-09-01 response: @@ -934,7 +910,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:52:05 GMT + - Fri, 02 Apr 2021 10:27:30 GMT expires: - '-1' pragma: @@ -952,7 +928,7 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.0.104.232 + - 1.1.248.2 x-ms-ratelimit-remaining-subscription-writes: - '1196' x-powered-by: @@ -974,7 +950,7 @@ interactions: ParameterSetName: - --location --name -g User-Agent: - - AZURECLI/2.19.1 azsdk-python-azure-mgmt-keyvault/8.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.21.0 azsdk-python-azure-mgmt-keyvault/8.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/keyvault000003?api-version=2019-09-01 response: @@ -988,7 +964,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:52:35 GMT + - Fri, 02 Apr 2021 10:28:00 GMT expires: - '-1' pragma: @@ -1006,7 +982,7 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.0.104.232 + - 1.1.248.2 x-powered-by: - ASP.NET status: @@ -1026,7 +1002,7 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-keyvault/7.0 Azure-SDK-For-Python accept-language: - en-US @@ -1044,7 +1020,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:52:38 GMT + - Fri, 02 Apr 2021 10:28:03 GMT expires: - '-1' pragma: @@ -1057,11 +1033,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=167.220.255.103;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=167.220.255.39;act_addr_fam=InterNetwork; x-ms-keyvault-region: - centralus x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -1087,7 +1063,7 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-keyvault/7.0 Azure-SDK-For-Python accept-language: - en-US @@ -1095,9 +1071,9 @@ interactions: uri: https://keyvault000003.vault.azure.net/certificates/cert000004/create?api-version=7.0 response: body: - string: '{"id":"https://keyvault000003.vault.azure.net/certificates/cert000004/pending","issuer":{"name":"Self"},"csr":"MIICrjCCAZYCAQAwHjEcMBoGA1UEAxMTQ0xJR2V0RGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKAO9CF7ce8WIxN0VLFSQktKhNGw4kdo0rIj8TaEZrksLWoG9Kg8L5PPadI6pux3riaE8ENNhkrms/M592edFeFB5o2k9NHBJ3r2MGrxMepq4Bp7ICCpmC/lnYBm1hjVEwVBL2j0N0S8JkfPnmvdyuZ3ZezEfUe8iK/E7p9S58KqsXjuWTN3doltIzJId5jcgsuKQeP4bpJLZOISJqrydavegJT8wvg75txKIuiB7qaEKBNc1qMN339255oKkxAdNEFDPUbTtE86GSW4nkU1+KKmwaXD1XzhUcFzgbPOrqOwuakmN/hJRB6aQTcn5UD5bi5PjoAZvaibOax3im51jqECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgG+MB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBwuKjMGpDlAD/xdK297yGV/H3cVSt3rP6C5pNBtopSrrPrZk1neA1SPlI0+yaQKVlvLs+LqQGJp+kgH3UE8bdKg3ezvhijqMN6aGK0878+gAxdQmMgVaYJ6/jn96OrrLY2X+Mqcau52/QLciiFDysaef2ybV5N8op2s9Hbn3wi3d9OamXt09ovOxwaKX2Htjf20tzDACxXQwYOJhzXFew/kDGJx8/BmjajWiIftwYYprQg6AuWvkrTA5X3AfAiDttj95v9b715UO4XiOQLHXmV8yrgnBssuP/Powhduhnp3xgjEQ8nrWWZx1SYQGvFyDhZlgC5svdte+DnF/6C7dtI","cancellation_requested":false,"status":"inProgress","status_details":"Pending + string: '{"id":"https://keyvault000003.vault.azure.net/certificates/cert000004/pending","issuer":{"name":"Self"},"csr":"MIICrjCCAZYCAQAwHjEcMBoGA1UEAxMTQ0xJR2V0RGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKNPqg5Q0ilvYkzqqJsL/gTVgh9x53q+wpV30K6yt0FVx0qo4nkXd3VZsu+FjOZD/JImX3LoTQV9L5uowDzfoXRVz3O/RqQLvEAe5WWiOOak3P1UR4EifHS5fd8+LXOHq6BJUJdZWZM8O8AwBiZKAhU4mpz1kxa8PIamNlDx9Ey6vA+rqHdyTafjkbb71k4NSOnnLJJvVKgpZdqc8RyNMecBD/JZCnVNFgRB8EwocHCjtIZR780XEqHNDD9nBs6TMxXxbC+sP9Ss/7wgXbE+UqQvSuxpebt4ogQqrmrQRr9P3jpggkUahGEESYgSw248fCgENtxYTwj0/AXjsS3wz00CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgG+MB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBB33aHEnxJzmXI63Pm0C0raLaJ7bY7pL451t/X/4XhsiDM7RI0E4qZ4fSTdwd/+UFqfE2MBry2dOpEfliR88g8psFdVeDGAkoyGS9Bi/7uqJ/IZBAmRjTqfSZ6SMMHbCc4g5f9d8NvLmjW24QUFHUOKD0WUvoUfaTlt+U87LMyE9aoKPOed3G/2gAItVjWBOVf7/Alc2aBs1olfQZu1XlHI6+qQe5Lfyh4RdbcFZecJhhQyoLwwlcrHzSFK1nt4m1y9Qdkzgd5QtAhDy9XXxNBXUaooNHlTews+5J4brxzCvu0Vst5LXZURvvIPZVw1/luImtZrjjyWS3I2kMQYDiQ","cancellation_requested":false,"status":"inProgress","status_details":"Pending certificate created. Certificate request is in progress. This may take some - time based on the issuer provider. Please check again later.","request_id":"c15a69d698194e8ca0cc87a9f5f90acf"}' + time based on the issuer provider. Please check again later.","request_id":"3bc6262a47dc470eaa80b06aaf825159"}' headers: cache-control: - no-cache @@ -1106,11 +1082,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:52:40 GMT + - Fri, 02 Apr 2021 10:28:06 GMT expires: - '-1' location: - - https://keyvault000003.vault.azure.net/certificates/cert000004/pending?api-version=7.0&request_id=c15a69d698194e8ca0cc87a9f5f90acf + - https://keyvault000003.vault.azure.net/certificates/cert000004/pending?api-version=7.0&request_id=3bc6262a47dc470eaa80b06aaf825159 pragma: - no-cache strict-transport-security: @@ -1118,11 +1094,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=167.220.255.103;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=167.220.255.39;act_addr_fam=InterNetwork; x-ms-keyvault-region: - centralus x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -1140,7 +1116,7 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-keyvault/7.0 Azure-SDK-For-Python accept-language: - en-US @@ -1148,9 +1124,9 @@ interactions: uri: https://keyvault000003.vault.azure.net/certificates/cert000004/pending?api-version=7.0 response: body: - string: '{"id":"https://keyvault000003.vault.azure.net/certificates/cert000004/pending","issuer":{"name":"Self"},"csr":"MIICrjCCAZYCAQAwHjEcMBoGA1UEAxMTQ0xJR2V0RGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKAO9CF7ce8WIxN0VLFSQktKhNGw4kdo0rIj8TaEZrksLWoG9Kg8L5PPadI6pux3riaE8ENNhkrms/M592edFeFB5o2k9NHBJ3r2MGrxMepq4Bp7ICCpmC/lnYBm1hjVEwVBL2j0N0S8JkfPnmvdyuZ3ZezEfUe8iK/E7p9S58KqsXjuWTN3doltIzJId5jcgsuKQeP4bpJLZOISJqrydavegJT8wvg75txKIuiB7qaEKBNc1qMN339255oKkxAdNEFDPUbTtE86GSW4nkU1+KKmwaXD1XzhUcFzgbPOrqOwuakmN/hJRB6aQTcn5UD5bi5PjoAZvaibOax3im51jqECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgG+MB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBwuKjMGpDlAD/xdK297yGV/H3cVSt3rP6C5pNBtopSrrPrZk1neA1SPlI0+yaQKVlvLs+LqQGJp+kgH3UE8bdKg3ezvhijqMN6aGK0878+gAxdQmMgVaYJ6/jn96OrrLY2X+Mqcau52/QLciiFDysaef2ybV5N8op2s9Hbn3wi3d9OamXt09ovOxwaKX2Htjf20tzDACxXQwYOJhzXFew/kDGJx8/BmjajWiIftwYYprQg6AuWvkrTA5X3AfAiDttj95v9b715UO4XiOQLHXmV8yrgnBssuP/Powhduhnp3xgjEQ8nrWWZx1SYQGvFyDhZlgC5svdte+DnF/6C7dtI","cancellation_requested":false,"status":"inProgress","status_details":"Pending + string: '{"id":"https://keyvault000003.vault.azure.net/certificates/cert000004/pending","issuer":{"name":"Self"},"csr":"MIICrjCCAZYCAQAwHjEcMBoGA1UEAxMTQ0xJR2V0RGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKNPqg5Q0ilvYkzqqJsL/gTVgh9x53q+wpV30K6yt0FVx0qo4nkXd3VZsu+FjOZD/JImX3LoTQV9L5uowDzfoXRVz3O/RqQLvEAe5WWiOOak3P1UR4EifHS5fd8+LXOHq6BJUJdZWZM8O8AwBiZKAhU4mpz1kxa8PIamNlDx9Ey6vA+rqHdyTafjkbb71k4NSOnnLJJvVKgpZdqc8RyNMecBD/JZCnVNFgRB8EwocHCjtIZR780XEqHNDD9nBs6TMxXxbC+sP9Ss/7wgXbE+UqQvSuxpebt4ogQqrmrQRr9P3jpggkUahGEESYgSw248fCgENtxYTwj0/AXjsS3wz00CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgG+MB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBB33aHEnxJzmXI63Pm0C0raLaJ7bY7pL451t/X/4XhsiDM7RI0E4qZ4fSTdwd/+UFqfE2MBry2dOpEfliR88g8psFdVeDGAkoyGS9Bi/7uqJ/IZBAmRjTqfSZ6SMMHbCc4g5f9d8NvLmjW24QUFHUOKD0WUvoUfaTlt+U87LMyE9aoKPOed3G/2gAItVjWBOVf7/Alc2aBs1olfQZu1XlHI6+qQe5Lfyh4RdbcFZecJhhQyoLwwlcrHzSFK1nt4m1y9Qdkzgd5QtAhDy9XXxNBXUaooNHlTews+5J4brxzCvu0Vst5LXZURvvIPZVw1/luImtZrjjyWS3I2kMQYDiQ","cancellation_requested":false,"status":"inProgress","status_details":"Pending certificate created. Certificate request is in progress. This may take some - time based on the issuer provider. Please check again later.","request_id":"c15a69d698194e8ca0cc87a9f5f90acf"}' + time based on the issuer provider. Please check again later.","request_id":"3bc6262a47dc470eaa80b06aaf825159"}' headers: cache-control: - no-cache @@ -1159,7 +1135,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:52:41 GMT + - Fri, 02 Apr 2021 10:28:07 GMT expires: - '-1' pragma: @@ -1169,11 +1145,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=167.220.255.103;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=167.220.255.39;act_addr_fam=InterNetwork; x-ms-keyvault-region: - centralus x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -1191,7 +1167,7 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-keyvault/7.0 Azure-SDK-For-Python accept-language: - en-US @@ -1199,7 +1175,58 @@ interactions: uri: https://keyvault000003.vault.azure.net/certificates/cert000004/pending?api-version=7.0 response: body: - string: '{"id":"https://keyvault000003.vault.azure.net/certificates/cert000004/pending","issuer":{"name":"Self"},"csr":"MIICrjCCAZYCAQAwHjEcMBoGA1UEAxMTQ0xJR2V0RGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKAO9CF7ce8WIxN0VLFSQktKhNGw4kdo0rIj8TaEZrksLWoG9Kg8L5PPadI6pux3riaE8ENNhkrms/M592edFeFB5o2k9NHBJ3r2MGrxMepq4Bp7ICCpmC/lnYBm1hjVEwVBL2j0N0S8JkfPnmvdyuZ3ZezEfUe8iK/E7p9S58KqsXjuWTN3doltIzJId5jcgsuKQeP4bpJLZOISJqrydavegJT8wvg75txKIuiB7qaEKBNc1qMN339255oKkxAdNEFDPUbTtE86GSW4nkU1+KKmwaXD1XzhUcFzgbPOrqOwuakmN/hJRB6aQTcn5UD5bi5PjoAZvaibOax3im51jqECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgG+MB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBwuKjMGpDlAD/xdK297yGV/H3cVSt3rP6C5pNBtopSrrPrZk1neA1SPlI0+yaQKVlvLs+LqQGJp+kgH3UE8bdKg3ezvhijqMN6aGK0878+gAxdQmMgVaYJ6/jn96OrrLY2X+Mqcau52/QLciiFDysaef2ybV5N8op2s9Hbn3wi3d9OamXt09ovOxwaKX2Htjf20tzDACxXQwYOJhzXFew/kDGJx8/BmjajWiIftwYYprQg6AuWvkrTA5X3AfAiDttj95v9b715UO4XiOQLHXmV8yrgnBssuP/Powhduhnp3xgjEQ8nrWWZx1SYQGvFyDhZlgC5svdte+DnF/6C7dtI","cancellation_requested":false,"status":"completed","target":"https://keyvault000003.vault.azure.net/certificates/cert000004","request_id":"c15a69d698194e8ca0cc87a9f5f90acf"}' + string: '{"id":"https://keyvault000003.vault.azure.net/certificates/cert000004/pending","issuer":{"name":"Self"},"csr":"MIICrjCCAZYCAQAwHjEcMBoGA1UEAxMTQ0xJR2V0RGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKNPqg5Q0ilvYkzqqJsL/gTVgh9x53q+wpV30K6yt0FVx0qo4nkXd3VZsu+FjOZD/JImX3LoTQV9L5uowDzfoXRVz3O/RqQLvEAe5WWiOOak3P1UR4EifHS5fd8+LXOHq6BJUJdZWZM8O8AwBiZKAhU4mpz1kxa8PIamNlDx9Ey6vA+rqHdyTafjkbb71k4NSOnnLJJvVKgpZdqc8RyNMecBD/JZCnVNFgRB8EwocHCjtIZR780XEqHNDD9nBs6TMxXxbC+sP9Ss/7wgXbE+UqQvSuxpebt4ogQqrmrQRr9P3jpggkUahGEESYgSw248fCgENtxYTwj0/AXjsS3wz00CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgG+MB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBB33aHEnxJzmXI63Pm0C0raLaJ7bY7pL451t/X/4XhsiDM7RI0E4qZ4fSTdwd/+UFqfE2MBry2dOpEfliR88g8psFdVeDGAkoyGS9Bi/7uqJ/IZBAmRjTqfSZ6SMMHbCc4g5f9d8NvLmjW24QUFHUOKD0WUvoUfaTlt+U87LMyE9aoKPOed3G/2gAItVjWBOVf7/Alc2aBs1olfQZu1XlHI6+qQe5Lfyh4RdbcFZecJhhQyoLwwlcrHzSFK1nt4m1y9Qdkzgd5QtAhDy9XXxNBXUaooNHlTews+5J4brxzCvu0Vst5LXZURvvIPZVw1/luImtZrjjyWS3I2kMQYDiQ","cancellation_requested":false,"status":"inProgress","status_details":"Pending + certificate created. Certificate request is in progress. This may take some + time based on the issuer provider. Please check again later.","request_id":"3bc6262a47dc470eaa80b06aaf825159"}' + headers: + cache-control: + - no-cache + content-length: + - '1314' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Apr 2021 10:28:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=167.220.255.39;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - centralus + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-keyvault/7.0 Azure-SDK-For-Python + accept-language: + - en-US + method: GET + uri: https://keyvault000003.vault.azure.net/certificates/cert000004/pending?api-version=7.0 + response: + body: + string: '{"id":"https://keyvault000003.vault.azure.net/certificates/cert000004/pending","issuer":{"name":"Self"},"csr":"MIICrjCCAZYCAQAwHjEcMBoGA1UEAxMTQ0xJR2V0RGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKNPqg5Q0ilvYkzqqJsL/gTVgh9x53q+wpV30K6yt0FVx0qo4nkXd3VZsu+FjOZD/JImX3LoTQV9L5uowDzfoXRVz3O/RqQLvEAe5WWiOOak3P1UR4EifHS5fd8+LXOHq6BJUJdZWZM8O8AwBiZKAhU4mpz1kxa8PIamNlDx9Ey6vA+rqHdyTafjkbb71k4NSOnnLJJvVKgpZdqc8RyNMecBD/JZCnVNFgRB8EwocHCjtIZR780XEqHNDD9nBs6TMxXxbC+sP9Ss/7wgXbE+UqQvSuxpebt4ogQqrmrQRr9P3jpggkUahGEESYgSw248fCgENtxYTwj0/AXjsS3wz00CAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgG+MB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBB33aHEnxJzmXI63Pm0C0raLaJ7bY7pL451t/X/4XhsiDM7RI0E4qZ4fSTdwd/+UFqfE2MBry2dOpEfliR88g8psFdVeDGAkoyGS9Bi/7uqJ/IZBAmRjTqfSZ6SMMHbCc4g5f9d8NvLmjW24QUFHUOKD0WUvoUfaTlt+U87LMyE9aoKPOed3G/2gAItVjWBOVf7/Alc2aBs1olfQZu1XlHI6+qQe5Lfyh4RdbcFZecJhhQyoLwwlcrHzSFK1nt4m1y9Qdkzgd5QtAhDy9XXxNBXUaooNHlTews+5J4brxzCvu0Vst5LXZURvvIPZVw1/luImtZrjjyWS3I2kMQYDiQ","cancellation_requested":false,"status":"completed","target":"https://keyvault000003.vault.azure.net/certificates/cert000004","request_id":"3bc6262a47dc470eaa80b06aaf825159"}' headers: cache-control: - no-cache @@ -1208,7 +1235,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:52:53 GMT + - Fri, 02 Apr 2021 10:28:30 GMT expires: - '-1' pragma: @@ -1218,11 +1245,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=167.220.255.103;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=167.220.255.39;act_addr_fam=InterNetwork; x-ms-keyvault-region: - centralus x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -1243,10 +1270,7 @@ interactions: - -g -n --endpoint-name --profile-name --user-cert-subscription-id --user-cert-group-name --user-cert-vault-name --user-cert-secret-name --user-cert-protocol-type User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -1260,7 +1284,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:52:54 GMT + - Fri, 02 Apr 2021 10:28:30 GMT expires: - '-1' pragma: @@ -1281,9 +1305,9 @@ interactions: code: 200 message: OK - request: - body: '{"protocolType": "ServerNameIndication", "certificateSource": "AzureKeyVault", + body: '{"certificateSource": "AzureKeyVault", "protocolType": "ServerNameIndication", "certificateSourceParameters": {"@odata.type": "#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters", - "subscriptionId": "d7cfdb98-c118-458d-8bdf-246be66b1f5e", "resourceGroupName": + "subscriptionId": "27cafca8-b9a4-4264-b399-45d0c9cca1ab", "resourceGroupName": "clitest.rg000001", "vaultName": "keyvault000003", "secretName": "cert000004", "updateRule": "NoAction", "deleteRule": "NoAction"}}' headers: @@ -1298,23 +1322,20 @@ interactions: Content-Length: - '478' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --endpoint-name --profile-name --user-cert-subscription-id --user-cert-group-name --user-cert-vault-name --user-cert-secret-name --user-cert-protocol-type User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-5/customDomains/customdomain000002/enableCustomHttps?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-5/customdomains/customdomain000002","type":"Microsoft.Cdn/profiles/endpoints/customdomains","name":"customdomain000002","properties":{"hostName":"customdomain000002.cdn-cli-test-5.azfdtest.xyz","validationData":null,"resourceState":"Active","customHttpsProvisioningState":"Enabling","customHttpsProvisioningSubstate":"ImportingUserProvidedCertificate","customHttpsParameters":{"certificateSource":"AzureKeyVault","certificateSourceParameters":{"subscriptionId":"d7cfdb98-c118-458d-8bdf-246be66b1f5e","resourceGroupName":"clitest.rg000001","vaultName":"keyvault000003","secretName":"cert000004","secretVersion":null,"updateRule":"NoAction","deleteRule":"NoAction","@odata.type":"#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters"},"protocolType":"ServerNameIndication","minimumTlsVersion":"TLS12"},"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-5/customdomains/customdomain000002","type":"Microsoft.Cdn/profiles/endpoints/customdomains","name":"customdomain000002","properties":{"hostName":"customdomain000002.cdn-cli-test-5.azfdtest.xyz","validationData":null,"resourceState":"Active","customHttpsProvisioningState":"Enabling","customHttpsProvisioningSubstate":"ImportingUserProvidedCertificate","customHttpsParameters":{"certificateSource":"AzureKeyVault","certificateSourceParameters":{"subscriptionId":"27cafca8-b9a4-4264-b399-45d0c9cca1ab","resourceGroupName":"clitest.rg000001","vaultName":"keyvault000003","secretName":"cert000004","secretVersion":null,"updateRule":"NoAction","deleteRule":"NoAction","@odata.type":"#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters"},"protocolType":"ServerNameIndication","minimumTlsVersion":"TLS12"},"provisioningState":"Succeeded"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/966669dc-8cdd-4a14-a5de-599e6c15ad5a?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/8c73a130-fe3b-4380-98b0-193923077e64?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -1322,11 +1343,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:52:56 GMT + - Fri, 02 Apr 2021 10:28:32 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/966669dc-8cdd-4a14-a5de-599e6c15ad5a/profileresults/profile123/endpointresults/cdn-cli-test-5/customdomainresults/customdomain000002?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/8c73a130-fe3b-4380-98b0-193923077e64/profileresults/profile123/endpointresults/cdn-cli-test-5/customdomainresults/customdomain000002?api-version=2020-09-01 pragma: - no-cache server: @@ -1355,15 +1376,12 @@ interactions: - -g -n --endpoint-name --profile-name --user-cert-subscription-id --user-cert-group-name --user-cert-vault-name --user-cert-secret-name --user-cert-protocol-type User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-5/customDomains/customdomain000002?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-5/customdomains/customdomain000002","type":"Microsoft.Cdn/profiles/endpoints/customdomains","name":"customdomain000002","properties":{"hostName":"customdomain000002.cdn-cli-test-5.azfdtest.xyz","validationData":null,"resourceState":"Active","customHttpsProvisioningState":"Enabling","customHttpsProvisioningSubstate":"ImportingUserProvidedCertificate","customHttpsParameters":{"certificateSource":"AzureKeyVault","certificateSourceParameters":{"subscriptionId":"d7cfdb98-c118-458d-8bdf-246be66b1f5e","resourceGroupName":"clitest.rg000001","vaultName":"keyvault000003","secretName":"cert000004","secretVersion":null,"updateRule":"NoAction","deleteRule":"NoAction","@odata.type":"#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters"},"protocolType":"ServerNameIndication","minimumTlsVersion":"TLS12"},"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-5/customdomains/customdomain000002","type":"Microsoft.Cdn/profiles/endpoints/customdomains","name":"customdomain000002","properties":{"hostName":"customdomain000002.cdn-cli-test-5.azfdtest.xyz","validationData":null,"resourceState":"Active","customHttpsProvisioningState":"Enabling","customHttpsProvisioningSubstate":"ImportingUserProvidedCertificate","customHttpsParameters":{"certificateSource":"AzureKeyVault","certificateSourceParameters":{"subscriptionId":"27cafca8-b9a4-4264-b399-45d0c9cca1ab","resourceGroupName":"clitest.rg000001","vaultName":"keyvault000003","secretName":"cert000004","secretVersion":null,"updateRule":"NoAction","deleteRule":"NoAction","@odata.type":"#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters"},"protocolType":"ServerNameIndication","minimumTlsVersion":"TLS12"},"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1372,7 +1390,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:52:57 GMT + - Fri, 02 Apr 2021 10:28:33 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_custom_domain_crud.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_custom_domain_crud.yaml index 90550d9478f..9bb7a454a4c 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_custom_domain_crud.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_custom_domain_crud.yaml @@ -13,26 +13,23 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/endpoints?api-version=2020-09-01 response: body: string: '{"error":{"code":"ParentResourceNotFound","message":"Can not perform - requested operation on nested resource. Parent resource ''profile123'' not - found."}}' + requested operation on nested resource. Parent resource ''profile000002'' + not found."}}' headers: cache-control: - no-cache content-length: - - '151' + - '165' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:48 GMT + - Fri, 02 Apr 2021 10:26:03 GMT expires: - '-1' pragma: @@ -60,15 +57,15 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T11:48:47Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:26:01Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -77,7 +74,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:48 GMT + - Fri, 02 Apr 2021 10:26:04 GMT expires: - '-1' pragma: @@ -105,30 +102,27 @@ interactions: Content-Length: - '58' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123","type":"Microsoft.Cdn/profiles","name":"profile123","location":"WestUs","kind":"cdn","tags":{},"sku":{"name":"Standard_Akamai"},"properties":{"resourceState":"Creating","provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"WestUs","kind":"cdn","tags":{},"sku":{"name":"Standard_Akamai"},"properties":{"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2dcf5f7e-89e1-4dc1-8dc9-fd64e4991f2e?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/6570ca28-50be-49fb-9968-eb7c4464ab0a?api-version=2020-09-01 cache-control: - no-cache content-length: - - '396' + - '424' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:53 GMT + - Fri, 02 Apr 2021 10:26:10 GMT expires: - '-1' pragma: @@ -140,7 +134,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '22' + - '23' status: code: 201 message: Created @@ -148,7 +142,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -158,10 +152,9 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2dcf5f7e-89e1-4dc1-8dc9-fd64e4991f2e?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/6570ca28-50be-49fb-9968-eb7c4464ab0a?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -173,7 +166,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:03 GMT + - Fri, 02 Apr 2021 10:26:20 GMT expires: - '-1' pragma: @@ -195,7 +188,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -205,22 +198,21 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123","type":"Microsoft.Cdn/profiles","name":"profile123","location":"WestUs","kind":"cdn","tags":{},"sku":{"name":"Standard_Akamai"},"properties":{"resourceState":"Active","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"WestUs","kind":"cdn","tags":{},"sku":{"name":"Standard_Akamai"},"properties":{"resourceState":"Active","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '395' + - '423' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:03 GMT + - Fri, 02 Apr 2021 10:26:20 GMT expires: - '-1' pragma: @@ -236,7 +228,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '45' + - '48' status: code: 200 message: OK @@ -254,15 +246,15 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T11:48:47Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:26:01Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -271,7 +263,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:04 GMT + - Fri, 02 Apr 2021 10:26:21 GMT expires: - '-1' pragma: @@ -301,30 +293,27 @@ interactions: Content-Length: - '232' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/endpoints/cdn-cli-test?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test","type":"Microsoft.Cdn/profiles/endpoints","name":"cdn-cli-test","location":"WestUs","tags":{},"properties":{"hostName":"cdn-cli-test.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.example.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":null,"weight":null,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":null,"webApplicationFirewallPolicyLink":null,"resourceState":"Creating","provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/endpoints/cdn-cli-test","type":"Microsoft.Cdn/profiles/endpoints","name":"cdn-cli-test","location":"WestUs","tags":{},"properties":{"hostName":"cdn-cli-test.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.example.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":null,"weight":null,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":null,"webApplicationFirewallPolicyLink":null,"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/d9622f93-41f3-4c78-b0d4-aa36ec0128c9?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/67bb6c6c-8e58-4842-b16f-2c568d7dc5f6?api-version=2020-09-01 cache-control: - no-cache content-length: - - '1138' + - '1152' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:11 GMT + - Fri, 02 Apr 2021 10:26:29 GMT expires: - '-1' pragma: @@ -344,7 +333,53 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cdn endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --profile-name --origin + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/67bb6c6c-8e58-4842-b16f-2c568d7dc5f6?api-version=2020-09-01 + response: + body: + string: '{"status":"InProgress","error":{"code":"None","message":null}}' + headers: + cache-control: + - no-cache + content-length: + - '62' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Apr 2021 10:26:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -354,10 +389,9 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/d9622f93-41f3-4c78-b0d4-aa36ec0128c9?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/67bb6c6c-8e58-4842-b16f-2c568d7dc5f6?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -369,7 +403,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:22 GMT + - Fri, 02 Apr 2021 10:27:10 GMT expires: - '-1' pragma: @@ -391,7 +425,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -401,22 +435,21 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/endpoints/cdn-cli-test?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test","type":"Microsoft.Cdn/profiles/endpoints","name":"cdn-cli-test","location":"WestUs","tags":{},"properties":{"hostName":"cdn-cli-test.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.example.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":null,"weight":null,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":[],"webApplicationFirewallPolicyLink":null,"resourceState":"Running","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/endpoints/cdn-cli-test","type":"Microsoft.Cdn/profiles/endpoints","name":"cdn-cli-test","location":"WestUs","tags":{},"properties":{"hostName":"cdn-cli-test.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.example.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":null,"weight":null,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":[],"webApplicationFirewallPolicyLink":null,"resourceState":"Running","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '1136' + - '1150' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:22 GMT + - Fri, 02 Apr 2021 10:27:11 GMT expires: - '-1' pragma: @@ -450,12 +483,9 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test/customDomains?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/endpoints/cdn-cli-test/customDomains?api-version=2020-09-01 response: body: string: '{"value":[]}' @@ -467,7 +497,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:24 GMT + - Fri, 02 Apr 2021 10:27:12 GMT expires: - '-1' pragma: @@ -499,15 +529,15 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name --hostname User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T11:48:47Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:26:01Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -516,7 +546,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:24 GMT + - Fri, 02 Apr 2021 10:27:12 GMT expires: - '-1' pragma: @@ -531,7 +561,7 @@ interactions: code: 200 message: OK - request: - body: '{"properties": {"hostName": "customdomain000002.cdn-cli-test.azfdtest.xyz"}}' + body: '{"properties": {"hostName": "customdomain000003.cdn-cli-test.azfdtest.xyz"}}' headers: Accept: - application/json @@ -544,30 +574,27 @@ interactions: Content-Length: - '78' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --endpoint-name --profile-name --hostname User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test/customDomains/customdomain000002?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/endpoints/cdn-cli-test/customDomains/customdomain000003?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test/customdomains/customdomain000002","type":"Microsoft.Cdn/profiles/endpoints/customdomains","name":"customdomain000002","properties":{"hostName":"customdomain000002.cdn-cli-test.azfdtest.xyz","validationData":null,"resourceState":"Creating","customHttpsProvisioningState":"Disabled","customHttpsProvisioningSubstate":"None","customHttpsParameters":null,"provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/endpoints/cdn-cli-test/customdomains/customdomain000003","type":"Microsoft.Cdn/profiles/endpoints/customdomains","name":"customdomain000003","properties":{"hostName":"customdomain000003.cdn-cli-test.azfdtest.xyz","validationData":null,"resourceState":"Creating","customHttpsProvisioningState":"Disabled","customHttpsProvisioningSubstate":"None","customHttpsParameters":null,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/4b15c17f-1a67-4894-96be-277d1f5202ab?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/799133d4-798b-4705-ae14-60bd170daf0f?api-version=2020-09-01 cache-control: - no-cache content-length: - - '606' + - '620' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:27 GMT + - Fri, 02 Apr 2021 10:27:15 GMT expires: - '-1' pragma: @@ -579,7 +606,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1198' status: code: 201 message: Created @@ -587,7 +614,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -597,10 +624,9 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name --hostname User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/4b15c17f-1a67-4894-96be-277d1f5202ab?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/799133d4-798b-4705-ae14-60bd170daf0f?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -612,7 +638,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:37 GMT + - Fri, 02 Apr 2021 10:27:25 GMT expires: - '-1' pragma: @@ -634,7 +660,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -644,10 +670,9 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name --hostname User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/4b15c17f-1a67-4894-96be-277d1f5202ab?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/799133d4-798b-4705-ae14-60bd170daf0f?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -659,7 +684,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:08 GMT + - Fri, 02 Apr 2021 10:27:56 GMT expires: - '-1' pragma: @@ -681,7 +706,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -691,22 +716,21 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name --hostname User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test/customDomains/customdomain000002?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/endpoints/cdn-cli-test/customDomains/customdomain000003?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test/customdomains/customdomain000002","type":"Microsoft.Cdn/profiles/endpoints/customdomains","name":"customdomain000002","properties":{"hostName":"customdomain000002.cdn-cli-test.azfdtest.xyz","validationData":null,"resourceState":"Active","customHttpsProvisioningState":"Disabled","customHttpsProvisioningSubstate":"None","customHttpsParameters":null,"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/endpoints/cdn-cli-test/customdomains/customdomain000003","type":"Microsoft.Cdn/profiles/endpoints/customdomains","name":"customdomain000003","properties":{"hostName":"customdomain000003.cdn-cli-test.azfdtest.xyz","validationData":null,"resourceState":"Active","customHttpsProvisioningState":"Disabled","customHttpsProvisioningSubstate":"None","customHttpsParameters":null,"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '605' + - '619' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:09 GMT + - Fri, 02 Apr 2021 10:27:57 GMT expires: - '-1' pragma: @@ -738,24 +762,21 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test/customDomains?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/endpoints/cdn-cli-test/customDomains?api-version=2020-09-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test/customdomains/customdomain000002","type":"Microsoft.Cdn/profiles/endpoints/customdomains","name":"customdomain000002","properties":{"hostName":"customdomain000002.cdn-cli-test.azfdtest.xyz","validationData":null,"resourceState":"Active","customHttpsProvisioningState":"Disabled","customHttpsProvisioningSubstate":"None","customHttpsParameters":null,"provisioningState":"Succeeded"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/endpoints/cdn-cli-test/customdomains/customdomain000003","type":"Microsoft.Cdn/profiles/endpoints/customdomains","name":"customdomain000003","properties":{"hostName":"customdomain000003.cdn-cli-test.azfdtest.xyz","validationData":null,"resourceState":"Active","customHttpsProvisioningState":"Disabled","customHttpsProvisioningSubstate":"None","customHttpsParameters":null,"provisioningState":"Succeeded"}}]}' headers: cache-control: - no-cache content-length: - - '617' + - '631' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:10 GMT + - Fri, 02 Apr 2021 10:27:58 GMT expires: - '-1' pragma: @@ -789,28 +810,25 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test/customDomains/customdomain000002?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/endpoints/cdn-cli-test/customDomains/customdomain000003?api-version=2020-09-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/4dbefe40-26e0-4987-878e-4969748d9f03?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/43345957-9ce9-4648-a106-82b097a3b0d2?api-version=2020-09-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 19 Feb 2021 11:50:11 GMT + - Fri, 02 Apr 2021 10:28:00 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/4dbefe40-26e0-4987-878e-4969748d9f03/profileresults/profile123/endpointresults/cdn-cli-test/customdomainresults/customdomain000002?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/43345957-9ce9-4648-a106-82b097a3b0d2/profileresults/profile000002/endpointresults/cdn-cli-test/customdomainresults/customdomain000003?api-version=2020-09-01 pragma: - no-cache server: @@ -820,7 +838,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14996' + - '14998' status: code: 202 message: Accepted @@ -828,7 +846,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -838,57 +856,9 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/4dbefe40-26e0-4987-878e-4969748d9f03?api-version=2020-09-01 - response: - body: - string: '{"status":"InProgress","error":{"code":"None","message":null}}' - headers: - cache-control: - - no-cache - content-length: - - '62' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 19 Feb 2021 11:50:23 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - cdn custom-domain delete - Connection: - - keep-alive - ParameterSetName: - - -g -n --endpoint-name --profile-name - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/4dbefe40-26e0-4987-878e-4969748d9f03?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/43345957-9ce9-4648-a106-82b097a3b0d2?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -900,7 +870,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:53 GMT + - Fri, 02 Apr 2021 10:28:10 GMT expires: - '-1' pragma: @@ -932,12 +902,9 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test/customDomains?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/endpoints/cdn-cli-test/customDomains?api-version=2020-09-01 response: body: string: '{"value":[]}' @@ -949,7 +916,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:55 GMT + - Fri, 02 Apr 2021 10:28:12 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_custom_domain_errors.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_custom_domain_errors.yaml index 00a994a6753..6476801511c 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_custom_domain_errors.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_custom_domain_errors.yaml @@ -13,15 +13,15 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001","name":"cli_test_cdn_domain000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T11:48:35Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001","name":"cli_test_cdn_domain000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:24:22Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:37 GMT + - Fri, 02 Apr 2021 10:24:24 GMT expires: - '-1' pragma: @@ -58,14 +58,11 @@ interactions: Content-Length: - '58' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/cdnprofile1?api-version=2020-09-01 response: @@ -73,7 +70,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/cdnprofile1","type":"Microsoft.Cdn/profiles","name":"cdnprofile1","location":"WestUs","kind":"cdn","tags":{},"sku":{"name":"Standard_Akamai"},"properties":{"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/c700827f-9f48-49c7-8774-a90fb5a05885?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/ce306762-9b2f-45a8-9327-f21deae7e5b4?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -81,7 +78,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:44 GMT + - Fri, 02 Apr 2021 10:24:30 GMT expires: - '-1' pragma: @@ -101,7 +98,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -111,10 +108,9 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/c700827f-9f48-49c7-8774-a90fb5a05885?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/ce306762-9b2f-45a8-9327-f21deae7e5b4?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -126,7 +122,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:55 GMT + - Fri, 02 Apr 2021 10:24:40 GMT expires: - '-1' pragma: @@ -148,7 +144,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -158,8 +154,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/cdnprofile1?api-version=2020-09-01 response: @@ -173,7 +168,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:55 GMT + - Fri, 02 Apr 2021 10:24:40 GMT expires: - '-1' pragma: @@ -189,7 +184,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '49' + - '48' status: code: 200 message: OK @@ -207,15 +202,15 @@ interactions: ParameterSetName: - -g --origin --profile-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001","name":"cli_test_cdn_domain000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T11:48:35Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001","name":"cli_test_cdn_domain000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:24:22Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -224,7 +219,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:56 GMT + - Fri, 02 Apr 2021 10:24:41 GMT expires: - '-1' pragma: @@ -254,14 +249,11 @@ interactions: Content-Length: - '229' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --origin --profile-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/cdnprofile1/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -269,7 +261,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/cdnprofile1/endpoints/endpoint000002","type":"Microsoft.Cdn/profiles/endpoints","name":"endpoint000002","location":"WestUs","tags":{},"properties":{"hostName":"endpoint000002.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.test.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":null,"weight":null,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":null,"webApplicationFirewallPolicyLink":null,"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/4688bc08-7c65-40f1-aaba-ac447a4056c5?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/894a2cfb-10b9-4396-9c82-963ae53e1d40?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -277,7 +269,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:04 GMT + - Fri, 02 Apr 2021 10:24:49 GMT expires: - '-1' pragma: @@ -297,7 +289,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -307,10 +299,9 @@ interactions: ParameterSetName: - -g --origin --profile-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/4688bc08-7c65-40f1-aaba-ac447a4056c5?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/894a2cfb-10b9-4396-9c82-963ae53e1d40?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -322,7 +313,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:15 GMT + - Fri, 02 Apr 2021 10:24:59 GMT expires: - '-1' pragma: @@ -344,7 +335,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -354,10 +345,9 @@ interactions: ParameterSetName: - -g --origin --profile-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/4688bc08-7c65-40f1-aaba-ac447a4056c5?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/894a2cfb-10b9-4396-9c82-963ae53e1d40?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -369,7 +359,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:45 GMT + - Fri, 02 Apr 2021 10:25:29 GMT expires: - '-1' pragma: @@ -391,7 +381,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -401,8 +391,7 @@ interactions: ParameterSetName: - -g --origin --profile-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/cdnprofile1/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -416,7 +405,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:46 GMT + - Fri, 02 Apr 2021 10:25:30 GMT expires: - '-1' pragma: @@ -450,10 +439,7 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/cdnprofile1/endpoints/endpoint000002/customDomains?api-version=2020-09-01 response: @@ -467,7 +453,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:47 GMT + - Fri, 02 Apr 2021 10:25:31 GMT expires: - '-1' pragma: @@ -499,15 +485,15 @@ interactions: ParameterSetName: - -g --endpoint-name --hostname --profile-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001","name":"cli_test_cdn_domain000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T11:48:35Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001","name":"cli_test_cdn_domain000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:24:22Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -516,7 +502,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:48 GMT + - Fri, 02 Apr 2021 10:25:32 GMT expires: - '-1' pragma: @@ -544,14 +530,11 @@ interactions: Content-Length: - '47' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --endpoint-name --hostname --profile-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/cdnprofile1/endpoints/endpoint000002/customDomains/customdomain1?api-version=2020-09-01 response: @@ -568,7 +551,7 @@ interactions: content-type: - application/json date: - - Fri, 19 Feb 2021 11:49:48 GMT + - Fri, 02 Apr 2021 10:25:33 GMT expires: - '-1' pragma: @@ -580,7 +563,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 400 message: Bad Request @@ -598,10 +581,7 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/cdnprofile1/endpoints/endpoint000002/customDomains/customdomain1?api-version=2020-09-01 response: @@ -616,7 +596,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:50 GMT + - Fri, 02 Apr 2021 10:25:35 GMT expires: - '-1' pragma: @@ -646,10 +626,7 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/cdnprofile1/endpoints/endpoint000002/customDomains/customdomain1?api-version=2020-09-01 response: @@ -659,7 +636,7 @@ interactions: cache-control: - no-cache date: - - Fri, 19 Feb 2021 11:49:51 GMT + - Fri, 02 Apr 2021 10:25:36 GMT expires: - '-1' pragma: @@ -689,10 +666,7 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/cdnprofile1?api-version=2020-09-01 response: @@ -706,7 +680,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:51 GMT + - Fri, 02 Apr 2021 10:25:36 GMT expires: - '-1' pragma: @@ -722,12 +696,12 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '47' + - '49' status: code: 200 message: OK - request: - body: '{"protocolType": "ServerNameIndication", "certificateSource": "Cdn", "certificateSourceParameters": + body: '{"certificateSource": "Cdn", "protocolType": "ServerNameIndication", "certificateSourceParameters": {"@odata.type": "#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters", "certificateType": "Shared"}}' headers: @@ -742,14 +716,11 @@ interactions: Content-Length: - '207' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --endpoint-name --profile-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/cdnprofile1/endpoints/endpoint000002/customDomains/customdomain1/enableCustomHttps?api-version=2020-09-01 response: @@ -764,7 +735,7 @@ interactions: content-type: - application/json date: - - Fri, 19 Feb 2021 11:49:51 GMT + - Fri, 02 Apr 2021 10:25:37 GMT expires: - '-1' pragma: @@ -776,7 +747,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 404 message: Not Found @@ -796,10 +767,7 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/cdnprofile1/endpoints/endpoint000002/customDomains/customdomain1/disableCustomHttps?api-version=2020-09-01 response: @@ -814,7 +782,7 @@ interactions: content-type: - application/json date: - - Fri, 19 Feb 2021 11:49:53 GMT + - Fri, 02 Apr 2021 10:25:38 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_custom_domain_https_akamai.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_custom_domain_https_akamai.yaml index 4c9cfb3e3af..0f26d6b3d09 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_custom_domain_https_akamai.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_custom_domain_https_akamai.yaml @@ -13,10 +13,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints?api-version=2020-09-01 response: @@ -32,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:52:15 GMT + - Fri, 02 Apr 2021 10:25:21 GMT expires: - '-1' pragma: @@ -60,15 +57,15 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T11:52:13Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:25:19Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -77,7 +74,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:52:16 GMT + - Fri, 02 Apr 2021 10:25:21 GMT expires: - '-1' pragma: @@ -105,14 +102,11 @@ interactions: Content-Length: - '58' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -120,7 +114,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123","type":"Microsoft.Cdn/profiles","name":"profile123","location":"WestUs","kind":"cdn","tags":{},"sku":{"name":"Standard_Akamai"},"properties":{"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/83f02315-4c44-49cf-a8f2-a6b79cd025e2?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9d6b89b3-1262-4848-882e-95db7df93df3?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -128,7 +122,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:52:24 GMT + - Fri, 02 Apr 2021 10:25:29 GMT expires: - '-1' pragma: @@ -140,7 +134,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '24' + - '23' status: code: 201 message: Created @@ -148,7 +142,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -158,10 +152,9 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/83f02315-4c44-49cf-a8f2-a6b79cd025e2?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9d6b89b3-1262-4848-882e-95db7df93df3?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -173,7 +166,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:52:35 GMT + - Fri, 02 Apr 2021 10:25:39 GMT expires: - '-1' pragma: @@ -195,7 +188,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -205,8 +198,7 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -220,7 +212,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:52:36 GMT + - Fri, 02 Apr 2021 10:25:40 GMT expires: - '-1' pragma: @@ -236,7 +228,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '47' + - '49' status: code: 200 message: OK @@ -254,15 +246,15 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T11:52:13Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:25:19Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -271,7 +263,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:52:36 GMT + - Fri, 02 Apr 2021 10:25:41 GMT expires: - '-1' pragma: @@ -301,14 +293,11 @@ interactions: Content-Length: - '232' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-2?api-version=2020-09-01 response: @@ -316,7 +305,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-2","type":"Microsoft.Cdn/profiles/endpoints","name":"cdn-cli-test-2","location":"WestUs","tags":{},"properties":{"hostName":"cdn-cli-test-2.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.example.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":null,"weight":null,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":null,"webApplicationFirewallPolicyLink":null,"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/410188d4-a101-4f0c-a977-9c93cffc0e26?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/944d7f91-5cc7-4935-a315-a5d695b295bc?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -324,7 +313,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:52:43 GMT + - Fri, 02 Apr 2021 10:25:50 GMT expires: - '-1' pragma: @@ -344,7 +333,53 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cdn endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --profile-name --origin + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/944d7f91-5cc7-4935-a315-a5d695b295bc?api-version=2020-09-01 + response: + body: + string: '{"status":"InProgress","error":{"code":"None","message":null}}' + headers: + cache-control: + - no-cache + content-length: + - '62' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Apr 2021 10:26:00 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -354,10 +389,9 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/410188d4-a101-4f0c-a977-9c93cffc0e26?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/944d7f91-5cc7-4935-a315-a5d695b295bc?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -369,7 +403,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:52:55 GMT + - Fri, 02 Apr 2021 10:26:31 GMT expires: - '-1' pragma: @@ -391,7 +425,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -401,8 +435,7 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-2?api-version=2020-09-01 response: @@ -416,7 +449,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:52:55 GMT + - Fri, 02 Apr 2021 10:26:32 GMT expires: - '-1' pragma: @@ -450,15 +483,15 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name --hostname User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T11:52:13Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:25:19Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -467,7 +500,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:52:56 GMT + - Fri, 02 Apr 2021 10:26:33 GMT expires: - '-1' pragma: @@ -495,14 +528,11 @@ interactions: Content-Length: - '80' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --endpoint-name --profile-name --hostname User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-2/customDomains/customdomain000002?api-version=2020-09-01 response: @@ -510,7 +540,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-2/customdomains/customdomain000002","type":"Microsoft.Cdn/profiles/endpoints/customdomains","name":"customdomain000002","properties":{"hostName":"customdomain000002.cdn-cli-test-2.azfdtest.xyz","validationData":null,"resourceState":"Creating","customHttpsProvisioningState":"Disabled","customHttpsProvisioningSubstate":"None","customHttpsParameters":null,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/f45fff09-5dc6-4c02-8a00-8bf560d4ed9a?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/7c8a762a-c689-4daa-b572-c6774f0648ee?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -518,7 +548,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:52:58 GMT + - Fri, 02 Apr 2021 10:26:36 GMT expires: - '-1' pragma: @@ -530,7 +560,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 201 message: Created @@ -538,7 +568,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -548,10 +578,9 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name --hostname User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/f45fff09-5dc6-4c02-8a00-8bf560d4ed9a?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/7c8a762a-c689-4daa-b572-c6774f0648ee?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -563,7 +592,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:08 GMT + - Fri, 02 Apr 2021 10:26:46 GMT expires: - '-1' pragma: @@ -585,7 +614,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -595,10 +624,9 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name --hostname User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/f45fff09-5dc6-4c02-8a00-8bf560d4ed9a?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/7c8a762a-c689-4daa-b572-c6774f0648ee?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -610,7 +638,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:39 GMT + - Fri, 02 Apr 2021 10:27:16 GMT expires: - '-1' pragma: @@ -632,7 +660,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -642,8 +670,7 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name --hostname User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-2/customDomains/customdomain000002?api-version=2020-09-01 response: @@ -657,7 +684,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:39 GMT + - Fri, 02 Apr 2021 10:27:17 GMT expires: - '-1' pragma: @@ -689,10 +716,7 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-2/customDomains/customdomain000002?api-version=2020-09-01 response: @@ -706,7 +730,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:42 GMT + - Fri, 02 Apr 2021 10:27:20 GMT expires: - '-1' pragma: @@ -738,10 +762,7 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -755,7 +776,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:43 GMT + - Fri, 02 Apr 2021 10:27:20 GMT expires: - '-1' pragma: @@ -771,12 +792,12 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '48' + - '47' status: code: 200 message: OK - request: - body: '{"protocolType": "ServerNameIndication", "certificateSource": "Cdn", "certificateSourceParameters": + body: '{"certificateSource": "Cdn", "protocolType": "ServerNameIndication", "certificateSourceParameters": {"@odata.type": "#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters", "certificateType": "Shared"}}' headers: @@ -791,14 +812,11 @@ interactions: Content-Length: - '207' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --endpoint-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-2/customDomains/customdomain000002/enableCustomHttps?api-version=2020-09-01 response: @@ -806,7 +824,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-2/customdomains/customdomain000002","type":"Microsoft.Cdn/profiles/endpoints/customdomains","name":"customdomain000002","properties":{"hostName":"customdomain000002.cdn-cli-test-2.azfdtest.xyz","validationData":null,"resourceState":"Active","customHttpsProvisioningState":"Enabling","customHttpsProvisioningSubstate":"SubmittingDomainControlValidationRequest","customHttpsParameters":{"certificateSource":"Cdn","certificateSourceParameters":{"certificateType":"Shared","@odata.type":"#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters"},"protocolType":"ServerNameIndication","minimumTlsVersion":"None"},"provisioningState":"Succeeded"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/d9f8fbeb-adef-4496-989c-5da9fdc6856c?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/67ce47ed-0109-4eb6-98bb-3e702612b169?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -814,11 +832,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:47 GMT + - Fri, 02 Apr 2021 10:27:25 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/d9f8fbeb-adef-4496-989c-5da9fdc6856c/profileresults/profile123/endpointresults/cdn-cli-test-2/customdomainresults/customdomain000002?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/67ce47ed-0109-4eb6-98bb-3e702612b169/profileresults/profile123/endpointresults/cdn-cli-test-2/customdomainresults/customdomain000002?api-version=2020-09-01 pragma: - no-cache server: @@ -828,7 +846,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 202 message: Accepted @@ -846,10 +864,7 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-2/customDomains/customdomain000002?api-version=2020-09-01 response: @@ -863,7 +878,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:47 GMT + - Fri, 02 Apr 2021 10:27:25 GMT expires: - '-1' pragma: @@ -897,10 +912,7 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-2/customDomains/customdomain000002/disableCustomHttps?api-version=2020-09-01 response: @@ -916,7 +928,7 @@ interactions: content-type: - application/json date: - - Fri, 19 Feb 2021 11:53:49 GMT + - Fri, 02 Apr 2021 10:27:25 GMT expires: - '-1' pragma: @@ -928,7 +940,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' status: code: 400 message: Bad Request diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_custom_domain_https_msft.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_custom_domain_https_msft.yaml index 4075c97070a..2edd129b023 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_custom_domain_https_msft.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_custom_domain_https_msft.yaml @@ -13,10 +13,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints?api-version=2020-09-01 response: @@ -32,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:59 GMT + - Fri, 02 Apr 2021 10:25:44 GMT expires: - '-1' pragma: @@ -60,15 +57,15 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T11:49:57Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:25:43Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -77,7 +74,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:49:59 GMT + - Fri, 02 Apr 2021 10:25:45 GMT expires: - '-1' pragma: @@ -105,14 +102,11 @@ interactions: Content-Length: - '61' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -120,7 +114,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123","type":"Microsoft.Cdn/profiles","name":"profile123","location":"WestUs","kind":"cdn","tags":{},"sku":{"name":"Standard_Microsoft"},"properties":{"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a4132061-9fad-4881-9750-e58660ccbfcb?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/7e8583c2-59fe-42ba-a24e-6312c64298f5?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -128,7 +122,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:04 GMT + - Fri, 02 Apr 2021 10:25:52 GMT expires: - '-1' pragma: @@ -140,7 +134,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '20' + - '24' status: code: 201 message: Created @@ -148,7 +142,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -158,10 +152,9 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a4132061-9fad-4881-9750-e58660ccbfcb?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/7e8583c2-59fe-42ba-a24e-6312c64298f5?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -173,7 +166,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:14 GMT + - Fri, 02 Apr 2021 10:26:02 GMT expires: - '-1' pragma: @@ -195,7 +188,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -205,10 +198,9 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a4132061-9fad-4881-9750-e58660ccbfcb?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/7e8583c2-59fe-42ba-a24e-6312c64298f5?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -220,7 +212,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:46 GMT + - Fri, 02 Apr 2021 10:26:32 GMT expires: - '-1' pragma: @@ -242,7 +234,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -252,8 +244,7 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -267,7 +258,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:46 GMT + - Fri, 02 Apr 2021 10:26:32 GMT expires: - '-1' pragma: @@ -283,7 +274,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '48' + - '49' status: code: 200 message: OK @@ -301,15 +292,15 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T11:49:57Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:25:43Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -318,7 +309,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:46 GMT + - Fri, 02 Apr 2021 10:26:33 GMT expires: - '-1' pragma: @@ -348,14 +339,11 @@ interactions: Content-Length: - '232' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-4?api-version=2020-09-01 response: @@ -363,7 +351,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-4","type":"Microsoft.Cdn/profiles/endpoints","name":"cdn-cli-test-4","location":"WestUs","tags":{},"properties":{"hostName":"cdn-cli-test-4.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.example.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":1,"weight":1000,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":null,"webApplicationFirewallPolicyLink":null,"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/e88159d2-d8dc-41bd-8b4e-6a4f1ad7301c?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/5a7889e1-669e-43a4-88c8-051762e19119?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -371,7 +359,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:50:53 GMT + - Fri, 02 Apr 2021 10:26:43 GMT expires: - '-1' pragma: @@ -383,7 +371,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '98' + - '99' status: code: 201 message: Created @@ -391,7 +379,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -401,10 +389,9 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/e88159d2-d8dc-41bd-8b4e-6a4f1ad7301c?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/5a7889e1-669e-43a4-88c8-051762e19119?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -416,7 +403,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:04 GMT + - Fri, 02 Apr 2021 10:26:54 GMT expires: - '-1' pragma: @@ -438,7 +425,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -448,10 +435,9 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/e88159d2-d8dc-41bd-8b4e-6a4f1ad7301c?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/5a7889e1-669e-43a4-88c8-051762e19119?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -463,7 +449,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:35 GMT + - Fri, 02 Apr 2021 10:27:24 GMT expires: - '-1' pragma: @@ -485,7 +471,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -495,8 +481,7 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-4?api-version=2020-09-01 response: @@ -510,7 +495,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:35 GMT + - Fri, 02 Apr 2021 10:27:25 GMT expires: - '-1' pragma: @@ -544,15 +529,15 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name --hostname User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T11:49:57Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:25:43Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -561,7 +546,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:37 GMT + - Fri, 02 Apr 2021 10:27:25 GMT expires: - '-1' pragma: @@ -589,14 +574,11 @@ interactions: Content-Length: - '80' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --endpoint-name --profile-name --hostname User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-4/customDomains/customdomain000002?api-version=2020-09-01 response: @@ -604,7 +586,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-4/customdomains/customdomain000002","type":"Microsoft.Cdn/profiles/endpoints/customdomains","name":"customdomain000002","properties":{"hostName":"customdomain000002.cdn-cli-test-4.azfdtest.xyz","validationData":null,"resourceState":"Creating","customHttpsProvisioningState":"Disabled","customHttpsProvisioningSubstate":"None","customHttpsParameters":null,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/ea263f18-ff03-4e67-b44e-8ff39b5eb26d?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/ad2a6f4e-2ec8-4bf1-b0e4-3314d6a13e29?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -612,7 +594,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:39 GMT + - Fri, 02 Apr 2021 10:27:28 GMT expires: - '-1' pragma: @@ -624,7 +606,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1196' status: code: 201 message: Created @@ -632,7 +614,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -642,10 +624,9 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name --hostname User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/ea263f18-ff03-4e67-b44e-8ff39b5eb26d?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/ad2a6f4e-2ec8-4bf1-b0e4-3314d6a13e29?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -657,7 +638,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:51 GMT + - Fri, 02 Apr 2021 10:27:38 GMT expires: - '-1' pragma: @@ -679,7 +660,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -689,10 +670,9 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name --hostname User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/ea263f18-ff03-4e67-b44e-8ff39b5eb26d?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/ad2a6f4e-2ec8-4bf1-b0e4-3314d6a13e29?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -704,7 +684,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:44 GMT + - Fri, 02 Apr 2021 10:28:08 GMT expires: - '-1' pragma: @@ -726,7 +706,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -736,8 +716,7 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name --hostname User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-4/customDomains/customdomain000002?api-version=2020-09-01 response: @@ -751,7 +730,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:45 GMT + - Fri, 02 Apr 2021 10:28:09 GMT expires: - '-1' pragma: @@ -783,15 +762,15 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name --hostname User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T11:49:57Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:25:43Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -800,7 +779,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:45 GMT + - Fri, 02 Apr 2021 10:28:09 GMT expires: - '-1' pragma: @@ -828,14 +807,11 @@ interactions: Content-Length: - '80' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --endpoint-name --profile-name --hostname User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-4/customDomains/customdomain000003?api-version=2020-09-01 response: @@ -843,7 +819,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-4/customdomains/customdomain000003","type":"Microsoft.Cdn/profiles/endpoints/customdomains","name":"customdomain000003","properties":{"hostName":"customdomain000003.cdn-cli-test-4.azfdtest.xyz","validationData":null,"resourceState":"Creating","customHttpsProvisioningState":"Disabled","customHttpsProvisioningSubstate":"None","customHttpsParameters":null,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9973796c-73c0-4efc-9d54-20c6d7c7420b?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/d80837fb-cc09-45fd-b7a5-a0fd04dfc1f9?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -851,7 +827,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:52 GMT + - Fri, 02 Apr 2021 10:28:13 GMT expires: - '-1' pragma: @@ -863,7 +839,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -871,54 +847,7 @@ interactions: body: null headers: Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - cdn custom-domain create - Connection: - - keep-alive - ParameterSetName: - - -g -n --endpoint-name --profile-name --hostname - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9973796c-73c0-4efc-9d54-20c6d7c7420b?api-version=2020-09-01 - response: - body: - string: '{"status":"InProgress","error":{"code":"None","message":null}}' - headers: - cache-control: - - no-cache - content-length: - - '62' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 19 Feb 2021 11:54:03 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -928,10 +857,9 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name --hostname User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9973796c-73c0-4efc-9d54-20c6d7c7420b?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/d80837fb-cc09-45fd-b7a5-a0fd04dfc1f9?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -943,7 +871,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:34 GMT + - Fri, 02 Apr 2021 10:28:24 GMT expires: - '-1' pragma: @@ -965,7 +893,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -975,8 +903,7 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name --hostname User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-4/customDomains/customdomain000003?api-version=2020-09-01 response: @@ -990,7 +917,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:34 GMT + - Fri, 02 Apr 2021 10:28:24 GMT expires: - '-1' pragma: @@ -1022,10 +949,7 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-4/customDomains/customdomain000002?api-version=2020-09-01 response: @@ -1039,7 +963,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:35 GMT + - Fri, 02 Apr 2021 10:28:26 GMT expires: - '-1' pragma: @@ -1071,10 +995,7 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-4/customDomains/customdomain000002?api-version=2020-09-01 response: @@ -1088,7 +1009,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:37 GMT + - Fri, 02 Apr 2021 10:28:27 GMT expires: - '-1' pragma: @@ -1120,10 +1041,7 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name --min-tls-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -1137,7 +1055,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:38 GMT + - Fri, 02 Apr 2021 10:28:28 GMT expires: - '-1' pragma: @@ -1153,13 +1071,13 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '49' + - '48' status: code: 200 message: OK - request: - body: '{"protocolType": "ServerNameIndication", "minimumTlsVersion": "TLS10", - "certificateSource": "Cdn", "certificateSourceParameters": {"@odata.type": "#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters", + body: '{"certificateSource": "Cdn", "protocolType": "ServerNameIndication", "minimumTlsVersion": + "TLS10", "certificateSourceParameters": {"@odata.type": "#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters", "certificateType": "Dedicated"}}' headers: Accept: @@ -1173,14 +1091,11 @@ interactions: Content-Length: - '240' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --endpoint-name --profile-name --min-tls-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-4/customDomains/customdomain000002/enableCustomHttps?api-version=2020-09-01 response: @@ -1188,7 +1103,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-4/customdomains/customdomain000002","type":"Microsoft.Cdn/profiles/endpoints/customdomains","name":"customdomain000002","properties":{"hostName":"customdomain000002.cdn-cli-test-4.azfdtest.xyz","validationData":null,"resourceState":"Active","customHttpsProvisioningState":"Enabling","customHttpsProvisioningSubstate":"SubmittingDomainControlValidationRequest","customHttpsParameters":{"certificateSource":"Cdn","certificateSourceParameters":{"certificateType":"Dedicated","@odata.type":"#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters"},"protocolType":"ServerNameIndication","minimumTlsVersion":"TLS10"},"provisioningState":"Succeeded"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/34f4010e-b9fc-42a6-a461-27b8fe55c3c3?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/70632733-deaf-4b98-bf5e-c37887c9737a?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -1196,11 +1111,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:41 GMT + - Fri, 02 Apr 2021 10:28:31 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/34f4010e-b9fc-42a6-a461-27b8fe55c3c3/profileresults/profile123/endpointresults/cdn-cli-test-4/customdomainresults/customdomain000002?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/70632733-deaf-4b98-bf5e-c37887c9737a/profileresults/profile123/endpointresults/cdn-cli-test-4/customdomainresults/customdomain000002?api-version=2020-09-01 pragma: - no-cache server: @@ -1228,10 +1143,7 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name --min-tls-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-4/customDomains/customdomain000002?api-version=2020-09-01 response: @@ -1245,7 +1157,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:42 GMT + - Fri, 02 Apr 2021 10:28:31 GMT expires: - '-1' pragma: @@ -1273,7 +1185,7 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-graphrbac/0.60.0 Azure-SDK-For-Python accept-language: - en-US @@ -1311,19 +1223,19 @@ interactions: dataserviceversion: - 3.0; date: - - Fri, 19 Feb 2021 11:54:43 GMT + - Fri, 02 Apr 2021 10:28:34 GMT duration: - - '471564' + - '466821' expires: - '-1' ocp-aad-diagnostics-server-name: - - BmgPseFIPLxeuT7hbcALof8+5AF2tl9OnfxU5nzpL9M= + - mfXHmVtjs8UTcFiXmuaaRw6FG92qODtf92lMT2jrAq4= ocp-aad-session-key: - - 4Rn3nDi5vA8eDPtp_Ja-cE7TnxghALGUhzb3uaXHMdRiywaVefkDVMG_AuWPmFpt31NvKSEN1GJVECUX_n_-MqaFiiYXJfmF4GyQ_Vtv2p30WZ8I7YlGKtY1N_35_bKH.z4m5UJpjMTUwqdS528zF8tRoPuCWRtvJJ_bIqK8vFPI + - TAa9OfVefhwQvJ5f833ion5ZYsY94fuuLzb9MjmFNDT_vBzt0loIrztJbmmkosq8vTMf5dm3thOMJisSzQ6oOh-SnR3JUCT_tM8EwmEsNw_nTgOlPBGEai9sO8vrJ6RN.dfEvXlzdqN92_h6TL2aX-4_WohN7CyHL_yvXWWnBCMc pragma: - no-cache request-id: - - 418ae8f1-c9aa-4ce5-8009-7d844fa7b8a5 + - 78b298dc-711e-40ea-86e4-37bd6a6c90d7 strict-transport-security: - max-age=31536000; includeSubDomains x-aspnet-version: @@ -1365,7 +1277,7 @@ interactions: ParameterSetName: - --location --name -g User-Agent: - - AZURECLI/2.19.1 azsdk-python-azure-mgmt-keyvault/8.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.21.0 azsdk-python-azure-mgmt-keyvault/8.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/keyvault000004?api-version=2019-09-01 response: @@ -1379,7 +1291,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:50 GMT + - Fri, 02 Apr 2021 10:28:42 GMT expires: - '-1' pragma: @@ -1397,9 +1309,9 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.0.104.232 + - 1.1.248.2 x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' x-powered-by: - ASP.NET status: @@ -1419,7 +1331,7 @@ interactions: ParameterSetName: - --location --name -g User-Agent: - - AZURECLI/2.19.1 azsdk-python-azure-mgmt-keyvault/8.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.21.0 azsdk-python-azure-mgmt-keyvault/8.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/keyvault000004?api-version=2019-09-01 response: @@ -1433,7 +1345,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:55:20 GMT + - Fri, 02 Apr 2021 10:29:12 GMT expires: - '-1' pragma: @@ -1451,7 +1363,7 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.0.104.232 + - 1.1.248.2 x-powered-by: - ASP.NET status: @@ -1471,7 +1383,7 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-keyvault/7.0 Azure-SDK-For-Python accept-language: - en-US @@ -1489,7 +1401,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:55:23 GMT + - Fri, 02 Apr 2021 10:29:14 GMT expires: - '-1' pragma: @@ -1502,11 +1414,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=167.220.255.103;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=167.220.255.39;act_addr_fam=InterNetwork; x-ms-keyvault-region: - centralus x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -1532,7 +1444,7 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-keyvault/7.0 Azure-SDK-For-Python accept-language: - en-US @@ -1540,9 +1452,9 @@ interactions: uri: https://keyvault000004.vault.azure.net/certificates/cert000005/create?api-version=7.0 response: body: - string: '{"id":"https://keyvault000004.vault.azure.net/certificates/cert000005/pending","issuer":{"name":"Self"},"csr":"MIICrjCCAZYCAQAwHjEcMBoGA1UEAxMTQ0xJR2V0RGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDcuBvjwXXBhMJ2bo4rg+0ffgPfVzsIMhiOhdvkNkiy4zJ/Qr0GGHOyr9HxecJGdxwHU99t0C+Brlnp9hL3UPacr1OypaYkJ0x86E9k65gHxFOeNy2CDbUl9LHGHky8+S1qQ1K7vsmFqwBb8KNaS8RG8p0foogXmAcqeIQvL5t2CHdmUs24cJDi32pnY3P/wmlrIjQ/RFPD0lTxWHRc7h28r62l67xGo9iEXtFgrVAQonccYURCpdmxa+9t1n35ucHY0AFgJ2WjDjadFxRU5Hnd+Vh0kYOEEndGMgQfTRvddUUJi8S2FF4vN/wxYTtXOvx7Q2M0++jx3czEjWWvktUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgG+MB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQACQA4FDpMUK/IhTJpLPRN0gP+3STNB1PvFfE52hBgsDUR2AL8UN7gH8OCisxzyU7KfwBNvdcAkLXBGeExgFxFoYVp+yVbFBxx+GPijV3zRU3yjHEe8jBkLGmZitSZjFWGazWnULQUWBYIf3LVfgsSdohL2IvQq5BDIAs9JNTrHEw9XUfPINDb+JRvg4UgUcTJ0JKNnhBo8ZWusj1aIKEKgrE24rKcrxaNBmFG4dFUU8YKKOrQiqc1wLrkdqZYZ7B5EoAQhRuWUDJ04npCnrZtOJgXsE3bd9LIhFdUuD0mTz9e/PKt8HJBtQEvJg3zvdpFjM50AAVQbcW3vlVLsMQd8","cancellation_requested":false,"status":"inProgress","status_details":"Pending + string: '{"id":"https://keyvault000004.vault.azure.net/certificates/cert000005/pending","issuer":{"name":"Self"},"csr":"MIICrjCCAZYCAQAwHjEcMBoGA1UEAxMTQ0xJR2V0RGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKYCQzudzuBcLrZC4lZ3Z0rhHKS2N/SdotFzT/Dh+9KWtzKkYy9wwfnje7huy/vBJDtEmS782u/4E4LoP73S7AXkq65d5NR1oljaH+T9FBszYZCIYDNLGDiTsCqGPbye3iPSLSIdzFgUOUuo8KZ2Lf7ucyFXYb4RlNFhjNNzKsmWKC3ViN8E3A2nJlHJvTjly+7A5ITiSS24Z/H6EvG0IAxD9iKucxKTG86HRtD4lsunBBH98jU8pjy/z5tadudcKwJJ1vNVN+H+MZ/7rGt638R11H3RuqIyBwotU64n6OdAzkW5w6BvzSEV0Wk8lNnB2XUi5DYrFcqbrkVc0MwFi4ECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgG+MB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCGJi3TmOrVVMeK2w8b7rQYxR/9RobTxbQmqlAZP9WY1hFu2WHYvAl8NMMigGUjOz5m0IOtXncdiYNL2SsCNdmSuOJqYUJkgIhzWDNZpnZSxJoQmfHMnK9elCKDpEMhWc7eG1X7YQMbZ7IUzKsM5CT0KITZOMDWEL5HrXK0YYO81uTGshFOiwwvfctUJ8mzXnzw+g8P1wN/sYy9OQwU5hkpaM4nnXaiz9GTuUgYS21HX9qHSN/RbPKe55NIXNiEwxEMamyRTbyu1Kago9F14OfoZGKzK3WfZYcW638Yxk1UeKnVQIunBRoHrDxM+bsfhpKJ2jK6J1HYsGwU/kJv9pTo","cancellation_requested":false,"status":"inProgress","status_details":"Pending certificate created. Certificate request is in progress. This may take some - time based on the issuer provider. Please check again later.","request_id":"6d0ab18eb0444e06859eb2249ded995f"}' + time based on the issuer provider. Please check again later.","request_id":"6fbe257c23564270b8e8913d36e6a055"}' headers: cache-control: - no-cache @@ -1551,11 +1463,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:55:25 GMT + - Fri, 02 Apr 2021 10:29:17 GMT expires: - '-1' location: - - https://keyvault000004.vault.azure.net/certificates/cert000005/pending?api-version=7.0&request_id=6d0ab18eb0444e06859eb2249ded995f + - https://keyvault000004.vault.azure.net/certificates/cert000005/pending?api-version=7.0&request_id=6fbe257c23564270b8e8913d36e6a055 pragma: - no-cache strict-transport-security: @@ -1563,11 +1475,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=167.220.255.103;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=167.220.255.39;act_addr_fam=InterNetwork; x-ms-keyvault-region: - centralus x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -1585,7 +1497,7 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-keyvault/7.0 Azure-SDK-For-Python accept-language: - en-US @@ -1593,9 +1505,9 @@ interactions: uri: https://keyvault000004.vault.azure.net/certificates/cert000005/pending?api-version=7.0 response: body: - string: '{"id":"https://keyvault000004.vault.azure.net/certificates/cert000005/pending","issuer":{"name":"Self"},"csr":"MIICrjCCAZYCAQAwHjEcMBoGA1UEAxMTQ0xJR2V0RGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDcuBvjwXXBhMJ2bo4rg+0ffgPfVzsIMhiOhdvkNkiy4zJ/Qr0GGHOyr9HxecJGdxwHU99t0C+Brlnp9hL3UPacr1OypaYkJ0x86E9k65gHxFOeNy2CDbUl9LHGHky8+S1qQ1K7vsmFqwBb8KNaS8RG8p0foogXmAcqeIQvL5t2CHdmUs24cJDi32pnY3P/wmlrIjQ/RFPD0lTxWHRc7h28r62l67xGo9iEXtFgrVAQonccYURCpdmxa+9t1n35ucHY0AFgJ2WjDjadFxRU5Hnd+Vh0kYOEEndGMgQfTRvddUUJi8S2FF4vN/wxYTtXOvx7Q2M0++jx3czEjWWvktUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgG+MB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQACQA4FDpMUK/IhTJpLPRN0gP+3STNB1PvFfE52hBgsDUR2AL8UN7gH8OCisxzyU7KfwBNvdcAkLXBGeExgFxFoYVp+yVbFBxx+GPijV3zRU3yjHEe8jBkLGmZitSZjFWGazWnULQUWBYIf3LVfgsSdohL2IvQq5BDIAs9JNTrHEw9XUfPINDb+JRvg4UgUcTJ0JKNnhBo8ZWusj1aIKEKgrE24rKcrxaNBmFG4dFUU8YKKOrQiqc1wLrkdqZYZ7B5EoAQhRuWUDJ04npCnrZtOJgXsE3bd9LIhFdUuD0mTz9e/PKt8HJBtQEvJg3zvdpFjM50AAVQbcW3vlVLsMQd8","cancellation_requested":false,"status":"inProgress","status_details":"Pending + string: '{"id":"https://keyvault000004.vault.azure.net/certificates/cert000005/pending","issuer":{"name":"Self"},"csr":"MIICrjCCAZYCAQAwHjEcMBoGA1UEAxMTQ0xJR2V0RGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKYCQzudzuBcLrZC4lZ3Z0rhHKS2N/SdotFzT/Dh+9KWtzKkYy9wwfnje7huy/vBJDtEmS782u/4E4LoP73S7AXkq65d5NR1oljaH+T9FBszYZCIYDNLGDiTsCqGPbye3iPSLSIdzFgUOUuo8KZ2Lf7ucyFXYb4RlNFhjNNzKsmWKC3ViN8E3A2nJlHJvTjly+7A5ITiSS24Z/H6EvG0IAxD9iKucxKTG86HRtD4lsunBBH98jU8pjy/z5tadudcKwJJ1vNVN+H+MZ/7rGt638R11H3RuqIyBwotU64n6OdAzkW5w6BvzSEV0Wk8lNnB2XUi5DYrFcqbrkVc0MwFi4ECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgG+MB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCGJi3TmOrVVMeK2w8b7rQYxR/9RobTxbQmqlAZP9WY1hFu2WHYvAl8NMMigGUjOz5m0IOtXncdiYNL2SsCNdmSuOJqYUJkgIhzWDNZpnZSxJoQmfHMnK9elCKDpEMhWc7eG1X7YQMbZ7IUzKsM5CT0KITZOMDWEL5HrXK0YYO81uTGshFOiwwvfctUJ8mzXnzw+g8P1wN/sYy9OQwU5hkpaM4nnXaiz9GTuUgYS21HX9qHSN/RbPKe55NIXNiEwxEMamyRTbyu1Kago9F14OfoZGKzK3WfZYcW638Yxk1UeKnVQIunBRoHrDxM+bsfhpKJ2jK6J1HYsGwU/kJv9pTo","cancellation_requested":false,"status":"inProgress","status_details":"Pending certificate created. Certificate request is in progress. This may take some - time based on the issuer provider. Please check again later.","request_id":"6d0ab18eb0444e06859eb2249ded995f"}' + time based on the issuer provider. Please check again later.","request_id":"6fbe257c23564270b8e8913d36e6a055"}' headers: cache-control: - no-cache @@ -1604,7 +1516,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:55:27 GMT + - Fri, 02 Apr 2021 10:29:18 GMT expires: - '-1' pragma: @@ -1614,11 +1526,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=167.220.255.103;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=167.220.255.39;act_addr_fam=InterNetwork; x-ms-keyvault-region: - centralus x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -1636,7 +1548,7 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-keyvault/7.0 Azure-SDK-For-Python accept-language: - en-US @@ -1644,7 +1556,58 @@ interactions: uri: https://keyvault000004.vault.azure.net/certificates/cert000005/pending?api-version=7.0 response: body: - string: '{"id":"https://keyvault000004.vault.azure.net/certificates/cert000005/pending","issuer":{"name":"Self"},"csr":"MIICrjCCAZYCAQAwHjEcMBoGA1UEAxMTQ0xJR2V0RGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDcuBvjwXXBhMJ2bo4rg+0ffgPfVzsIMhiOhdvkNkiy4zJ/Qr0GGHOyr9HxecJGdxwHU99t0C+Brlnp9hL3UPacr1OypaYkJ0x86E9k65gHxFOeNy2CDbUl9LHGHky8+S1qQ1K7vsmFqwBb8KNaS8RG8p0foogXmAcqeIQvL5t2CHdmUs24cJDi32pnY3P/wmlrIjQ/RFPD0lTxWHRc7h28r62l67xGo9iEXtFgrVAQonccYURCpdmxa+9t1n35ucHY0AFgJ2WjDjadFxRU5Hnd+Vh0kYOEEndGMgQfTRvddUUJi8S2FF4vN/wxYTtXOvx7Q2M0++jx3czEjWWvktUCAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgG+MB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQACQA4FDpMUK/IhTJpLPRN0gP+3STNB1PvFfE52hBgsDUR2AL8UN7gH8OCisxzyU7KfwBNvdcAkLXBGeExgFxFoYVp+yVbFBxx+GPijV3zRU3yjHEe8jBkLGmZitSZjFWGazWnULQUWBYIf3LVfgsSdohL2IvQq5BDIAs9JNTrHEw9XUfPINDb+JRvg4UgUcTJ0JKNnhBo8ZWusj1aIKEKgrE24rKcrxaNBmFG4dFUU8YKKOrQiqc1wLrkdqZYZ7B5EoAQhRuWUDJ04npCnrZtOJgXsE3bd9LIhFdUuD0mTz9e/PKt8HJBtQEvJg3zvdpFjM50AAVQbcW3vlVLsMQd8","cancellation_requested":false,"status":"completed","target":"https://keyvault000004.vault.azure.net/certificates/cert000005","request_id":"6d0ab18eb0444e06859eb2249ded995f"}' + string: '{"id":"https://keyvault000004.vault.azure.net/certificates/cert000005/pending","issuer":{"name":"Self"},"csr":"MIICrjCCAZYCAQAwHjEcMBoGA1UEAxMTQ0xJR2V0RGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKYCQzudzuBcLrZC4lZ3Z0rhHKS2N/SdotFzT/Dh+9KWtzKkYy9wwfnje7huy/vBJDtEmS782u/4E4LoP73S7AXkq65d5NR1oljaH+T9FBszYZCIYDNLGDiTsCqGPbye3iPSLSIdzFgUOUuo8KZ2Lf7ucyFXYb4RlNFhjNNzKsmWKC3ViN8E3A2nJlHJvTjly+7A5ITiSS24Z/H6EvG0IAxD9iKucxKTG86HRtD4lsunBBH98jU8pjy/z5tadudcKwJJ1vNVN+H+MZ/7rGt638R11H3RuqIyBwotU64n6OdAzkW5w6BvzSEV0Wk8lNnB2XUi5DYrFcqbrkVc0MwFi4ECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgG+MB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCGJi3TmOrVVMeK2w8b7rQYxR/9RobTxbQmqlAZP9WY1hFu2WHYvAl8NMMigGUjOz5m0IOtXncdiYNL2SsCNdmSuOJqYUJkgIhzWDNZpnZSxJoQmfHMnK9elCKDpEMhWc7eG1X7YQMbZ7IUzKsM5CT0KITZOMDWEL5HrXK0YYO81uTGshFOiwwvfctUJ8mzXnzw+g8P1wN/sYy9OQwU5hkpaM4nnXaiz9GTuUgYS21HX9qHSN/RbPKe55NIXNiEwxEMamyRTbyu1Kago9F14OfoZGKzK3WfZYcW638Yxk1UeKnVQIunBRoHrDxM+bsfhpKJ2jK6J1HYsGwU/kJv9pTo","cancellation_requested":false,"status":"inProgress","status_details":"Pending + certificate created. Certificate request is in progress. This may take some + time based on the issuer provider. Please check again later.","request_id":"6fbe257c23564270b8e8913d36e6a055"}' + headers: + cache-control: + - no-cache + content-length: + - '1314' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Apr 2021 10:29:29 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=167.220.255.39;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - centralus + x-ms-keyvault-service-version: + - 1.2.205.0 + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-keyvault/7.0 Azure-SDK-For-Python + accept-language: + - en-US + method: GET + uri: https://keyvault000004.vault.azure.net/certificates/cert000005/pending?api-version=7.0 + response: + body: + string: '{"id":"https://keyvault000004.vault.azure.net/certificates/cert000005/pending","issuer":{"name":"Self"},"csr":"MIICrjCCAZYCAQAwHjEcMBoGA1UEAxMTQ0xJR2V0RGVmYXVsdFBvbGljeTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKYCQzudzuBcLrZC4lZ3Z0rhHKS2N/SdotFzT/Dh+9KWtzKkYy9wwfnje7huy/vBJDtEmS782u/4E4LoP73S7AXkq65d5NR1oljaH+T9FBszYZCIYDNLGDiTsCqGPbye3iPSLSIdzFgUOUuo8KZ2Lf7ucyFXYb4RlNFhjNNzKsmWKC3ViN8E3A2nJlHJvTjly+7A5ITiSS24Z/H6EvG0IAxD9iKucxKTG86HRtD4lsunBBH98jU8pjy/z5tadudcKwJJ1vNVN+H+MZ/7rGt638R11H3RuqIyBwotU64n6OdAzkW5w6BvzSEV0Wk8lNnB2XUi5DYrFcqbrkVc0MwFi4ECAwEAAaBLMEkGCSqGSIb3DQEJDjE8MDowDgYDVR0PAQH/BAQDAgG+MB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNVHRMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCGJi3TmOrVVMeK2w8b7rQYxR/9RobTxbQmqlAZP9WY1hFu2WHYvAl8NMMigGUjOz5m0IOtXncdiYNL2SsCNdmSuOJqYUJkgIhzWDNZpnZSxJoQmfHMnK9elCKDpEMhWc7eG1X7YQMbZ7IUzKsM5CT0KITZOMDWEL5HrXK0YYO81uTGshFOiwwvfctUJ8mzXnzw+g8P1wN/sYy9OQwU5hkpaM4nnXaiz9GTuUgYS21HX9qHSN/RbPKe55NIXNiEwxEMamyRTbyu1Kago9F14OfoZGKzK3WfZYcW638Yxk1UeKnVQIunBRoHrDxM+bsfhpKJ2jK6J1HYsGwU/kJv9pTo","cancellation_requested":false,"status":"completed","target":"https://keyvault000004.vault.azure.net/certificates/cert000005","request_id":"6fbe257c23564270b8e8913d36e6a055"}' headers: cache-control: - no-cache @@ -1653,7 +1616,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:55:38 GMT + - Fri, 02 Apr 2021 10:29:41 GMT expires: - '-1' pragma: @@ -1667,7 +1630,7 @@ interactions: x-ms-keyvault-region: - centralus x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -1685,7 +1648,7 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 azure-keyvault/7.0 Azure-SDK-For-Python accept-language: - en-US @@ -1693,7 +1656,7 @@ interactions: uri: https://keyvault000004.vault.azure.net/certificates/cert000005/versions?api-version=7.0 response: body: - string: '{"value":[{"id":"https://keyvault000004.vault.azure.net/certificates/cert000005/304280982e764918ae340d7eb8485cd3","x5t":"or__oFkZSEig6UOdkQVJVXZq06Y","attributes":{"enabled":true,"nbf":1613735130,"exp":1645271730,"created":1613735730,"updated":1613735730},"subject":""}],"nextLink":null}' + string: '{"value":[{"id":"https://keyvault000004.vault.azure.net/certificates/cert000005/ed19db7b4ff84d5ca1adce3b53083986","x5t":"I1ifZKW5PzmzX3hkwQSYE5qCPNY","attributes":{"enabled":true,"nbf":1617358772,"exp":1648895372,"created":1617359372,"updated":1617359372},"subject":""}],"nextLink":null}' headers: cache-control: - no-cache @@ -1702,7 +1665,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:55:40 GMT + - Fri, 02 Apr 2021 10:29:42 GMT expires: - '-1' pragma: @@ -1716,7 +1679,7 @@ interactions: x-ms-keyvault-region: - centralus x-ms-keyvault-service-version: - - 1.2.164.2 + - 1.2.205.0 x-powered-by: - ASP.NET status: @@ -1738,10 +1701,7 @@ interactions: --user-cert-vault-name --user-cert-secret-name --user-cert-secret-version --user-cert-protocol-type User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -1755,7 +1715,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:55:41 GMT + - Fri, 02 Apr 2021 10:29:43 GMT expires: - '-1' pragma: @@ -1771,16 +1731,16 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '49' + - '47' status: code: 200 message: OK - request: - body: '{"protocolType": "ServerNameIndication", "certificateSource": "AzureKeyVault", + body: '{"certificateSource": "AzureKeyVault", "protocolType": "ServerNameIndication", "certificateSourceParameters": {"@odata.type": "#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters", - "subscriptionId": "d7cfdb98-c118-458d-8bdf-246be66b1f5e", "resourceGroupName": + "subscriptionId": "27cafca8-b9a4-4264-b399-45d0c9cca1ab", "resourceGroupName": "clitest.rg000001", "vaultName": "keyvault000004", "secretName": "cert000005", - "secretVersion": "304280982e764918ae340d7eb8485cd3", "updateRule": "NoAction", + "secretVersion": "ed19db7b4ff84d5ca1adce3b53083986", "updateRule": "NoAction", "deleteRule": "NoAction"}}' headers: Accept: @@ -1794,24 +1754,21 @@ interactions: Content-Length: - '531' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --endpoint-name --profile-name --user-cert-subscription-id --user-cert-group-name --user-cert-vault-name --user-cert-secret-name --user-cert-secret-version --user-cert-protocol-type User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-4/customDomains/customdomain000003/enableCustomHttps?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-4/customdomains/customdomain000003","type":"Microsoft.Cdn/profiles/endpoints/customdomains","name":"customdomain000003","properties":{"hostName":"customdomain000003.cdn-cli-test-4.azfdtest.xyz","validationData":null,"resourceState":"Active","customHttpsProvisioningState":"Enabling","customHttpsProvisioningSubstate":"ImportingUserProvidedCertificate","customHttpsParameters":{"certificateSource":"AzureKeyVault","certificateSourceParameters":{"subscriptionId":"d7cfdb98-c118-458d-8bdf-246be66b1f5e","resourceGroupName":"clitest.rg000001","vaultName":"keyvault000004","secretName":"cert000005","secretVersion":"304280982e764918ae340d7eb8485cd3","updateRule":"NoAction","deleteRule":"NoAction","@odata.type":"#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters"},"protocolType":"ServerNameIndication","minimumTlsVersion":"TLS12"},"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-4/customdomains/customdomain000003","type":"Microsoft.Cdn/profiles/endpoints/customdomains","name":"customdomain000003","properties":{"hostName":"customdomain000003.cdn-cli-test-4.azfdtest.xyz","validationData":null,"resourceState":"Active","customHttpsProvisioningState":"Enabling","customHttpsProvisioningSubstate":"ImportingUserProvidedCertificate","customHttpsParameters":{"certificateSource":"AzureKeyVault","certificateSourceParameters":{"subscriptionId":"27cafca8-b9a4-4264-b399-45d0c9cca1ab","resourceGroupName":"clitest.rg000001","vaultName":"keyvault000004","secretName":"cert000005","secretVersion":"ed19db7b4ff84d5ca1adce3b53083986","updateRule":"NoAction","deleteRule":"NoAction","@odata.type":"#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters"},"protocolType":"ServerNameIndication","minimumTlsVersion":"TLS12"},"provisioningState":"Succeeded"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/e3b1e356-74a6-4085-9868-aa6b438904dc?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/0f4db76b-f6eb-421d-a6d0-f82604945110?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -1819,11 +1776,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:55:43 GMT + - Fri, 02 Apr 2021 10:29:46 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/e3b1e356-74a6-4085-9868-aa6b438904dc/profileresults/profile123/endpointresults/cdn-cli-test-4/customdomainresults/customdomain000003?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/0f4db76b-f6eb-421d-a6d0-f82604945110/profileresults/profile123/endpointresults/cdn-cli-test-4/customdomainresults/customdomain000003?api-version=2020-09-01 pragma: - no-cache server: @@ -1833,7 +1790,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 202 message: Accepted @@ -1853,15 +1810,12 @@ interactions: --user-cert-vault-name --user-cert-secret-name --user-cert-secret-version --user-cert-protocol-type User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-4/customDomains/customdomain000003?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-4/customdomains/customdomain000003","type":"Microsoft.Cdn/profiles/endpoints/customdomains","name":"customdomain000003","properties":{"hostName":"customdomain000003.cdn-cli-test-4.azfdtest.xyz","validationData":null,"resourceState":"Active","customHttpsProvisioningState":"Enabling","customHttpsProvisioningSubstate":"ImportingUserProvidedCertificate","customHttpsParameters":{"certificateSource":"AzureKeyVault","certificateSourceParameters":{"subscriptionId":"d7cfdb98-c118-458d-8bdf-246be66b1f5e","resourceGroupName":"clitest.rg000001","vaultName":"keyvault000004","secretName":"cert000005","secretVersion":"304280982e764918ae340d7eb8485cd3","updateRule":"NoAction","deleteRule":"NoAction","@odata.type":"#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters"},"protocolType":"ServerNameIndication","minimumTlsVersion":"TLS12"},"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-4/customdomains/customdomain000003","type":"Microsoft.Cdn/profiles/endpoints/customdomains","name":"customdomain000003","properties":{"hostName":"customdomain000003.cdn-cli-test-4.azfdtest.xyz","validationData":null,"resourceState":"Active","customHttpsProvisioningState":"Enabling","customHttpsProvisioningSubstate":"ImportingUserProvidedCertificate","customHttpsParameters":{"certificateSource":"AzureKeyVault","certificateSourceParameters":{"subscriptionId":"27cafca8-b9a4-4264-b399-45d0c9cca1ab","resourceGroupName":"clitest.rg000001","vaultName":"keyvault000004","secretName":"cert000005","secretVersion":"ed19db7b4ff84d5ca1adce3b53083986","updateRule":"NoAction","deleteRule":"NoAction","@odata.type":"#Microsoft.Azure.Cdn.Models.KeyVaultCertificateSourceParameters"},"protocolType":"ServerNameIndication","minimumTlsVersion":"TLS12"},"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1870,7 +1824,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:55:44 GMT + - Fri, 02 Apr 2021 10:29:47 GMT expires: - '-1' pragma: @@ -1904,10 +1858,7 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-4/customDomains/customdomain000002/disableCustomHttps?api-version=2020-09-01 response: @@ -1923,7 +1874,7 @@ interactions: content-type: - application/json date: - - Fri, 19 Feb 2021 11:55:45 GMT + - Fri, 02 Apr 2021 10:29:48 GMT expires: - '-1' pragma: @@ -1935,7 +1886,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 400 message: Bad Request diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_custom_domain_https_verizon.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_custom_domain_https_verizon.yaml index 1cdbbfb52f0..0d234b85286 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_custom_domain_https_verizon.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_custom_domain_https_verizon.yaml @@ -13,10 +13,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints?api-version=2020-09-01 response: @@ -32,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:25 GMT + - Fri, 02 Apr 2021 10:26:48 GMT expires: - '-1' pragma: @@ -60,15 +57,15 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T11:51:24Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:26:45Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -77,7 +74,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:26 GMT + - Fri, 02 Apr 2021 10:26:47 GMT expires: - '-1' pragma: @@ -105,14 +102,11 @@ interactions: Content-Length: - '59' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -120,7 +114,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123","type":"Microsoft.Cdn/profiles","name":"profile123","location":"WestUs","kind":"cdn","tags":{},"sku":{"name":"Standard_Verizon"},"properties":{"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/33625363-873f-4b19-a43c-8f1bbaecc33b?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/05c25007-45e2-456f-9840-230122b9080d?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -128,7 +122,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:33 GMT + - Fri, 02 Apr 2021 10:26:55 GMT expires: - '-1' pragma: @@ -140,7 +134,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '23' + - '21' status: code: 201 message: Created @@ -148,7 +142,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -158,10 +152,9 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/33625363-873f-4b19-a43c-8f1bbaecc33b?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/05c25007-45e2-456f-9840-230122b9080d?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -173,7 +166,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:51:44 GMT + - Fri, 02 Apr 2021 10:27:05 GMT expires: - '-1' pragma: @@ -195,7 +188,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -205,10 +198,9 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/33625363-873f-4b19-a43c-8f1bbaecc33b?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/05c25007-45e2-456f-9840-230122b9080d?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -220,7 +212,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:52:14 GMT + - Fri, 02 Apr 2021 10:27:37 GMT expires: - '-1' pragma: @@ -242,7 +234,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -252,10 +244,9 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/33625363-873f-4b19-a43c-8f1bbaecc33b?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/05c25007-45e2-456f-9840-230122b9080d?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -267,7 +258,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:52:44 GMT + - Fri, 02 Apr 2021 10:28:06 GMT expires: - '-1' pragma: @@ -289,7 +280,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -299,8 +290,7 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -314,7 +304,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:52:44 GMT + - Fri, 02 Apr 2021 10:28:07 GMT expires: - '-1' pragma: @@ -330,7 +320,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '47' + - '48' status: code: 200 message: OK @@ -348,15 +338,15 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T11:51:24Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:26:45Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -365,7 +355,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:52:46 GMT + - Fri, 02 Apr 2021 10:28:09 GMT expires: - '-1' pragma: @@ -395,14 +385,11 @@ interactions: Content-Length: - '232' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-3?api-version=2020-09-01 response: @@ -410,7 +397,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-3","type":"Microsoft.Cdn/profiles/endpoints","name":"cdn-cli-test-3","location":"WestUs","tags":{},"properties":{"hostName":"cdn-cli-test-3.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.contoso.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":null,"weight":null,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":null,"webApplicationFirewallPolicyLink":null,"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/c340e6d5-7ef8-4664-9369-dc27f1551aa3?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/0bafb2c7-6880-42cc-b994-61f6b303e587?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -418,7 +405,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:52:52 GMT + - Fri, 02 Apr 2021 10:28:18 GMT expires: - '-1' pragma: @@ -430,7 +417,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '98' + - '99' status: code: 201 message: Created @@ -438,7 +425,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -448,10 +435,9 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/c340e6d5-7ef8-4664-9369-dc27f1551aa3?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/0bafb2c7-6880-42cc-b994-61f6b303e587?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -463,7 +449,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:03 GMT + - Fri, 02 Apr 2021 10:28:28 GMT expires: - '-1' pragma: @@ -485,7 +471,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -495,10 +481,9 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/c340e6d5-7ef8-4664-9369-dc27f1551aa3?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/0bafb2c7-6880-42cc-b994-61f6b303e587?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -510,7 +495,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:33 GMT + - Fri, 02 Apr 2021 10:28:58 GMT expires: - '-1' pragma: @@ -532,7 +517,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -542,8 +527,7 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-3?api-version=2020-09-01 response: @@ -557,7 +541,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:34 GMT + - Fri, 02 Apr 2021 10:28:58 GMT expires: - '-1' pragma: @@ -591,15 +575,15 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name --hostname User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T11:51:24Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:26:45Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -608,7 +592,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:36 GMT + - Fri, 02 Apr 2021 10:28:59 GMT expires: - '-1' pragma: @@ -636,14 +620,11 @@ interactions: Content-Length: - '80' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --endpoint-name --profile-name --hostname User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-3/customDomains/customdomain000002?api-version=2020-09-01 response: @@ -651,7 +632,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-3/customdomains/customdomain000002","type":"Microsoft.Cdn/profiles/endpoints/customdomains","name":"customdomain000002","properties":{"hostName":"customdomain000002.cdn-cli-test-3.azfdtest.xyz","validationData":null,"resourceState":"Creating","customHttpsProvisioningState":"Disabled","customHttpsProvisioningSubstate":"None","customHttpsParameters":null,"provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/4b184fc0-81b9-4e0f-a380-bff6272e2a09?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/cbc0d9cb-1c16-45ea-b27a-8633a578ff96?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -659,7 +640,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:38 GMT + - Fri, 02 Apr 2021 10:29:03 GMT expires: - '-1' pragma: @@ -671,7 +652,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1198' status: code: 201 message: Created @@ -679,7 +660,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -689,10 +670,9 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name --hostname User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/4b184fc0-81b9-4e0f-a380-bff6272e2a09?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/cbc0d9cb-1c16-45ea-b27a-8633a578ff96?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -704,7 +684,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:49 GMT + - Fri, 02 Apr 2021 10:29:13 GMT expires: - '-1' pragma: @@ -726,7 +706,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -736,8 +716,7 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name --hostname User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-3/customDomains/customdomain000002?api-version=2020-09-01 response: @@ -751,7 +730,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:50 GMT + - Fri, 02 Apr 2021 10:29:14 GMT expires: - '-1' pragma: @@ -783,10 +762,7 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-3/customDomains/customdomain000002?api-version=2020-09-01 response: @@ -800,7 +776,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:51 GMT + - Fri, 02 Apr 2021 10:29:15 GMT expires: - '-1' pragma: @@ -832,10 +808,7 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name --min-tls-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -849,7 +822,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:52 GMT + - Fri, 02 Apr 2021 10:29:16 GMT expires: - '-1' pragma: @@ -865,13 +838,13 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '48' + - '47' status: code: 200 message: OK - request: - body: '{"protocolType": "IPBased", "minimumTlsVersion": "None", "certificateSource": - "Cdn", "certificateSourceParameters": {"@odata.type": "#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters", + body: '{"certificateSource": "Cdn", "protocolType": "IPBased", "minimumTlsVersion": + "None", "certificateSourceParameters": {"@odata.type": "#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters", "certificateType": "Shared"}}' headers: Accept: @@ -885,14 +858,11 @@ interactions: Content-Length: - '223' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --endpoint-name --profile-name --min-tls-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-3/customDomains/customdomain000002/enableCustomHttps?api-version=2020-09-01 response: @@ -900,7 +870,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-3/customdomains/customdomain000002","type":"Microsoft.Cdn/profiles/endpoints/customdomains","name":"customdomain000002","properties":{"hostName":"customdomain000002.cdn-cli-test-3.azfdtest.xyz","validationData":null,"resourceState":"Active","customHttpsProvisioningState":"Enabling","customHttpsProvisioningSubstate":"SubmittingDomainControlValidationRequest","customHttpsParameters":{"certificateSource":"Cdn","certificateSourceParameters":{"certificateType":"Shared","@odata.type":"#Microsoft.Azure.Cdn.Models.CdnCertificateSourceParameters"},"protocolType":"IPBased","minimumTlsVersion":"None"},"provisioningState":"Succeeded"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/62d8ee34-ca19-4c2b-b5f7-87b53f3646ef?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/3df4b78a-9f41-4949-a7c8-8bf1a10160be?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -908,11 +878,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:53 GMT + - Fri, 02 Apr 2021 10:29:18 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/62d8ee34-ca19-4c2b-b5f7-87b53f3646ef/profileresults/profile123/endpointresults/cdn-cli-test-3/customdomainresults/customdomain000002?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/3df4b78a-9f41-4949-a7c8-8bf1a10160be/profileresults/profile123/endpointresults/cdn-cli-test-3/customdomainresults/customdomain000002?api-version=2020-09-01 pragma: - no-cache server: @@ -922,7 +892,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 202 message: Accepted @@ -940,10 +910,7 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name --min-tls-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-3/customDomains/customdomain000002?api-version=2020-09-01 response: @@ -957,7 +924,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:54 GMT + - Fri, 02 Apr 2021 10:29:18 GMT expires: - '-1' pragma: @@ -991,10 +958,7 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/cdn-cli-test-3/customDomains/customdomain000002/disableCustomHttps?api-version=2020-09-01 response: @@ -1010,7 +974,7 @@ interactions: content-type: - application/json date: - - Fri, 19 Feb 2021 11:53:55 GMT + - Fri, 02 Apr 2021 10:29:21 GMT expires: - '-1' pragma: @@ -1022,7 +986,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 400 message: Bad Request diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_microsoft_standard_sku.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_microsoft_standard_sku.yaml index 4a9e1dcda22..e3aef8b3d34 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_microsoft_standard_sku.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_microsoft_standard_sku.yaml @@ -13,15 +13,15 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T11:53:53Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:30:40Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:55 GMT + - Fri, 02 Apr 2021 10:30:42 GMT expires: - '-1' pragma: @@ -58,14 +58,11 @@ interactions: Content-Length: - '61' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/cdnprofile1?api-version=2020-09-01 response: @@ -73,7 +70,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/cdnprofile1","type":"Microsoft.Cdn/profiles","name":"cdnprofile1","location":"WestUs","kind":"cdn","tags":{},"sku":{"name":"Standard_Microsoft"},"properties":{"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/88ce8c2a-cb12-4ab9-93cf-52ec1b25cd4e?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/98388232-da63-4652-aed1-691a8f892380?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -81,7 +78,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:00 GMT + - Fri, 02 Apr 2021 10:30:47 GMT expires: - '-1' pragma: @@ -101,7 +98,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -111,10 +108,9 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/88ce8c2a-cb12-4ab9-93cf-52ec1b25cd4e?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/98388232-da63-4652-aed1-691a8f892380?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -126,7 +122,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:11 GMT + - Fri, 02 Apr 2021 10:30:57 GMT expires: - '-1' pragma: @@ -148,7 +144,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -158,8 +154,7 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/cdnprofile1?api-version=2020-09-01 response: @@ -173,7 +168,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:12 GMT + - Fri, 02 Apr 2021 10:30:57 GMT expires: - '-1' pragma: @@ -189,7 +184,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '47' + - '49' status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_profile_crud.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_profile_crud.yaml index d06ee386c9b..5c08335cece 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_profile_crud.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_profile_crud.yaml @@ -13,10 +13,7 @@ interactions: ParameterSetName: - -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles?api-version=2020-09-01 response: @@ -30,23 +27,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:19 GMT + - Fri, 02 Apr 2021 10:30:30 GMT expires: - '-1' pragma: - no-cache - server: - - Kestrel strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - Accept-Encoding x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '45' + - '48' status: code: 200 message: OK @@ -64,15 +57,15 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T11:53:16Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:30:29Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -81,7 +74,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:19 GMT + - Fri, 02 Apr 2021 10:30:31 GMT expires: - '-1' pragma: @@ -109,14 +102,11 @@ interactions: Content-Length: - '58' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -124,7 +114,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123","type":"Microsoft.Cdn/profiles","name":"profile123","location":"WestUs","kind":"cdn","tags":{},"sku":{"name":"Standard_Akamai"},"properties":{"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/ebd6c78c-add6-4a38-9d0b-f5f273ada60f?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/630a1957-0065-415f-943b-e802ac840f74?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -132,7 +122,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:25 GMT + - Fri, 02 Apr 2021 10:30:38 GMT expires: - '-1' pragma: @@ -144,7 +134,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '23' + - '20' status: code: 201 message: Created @@ -152,7 +142,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -162,10 +152,9 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/ebd6c78c-add6-4a38-9d0b-f5f273ada60f?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/630a1957-0065-415f-943b-e802ac840f74?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -177,7 +166,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:36 GMT + - Fri, 02 Apr 2021 10:30:48 GMT expires: - '-1' pragma: @@ -199,7 +188,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -209,8 +198,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -224,7 +212,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:37 GMT + - Fri, 02 Apr 2021 10:30:49 GMT expires: - '-1' pragma: @@ -240,7 +228,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '44' + - '48' status: code: 200 message: OK @@ -258,10 +246,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -275,7 +260,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:37 GMT + - Fri, 02 Apr 2021 10:30:50 GMT expires: - '-1' pragma: @@ -291,7 +276,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '48' + - '49' status: code: 200 message: OK @@ -309,10 +294,7 @@ interactions: ParameterSetName: - -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles?api-version=2020-09-01 response: @@ -326,7 +308,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:38 GMT + - Fri, 02 Apr 2021 10:30:52 GMT expires: - '-1' pragma: @@ -342,7 +324,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '46' + - '47' status: code: 200 message: OK @@ -360,10 +342,7 @@ interactions: ParameterSetName: - -g -n --tags User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -377,7 +356,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:38 GMT + - Fri, 02 Apr 2021 10:30:52 GMT expires: - '-1' pragma: @@ -393,7 +372,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '47' + - '49' status: code: 200 message: OK @@ -411,14 +390,11 @@ interactions: Content-Length: - '24' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --tags User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -426,7 +402,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123","type":"Microsoft.Cdn/profiles","name":"profile123","location":"WestUs","kind":"cdn","tags":{"foo":"bar"},"sku":{"name":"Standard_Akamai"},"properties":{"resourceState":"Active","provisioningState":"Succeeded"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b6c49345-1891-4893-9621-03dd89871374?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/d9717ef7-0f8b-4ab5-9bf1-4b335d966424?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -434,11 +410,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:41 GMT + - Fri, 02 Apr 2021 10:30:55 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b6c49345-1891-4893-9621-03dd89871374/profileresults/profile123?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/d9717ef7-0f8b-4ab5-9bf1-4b335d966424/profileresults/profile123?api-version=2020-09-01 pragma: - no-cache server: @@ -448,7 +424,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '22' + - '24' status: code: 202 message: Accepted @@ -456,7 +432,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -466,10 +442,9 @@ interactions: ParameterSetName: - -g -n --tags User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b6c49345-1891-4893-9621-03dd89871374?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/d9717ef7-0f8b-4ab5-9bf1-4b335d966424?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -481,7 +456,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:53 GMT + - Fri, 02 Apr 2021 10:31:05 GMT expires: - '-1' pragma: @@ -503,7 +478,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -513,8 +488,7 @@ interactions: ParameterSetName: - -g -n --tags User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -528,7 +502,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:53 GMT + - Fri, 02 Apr 2021 10:31:05 GMT expires: - '-1' pragma: @@ -544,7 +518,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '48' + - '49' status: code: 200 message: OK @@ -562,10 +536,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -579,7 +550,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:54 GMT + - Fri, 02 Apr 2021 10:31:06 GMT expires: - '-1' pragma: @@ -615,10 +586,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -626,17 +594,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9d07374e-8abc-4346-bb12-f5dea42e7680?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/bad54f4f-2754-4781-ac0e-c7c32fa0dba2?api-version=2020-09-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 19 Feb 2021 11:53:55 GMT + - Fri, 02 Apr 2021 10:31:07 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9d07374e-8abc-4346-bb12-f5dea42e7680/profileresults/profile123?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/bad54f4f-2754-4781-ac0e-c7c32fa0dba2/profileresults/profile123?api-version=2020-09-01 pragma: - no-cache server: @@ -646,7 +614,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14998' status: code: 202 message: Accepted @@ -654,7 +622,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -664,10 +632,9 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9d07374e-8abc-4346-bb12-f5dea42e7680?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/bad54f4f-2754-4781-ac0e-c7c32fa0dba2?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -679,7 +646,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:05 GMT + - Fri, 02 Apr 2021 10:31:17 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_profile_delete_not_found.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_profile_delete_not_found.yaml index 5c639a5ba58..0bd814036d5 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_profile_delete_not_found.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_profile_delete_not_found.yaml @@ -13,10 +13,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/foo12345?api-version=2020-09-01 response: @@ -32,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:10 GMT + - Fri, 02 Apr 2021 10:31:25 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_waf_endpoint_link.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_waf_endpoint_link.yaml index fe6561548fe..8353b75718e 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_waf_endpoint_link.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_waf_endpoint_link.yaml @@ -13,14 +13,11 @@ interactions: Content-Length: - '61' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --sku --location User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1?api-version=2020-09-01 response: @@ -28,7 +25,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1","type":"Microsoft.Cdn/profiles","name":"ps1","location":"WestUs","kind":"cdn","tags":{},"sku":{"name":"Standard_Microsoft"},"properties":{"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/53d15ce4-9566-4129-890c-231d8d5edfd8?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/e295a6f7-8cfa-4164-8cf6-4fb96a762d01?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -36,7 +33,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:55:29 GMT + - Fri, 02 Apr 2021 10:32:20 GMT expires: - '-1' pragma: @@ -48,7 +45,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '24' + - '23' status: code: 201 message: Created @@ -56,7 +53,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -66,10 +63,9 @@ interactions: ParameterSetName: - -g -n --sku --location User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/53d15ce4-9566-4129-890c-231d8d5edfd8?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/e295a6f7-8cfa-4164-8cf6-4fb96a762d01?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -81,7 +77,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:55:41 GMT + - Fri, 02 Apr 2021 10:32:31 GMT expires: - '-1' pragma: @@ -103,7 +99,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -113,8 +109,7 @@ interactions: ParameterSetName: - -g -n --sku --location User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1?api-version=2020-09-01 response: @@ -128,7 +123,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:55:41 GMT + - Fri, 02 Apr 2021 10:32:32 GMT expires: - '-1' pragma: @@ -144,7 +139,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '47' + - '49' status: code: 200 message: OK @@ -162,10 +157,7 @@ interactions: ParameterSetName: - -g --name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/wafpolicy1?api-version=2020-09-01 response: @@ -181,7 +173,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:55:42 GMT + - Fri, 02 Apr 2021 10:32:32 GMT expires: - '-1' pragma: @@ -196,8 +188,8 @@ interactions: code: 404 message: Not Found - request: - body: '{"location": "Global", "properties": {"policySettings": {"enabledState": - "Enabled", "mode": "Detection"}}, "sku": {"name": "Standard_Microsoft"}}' + body: '{"location": "Global", "sku": {"name": "Standard_Microsoft"}, "properties": + {"policySettings": {"enabledState": "Enabled", "mode": "Detection"}}}' headers: Accept: - application/json @@ -210,14 +202,11 @@ interactions: Content-Length: - '145' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/wafpolicy1?api-version=2020-09-01 response: @@ -231,7 +220,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:55:50 GMT + - Fri, 02 Apr 2021 10:32:39 GMT expires: - '-1' pragma: @@ -243,7 +232,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1193' status: code: 201 message: Created @@ -261,15 +250,15 @@ interactions: ParameterSetName: - -g --origin --profile-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001","name":"cli_test_cdn_domain000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T11:55:24Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001","name":"cli_test_cdn_domain000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:32:12Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -278,7 +267,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:55:49 GMT + - Fri, 02 Apr 2021 10:32:39 GMT expires: - '-1' pragma: @@ -308,14 +297,11 @@ interactions: Content-Length: - '229' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --origin --profile-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1/endpoints/ep1000002?api-version=2020-09-01 response: @@ -323,7 +309,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1/endpoints/ep1000002","type":"Microsoft.Cdn/profiles/endpoints","name":"ep1000002","location":"WestUs","tags":{},"properties":{"hostName":"ep1000002.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.test.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":1,"weight":1000,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":null,"webApplicationFirewallPolicyLink":null,"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/e06b3ee4-d304-4b22-9e33-80320fa266ab?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/7e582aac-4efa-4035-ac8e-6262c3c1d4d6?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -331,7 +317,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:55:58 GMT + - Fri, 02 Apr 2021 10:32:48 GMT expires: - '-1' pragma: @@ -343,7 +329,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '97' + - '99' status: code: 201 message: Created @@ -351,7 +337,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -361,10 +347,9 @@ interactions: ParameterSetName: - -g --origin --profile-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/e06b3ee4-d304-4b22-9e33-80320fa266ab?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/7e582aac-4efa-4035-ac8e-6262c3c1d4d6?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -376,7 +361,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:56:10 GMT + - Fri, 02 Apr 2021 10:32:58 GMT expires: - '-1' pragma: @@ -398,7 +383,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -408,10 +393,9 @@ interactions: ParameterSetName: - -g --origin --profile-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/e06b3ee4-d304-4b22-9e33-80320fa266ab?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/7e582aac-4efa-4035-ac8e-6262c3c1d4d6?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -423,7 +407,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:56:40 GMT + - Fri, 02 Apr 2021 10:33:29 GMT expires: - '-1' pragma: @@ -445,7 +429,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -455,8 +439,7 @@ interactions: ParameterSetName: - -g --origin --profile-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1/endpoints/ep1000002?api-version=2020-09-01 response: @@ -470,7 +453,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:56:40 GMT + - Fri, 02 Apr 2021 10:33:29 GMT expires: - '-1' pragma: @@ -486,7 +469,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '47' + - '49' status: code: 200 message: OK @@ -504,10 +487,7 @@ interactions: ParameterSetName: - -g --profile-name --endpoint-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1/endpoints/ep1000002?api-version=2020-09-01 response: @@ -521,7 +501,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:56:42 GMT + - Fri, 02 Apr 2021 10:33:31 GMT expires: - '-1' pragma: @@ -556,10 +536,7 @@ interactions: - -g --profile-name --endpoint-name --waf-policy-subscription-id --waf-policy-resource-group-name --waf-policy-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1/endpoints/ep1000002?api-version=2020-09-01 response: @@ -573,7 +550,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:56:43 GMT + - Fri, 02 Apr 2021 10:33:31 GMT expires: - '-1' pragma: @@ -589,7 +566,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '47' + - '46' status: code: 200 message: OK @@ -613,15 +590,12 @@ interactions: Content-Length: - '689' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --endpoint-name --waf-policy-subscription-id --waf-policy-resource-group-name --waf-policy-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1/endpoints/ep1000002?api-version=2020-09-01 response: @@ -629,7 +603,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1/endpoints/ep1000002","type":"Microsoft.Cdn/profiles/endpoints","name":"ep1000002","location":"WestUs","tags":{},"properties":{"hostName":"ep1000002.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.test.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":1,"weight":1000,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":[],"webApplicationFirewallPolicyLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/wafpolicy1"},"resourceState":"Running","provisioningState":"Succeeded"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/25548d1f-12d8-4bc8-95ff-b71e761f4a4a?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/c6fcf5fc-98e8-44fc-9634-e4c2162a16bc?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -637,11 +611,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:56:45 GMT + - Fri, 02 Apr 2021 10:33:34 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/25548d1f-12d8-4bc8-95ff-b71e761f4a4a/profileresults/ps1/endpointresults/ep1000002?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/c6fcf5fc-98e8-44fc-9634-e4c2162a16bc/profileresults/ps1/endpointresults/ep1000002?api-version=2020-09-01 pragma: - no-cache server: @@ -659,7 +633,54 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cdn endpoint waf policy set + Connection: + - keep-alive + ParameterSetName: + - -g --profile-name --endpoint-name --waf-policy-subscription-id --waf-policy-resource-group-name + --waf-policy-name + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/c6fcf5fc-98e8-44fc-9634-e4c2162a16bc?api-version=2020-09-01 + response: + body: + string: '{"status":"InProgress","error":{"code":"None","message":null}}' + headers: + cache-control: + - no-cache + content-length: + - '62' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Apr 2021 10:33:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -670,10 +691,9 @@ interactions: - -g --profile-name --endpoint-name --waf-policy-subscription-id --waf-policy-resource-group-name --waf-policy-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/25548d1f-12d8-4bc8-95ff-b71e761f4a4a?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/c6fcf5fc-98e8-44fc-9634-e4c2162a16bc?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -685,7 +705,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:56:56 GMT + - Fri, 02 Apr 2021 10:34:15 GMT expires: - '-1' pragma: @@ -707,7 +727,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -718,8 +738,7 @@ interactions: - -g --profile-name --endpoint-name --waf-policy-subscription-id --waf-policy-resource-group-name --waf-policy-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1/endpoints/ep1000002?api-version=2020-09-01 response: @@ -733,7 +752,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:56:57 GMT + - Fri, 02 Apr 2021 10:34:16 GMT expires: - '-1' pragma: @@ -749,7 +768,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '47' + - '45' status: code: 200 message: OK @@ -767,10 +786,7 @@ interactions: ParameterSetName: - -g --profile-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1/endpoints/ep1000002?api-version=2020-09-01 response: @@ -784,7 +800,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:56:58 GMT + - Fri, 02 Apr 2021 10:34:17 GMT expires: - '-1' pragma: @@ -800,7 +816,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '47' + - '48' status: code: 200 message: OK @@ -818,10 +834,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/wafpolicy1?api-version=2020-09-01 response: @@ -835,7 +848,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:57:00 GMT + - Fri, 02 Apr 2021 10:34:18 GMT expires: - '-1' pragma: @@ -867,15 +880,15 @@ interactions: ParameterSetName: - -g --origin --profile-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001","name":"cli_test_cdn_domain000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T11:55:24Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001","name":"cli_test_cdn_domain000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:32:12Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -884,7 +897,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:57:00 GMT + - Fri, 02 Apr 2021 10:34:18 GMT expires: - '-1' pragma: @@ -914,14 +927,11 @@ interactions: Content-Length: - '229' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --origin --profile-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1/endpoints/ep2000003?api-version=2020-09-01 response: @@ -929,7 +939,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1/endpoints/ep2000003","type":"Microsoft.Cdn/profiles/endpoints","name":"ep2000003","location":"WestUs","tags":{},"properties":{"hostName":"ep2000003.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.test.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":1,"weight":1000,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":null,"webApplicationFirewallPolicyLink":null,"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/f4e3697d-37ac-49e4-ae90-9d22e591245b?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/ffd54c5f-a671-4ddd-b6ef-ac625bc6ef40?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -937,7 +947,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:57:10 GMT + - Fri, 02 Apr 2021 10:34:28 GMT expires: - '-1' pragma: @@ -949,7 +959,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '97' + - '98' status: code: 201 message: Created @@ -957,7 +967,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -967,10 +977,9 @@ interactions: ParameterSetName: - -g --origin --profile-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/f4e3697d-37ac-49e4-ae90-9d22e591245b?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/ffd54c5f-a671-4ddd-b6ef-ac625bc6ef40?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -982,7 +991,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:57:21 GMT + - Fri, 02 Apr 2021 10:34:38 GMT expires: - '-1' pragma: @@ -1004,7 +1013,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1014,10 +1023,9 @@ interactions: ParameterSetName: - -g --origin --profile-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/f4e3697d-37ac-49e4-ae90-9d22e591245b?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/ffd54c5f-a671-4ddd-b6ef-ac625bc6ef40?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -1029,7 +1037,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:57:51 GMT + - Fri, 02 Apr 2021 10:35:09 GMT expires: - '-1' pragma: @@ -1051,7 +1059,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1061,8 +1069,7 @@ interactions: ParameterSetName: - -g --origin --profile-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1/endpoints/ep2000003?api-version=2020-09-01 response: @@ -1076,7 +1083,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:57:51 GMT + - Fri, 02 Apr 2021 10:35:10 GMT expires: - '-1' pragma: @@ -1092,7 +1099,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '44' + - '47' status: code: 200 message: OK @@ -1110,10 +1117,7 @@ interactions: ParameterSetName: - -g --profile-name --endpoint-name --waf-policy-id User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1/endpoints/ep2000003?api-version=2020-09-01 response: @@ -1127,7 +1131,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:57:54 GMT + - Fri, 02 Apr 2021 10:35:10 GMT expires: - '-1' pragma: @@ -1167,14 +1171,11 @@ interactions: Content-Length: - '689' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --endpoint-name --waf-policy-id User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1/endpoints/ep2000003?api-version=2020-09-01 response: @@ -1182,7 +1183,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1/endpoints/ep2000003","type":"Microsoft.Cdn/profiles/endpoints","name":"ep2000003","location":"WestUs","tags":{},"properties":{"hostName":"ep2000003.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.test.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":1,"weight":1000,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":[],"webApplicationFirewallPolicyLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/cdnwebapplicationfirewallpolicies/wafpolicy1"},"resourceState":"Running","provisioningState":"Succeeded"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/05f3eac6-f84b-4fac-abd8-a87a74b63d97?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/ab288779-0694-4519-a242-254c286da750?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -1190,11 +1191,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:57:56 GMT + - Fri, 02 Apr 2021 10:35:12 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/05f3eac6-f84b-4fac-abd8-a87a74b63d97/profileresults/ps1/endpointresults/ep2000003?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/ab288779-0694-4519-a242-254c286da750/profileresults/ps1/endpointresults/ep2000003?api-version=2020-09-01 pragma: - no-cache server: @@ -1204,7 +1205,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '99' + - '98' status: code: 202 message: Accepted @@ -1212,7 +1213,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1222,10 +1223,9 @@ interactions: ParameterSetName: - -g --profile-name --endpoint-name --waf-policy-id User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/05f3eac6-f84b-4fac-abd8-a87a74b63d97?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/ab288779-0694-4519-a242-254c286da750?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -1237,7 +1237,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:58:06 GMT + - Fri, 02 Apr 2021 10:35:23 GMT expires: - '-1' pragma: @@ -1259,7 +1259,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1269,8 +1269,7 @@ interactions: ParameterSetName: - -g --profile-name --endpoint-name --waf-policy-id User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1/endpoints/ep2000003?api-version=2020-09-01 response: @@ -1284,7 +1283,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:58:07 GMT + - Fri, 02 Apr 2021 10:35:23 GMT expires: - '-1' pragma: @@ -1300,7 +1299,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '46' + - '47' status: code: 200 message: OK @@ -1318,10 +1317,7 @@ interactions: ParameterSetName: - -g --profile-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1/endpoints/ep2000003?api-version=2020-09-01 response: @@ -1335,7 +1331,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:58:08 GMT + - Fri, 02 Apr 2021 10:35:24 GMT expires: - '-1' pragma: @@ -1351,7 +1347,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '45' + - '46' status: code: 200 message: OK @@ -1369,10 +1365,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/wafpolicy1?api-version=2020-09-01 response: @@ -1386,7 +1379,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:58:10 GMT + - Fri, 02 Apr 2021 10:35:26 GMT expires: - '-1' pragma: @@ -1418,10 +1411,7 @@ interactions: ParameterSetName: - -y -g --profile-name --endpoint-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1/endpoints/ep1000002?api-version=2020-09-01 response: @@ -1435,7 +1425,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:58:11 GMT + - Fri, 02 Apr 2021 10:35:27 GMT expires: - '-1' pragma: @@ -1451,7 +1441,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '47' + - '49' status: code: 200 message: OK @@ -1474,14 +1464,11 @@ interactions: Content-Length: - '430' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -y -g --profile-name --endpoint-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1/endpoints/ep1000002?api-version=2020-09-01 response: @@ -1489,7 +1476,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1/endpoints/ep1000002","type":"Microsoft.Cdn/profiles/endpoints","name":"ep1000002","location":"WestUs","tags":{},"properties":{"hostName":"ep1000002.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.test.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":1,"weight":1000,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":[],"webApplicationFirewallPolicyLink":null,"resourceState":"Running","provisioningState":"Succeeded"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/9d9972a8-3dfd-4a9b-9fb9-b1587b1ece8a?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/0f81ac68-223b-4e9d-9926-24f98f2395f8?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -1497,11 +1484,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:58:13 GMT + - Fri, 02 Apr 2021 10:35:30 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/9d9972a8-3dfd-4a9b-9fb9-b1587b1ece8a/profileresults/ps1/endpointresults/ep1000002?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/0f81ac68-223b-4e9d-9926-24f98f2395f8/profileresults/ps1/endpointresults/ep1000002?api-version=2020-09-01 pragma: - no-cache server: @@ -1511,7 +1498,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '95' + - '99' status: code: 202 message: Accepted @@ -1519,7 +1506,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1529,10 +1516,9 @@ interactions: ParameterSetName: - -y -g --profile-name --endpoint-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/9d9972a8-3dfd-4a9b-9fb9-b1587b1ece8a?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/0f81ac68-223b-4e9d-9926-24f98f2395f8?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -1544,7 +1530,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:58:23 GMT + - Fri, 02 Apr 2021 10:35:40 GMT expires: - '-1' pragma: @@ -1566,7 +1552,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1576,8 +1562,7 @@ interactions: ParameterSetName: - -y -g --profile-name --endpoint-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1/endpoints/ep1000002?api-version=2020-09-01 response: @@ -1591,7 +1576,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:58:24 GMT + - Fri, 02 Apr 2021 10:35:40 GMT expires: - '-1' pragma: @@ -1607,7 +1592,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '45' + - '48' status: code: 200 message: OK @@ -1625,10 +1610,7 @@ interactions: ParameterSetName: - -g --profile-name --endpoint-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1/endpoints/ep1000002?api-version=2020-09-01 response: @@ -1642,7 +1624,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:58:25 GMT + - Fri, 02 Apr 2021 10:35:42 GMT expires: - '-1' pragma: @@ -1658,7 +1640,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '44' + - '49' status: code: 200 message: OK @@ -1676,10 +1658,7 @@ interactions: ParameterSetName: - -g --profile-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1/endpoints/ep1000002?api-version=2020-09-01 response: @@ -1693,7 +1672,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:58:27 GMT + - Fri, 02 Apr 2021 10:35:43 GMT expires: - '-1' pragma: @@ -1709,7 +1688,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '47' + - '49' status: code: 200 message: OK @@ -1727,10 +1706,7 @@ interactions: ParameterSetName: - -y -g --profile-name --endpoint-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1/endpoints/ep2000003?api-version=2020-09-01 response: @@ -1744,7 +1720,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:58:28 GMT + - Fri, 02 Apr 2021 10:35:44 GMT expires: - '-1' pragma: @@ -1760,7 +1736,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '46' + - '49' status: code: 200 message: OK @@ -1783,14 +1759,11 @@ interactions: Content-Length: - '430' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -y -g --profile-name --endpoint-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1/endpoints/ep2000003?api-version=2020-09-01 response: @@ -1798,7 +1771,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1/endpoints/ep2000003","type":"Microsoft.Cdn/profiles/endpoints","name":"ep2000003","location":"WestUs","tags":{},"properties":{"hostName":"ep2000003.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.test.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":1,"weight":1000,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":[],"webApplicationFirewallPolicyLink":null,"resourceState":"Running","provisioningState":"Succeeded"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/1bdf8119-b9ab-48dc-b05a-ca02b4e5197f?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/ebe18423-026f-4bf2-a75e-78d7cef1e45e?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -1806,11 +1779,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:58:30 GMT + - Fri, 02 Apr 2021 10:35:47 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/1bdf8119-b9ab-48dc-b05a-ca02b4e5197f/profileresults/ps1/endpointresults/ep2000003?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/ebe18423-026f-4bf2-a75e-78d7cef1e45e/profileresults/ps1/endpointresults/ep2000003?api-version=2020-09-01 pragma: - no-cache server: @@ -1820,7 +1793,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '97' + - '99' status: code: 202 message: Accepted @@ -1828,7 +1801,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1838,10 +1811,55 @@ interactions: ParameterSetName: - -y -g --profile-name --endpoint-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/1bdf8119-b9ab-48dc-b05a-ca02b4e5197f?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/ebe18423-026f-4bf2-a75e-78d7cef1e45e?api-version=2020-09-01 + response: + body: + string: '{"status":"InProgress","error":{"code":"None","message":null}}' + headers: + cache-control: + - no-cache + content-length: + - '62' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Apr 2021 10:35:57 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cdn endpoint waf policy remove + Connection: + - keep-alive + ParameterSetName: + - -y -g --profile-name --endpoint-name + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/operationresults/ebe18423-026f-4bf2-a75e-78d7cef1e45e?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -1853,7 +1871,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:58:40 GMT + - Fri, 02 Apr 2021 10:36:28 GMT expires: - '-1' pragma: @@ -1875,7 +1893,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1885,8 +1903,7 @@ interactions: ParameterSetName: - -y -g --profile-name --endpoint-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1/endpoints/ep2000003?api-version=2020-09-01 response: @@ -1900,7 +1917,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:58:41 GMT + - Fri, 02 Apr 2021 10:36:28 GMT expires: - '-1' pragma: @@ -1916,7 +1933,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '43' + - '46' status: code: 200 message: OK @@ -1934,10 +1951,7 @@ interactions: ParameterSetName: - -g --profile-name --endpoint-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1/endpoints/ep2000003?api-version=2020-09-01 response: @@ -1951,7 +1965,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:58:42 GMT + - Fri, 02 Apr 2021 10:36:30 GMT expires: - '-1' pragma: @@ -1967,7 +1981,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '47' + - '46' status: code: 200 message: OK @@ -1985,10 +1999,7 @@ interactions: ParameterSetName: - -g --profile-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/profiles/ps1/endpoints/ep2000003?api-version=2020-09-01 response: @@ -2002,7 +2013,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:58:43 GMT + - Fri, 02 Apr 2021 10:36:31 GMT expires: - '-1' pragma: @@ -2018,7 +2029,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '45' + - '48' status: code: 200 message: OK @@ -2036,10 +2047,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cdn_domain000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/wafpolicy1?api-version=2020-09-01 response: @@ -2053,7 +2061,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:58:44 GMT + - Fri, 02 Apr 2021 10:36:32 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_waf_managed_rule_set_crud.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_waf_managed_rule_set_crud.yaml index 0186f56f6bb..a5bebd76478 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_waf_managed_rule_set_crud.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_waf_managed_rule_set_crud.yaml @@ -11,10 +11,7 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Cdn/CdnWebApplicationFirewallManagedRuleSets?api-version=2020-09-01 response: @@ -140,7 +137,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:18 GMT + - Fri, 02 Apr 2021 10:31:32 GMT expires: - '-1' pragma: @@ -172,10 +169,7 @@ interactions: ParameterSetName: - --rule-set-type --rule-set-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Cdn/CdnWebApplicationFirewallManagedRuleSets?api-version=2020-09-01 response: @@ -301,7 +295,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:20 GMT + - Fri, 02 Apr 2021 10:31:33 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_waf_policy_crud.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_waf_policy_crud.yaml index d98a965eef3..40c7ee8bd10 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_waf_policy_crud.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_cdn_waf_policy_crud.yaml @@ -13,10 +13,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -32,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:17 GMT + - Fri, 02 Apr 2021 10:31:04 GMT expires: - '-1' pragma: @@ -60,10 +57,7 @@ interactions: ParameterSetName: - -g --name --redirect-url --tags User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -79,7 +73,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:18 GMT + - Fri, 02 Apr 2021 10:31:05 GMT expires: - '-1' pragma: @@ -94,9 +88,9 @@ interactions: code: 404 message: Not Found - request: - body: '{"location": "Global", "tags": {"foo": "bar"}, "properties": {"policySettings": - {"enabledState": "Enabled", "mode": "Detection", "defaultRedirectUrl": "https://example.com"}}, - "sku": {"name": "Standard_Microsoft"}}' + body: '{"location": "Global", "tags": {"foo": "bar"}, "sku": {"name": "Standard_Microsoft"}, + "properties": {"policySettings": {"enabledState": "Enabled", "mode": "Detection", + "defaultRedirectUrl": "https://example.com"}}}' headers: Accept: - application/json @@ -109,14 +103,11 @@ interactions: Content-Length: - '214' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --name --redirect-url --tags User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -130,7 +121,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:25 GMT + - Fri, 02 Apr 2021 10:31:10 GMT expires: - '-1' pragma: @@ -142,7 +133,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1196' status: code: 201 message: Created @@ -160,10 +151,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -177,7 +165,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:26 GMT + - Fri, 02 Apr 2021 10:31:12 GMT expires: - '-1' pragma: @@ -209,10 +197,7 @@ interactions: ParameterSetName: - -g User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies?api-version=2020-09-01 response: @@ -226,7 +211,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:27 GMT + - Fri, 02 Apr 2021 10:31:13 GMT expires: - '-1' pragma: @@ -258,10 +243,7 @@ interactions: ParameterSetName: - -g --policy-name --rule-set-type --rule-set-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -275,7 +257,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:28 GMT + - Fri, 02 Apr 2021 10:31:14 GMT expires: - '-1' pragma: @@ -307,10 +289,7 @@ interactions: ParameterSetName: - -g --policy-name --rule-set-type --rule-set-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -324,7 +303,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:29 GMT + - Fri, 02 Apr 2021 10:31:16 GMT expires: - '-1' pragma: @@ -343,11 +322,11 @@ interactions: code: 200 message: OK - request: - body: '{"location": "Global", "tags": {"foo": "bar"}, "properties": {"policySettings": - {"enabledState": "Enabled", "mode": "Detection", "defaultRedirectUrl": "https://example.com"}, - "rateLimitRules": {"rules": []}, "customRules": {"rules": []}, "managedRules": - {"managedRuleSets": [{"ruleSetType": "DefaultRuleSet", "ruleSetVersion": "1.0"}]}}, - "sku": {"name": "Standard_Microsoft"}}' + body: '{"location": "Global", "tags": {"foo": "bar"}, "sku": {"name": "Standard_Microsoft"}, + "properties": {"policySettings": {"enabledState": "Enabled", "mode": "Detection", + "defaultRedirectUrl": "https://example.com"}, "rateLimitRules": {"rules": []}, + "customRules": {"rules": []}, "managedRules": {"managedRuleSets": [{"ruleSetType": + "DefaultRuleSet", "ruleSetVersion": "1.0"}]}}}' headers: Accept: - application/json @@ -360,14 +339,11 @@ interactions: Content-Length: - '376' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --policy-name --rule-set-type --rule-set-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -381,7 +357,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:31 GMT + - Fri, 02 Apr 2021 10:31:17 GMT expires: - '-1' pragma: @@ -415,10 +391,7 @@ interactions: ParameterSetName: - -g --policy-name --rule-set-type --rule-set-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -432,7 +405,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:31 GMT + - Fri, 02 Apr 2021 10:31:19 GMT expires: - '-1' pragma: @@ -464,10 +437,7 @@ interactions: ParameterSetName: - -g --policy-name --rule-set-type --rule-set-version -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -481,7 +451,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:33 GMT + - Fri, 02 Apr 2021 10:31:19 GMT expires: - '-1' pragma: @@ -513,10 +483,7 @@ interactions: ParameterSetName: - -g --policy-name --rule-set-type --rule-set-version -n -r -r -r User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -530,7 +497,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:34 GMT + - Fri, 02 Apr 2021 10:31:20 GMT expires: - '-1' pragma: @@ -549,13 +516,13 @@ interactions: code: 200 message: OK - request: - body: '{"location": "Global", "tags": {"foo": "bar"}, "properties": {"policySettings": - {"enabledState": "Enabled", "mode": "Detection", "defaultRedirectUrl": "https://example.com"}, - "rateLimitRules": {"rules": []}, "customRules": {"rules": []}, "managedRules": - {"managedRuleSets": [{"ruleSetType": "DefaultRuleSet", "ruleSetVersion": "1.0", - "anomalyScore": 0, "ruleGroupOverrides": [{"ruleGroupName": "SQLI", "rules": - [{"ruleId": "942440", "enabledState": "Enabled", "action": "Redirect"}, {"ruleId": - "942120"}, {"ruleId": "942100"}]}]}]}}, "sku": {"name": "Standard_Microsoft"}}' + body: '{"location": "Global", "tags": {"foo": "bar"}, "sku": {"name": "Standard_Microsoft"}, + "properties": {"policySettings": {"enabledState": "Enabled", "mode": "Detection", + "defaultRedirectUrl": "https://example.com"}, "rateLimitRules": {"rules": []}, + "customRules": {"rules": []}, "managedRules": {"managedRuleSets": [{"ruleSetType": + "DefaultRuleSet", "ruleSetVersion": "1.0", "anomalyScore": 0, "ruleGroupOverrides": + [{"ruleGroupName": "SQLI", "rules": [{"ruleId": "942440", "enabledState": "Enabled", + "action": "Redirect"}, {"ruleId": "942120"}, {"ruleId": "942100"}]}]}]}}}' headers: Accept: - application/json @@ -568,14 +535,11 @@ interactions: Content-Length: - '572' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --policy-name --rule-set-type --rule-set-version -n -r -r -r User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -589,7 +553,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:35 GMT + - Fri, 02 Apr 2021 10:31:21 GMT expires: - '-1' pragma: @@ -605,7 +569,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -623,10 +587,7 @@ interactions: ParameterSetName: - -g --policy-name --rule-set-type --rule-set-version -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -640,7 +601,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:36 GMT + - Fri, 02 Apr 2021 10:31:23 GMT expires: - '-1' pragma: @@ -672,10 +633,7 @@ interactions: ParameterSetName: - -g --policy-name --rule-set-type --rule-set-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -689,7 +647,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:37 GMT + - Fri, 02 Apr 2021 10:31:24 GMT expires: - '-1' pragma: @@ -721,10 +679,7 @@ interactions: ParameterSetName: - -g --policy-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -738,7 +693,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:37 GMT + - Fri, 02 Apr 2021 10:31:26 GMT expires: - '-1' pragma: @@ -770,10 +725,7 @@ interactions: ParameterSetName: - -g --policy-name -n --action --priority --match-condition User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -787,7 +739,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:38 GMT + - Fri, 02 Apr 2021 10:31:26 GMT expires: - '-1' pragma: @@ -806,17 +758,17 @@ interactions: code: 200 message: OK - request: - body: '{"location": "Global", "tags": {"foo": "bar"}, "properties": {"policySettings": - {"enabledState": "Enabled", "mode": "Detection", "defaultRedirectUrl": "https://example.com"}, - "rateLimitRules": {"rules": []}, "customRules": {"rules": [{"name": "customrule1", - "enabledState": "Enabled", "priority": 100, "matchConditions": [{"matchVariable": - "RequestMethod", "operator": "Equal", "negateCondition": true, "matchValue": - ["GET", "HEAD"], "transforms": []}], "action": "Block"}]}, "managedRules": {"managedRuleSets": - [{"ruleSetType": "DefaultRuleSet", "ruleSetVersion": "1.0", "anomalyScore": - 0, "ruleGroupOverrides": [{"ruleGroupName": "SQLI", "rules": [{"ruleId": "942440", - "enabledState": "Enabled", "action": "Redirect"}, {"ruleId": "942120", "enabledState": - "Disabled", "action": "Block"}, {"ruleId": "942100", "enabledState": "Disabled", - "action": "Block"}]}]}]}}, "sku": {"name": "Standard_Microsoft"}}' + body: '{"location": "Global", "tags": {"foo": "bar"}, "sku": {"name": "Standard_Microsoft"}, + "properties": {"policySettings": {"enabledState": "Enabled", "mode": "Detection", + "defaultRedirectUrl": "https://example.com"}, "rateLimitRules": {"rules": []}, + "customRules": {"rules": [{"name": "customrule1", "enabledState": "Enabled", + "priority": 100, "matchConditions": [{"matchVariable": "RequestMethod", "operator": + "Equal", "negateCondition": true, "matchValue": ["GET", "HEAD"], "transforms": + []}], "action": "Block"}]}, "managedRules": {"managedRuleSets": [{"ruleSetType": + "DefaultRuleSet", "ruleSetVersion": "1.0", "anomalyScore": 0, "ruleGroupOverrides": + [{"ruleGroupName": "SQLI", "rules": [{"ruleId": "942440", "enabledState": "Enabled", + "action": "Redirect"}, {"ruleId": "942120", "enabledState": "Disabled", "action": + "Block"}, {"ruleId": "942100", "enabledState": "Disabled", "action": "Block"}]}]}]}}}' headers: Accept: - application/json @@ -829,14 +781,11 @@ interactions: Content-Length: - '904' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --policy-name -n --action --priority --match-condition User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -850,7 +799,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:40 GMT + - Fri, 02 Apr 2021 10:31:28 GMT expires: - '-1' pragma: @@ -866,7 +815,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 200 message: OK @@ -884,10 +833,7 @@ interactions: ParameterSetName: - -g --policy-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -901,7 +847,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:40 GMT + - Fri, 02 Apr 2021 10:31:29 GMT expires: - '-1' pragma: @@ -933,10 +879,7 @@ interactions: ParameterSetName: - -g --policy-name -n --action --priority -m -m User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -950,7 +893,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:42 GMT + - Fri, 02 Apr 2021 10:31:30 GMT expires: - '-1' pragma: @@ -969,21 +912,21 @@ interactions: code: 200 message: OK - request: - body: '{"location": "Global", "tags": {"foo": "bar"}, "properties": {"policySettings": - {"enabledState": "Enabled", "mode": "Detection", "defaultRedirectUrl": "https://example.com"}, - "rateLimitRules": {"rules": []}, "customRules": {"rules": [{"name": "customrule1", - "enabledState": "Enabled", "priority": 100, "matchConditions": [{"matchVariable": - "RequestMethod", "operator": "Equal", "negateCondition": true, "matchValue": - ["GET", "HEAD"], "transforms": []}], "action": "Block"}, {"name": "customrule2", - "enabledState": "Enabled", "priority": 200, "matchConditions": [{"matchVariable": - "RequestUri", "operator": "Contains", "matchValue": [".."], "transforms": []}, - {"matchVariable": "QueryString", "operator": "Contains", "matchValue": [" "], - "transforms": []}], "action": "Redirect"}]}, "managedRules": {"managedRuleSets": - [{"ruleSetType": "DefaultRuleSet", "ruleSetVersion": "1.0", "anomalyScore": - 0, "ruleGroupOverrides": [{"ruleGroupName": "SQLI", "rules": [{"ruleId": "942440", - "enabledState": "Enabled", "action": "Redirect"}, {"ruleId": "942120", "enabledState": - "Disabled", "action": "Block"}, {"ruleId": "942100", "enabledState": "Disabled", - "action": "Block"}]}]}]}}, "sku": {"name": "Standard_Microsoft"}}' + body: '{"location": "Global", "tags": {"foo": "bar"}, "sku": {"name": "Standard_Microsoft"}, + "properties": {"policySettings": {"enabledState": "Enabled", "mode": "Detection", + "defaultRedirectUrl": "https://example.com"}, "rateLimitRules": {"rules": []}, + "customRules": {"rules": [{"name": "customrule1", "enabledState": "Enabled", + "priority": 100, "matchConditions": [{"matchVariable": "RequestMethod", "operator": + "Equal", "negateCondition": true, "matchValue": ["GET", "HEAD"], "transforms": + []}], "action": "Block"}, {"name": "customrule2", "enabledState": "Enabled", + "priority": 200, "matchConditions": [{"matchVariable": "RequestUri", "operator": + "Contains", "matchValue": [".."], "transforms": []}, {"matchVariable": "QueryString", + "operator": "Contains", "matchValue": [" "], "transforms": []}], "action": "Redirect"}]}, + "managedRules": {"managedRuleSets": [{"ruleSetType": "DefaultRuleSet", "ruleSetVersion": + "1.0", "anomalyScore": 0, "ruleGroupOverrides": [{"ruleGroupName": "SQLI", "rules": + [{"ruleId": "942440", "enabledState": "Enabled", "action": "Redirect"}, {"ruleId": + "942120", "enabledState": "Disabled", "action": "Block"}, {"ruleId": "942100", + "enabledState": "Disabled", "action": "Block"}]}]}]}}}' headers: Accept: - application/json @@ -996,14 +939,11 @@ interactions: Content-Length: - '1210' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --policy-name -n --action --priority -m -m User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -1018,7 +958,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:43 GMT + - Fri, 02 Apr 2021 10:31:32 GMT expires: - '-1' pragma: @@ -1034,7 +974,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1195' status: code: 200 message: OK @@ -1052,10 +992,7 @@ interactions: ParameterSetName: - -g --policy-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -1070,7 +1007,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:44 GMT + - Fri, 02 Apr 2021 10:31:33 GMT expires: - '-1' pragma: @@ -1102,10 +1039,7 @@ interactions: ParameterSetName: - -g --policy-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -1120,7 +1054,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:45 GMT + - Fri, 02 Apr 2021 10:31:34 GMT expires: - '-1' pragma: @@ -1152,10 +1086,7 @@ interactions: ParameterSetName: - -g --policy-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -1170,7 +1101,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:46 GMT + - Fri, 02 Apr 2021 10:31:35 GMT expires: - '-1' pragma: @@ -1202,10 +1133,7 @@ interactions: ParameterSetName: - -g --policy-name -n --action --priority --duration --request-threshold --match-condition User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -1220,7 +1148,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:48 GMT + - Fri, 02 Apr 2021 10:31:36 GMT expires: - '-1' pragma: @@ -1239,25 +1167,26 @@ interactions: code: 200 message: OK - request: - body: '{"location": "Global", "tags": {"foo": "bar"}, "properties": {"policySettings": - {"enabledState": "Enabled", "mode": "Detection", "defaultRedirectUrl": "https://example.com"}, - "rateLimitRules": {"rules": [{"name": "ratelimitrule1", "enabledState": "Enabled", - "priority": 100, "matchConditions": [{"matchVariable": "RequestMethod", "operator": - "Equal", "negateCondition": true, "matchValue": ["GET", "HEAD"], "transforms": - []}], "action": "Block", "rateLimitThreshold": 100, "rateLimitDurationInMinutes": - 1}]}, "customRules": {"rules": [{"name": "customrule1", "enabledState": "Enabled", - "priority": 100, "matchConditions": [{"matchVariable": "RequestMethod", "operator": - "Equal", "negateCondition": true, "matchValue": ["GET", "HEAD"], "transforms": - []}], "action": "Block"}, {"name": "customrule2", "enabledState": "Enabled", - "priority": 200, "matchConditions": [{"matchVariable": "RequestUri", "operator": - "Contains", "negateCondition": false, "matchValue": [".."], "transforms": []}, - {"matchVariable": "QueryString", "operator": "Contains", "negateCondition": - false, "matchValue": [" "], "transforms": []}], "action": "Redirect"}]}, "managedRules": - {"managedRuleSets": [{"ruleSetType": "DefaultRuleSet", "ruleSetVersion": "1.0", - "anomalyScore": 0, "ruleGroupOverrides": [{"ruleGroupName": "SQLI", "rules": - [{"ruleId": "942440", "enabledState": "Enabled", "action": "Redirect"}, {"ruleId": - "942120", "enabledState": "Disabled", "action": "Block"}, {"ruleId": "942100", - "enabledState": "Disabled", "action": "Block"}]}]}]}}, "sku": {"name": "Standard_Microsoft"}}' + body: '{"location": "Global", "tags": {"foo": "bar"}, "sku": {"name": "Standard_Microsoft"}, + "properties": {"policySettings": {"enabledState": "Enabled", "mode": "Detection", + "defaultRedirectUrl": "https://example.com"}, "rateLimitRules": {"rules": [{"name": + "ratelimitrule1", "enabledState": "Enabled", "priority": 100, "matchConditions": + [{"matchVariable": "RequestMethod", "operator": "Equal", "negateCondition": + true, "matchValue": ["GET", "HEAD"], "transforms": []}], "action": "Block", + "rateLimitThreshold": 100, "rateLimitDurationInMinutes": 1}]}, "customRules": + {"rules": [{"name": "customrule1", "enabledState": "Enabled", "priority": 100, + "matchConditions": [{"matchVariable": "RequestMethod", "operator": "Equal", + "negateCondition": true, "matchValue": ["GET", "HEAD"], "transforms": []}], + "action": "Block"}, {"name": "customrule2", "enabledState": "Enabled", "priority": + 200, "matchConditions": [{"matchVariable": "RequestUri", "operator": "Contains", + "negateCondition": false, "matchValue": [".."], "transforms": []}, {"matchVariable": + "QueryString", "operator": "Contains", "negateCondition": false, "matchValue": + [" "], "transforms": []}], "action": "Redirect"}]}, "managedRules": {"managedRuleSets": + [{"ruleSetType": "DefaultRuleSet", "ruleSetVersion": "1.0", "anomalyScore": + 0, "ruleGroupOverrides": [{"ruleGroupName": "SQLI", "rules": [{"ruleId": "942440", + "enabledState": "Enabled", "action": "Redirect"}, {"ruleId": "942120", "enabledState": + "Disabled", "action": "Block"}, {"ruleId": "942100", "enabledState": "Disabled", + "action": "Block"}]}]}]}}}' headers: Accept: - application/json @@ -1270,14 +1199,11 @@ interactions: Content-Length: - '1563' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --policy-name -n --action --priority --duration --request-threshold --match-condition User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -1292,7 +1218,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:49 GMT + - Fri, 02 Apr 2021 10:31:37 GMT expires: - '-1' pragma: @@ -1308,7 +1234,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1198' status: code: 200 message: OK @@ -1326,10 +1252,7 @@ interactions: ParameterSetName: - -g --policy-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -1344,7 +1267,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:50 GMT + - Fri, 02 Apr 2021 10:31:39 GMT expires: - '-1' pragma: @@ -1377,10 +1300,7 @@ interactions: - -g --policy-name -n --action --priority --duration --request-threshold -m -m User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -1395,7 +1315,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:51 GMT + - Fri, 02 Apr 2021 10:31:40 GMT expires: - '-1' pragma: @@ -1414,30 +1334,30 @@ interactions: code: 200 message: OK - request: - body: '{"location": "Global", "tags": {"foo": "bar"}, "properties": {"policySettings": - {"enabledState": "Enabled", "mode": "Detection", "defaultRedirectUrl": "https://example.com"}, - "rateLimitRules": {"rules": [{"name": "ratelimitrule1", "enabledState": "Enabled", + body: '{"location": "Global", "tags": {"foo": "bar"}, "sku": {"name": "Standard_Microsoft"}, + "properties": {"policySettings": {"enabledState": "Enabled", "mode": "Detection", + "defaultRedirectUrl": "https://example.com"}, "rateLimitRules": {"rules": [{"name": + "ratelimitrule1", "enabledState": "Enabled", "priority": 100, "matchConditions": + [{"matchVariable": "RequestMethod", "operator": "Equal", "negateCondition": + true, "matchValue": ["GET", "HEAD"], "transforms": []}], "action": "Block", + "rateLimitThreshold": 100, "rateLimitDurationInMinutes": 1}, {"name": "ratelimitrule2", + "enabledState": "Enabled", "priority": 200, "matchConditions": [{"matchVariable": + "RequestMethod", "operator": "Equal", "matchValue": ["PUT"], "transforms": []}, + {"matchVariable": "RequestUri", "operator": "Contains", "matchValue": ["/expensive/resource/"], + "transforms": []}], "action": "Redirect", "rateLimitThreshold": 100, "rateLimitDurationInMinutes": + 5}]}, "customRules": {"rules": [{"name": "customrule1", "enabledState": "Enabled", "priority": 100, "matchConditions": [{"matchVariable": "RequestMethod", "operator": "Equal", "negateCondition": true, "matchValue": ["GET", "HEAD"], "transforms": - []}], "action": "Block", "rateLimitThreshold": 100, "rateLimitDurationInMinutes": - 1}, {"name": "ratelimitrule2", "enabledState": "Enabled", "priority": 200, "matchConditions": - [{"matchVariable": "RequestMethod", "operator": "Equal", "matchValue": ["PUT"], - "transforms": []}, {"matchVariable": "RequestUri", "operator": "Contains", "matchValue": - ["/expensive/resource/"], "transforms": []}], "action": "Redirect", "rateLimitThreshold": - 100, "rateLimitDurationInMinutes": 5}]}, "customRules": {"rules": [{"name": - "customrule1", "enabledState": "Enabled", "priority": 100, "matchConditions": - [{"matchVariable": "RequestMethod", "operator": "Equal", "negateCondition": - true, "matchValue": ["GET", "HEAD"], "transforms": []}], "action": "Block"}, - {"name": "customrule2", "enabledState": "Enabled", "priority": 200, "matchConditions": - [{"matchVariable": "RequestUri", "operator": "Contains", "negateCondition": - false, "matchValue": [".."], "transforms": []}, {"matchVariable": "QueryString", - "operator": "Contains", "negateCondition": false, "matchValue": [" "], "transforms": - []}], "action": "Redirect"}]}, "managedRules": {"managedRuleSets": [{"ruleSetType": - "DefaultRuleSet", "ruleSetVersion": "1.0", "anomalyScore": 0, "ruleGroupOverrides": - [{"ruleGroupName": "SQLI", "rules": [{"ruleId": "942440", "enabledState": "Enabled", - "action": "Redirect"}, {"ruleId": "942120", "enabledState": "Disabled", "action": - "Block"}, {"ruleId": "942100", "enabledState": "Disabled", "action": "Block"}]}]}]}}, - "sku": {"name": "Standard_Microsoft"}}' + []}], "action": "Block"}, {"name": "customrule2", "enabledState": "Enabled", + "priority": 200, "matchConditions": [{"matchVariable": "RequestUri", "operator": + "Contains", "negateCondition": false, "matchValue": [".."], "transforms": []}, + {"matchVariable": "QueryString", "operator": "Contains", "negateCondition": + false, "matchValue": [" "], "transforms": []}], "action": "Redirect"}]}, "managedRules": + {"managedRuleSets": [{"ruleSetType": "DefaultRuleSet", "ruleSetVersion": "1.0", + "anomalyScore": 0, "ruleGroupOverrides": [{"ruleGroupName": "SQLI", "rules": + [{"ruleId": "942440", "enabledState": "Enabled", "action": "Redirect"}, {"ruleId": + "942120", "enabledState": "Disabled", "action": "Block"}, {"ruleId": "942100", + "enabledState": "Disabled", "action": "Block"}]}]}]}}}' headers: Accept: - application/json @@ -1450,15 +1370,12 @@ interactions: Content-Length: - '1951' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --policy-name -n --action --priority --duration --request-threshold -m -m User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -1473,7 +1390,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:53 GMT + - Fri, 02 Apr 2021 10:31:42 GMT expires: - '-1' pragma: @@ -1507,10 +1424,7 @@ interactions: ParameterSetName: - -g --policy-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -1525,7 +1439,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:53 GMT + - Fri, 02 Apr 2021 10:31:43 GMT expires: - '-1' pragma: @@ -1557,10 +1471,7 @@ interactions: ParameterSetName: - -g --policy-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -1575,7 +1486,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:54 GMT + - Fri, 02 Apr 2021 10:31:44 GMT expires: - '-1' pragma: @@ -1608,10 +1519,7 @@ interactions: - -g --name --sku --mode --block-response-body --block-response-status-code --redirect-url --tags --disabled User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -1626,7 +1534,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:54:55 GMT + - Fri, 02 Apr 2021 10:31:44 GMT expires: - '-1' pragma: @@ -1645,19 +1553,19 @@ interactions: code: 200 message: OK - request: - body: '{"location": "Global", "tags": {}, "properties": {"policySettings": {"enabledState": - "Disabled", "mode": "Prevention", "defaultRedirectUrl": "https://example.com", - "defaultCustomBlockResponseStatusCode": 429, "defaultCustomBlockResponseBody": - "PGh0bWw+PGJvZHk+ZXhhbXBsZSBib2R5PC9ib2R5PjwvaHRtbD4="}, "rateLimitRules": {"rules": - [{"name": "ratelimitrule1", "enabledState": "Enabled", "priority": 100, "matchConditions": + body: '{"location": "Global", "tags": {}, "sku": {"name": "Standard_Microsoft"}, + "properties": {"policySettings": {"enabledState": "Disabled", "mode": "Prevention", + "defaultRedirectUrl": "https://example.com", "defaultCustomBlockResponseStatusCode": + 429, "defaultCustomBlockResponseBody": "PGh0bWw+PGJvZHk+ZXhhbXBsZSBib2R5PC9ib2R5PjwvaHRtbD4="}, + "rateLimitRules": {"rules": [{"name": "ratelimitrule1", "enabledState": "Enabled", + "priority": 100, "matchConditions": [{"matchVariable": "RequestMethod", "operator": + "Equal", "negateCondition": true, "matchValue": ["GET", "HEAD"], "transforms": + []}], "action": "Block", "rateLimitThreshold": 100, "rateLimitDurationInMinutes": + 1}, {"name": "ratelimitrule2", "enabledState": "Enabled", "priority": 200, "matchConditions": [{"matchVariable": "RequestMethod", "operator": "Equal", "negateCondition": - true, "matchValue": ["GET", "HEAD"], "transforms": []}], "action": "Block", - "rateLimitThreshold": 100, "rateLimitDurationInMinutes": 1}, {"name": "ratelimitrule2", - "enabledState": "Enabled", "priority": 200, "matchConditions": [{"matchVariable": - "RequestMethod", "operator": "Equal", "negateCondition": false, "matchValue": - ["PUT"], "transforms": []}, {"matchVariable": "RequestUri", "operator": "Contains", - "negateCondition": false, "matchValue": ["/expensive/resource/"], "transforms": - []}], "action": "Redirect", "rateLimitThreshold": 100, "rateLimitDurationInMinutes": + false, "matchValue": ["PUT"], "transforms": []}, {"matchVariable": "RequestUri", + "operator": "Contains", "negateCondition": false, "matchValue": ["/expensive/resource/"], + "transforms": []}], "action": "Redirect", "rateLimitThreshold": 100, "rateLimitDurationInMinutes": 5}]}, "customRules": {"rules": [{"name": "customrule1", "enabledState": "Enabled", "priority": 100, "matchConditions": [{"matchVariable": "RequestMethod", "operator": "Equal", "negateCondition": true, "matchValue": ["GET", "HEAD"], "transforms": @@ -1670,7 +1578,7 @@ interactions: "anomalyScore": 0, "ruleGroupOverrides": [{"ruleGroupName": "SQLI", "rules": [{"ruleId": "942440", "enabledState": "Enabled", "action": "Redirect"}, {"ruleId": "942120", "enabledState": "Disabled", "action": "Block"}, {"ruleId": "942100", - "enabledState": "Disabled", "action": "Block"}]}]}]}}, "sku": {"name": "Standard_Microsoft"}}' + "enabledState": "Disabled", "action": "Block"}]}]}]}}}' headers: Accept: - application/json @@ -1683,15 +1591,12 @@ interactions: Content-Length: - '2128' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --name --sku --mode --block-response-body --block-response-status-code --redirect-url --tags --disabled User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -1706,7 +1611,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:55:00 GMT + - Fri, 02 Apr 2021 10:31:49 GMT expires: - '-1' pragma: @@ -1722,7 +1627,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1196' status: code: 200 message: OK @@ -1740,10 +1645,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -1758,7 +1660,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:55:01 GMT + - Fri, 02 Apr 2021 10:31:50 GMT expires: - '-1' pragma: @@ -1790,10 +1692,7 @@ interactions: ParameterSetName: - -y -g --policy-name --rule-set-type --rule-set-version -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -1808,7 +1707,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:55:02 GMT + - Fri, 02 Apr 2021 10:31:50 GMT expires: - '-1' pragma: @@ -1827,19 +1726,19 @@ interactions: code: 200 message: OK - request: - body: '{"location": "Global", "tags": {}, "properties": {"policySettings": {"enabledState": - "Disabled", "mode": "Prevention", "defaultRedirectUrl": "https://example.com", - "defaultCustomBlockResponseStatusCode": 429, "defaultCustomBlockResponseBody": - "PGh0bWw+PGJvZHk+ZXhhbXBsZSBib2R5PC9ib2R5PjwvaHRtbD4="}, "rateLimitRules": {"rules": - [{"name": "ratelimitrule1", "enabledState": "Enabled", "priority": 100, "matchConditions": + body: '{"location": "Global", "tags": {}, "sku": {"name": "Standard_Microsoft"}, + "properties": {"policySettings": {"enabledState": "Disabled", "mode": "Prevention", + "defaultRedirectUrl": "https://example.com", "defaultCustomBlockResponseStatusCode": + 429, "defaultCustomBlockResponseBody": "PGh0bWw+PGJvZHk+ZXhhbXBsZSBib2R5PC9ib2R5PjwvaHRtbD4="}, + "rateLimitRules": {"rules": [{"name": "ratelimitrule1", "enabledState": "Enabled", + "priority": 100, "matchConditions": [{"matchVariable": "RequestMethod", "operator": + "Equal", "negateCondition": true, "matchValue": ["GET", "HEAD"], "transforms": + []}], "action": "Block", "rateLimitThreshold": 100, "rateLimitDurationInMinutes": + 1}, {"name": "ratelimitrule2", "enabledState": "Enabled", "priority": 200, "matchConditions": [{"matchVariable": "RequestMethod", "operator": "Equal", "negateCondition": - true, "matchValue": ["GET", "HEAD"], "transforms": []}], "action": "Block", - "rateLimitThreshold": 100, "rateLimitDurationInMinutes": 1}, {"name": "ratelimitrule2", - "enabledState": "Enabled", "priority": 200, "matchConditions": [{"matchVariable": - "RequestMethod", "operator": "Equal", "negateCondition": false, "matchValue": - ["PUT"], "transforms": []}, {"matchVariable": "RequestUri", "operator": "Contains", - "negateCondition": false, "matchValue": ["/expensive/resource/"], "transforms": - []}], "action": "Redirect", "rateLimitThreshold": 100, "rateLimitDurationInMinutes": + false, "matchValue": ["PUT"], "transforms": []}, {"matchVariable": "RequestUri", + "operator": "Contains", "negateCondition": false, "matchValue": ["/expensive/resource/"], + "transforms": []}], "action": "Redirect", "rateLimitThreshold": 100, "rateLimitDurationInMinutes": 5}]}, "customRules": {"rules": [{"name": "customrule1", "enabledState": "Enabled", "priority": 100, "matchConditions": [{"matchVariable": "RequestMethod", "operator": "Equal", "negateCondition": true, "matchValue": ["GET", "HEAD"], "transforms": @@ -1849,7 +1748,7 @@ interactions: {"matchVariable": "QueryString", "operator": "Contains", "negateCondition": false, "matchValue": [" "], "transforms": []}], "action": "Redirect"}]}, "managedRules": {"managedRuleSets": [{"ruleSetType": "DefaultRuleSet", "ruleSetVersion": "1.0", - "anomalyScore": 0, "ruleGroupOverrides": []}]}}, "sku": {"name": "Standard_Microsoft"}}' + "anomalyScore": 0, "ruleGroupOverrides": []}]}}}' headers: Accept: - application/json @@ -1862,14 +1761,11 @@ interactions: Content-Length: - '1883' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -y -g --policy-name --rule-set-type --rule-set-version -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -1884,7 +1780,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:55:03 GMT + - Fri, 02 Apr 2021 10:31:52 GMT expires: - '-1' pragma: @@ -1900,7 +1796,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 200 message: OK @@ -1918,10 +1814,7 @@ interactions: ParameterSetName: - -g --policy-name --rule-set-type --rule-set-version -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -1936,7 +1829,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:55:05 GMT + - Fri, 02 Apr 2021 10:31:53 GMT expires: - '-1' pragma: @@ -1968,10 +1861,7 @@ interactions: ParameterSetName: - -y -g --policy-name --rule-set-type --rule-set-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -1986,7 +1876,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:55:05 GMT + - Fri, 02 Apr 2021 10:31:54 GMT expires: - '-1' pragma: @@ -2005,19 +1895,19 @@ interactions: code: 200 message: OK - request: - body: '{"location": "Global", "tags": {}, "properties": {"policySettings": {"enabledState": - "Disabled", "mode": "Prevention", "defaultRedirectUrl": "https://example.com", - "defaultCustomBlockResponseStatusCode": 429, "defaultCustomBlockResponseBody": - "PGh0bWw+PGJvZHk+ZXhhbXBsZSBib2R5PC9ib2R5PjwvaHRtbD4="}, "rateLimitRules": {"rules": - [{"name": "ratelimitrule1", "enabledState": "Enabled", "priority": 100, "matchConditions": + body: '{"location": "Global", "tags": {}, "sku": {"name": "Standard_Microsoft"}, + "properties": {"policySettings": {"enabledState": "Disabled", "mode": "Prevention", + "defaultRedirectUrl": "https://example.com", "defaultCustomBlockResponseStatusCode": + 429, "defaultCustomBlockResponseBody": "PGh0bWw+PGJvZHk+ZXhhbXBsZSBib2R5PC9ib2R5PjwvaHRtbD4="}, + "rateLimitRules": {"rules": [{"name": "ratelimitrule1", "enabledState": "Enabled", + "priority": 100, "matchConditions": [{"matchVariable": "RequestMethod", "operator": + "Equal", "negateCondition": true, "matchValue": ["GET", "HEAD"], "transforms": + []}], "action": "Block", "rateLimitThreshold": 100, "rateLimitDurationInMinutes": + 1}, {"name": "ratelimitrule2", "enabledState": "Enabled", "priority": 200, "matchConditions": [{"matchVariable": "RequestMethod", "operator": "Equal", "negateCondition": - true, "matchValue": ["GET", "HEAD"], "transforms": []}], "action": "Block", - "rateLimitThreshold": 100, "rateLimitDurationInMinutes": 1}, {"name": "ratelimitrule2", - "enabledState": "Enabled", "priority": 200, "matchConditions": [{"matchVariable": - "RequestMethod", "operator": "Equal", "negateCondition": false, "matchValue": - ["PUT"], "transforms": []}, {"matchVariable": "RequestUri", "operator": "Contains", - "negateCondition": false, "matchValue": ["/expensive/resource/"], "transforms": - []}], "action": "Redirect", "rateLimitThreshold": 100, "rateLimitDurationInMinutes": + false, "matchValue": ["PUT"], "transforms": []}, {"matchVariable": "RequestUri", + "operator": "Contains", "negateCondition": false, "matchValue": ["/expensive/resource/"], + "transforms": []}], "action": "Redirect", "rateLimitThreshold": 100, "rateLimitDurationInMinutes": 5}]}, "customRules": {"rules": [{"name": "customrule1", "enabledState": "Enabled", "priority": 100, "matchConditions": [{"matchVariable": "RequestMethod", "operator": "Equal", "negateCondition": true, "matchValue": ["GET", "HEAD"], "transforms": @@ -2026,7 +1916,7 @@ interactions: "Contains", "negateCondition": false, "matchValue": [".."], "transforms": []}, {"matchVariable": "QueryString", "operator": "Contains", "negateCondition": false, "matchValue": [" "], "transforms": []}], "action": "Redirect"}]}, "managedRules": - {"managedRuleSets": []}}, "sku": {"name": "Standard_Microsoft"}}' + {"managedRuleSets": []}}}' headers: Accept: - application/json @@ -2039,14 +1929,11 @@ interactions: Content-Length: - '1780' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -y -g --policy-name --rule-set-type --rule-set-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -2061,7 +1948,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:55:07 GMT + - Fri, 02 Apr 2021 10:31:56 GMT expires: - '-1' pragma: @@ -2077,7 +1964,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1194' status: code: 200 message: OK @@ -2095,10 +1982,7 @@ interactions: ParameterSetName: - -g --policy-name --rule-set-type --rule-set-version User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -2113,7 +1997,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:55:08 GMT + - Fri, 02 Apr 2021 10:31:56 GMT expires: - '-1' pragma: @@ -2145,10 +2029,7 @@ interactions: ParameterSetName: - -y -g --policy-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -2163,7 +2044,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:55:09 GMT + - Fri, 02 Apr 2021 10:31:57 GMT expires: - '-1' pragma: @@ -2182,25 +2063,25 @@ interactions: code: 200 message: OK - request: - body: '{"location": "Global", "tags": {}, "properties": {"policySettings": {"enabledState": - "Disabled", "mode": "Prevention", "defaultRedirectUrl": "https://example.com", - "defaultCustomBlockResponseStatusCode": 429, "defaultCustomBlockResponseBody": - "PGh0bWw+PGJvZHk+ZXhhbXBsZSBib2R5PC9ib2R5PjwvaHRtbD4="}, "rateLimitRules": {"rules": - [{"name": "ratelimitrule1", "enabledState": "Enabled", "priority": 100, "matchConditions": + body: '{"location": "Global", "tags": {}, "sku": {"name": "Standard_Microsoft"}, + "properties": {"policySettings": {"enabledState": "Disabled", "mode": "Prevention", + "defaultRedirectUrl": "https://example.com", "defaultCustomBlockResponseStatusCode": + 429, "defaultCustomBlockResponseBody": "PGh0bWw+PGJvZHk+ZXhhbXBsZSBib2R5PC9ib2R5PjwvaHRtbD4="}, + "rateLimitRules": {"rules": [{"name": "ratelimitrule1", "enabledState": "Enabled", + "priority": 100, "matchConditions": [{"matchVariable": "RequestMethod", "operator": + "Equal", "negateCondition": true, "matchValue": ["GET", "HEAD"], "transforms": + []}], "action": "Block", "rateLimitThreshold": 100, "rateLimitDurationInMinutes": + 1}, {"name": "ratelimitrule2", "enabledState": "Enabled", "priority": 200, "matchConditions": [{"matchVariable": "RequestMethod", "operator": "Equal", "negateCondition": - true, "matchValue": ["GET", "HEAD"], "transforms": []}], "action": "Block", - "rateLimitThreshold": 100, "rateLimitDurationInMinutes": 1}, {"name": "ratelimitrule2", - "enabledState": "Enabled", "priority": 200, "matchConditions": [{"matchVariable": - "RequestMethod", "operator": "Equal", "negateCondition": false, "matchValue": - ["PUT"], "transforms": []}, {"matchVariable": "RequestUri", "operator": "Contains", - "negateCondition": false, "matchValue": ["/expensive/resource/"], "transforms": - []}], "action": "Redirect", "rateLimitThreshold": 100, "rateLimitDurationInMinutes": + false, "matchValue": ["PUT"], "transforms": []}, {"matchVariable": "RequestUri", + "operator": "Contains", "negateCondition": false, "matchValue": ["/expensive/resource/"], + "transforms": []}], "action": "Redirect", "rateLimitThreshold": 100, "rateLimitDurationInMinutes": 5}]}, "customRules": {"rules": [{"name": "customrule2", "enabledState": "Enabled", "priority": 200, "matchConditions": [{"matchVariable": "RequestUri", "operator": "Contains", "negateCondition": false, "matchValue": [".."], "transforms": []}, {"matchVariable": "QueryString", "operator": "Contains", "negateCondition": false, "matchValue": [" "], "transforms": []}], "action": "Redirect"}]}, "managedRules": - {"managedRuleSets": []}}, "sku": {"name": "Standard_Microsoft"}}' + {"managedRuleSets": []}}}' headers: Accept: - application/json @@ -2213,14 +2094,11 @@ interactions: Content-Length: - '1540' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -y -g --policy-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -2235,7 +2113,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:55:10 GMT + - Fri, 02 Apr 2021 10:31:59 GMT expires: - '-1' pragma: @@ -2269,10 +2147,7 @@ interactions: ParameterSetName: - -g --policy-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -2287,7 +2162,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:55:11 GMT + - Fri, 02 Apr 2021 10:32:00 GMT expires: - '-1' pragma: @@ -2319,10 +2194,7 @@ interactions: ParameterSetName: - -y -g --policy-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -2337,7 +2209,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:55:12 GMT + - Fri, 02 Apr 2021 10:32:00 GMT expires: - '-1' pragma: @@ -2356,21 +2228,22 @@ interactions: code: 200 message: OK - request: - body: '{"location": "Global", "tags": {}, "properties": {"policySettings": {"enabledState": - "Disabled", "mode": "Prevention", "defaultRedirectUrl": "https://example.com", - "defaultCustomBlockResponseStatusCode": 429, "defaultCustomBlockResponseBody": - "PGh0bWw+PGJvZHk+ZXhhbXBsZSBib2R5PC9ib2R5PjwvaHRtbD4="}, "rateLimitRules": {"rules": - [{"name": "ratelimitrule2", "enabledState": "Enabled", "priority": 200, "matchConditions": - [{"matchVariable": "RequestMethod", "operator": "Equal", "negateCondition": - false, "matchValue": ["PUT"], "transforms": []}, {"matchVariable": "RequestUri", - "operator": "Contains", "negateCondition": false, "matchValue": ["/expensive/resource/"], - "transforms": []}], "action": "Redirect", "rateLimitThreshold": 100, "rateLimitDurationInMinutes": - 5}]}, "customRules": {"rules": [{"name": "customrule2", "enabledState": "Enabled", - "priority": 200, "matchConditions": [{"matchVariable": "RequestUri", "operator": - "Contains", "negateCondition": false, "matchValue": [".."], "transforms": []}, - {"matchVariable": "QueryString", "operator": "Contains", "negateCondition": - false, "matchValue": [" "], "transforms": []}], "action": "Redirect"}]}, "managedRules": - {"managedRuleSets": []}}, "sku": {"name": "Standard_Microsoft"}}' + body: '{"location": "Global", "tags": {}, "sku": {"name": "Standard_Microsoft"}, + "properties": {"policySettings": {"enabledState": "Disabled", "mode": "Prevention", + "defaultRedirectUrl": "https://example.com", "defaultCustomBlockResponseStatusCode": + 429, "defaultCustomBlockResponseBody": "PGh0bWw+PGJvZHk+ZXhhbXBsZSBib2R5PC9ib2R5PjwvaHRtbD4="}, + "rateLimitRules": {"rules": [{"name": "ratelimitrule2", "enabledState": "Enabled", + "priority": 200, "matchConditions": [{"matchVariable": "RequestMethod", "operator": + "Equal", "negateCondition": false, "matchValue": ["PUT"], "transforms": []}, + {"matchVariable": "RequestUri", "operator": "Contains", "negateCondition": false, + "matchValue": ["/expensive/resource/"], "transforms": []}], "action": "Redirect", + "rateLimitThreshold": 100, "rateLimitDurationInMinutes": 5}]}, "customRules": + {"rules": [{"name": "customrule2", "enabledState": "Enabled", "priority": 200, + "matchConditions": [{"matchVariable": "RequestUri", "operator": "Contains", + "negateCondition": false, "matchValue": [".."], "transforms": []}, {"matchVariable": + "QueryString", "operator": "Contains", "negateCondition": false, "matchValue": + [" "], "transforms": []}], "action": "Redirect"}]}, "managedRules": {"managedRuleSets": + []}}}' headers: Accept: - application/json @@ -2383,14 +2256,11 @@ interactions: Content-Length: - '1237' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -y -g --policy-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -2405,7 +2275,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:55:13 GMT + - Fri, 02 Apr 2021 10:32:02 GMT expires: - '-1' pragma: @@ -2421,7 +2291,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1195' status: code: 200 message: OK @@ -2439,10 +2309,7 @@ interactions: ParameterSetName: - -g --policy-name -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -2457,7 +2324,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:55:13 GMT + - Fri, 02 Apr 2021 10:32:03 GMT expires: - '-1' pragma: @@ -2479,7 +2346,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -2491,10 +2358,7 @@ interactions: ParameterSetName: - -y -g -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/CdnWebApplicationFirewallPolicies/policy123?api-version=2020-09-01 response: @@ -2504,7 +2368,7 @@ interactions: cache-control: - no-cache date: - - Fri, 19 Feb 2021 11:55:19 GMT + - Fri, 02 Apr 2021 10:32:08 GMT expires: - '-1' pragma: @@ -2516,7 +2380,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14997' status: code: 204 message: No Content diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_edge_node_crud.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_edge_node_crud.yaml index cc194e9d44c..6cdc20dfd9b 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_edge_node_crud.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_edge_node_crud.yaml @@ -11,24 +11,21 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/providers/Microsoft.Cdn/edgenodes?api-version=2020-09-01 response: body: - string: '{"value":[{"id":"/providers/Microsoft.Cdn/edgenodes/Standard_Verizon","type":"Microsoft.Cdn/edgenodes","name":"Standard_Verizon","properties":{"ipAddressGroups":[{"deliveryRegion":"All","ipv4Addresses":[{"baseIpAddress":"5.104.64.0","prefixLength":21},{"baseIpAddress":"46.22.64.0","prefixLength":20},{"baseIpAddress":"61.221.181.64","prefixLength":26},{"baseIpAddress":"68.232.32.0","prefixLength":20},{"baseIpAddress":"72.21.80.0","prefixLength":20},{"baseIpAddress":"88.194.45.128","prefixLength":26},{"baseIpAddress":"93.184.208.0","prefixLength":20},{"baseIpAddress":"101.226.203.0","prefixLength":24},{"baseIpAddress":"108.161.240.0","prefixLength":20},{"baseIpAddress":"110.232.176.0","prefixLength":22},{"baseIpAddress":"117.18.232.0","prefixLength":21},{"baseIpAddress":"117.103.183.0","prefixLength":24},{"baseIpAddress":"120.132.137.0","prefixLength":25},{"baseIpAddress":"121.156.59.224","prefixLength":27},{"baseIpAddress":"121.189.46.0","prefixLength":23},{"baseIpAddress":"152.195.0.0","prefixLength":16},{"baseIpAddress":"180.240.184.0","prefixLength":24},{"baseIpAddress":"192.16.0.0","prefixLength":18},{"baseIpAddress":"192.30.0.0","prefixLength":19},{"baseIpAddress":"192.229.128.0","prefixLength":17},{"baseIpAddress":"194.255.210.64","prefixLength":26},{"baseIpAddress":"198.7.16.0","prefixLength":20},{"baseIpAddress":"203.74.4.64","prefixLength":26},{"baseIpAddress":"213.64.234.0","prefixLength":26},{"baseIpAddress":"213.65.58.0","prefixLength":24},{"baseIpAddress":"68.140.206.0","prefixLength":23},{"baseIpAddress":"68.130.0.0","prefixLength":17},{"baseIpAddress":"152.190.247.0","prefixLength":24},{"baseIpAddress":"65.222.137.0","prefixLength":26},{"baseIpAddress":"65.222.145.128","prefixLength":26},{"baseIpAddress":"65.198.79.64","prefixLength":26},{"baseIpAddress":"65.199.146.192","prefixLength":26},{"baseIpAddress":"65.200.151.160","prefixLength":27},{"baseIpAddress":"65.200.157.192","prefixLength":27},{"baseIpAddress":"68.130.128.0","prefixLength":24},{"baseIpAddress":"68.130.136.0","prefixLength":21},{"baseIpAddress":"65.200.46.128","prefixLength":26},{"baseIpAddress":"213.175.80.0","prefixLength":24},{"baseIpAddress":"152.199.0.0","prefixLength":16},{"baseIpAddress":"36.67.255.152","prefixLength":29},{"baseIpAddress":"194.255.242.160","prefixLength":27},{"baseIpAddress":"195.67.219.64","prefixLength":27},{"baseIpAddress":"88.194.47.224","prefixLength":27},{"baseIpAddress":"203.66.205.0","prefixLength":24},{"baseIpAddress":"110.164.36.0","prefixLength":24},{"baseIpAddress":"119.46.85.0","prefixLength":24},{"baseIpAddress":"49.231.126.0","prefixLength":24},{"baseIpAddress":"136.228.144.0","prefixLength":24}],"ipv6Addresses":[{"baseIpAddress":"2001:2011:c002::","prefixLength":48},{"baseIpAddress":"2001:2040:c006::","prefixLength":48},{"baseIpAddress":"2001:2060:bffb::","prefixLength":48},{"baseIpAddress":"2001:b032:c101::","prefixLength":48},{"baseIpAddress":"2405:8f00:edca::","prefixLength":48},{"baseIpAddress":"2405:8f00:edcb::","prefixLength":48},{"baseIpAddress":"2606:2800::","prefixLength":32},{"baseIpAddress":"2600:40ff:fffb::","prefixLength":56},{"baseIpAddress":"2a02:16d8:103::","prefixLength":48},{"baseIpAddress":"2600:40fc::","prefixLength":32},{"baseIpAddress":"2403:6200:ffff:ffa1::","prefixLength":64},{"baseIpAddress":"2001:fb0:109f:8005::","prefixLength":64},{"baseIpAddress":"2405:9800:61:1::","prefixLength":64},{"baseIpAddress":"2404:b300:33:1::","prefixLength":64}]}]}},{"id":"/providers/Microsoft.Cdn/edgenodes/Premium_Verizon","type":"Microsoft.Cdn/edgenodes","name":"Premium_Verizon","properties":{"ipAddressGroups":[{"deliveryRegion":"All","ipv4Addresses":[{"baseIpAddress":"5.104.64.0","prefixLength":21},{"baseIpAddress":"46.22.64.0","prefixLength":20},{"baseIpAddress":"61.221.181.64","prefixLength":26},{"baseIpAddress":"68.232.32.0","prefixLength":20},{"baseIpAddress":"72.21.80.0","prefixLength":20},{"baseIpAddress":"88.194.45.128","prefixLength":26},{"baseIpAddress":"93.184.208.0","prefixLength":20},{"baseIpAddress":"101.226.203.0","prefixLength":24},{"baseIpAddress":"108.161.240.0","prefixLength":20},{"baseIpAddress":"110.232.176.0","prefixLength":22},{"baseIpAddress":"117.18.232.0","prefixLength":21},{"baseIpAddress":"117.103.183.0","prefixLength":24},{"baseIpAddress":"120.132.137.0","prefixLength":25},{"baseIpAddress":"121.156.59.224","prefixLength":27},{"baseIpAddress":"121.189.46.0","prefixLength":23},{"baseIpAddress":"152.195.0.0","prefixLength":16},{"baseIpAddress":"180.240.184.0","prefixLength":24},{"baseIpAddress":"192.16.0.0","prefixLength":18},{"baseIpAddress":"192.30.0.0","prefixLength":19},{"baseIpAddress":"192.229.128.0","prefixLength":17},{"baseIpAddress":"194.255.210.64","prefixLength":26},{"baseIpAddress":"198.7.16.0","prefixLength":20},{"baseIpAddress":"203.74.4.64","prefixLength":26},{"baseIpAddress":"213.64.234.0","prefixLength":26},{"baseIpAddress":"213.65.58.0","prefixLength":24},{"baseIpAddress":"68.140.206.0","prefixLength":23},{"baseIpAddress":"68.130.0.0","prefixLength":17},{"baseIpAddress":"152.190.247.0","prefixLength":24},{"baseIpAddress":"65.222.137.0","prefixLength":26},{"baseIpAddress":"65.222.145.128","prefixLength":26},{"baseIpAddress":"65.198.79.64","prefixLength":26},{"baseIpAddress":"65.199.146.192","prefixLength":26},{"baseIpAddress":"65.200.151.160","prefixLength":27},{"baseIpAddress":"65.200.157.192","prefixLength":27},{"baseIpAddress":"68.130.128.0","prefixLength":24},{"baseIpAddress":"68.130.136.0","prefixLength":21},{"baseIpAddress":"65.200.46.128","prefixLength":26},{"baseIpAddress":"213.175.80.0","prefixLength":24},{"baseIpAddress":"152.199.0.0","prefixLength":16},{"baseIpAddress":"36.67.255.152","prefixLength":29},{"baseIpAddress":"194.255.242.160","prefixLength":27},{"baseIpAddress":"195.67.219.64","prefixLength":27},{"baseIpAddress":"88.194.47.224","prefixLength":27},{"baseIpAddress":"203.66.205.0","prefixLength":24},{"baseIpAddress":"110.164.36.0","prefixLength":24},{"baseIpAddress":"119.46.85.0","prefixLength":24},{"baseIpAddress":"49.231.126.0","prefixLength":24},{"baseIpAddress":"136.228.144.0","prefixLength":24}],"ipv6Addresses":[{"baseIpAddress":"2001:2011:c002::","prefixLength":48},{"baseIpAddress":"2001:2040:c006::","prefixLength":48},{"baseIpAddress":"2001:2060:bffb::","prefixLength":48},{"baseIpAddress":"2001:b032:c101::","prefixLength":48},{"baseIpAddress":"2405:8f00:edca::","prefixLength":48},{"baseIpAddress":"2405:8f00:edcb::","prefixLength":48},{"baseIpAddress":"2606:2800::","prefixLength":32},{"baseIpAddress":"2600:40ff:fffb::","prefixLength":56},{"baseIpAddress":"2a02:16d8:103::","prefixLength":48},{"baseIpAddress":"2600:40fc::","prefixLength":32},{"baseIpAddress":"2403:6200:ffff:ffa1::","prefixLength":64},{"baseIpAddress":"2001:fb0:109f:8005::","prefixLength":64},{"baseIpAddress":"2405:9800:61:1::","prefixLength":64},{"baseIpAddress":"2404:b300:33:1::","prefixLength":64}]}]}},{"id":"/providers/Microsoft.Cdn/edgenodes/Custom_Verizon","type":"Microsoft.Cdn/edgenodes","name":"Custom_Verizon","properties":{"ipAddressGroups":[{"deliveryRegion":"All","ipv4Addresses":[{"baseIpAddress":"5.104.64.0","prefixLength":21},{"baseIpAddress":"46.22.64.0","prefixLength":20},{"baseIpAddress":"61.221.181.64","prefixLength":26},{"baseIpAddress":"68.232.32.0","prefixLength":20},{"baseIpAddress":"72.21.80.0","prefixLength":20},{"baseIpAddress":"88.194.45.128","prefixLength":26},{"baseIpAddress":"93.184.208.0","prefixLength":20},{"baseIpAddress":"101.226.203.0","prefixLength":24},{"baseIpAddress":"108.161.240.0","prefixLength":20},{"baseIpAddress":"110.232.176.0","prefixLength":22},{"baseIpAddress":"117.18.232.0","prefixLength":21},{"baseIpAddress":"117.103.183.0","prefixLength":24},{"baseIpAddress":"120.132.137.0","prefixLength":25},{"baseIpAddress":"121.156.59.224","prefixLength":27},{"baseIpAddress":"121.189.46.0","prefixLength":23},{"baseIpAddress":"152.195.0.0","prefixLength":16},{"baseIpAddress":"180.240.184.0","prefixLength":24},{"baseIpAddress":"192.16.0.0","prefixLength":18},{"baseIpAddress":"192.30.0.0","prefixLength":19},{"baseIpAddress":"192.229.128.0","prefixLength":17},{"baseIpAddress":"194.255.210.64","prefixLength":26},{"baseIpAddress":"198.7.16.0","prefixLength":20},{"baseIpAddress":"203.74.4.64","prefixLength":26},{"baseIpAddress":"213.64.234.0","prefixLength":26},{"baseIpAddress":"213.65.58.0","prefixLength":24},{"baseIpAddress":"68.140.206.0","prefixLength":23},{"baseIpAddress":"68.130.0.0","prefixLength":17},{"baseIpAddress":"152.190.247.0","prefixLength":24},{"baseIpAddress":"65.222.137.0","prefixLength":26},{"baseIpAddress":"65.222.145.128","prefixLength":26},{"baseIpAddress":"65.198.79.64","prefixLength":26},{"baseIpAddress":"65.199.146.192","prefixLength":26},{"baseIpAddress":"65.200.151.160","prefixLength":27},{"baseIpAddress":"65.200.157.192","prefixLength":27},{"baseIpAddress":"68.130.128.0","prefixLength":24},{"baseIpAddress":"68.130.136.0","prefixLength":21},{"baseIpAddress":"65.200.46.128","prefixLength":26},{"baseIpAddress":"213.175.80.0","prefixLength":24},{"baseIpAddress":"152.199.0.0","prefixLength":16},{"baseIpAddress":"36.67.255.152","prefixLength":29},{"baseIpAddress":"194.255.242.160","prefixLength":27},{"baseIpAddress":"195.67.219.64","prefixLength":27},{"baseIpAddress":"88.194.47.224","prefixLength":27},{"baseIpAddress":"203.66.205.0","prefixLength":24},{"baseIpAddress":"110.164.36.0","prefixLength":24},{"baseIpAddress":"119.46.85.0","prefixLength":24},{"baseIpAddress":"49.231.126.0","prefixLength":24},{"baseIpAddress":"136.228.144.0","prefixLength":24}],"ipv6Addresses":[{"baseIpAddress":"2001:2011:c002::","prefixLength":48},{"baseIpAddress":"2001:2040:c006::","prefixLength":48},{"baseIpAddress":"2001:2060:bffb::","prefixLength":48},{"baseIpAddress":"2001:b032:c101::","prefixLength":48},{"baseIpAddress":"2405:8f00:edca::","prefixLength":48},{"baseIpAddress":"2405:8f00:edcb::","prefixLength":48},{"baseIpAddress":"2606:2800::","prefixLength":32},{"baseIpAddress":"2600:40ff:fffb::","prefixLength":56},{"baseIpAddress":"2a02:16d8:103::","prefixLength":48},{"baseIpAddress":"2600:40fc::","prefixLength":32},{"baseIpAddress":"2403:6200:ffff:ffa1::","prefixLength":64},{"baseIpAddress":"2001:fb0:109f:8005::","prefixLength":64},{"baseIpAddress":"2405:9800:61:1::","prefixLength":64},{"baseIpAddress":"2404:b300:33:1::","prefixLength":64}]}]}}]}' + string: '{"value":[{"id":"/providers/Microsoft.Cdn/edgenodes/Standard_Verizon","type":"Microsoft.Cdn/edgenodes","name":"Standard_Verizon","properties":{"ipAddressGroups":[{"deliveryRegion":"All","ipv4Addresses":[{"baseIpAddress":"5.104.64.0","prefixLength":21},{"baseIpAddress":"46.22.64.0","prefixLength":20},{"baseIpAddress":"61.221.181.64","prefixLength":26},{"baseIpAddress":"68.232.32.0","prefixLength":20},{"baseIpAddress":"72.21.80.0","prefixLength":20},{"baseIpAddress":"88.194.45.128","prefixLength":26},{"baseIpAddress":"93.184.208.0","prefixLength":20},{"baseIpAddress":"101.226.203.0","prefixLength":24},{"baseIpAddress":"108.161.240.0","prefixLength":20},{"baseIpAddress":"110.232.176.0","prefixLength":22},{"baseIpAddress":"117.18.232.0","prefixLength":21},{"baseIpAddress":"117.103.183.0","prefixLength":24},{"baseIpAddress":"120.132.137.0","prefixLength":25},{"baseIpAddress":"121.156.59.224","prefixLength":27},{"baseIpAddress":"121.189.46.0","prefixLength":23},{"baseIpAddress":"152.195.0.0","prefixLength":16},{"baseIpAddress":"180.240.184.0","prefixLength":24},{"baseIpAddress":"192.16.0.0","prefixLength":18},{"baseIpAddress":"192.30.0.0","prefixLength":19},{"baseIpAddress":"192.229.128.0","prefixLength":17},{"baseIpAddress":"194.255.210.64","prefixLength":26},{"baseIpAddress":"198.7.16.0","prefixLength":20},{"baseIpAddress":"203.74.4.64","prefixLength":26},{"baseIpAddress":"213.64.234.0","prefixLength":26},{"baseIpAddress":"213.65.58.0","prefixLength":24},{"baseIpAddress":"68.140.206.0","prefixLength":23},{"baseIpAddress":"68.130.0.0","prefixLength":17},{"baseIpAddress":"152.190.247.0","prefixLength":24},{"baseIpAddress":"65.222.137.0","prefixLength":26},{"baseIpAddress":"65.222.145.128","prefixLength":26},{"baseIpAddress":"65.198.79.64","prefixLength":26},{"baseIpAddress":"65.199.146.192","prefixLength":26},{"baseIpAddress":"65.200.151.160","prefixLength":27},{"baseIpAddress":"65.200.157.192","prefixLength":27},{"baseIpAddress":"68.130.128.0","prefixLength":24},{"baseIpAddress":"68.130.136.0","prefixLength":21},{"baseIpAddress":"65.200.46.128","prefixLength":26},{"baseIpAddress":"213.175.80.0","prefixLength":24},{"baseIpAddress":"152.199.0.0","prefixLength":16},{"baseIpAddress":"36.67.255.152","prefixLength":29},{"baseIpAddress":"194.255.242.160","prefixLength":27},{"baseIpAddress":"195.67.219.64","prefixLength":27},{"baseIpAddress":"88.194.47.224","prefixLength":27},{"baseIpAddress":"203.66.205.0","prefixLength":24},{"baseIpAddress":"110.164.36.0","prefixLength":24},{"baseIpAddress":"119.46.85.0","prefixLength":24},{"baseIpAddress":"49.231.126.0","prefixLength":24},{"baseIpAddress":"136.228.144.0","prefixLength":24},{"baseIpAddress":"64.12.0.0","prefixLength":16}],"ipv6Addresses":[{"baseIpAddress":"2001:2011:c002::","prefixLength":48},{"baseIpAddress":"2001:2040:c006::","prefixLength":48},{"baseIpAddress":"2001:2060:bffb::","prefixLength":48},{"baseIpAddress":"2001:b032:c101::","prefixLength":48},{"baseIpAddress":"2405:8f00:edca::","prefixLength":48},{"baseIpAddress":"2405:8f00:edcb::","prefixLength":48},{"baseIpAddress":"2606:2800::","prefixLength":32},{"baseIpAddress":"2600:40ff:fffb::","prefixLength":56},{"baseIpAddress":"2a02:16d8:103::","prefixLength":48},{"baseIpAddress":"2600:40fc::","prefixLength":32},{"baseIpAddress":"2403:6200:ffff:ffa1::","prefixLength":64},{"baseIpAddress":"2001:fb0:109f:8005::","prefixLength":64},{"baseIpAddress":"2405:9800:61:1::","prefixLength":64},{"baseIpAddress":"2404:b300:33:1::","prefixLength":64}]}]}},{"id":"/providers/Microsoft.Cdn/edgenodes/Premium_Verizon","type":"Microsoft.Cdn/edgenodes","name":"Premium_Verizon","properties":{"ipAddressGroups":[{"deliveryRegion":"All","ipv4Addresses":[{"baseIpAddress":"5.104.64.0","prefixLength":21},{"baseIpAddress":"46.22.64.0","prefixLength":20},{"baseIpAddress":"61.221.181.64","prefixLength":26},{"baseIpAddress":"68.232.32.0","prefixLength":20},{"baseIpAddress":"72.21.80.0","prefixLength":20},{"baseIpAddress":"88.194.45.128","prefixLength":26},{"baseIpAddress":"93.184.208.0","prefixLength":20},{"baseIpAddress":"101.226.203.0","prefixLength":24},{"baseIpAddress":"108.161.240.0","prefixLength":20},{"baseIpAddress":"110.232.176.0","prefixLength":22},{"baseIpAddress":"117.18.232.0","prefixLength":21},{"baseIpAddress":"117.103.183.0","prefixLength":24},{"baseIpAddress":"120.132.137.0","prefixLength":25},{"baseIpAddress":"121.156.59.224","prefixLength":27},{"baseIpAddress":"121.189.46.0","prefixLength":23},{"baseIpAddress":"152.195.0.0","prefixLength":16},{"baseIpAddress":"180.240.184.0","prefixLength":24},{"baseIpAddress":"192.16.0.0","prefixLength":18},{"baseIpAddress":"192.30.0.0","prefixLength":19},{"baseIpAddress":"192.229.128.0","prefixLength":17},{"baseIpAddress":"194.255.210.64","prefixLength":26},{"baseIpAddress":"198.7.16.0","prefixLength":20},{"baseIpAddress":"203.74.4.64","prefixLength":26},{"baseIpAddress":"213.64.234.0","prefixLength":26},{"baseIpAddress":"213.65.58.0","prefixLength":24},{"baseIpAddress":"68.140.206.0","prefixLength":23},{"baseIpAddress":"68.130.0.0","prefixLength":17},{"baseIpAddress":"152.190.247.0","prefixLength":24},{"baseIpAddress":"65.222.137.0","prefixLength":26},{"baseIpAddress":"65.222.145.128","prefixLength":26},{"baseIpAddress":"65.198.79.64","prefixLength":26},{"baseIpAddress":"65.199.146.192","prefixLength":26},{"baseIpAddress":"65.200.151.160","prefixLength":27},{"baseIpAddress":"65.200.157.192","prefixLength":27},{"baseIpAddress":"68.130.128.0","prefixLength":24},{"baseIpAddress":"68.130.136.0","prefixLength":21},{"baseIpAddress":"65.200.46.128","prefixLength":26},{"baseIpAddress":"213.175.80.0","prefixLength":24},{"baseIpAddress":"152.199.0.0","prefixLength":16},{"baseIpAddress":"36.67.255.152","prefixLength":29},{"baseIpAddress":"194.255.242.160","prefixLength":27},{"baseIpAddress":"195.67.219.64","prefixLength":27},{"baseIpAddress":"88.194.47.224","prefixLength":27},{"baseIpAddress":"203.66.205.0","prefixLength":24},{"baseIpAddress":"110.164.36.0","prefixLength":24},{"baseIpAddress":"119.46.85.0","prefixLength":24},{"baseIpAddress":"49.231.126.0","prefixLength":24},{"baseIpAddress":"136.228.144.0","prefixLength":24},{"baseIpAddress":"64.12.0.0","prefixLength":16}],"ipv6Addresses":[{"baseIpAddress":"2001:2011:c002::","prefixLength":48},{"baseIpAddress":"2001:2040:c006::","prefixLength":48},{"baseIpAddress":"2001:2060:bffb::","prefixLength":48},{"baseIpAddress":"2001:b032:c101::","prefixLength":48},{"baseIpAddress":"2405:8f00:edca::","prefixLength":48},{"baseIpAddress":"2405:8f00:edcb::","prefixLength":48},{"baseIpAddress":"2606:2800::","prefixLength":32},{"baseIpAddress":"2600:40ff:fffb::","prefixLength":56},{"baseIpAddress":"2a02:16d8:103::","prefixLength":48},{"baseIpAddress":"2600:40fc::","prefixLength":32},{"baseIpAddress":"2403:6200:ffff:ffa1::","prefixLength":64},{"baseIpAddress":"2001:fb0:109f:8005::","prefixLength":64},{"baseIpAddress":"2405:9800:61:1::","prefixLength":64},{"baseIpAddress":"2404:b300:33:1::","prefixLength":64}]}]}},{"id":"/providers/Microsoft.Cdn/edgenodes/Custom_Verizon","type":"Microsoft.Cdn/edgenodes","name":"Custom_Verizon","properties":{"ipAddressGroups":[{"deliveryRegion":"All","ipv4Addresses":[{"baseIpAddress":"5.104.64.0","prefixLength":21},{"baseIpAddress":"46.22.64.0","prefixLength":20},{"baseIpAddress":"61.221.181.64","prefixLength":26},{"baseIpAddress":"68.232.32.0","prefixLength":20},{"baseIpAddress":"72.21.80.0","prefixLength":20},{"baseIpAddress":"88.194.45.128","prefixLength":26},{"baseIpAddress":"93.184.208.0","prefixLength":20},{"baseIpAddress":"101.226.203.0","prefixLength":24},{"baseIpAddress":"108.161.240.0","prefixLength":20},{"baseIpAddress":"110.232.176.0","prefixLength":22},{"baseIpAddress":"117.18.232.0","prefixLength":21},{"baseIpAddress":"117.103.183.0","prefixLength":24},{"baseIpAddress":"120.132.137.0","prefixLength":25},{"baseIpAddress":"121.156.59.224","prefixLength":27},{"baseIpAddress":"121.189.46.0","prefixLength":23},{"baseIpAddress":"152.195.0.0","prefixLength":16},{"baseIpAddress":"180.240.184.0","prefixLength":24},{"baseIpAddress":"192.16.0.0","prefixLength":18},{"baseIpAddress":"192.30.0.0","prefixLength":19},{"baseIpAddress":"192.229.128.0","prefixLength":17},{"baseIpAddress":"194.255.210.64","prefixLength":26},{"baseIpAddress":"198.7.16.0","prefixLength":20},{"baseIpAddress":"203.74.4.64","prefixLength":26},{"baseIpAddress":"213.64.234.0","prefixLength":26},{"baseIpAddress":"213.65.58.0","prefixLength":24},{"baseIpAddress":"68.140.206.0","prefixLength":23},{"baseIpAddress":"68.130.0.0","prefixLength":17},{"baseIpAddress":"152.190.247.0","prefixLength":24},{"baseIpAddress":"65.222.137.0","prefixLength":26},{"baseIpAddress":"65.222.145.128","prefixLength":26},{"baseIpAddress":"65.198.79.64","prefixLength":26},{"baseIpAddress":"65.199.146.192","prefixLength":26},{"baseIpAddress":"65.200.151.160","prefixLength":27},{"baseIpAddress":"65.200.157.192","prefixLength":27},{"baseIpAddress":"68.130.128.0","prefixLength":24},{"baseIpAddress":"68.130.136.0","prefixLength":21},{"baseIpAddress":"65.200.46.128","prefixLength":26},{"baseIpAddress":"213.175.80.0","prefixLength":24},{"baseIpAddress":"152.199.0.0","prefixLength":16},{"baseIpAddress":"36.67.255.152","prefixLength":29},{"baseIpAddress":"194.255.242.160","prefixLength":27},{"baseIpAddress":"195.67.219.64","prefixLength":27},{"baseIpAddress":"88.194.47.224","prefixLength":27},{"baseIpAddress":"203.66.205.0","prefixLength":24},{"baseIpAddress":"110.164.36.0","prefixLength":24},{"baseIpAddress":"119.46.85.0","prefixLength":24},{"baseIpAddress":"49.231.126.0","prefixLength":24},{"baseIpAddress":"136.228.144.0","prefixLength":24},{"baseIpAddress":"64.12.0.0","prefixLength":16}],"ipv6Addresses":[{"baseIpAddress":"2001:2011:c002::","prefixLength":48},{"baseIpAddress":"2001:2040:c006::","prefixLength":48},{"baseIpAddress":"2001:2060:bffb::","prefixLength":48},{"baseIpAddress":"2001:b032:c101::","prefixLength":48},{"baseIpAddress":"2405:8f00:edca::","prefixLength":48},{"baseIpAddress":"2405:8f00:edcb::","prefixLength":48},{"baseIpAddress":"2606:2800::","prefixLength":32},{"baseIpAddress":"2600:40ff:fffb::","prefixLength":56},{"baseIpAddress":"2a02:16d8:103::","prefixLength":48},{"baseIpAddress":"2600:40fc::","prefixLength":32},{"baseIpAddress":"2403:6200:ffff:ffa1::","prefixLength":64},{"baseIpAddress":"2001:fb0:109f:8005::","prefixLength":64},{"baseIpAddress":"2405:9800:61:1::","prefixLength":64},{"baseIpAddress":"2404:b300:33:1::","prefixLength":64}]}]}}]}' headers: cache-control: - no-cache content-length: - - '10331' + - '10475' content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:53:16 GMT + - Fri, 02 Apr 2021 10:30:29 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_endpoint_crud.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_endpoint_crud.yaml index 66e8fabe8b1..8a697e94d7c 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_endpoint_crud.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_endpoint_crud.yaml @@ -13,10 +13,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints?api-version=2020-09-01 response: @@ -32,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:30:46 GMT + - Fri, 02 Apr 2021 10:28:41 GMT expires: - '-1' pragma: @@ -60,15 +57,15 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T12:30:44Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:28:38Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -77,7 +74,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:30:47 GMT + - Fri, 02 Apr 2021 10:28:41 GMT expires: - '-1' pragma: @@ -105,14 +102,11 @@ interactions: Content-Length: - '58' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -120,7 +114,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123","type":"Microsoft.Cdn/profiles","name":"profile123","location":"WestUs","kind":"cdn","tags":{},"sku":{"name":"Standard_Akamai"},"properties":{"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b08601e2-a014-411e-90db-364f47c3aadc?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b83f0f9d-42c6-47a7-a867-4fa6c82c65e9?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -128,7 +122,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:30:56 GMT + - Fri, 02 Apr 2021 10:28:47 GMT expires: - '-1' pragma: @@ -140,7 +134,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '24' + - '22' status: code: 201 message: Created @@ -148,7 +142,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -158,10 +152,9 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b08601e2-a014-411e-90db-364f47c3aadc?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b83f0f9d-42c6-47a7-a867-4fa6c82c65e9?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -173,7 +166,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:10 GMT + - Fri, 02 Apr 2021 10:28:58 GMT expires: - '-1' pragma: @@ -195,7 +188,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -205,8 +198,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -220,7 +212,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:16 GMT + - Fri, 02 Apr 2021 10:28:58 GMT expires: - '-1' pragma: @@ -236,7 +228,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '49' + - '48' status: code: 200 message: OK @@ -254,10 +246,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints?api-version=2020-09-01 response: @@ -271,7 +260,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:18 GMT + - Fri, 02 Apr 2021 10:29:00 GMT expires: - '-1' pragma: @@ -287,7 +276,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '49' + - '48' status: code: 200 message: OK @@ -305,15 +294,15 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T12:30:44Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:28:38Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -322,7 +311,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:18 GMT + - Fri, 02 Apr 2021 10:28:59 GMT expires: - '-1' pragma: @@ -352,14 +341,11 @@ interactions: Content-Length: - '232' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -367,7 +353,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002","type":"Microsoft.Cdn/profiles/endpoints","name":"endpoint000002","location":"WestUs","tags":{},"properties":{"hostName":"endpoint000002.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.example.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":null,"weight":null,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":null,"webApplicationFirewallPolicyLink":null,"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9aec5f41-33cc-4a3a-97b5-8d869ec57fe5?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/1ab364c5-2147-4ebc-ba48-edff7b0b9da7?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -375,7 +361,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:24 GMT + - Fri, 02 Apr 2021 10:29:09 GMT expires: - '-1' pragma: @@ -387,7 +373,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '98' + - '99' status: code: 201 message: Created @@ -395,7 +381,53 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cdn endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --profile-name --origin + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/1ab364c5-2147-4ebc-ba48-edff7b0b9da7?api-version=2020-09-01 + response: + body: + string: '{"status":"InProgress","error":{"code":"None","message":null}}' + headers: + cache-control: + - no-cache + content-length: + - '62' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Apr 2021 10:29:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -405,10 +437,9 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9aec5f41-33cc-4a3a-97b5-8d869ec57fe5?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/1ab364c5-2147-4ebc-ba48-edff7b0b9da7?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -420,7 +451,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:34 GMT + - Fri, 02 Apr 2021 10:29:49 GMT expires: - '-1' pragma: @@ -442,7 +473,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -452,8 +483,7 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -467,7 +497,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:34 GMT + - Fri, 02 Apr 2021 10:29:50 GMT expires: - '-1' pragma: @@ -501,10 +531,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints?api-version=2020-09-01 response: @@ -518,7 +545,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:35 GMT + - Fri, 02 Apr 2021 10:29:51 GMT expires: - '-1' pragma: @@ -534,7 +561,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '48' + - '49' status: code: 200 message: OK @@ -552,10 +579,7 @@ interactions: ParameterSetName: - -g -n --profile-name --no-http --enable-compression User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -569,7 +593,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:36 GMT + - Fri, 02 Apr 2021 10:29:52 GMT expires: - '-1' pragma: @@ -606,14 +630,11 @@ interactions: Content-Length: - '336' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --profile-name --no-http --enable-compression User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -621,7 +642,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002","type":"Microsoft.Cdn/profiles/endpoints","name":"endpoint000002","location":"WestUs","tags":{},"properties":{"hostName":"endpoint000002.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":["text/plain","text/html","text/css","text/javascript","application/x-javascript","application/javascript","application/json","application/xml"],"isCompressionEnabled":true,"isHttpAllowed":false,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.example.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":null,"weight":null,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":[],"webApplicationFirewallPolicyLink":null,"resourceState":"Running","provisioningState":"Succeeded"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/ac0f605f-6d0b-4e4a-bc8e-53e3ef253124?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/124dfcd6-e534-487a-9a9b-855264cd84a8?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -629,11 +650,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:40 GMT + - Fri, 02 Apr 2021 10:29:57 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/ac0f605f-6d0b-4e4a-bc8e-53e3ef253124/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/124dfcd6-e534-487a-9a9b-855264cd84a8/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 pragma: - no-cache server: @@ -651,7 +672,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -661,10 +682,55 @@ interactions: ParameterSetName: - -g -n --profile-name --no-http --enable-compression User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/ac0f605f-6d0b-4e4a-bc8e-53e3ef253124?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/124dfcd6-e534-487a-9a9b-855264cd84a8?api-version=2020-09-01 + response: + body: + string: '{"status":"InProgress","error":{"code":"None","message":null}}' + headers: + cache-control: + - no-cache + content-length: + - '62' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Apr 2021 10:30:07 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cdn endpoint update + Connection: + - keep-alive + ParameterSetName: + - -g -n --profile-name --no-http --enable-compression + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/124dfcd6-e534-487a-9a9b-855264cd84a8?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -676,7 +742,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:51 GMT + - Fri, 02 Apr 2021 10:30:37 GMT expires: - '-1' pragma: @@ -698,7 +764,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -708,8 +774,7 @@ interactions: ParameterSetName: - -g -n --profile-name --no-http --enable-compression User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -723,7 +788,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:51 GMT + - Fri, 02 Apr 2021 10:30:38 GMT expires: - '-1' pragma: @@ -757,10 +822,7 @@ interactions: ParameterSetName: - -g -n --profile-name --no-http --no-https --enable-compression User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -774,7 +836,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:52 GMT + - Fri, 02 Apr 2021 10:30:39 GMT expires: - '-1' pragma: @@ -811,14 +873,11 @@ interactions: Content-Length: - '337' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --profile-name --no-http --no-https --enable-compression User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -826,7 +885,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002","type":"Microsoft.Cdn/profiles/endpoints","name":"endpoint000002","location":"WestUs","tags":{},"properties":{"hostName":"endpoint000002.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":["text/plain","text/html","text/css","text/javascript","application/x-javascript","application/javascript","application/json","application/xml"],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":false,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.example.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":null,"weight":null,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":[],"webApplicationFirewallPolicyLink":null,"resourceState":"Running","provisioningState":"Succeeded"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/80b459cc-4956-400e-a980-cff308020689?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9803ac6b-679b-4c13-b18a-4e72954d3ec6?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -834,11 +893,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:55 GMT + - Fri, 02 Apr 2021 10:30:42 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/80b459cc-4956-400e-a980-cff308020689/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9803ac6b-679b-4c13-b18a-4e72954d3ec6/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 pragma: - no-cache server: @@ -856,7 +915,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -866,10 +925,9 @@ interactions: ParameterSetName: - -g -n --profile-name --no-http --no-https --enable-compression User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/80b459cc-4956-400e-a980-cff308020689?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9803ac6b-679b-4c13-b18a-4e72954d3ec6?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -881,7 +939,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:06 GMT + - Fri, 02 Apr 2021 10:30:52 GMT expires: - '-1' pragma: @@ -903,7 +961,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -913,8 +971,7 @@ interactions: ParameterSetName: - -g -n --profile-name --no-http --no-https --enable-compression User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -928,7 +985,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:06 GMT + - Fri, 02 Apr 2021 10:30:53 GMT expires: - '-1' pragma: @@ -944,7 +1001,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '49' + - '46' status: code: 200 message: OK @@ -964,10 +1021,7 @@ interactions: ParameterSetName: - -g -n --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -975,17 +1029,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2732b029-eebd-4087-969c-9aac3e555d68?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/79a26bdd-fffb-4dd2-8b6c-4d123a34dbee?api-version=2020-09-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 19 Feb 2021 12:32:08 GMT + - Fri, 02 Apr 2021 10:30:55 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2732b029-eebd-4087-969c-9aac3e555d68/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/79a26bdd-fffb-4dd2-8b6c-4d123a34dbee/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 pragma: - no-cache server: @@ -995,7 +1049,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 202 message: Accepted @@ -1003,7 +1057,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1013,10 +1067,9 @@ interactions: ParameterSetName: - -g -n --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2732b029-eebd-4087-969c-9aac3e555d68?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/79a26bdd-fffb-4dd2-8b6c-4d123a34dbee?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -1028,7 +1081,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:19 GMT + - Fri, 02 Apr 2021 10:31:06 GMT expires: - '-1' pragma: @@ -1050,7 +1103,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1060,10 +1113,9 @@ interactions: ParameterSetName: - -g -n --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2732b029-eebd-4087-969c-9aac3e555d68?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/79a26bdd-fffb-4dd2-8b6c-4d123a34dbee?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -1075,7 +1127,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:50 GMT + - Fri, 02 Apr 2021 10:31:37 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_endpoint_different_profiles.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_endpoint_different_profiles.yaml index 4e427550024..08f49ed6f05 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_endpoint_different_profiles.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_endpoint_different_profiles.yaml @@ -13,15 +13,15 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T12:30:44Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:27:31Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:30:45 GMT + - Fri, 02 Apr 2021 10:27:32 GMT expires: - '-1' pragma: @@ -58,14 +58,11 @@ interactions: Content-Length: - '58' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/Standard-Akamai-profile?api-version=2020-09-01 response: @@ -73,7 +70,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/Standard-Akamai-profile","type":"Microsoft.Cdn/profiles","name":"Standard-Akamai-profile","location":"WestUs","kind":"cdn","tags":{},"sku":{"name":"Standard_Akamai"},"properties":{"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/8416058a-1c8a-4cd2-bd00-5cd006283067?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/d9df3355-1bfa-4aea-801d-cb4a4c1feba9?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -81,7 +78,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:30:55 GMT + - Fri, 02 Apr 2021 10:27:38 GMT expires: - '-1' pragma: @@ -93,7 +90,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '24' + - '20' status: code: 201 message: Created @@ -101,7 +98,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -111,10 +108,9 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/8416058a-1c8a-4cd2-bd00-5cd006283067?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/d9df3355-1bfa-4aea-801d-cb4a4c1feba9?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -126,7 +122,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:06 GMT + - Fri, 02 Apr 2021 10:27:48 GMT expires: - '-1' pragma: @@ -148,7 +144,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -158,8 +154,7 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/Standard-Akamai-profile?api-version=2020-09-01 response: @@ -173,7 +168,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:07 GMT + - Fri, 02 Apr 2021 10:27:48 GMT expires: - '-1' pragma: @@ -207,15 +202,15 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T12:30:44Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:27:31Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -224,7 +219,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:07 GMT + - Fri, 02 Apr 2021 10:27:48 GMT expires: - '-1' pragma: @@ -254,14 +249,11 @@ interactions: Content-Length: - '232' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/Standard-Akamai-profile/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -269,7 +261,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/Standard-Akamai-profile/endpoints/endpoint000002","type":"Microsoft.Cdn/profiles/endpoints","name":"endpoint000002","location":"WestUs","tags":{},"properties":{"hostName":"endpoint000002.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.contoso.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":null,"weight":null,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":null,"webApplicationFirewallPolicyLink":null,"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/11acbc84-362f-4b61-bf32-25f2fef486c1?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/77399e15-8e5f-4cd0-a6bc-ee02b41a6cc6?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -277,7 +269,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:15 GMT + - Fri, 02 Apr 2021 10:27:57 GMT expires: - '-1' pragma: @@ -297,7 +289,53 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cdn endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --profile-name --origin + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/77399e15-8e5f-4cd0-a6bc-ee02b41a6cc6?api-version=2020-09-01 + response: + body: + string: '{"status":"InProgress","error":{"code":"None","message":null}}' + headers: + cache-control: + - no-cache + content-length: + - '62' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Apr 2021 10:28:07 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -307,10 +345,9 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/11acbc84-362f-4b61-bf32-25f2fef486c1?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/77399e15-8e5f-4cd0-a6bc-ee02b41a6cc6?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -322,7 +359,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:26 GMT + - Fri, 02 Apr 2021 10:28:38 GMT expires: - '-1' pragma: @@ -344,7 +381,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -354,8 +391,7 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/Standard-Akamai-profile/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -369,7 +405,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:27 GMT + - Fri, 02 Apr 2021 10:28:38 GMT expires: - '-1' pragma: @@ -385,7 +421,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '49' + - '48' status: code: 200 message: OK @@ -403,15 +439,15 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T12:30:44Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:27:31Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -420,7 +456,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:27 GMT + - Fri, 02 Apr 2021 10:28:38 GMT expires: - '-1' pragma: @@ -448,14 +484,11 @@ interactions: Content-Length: - '59' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/Standard-Verizon-profile?api-version=2020-09-01 response: @@ -463,7 +496,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/Standard-Verizon-profile","type":"Microsoft.Cdn/profiles","name":"Standard-Verizon-profile","location":"WestUs","kind":"cdn","tags":{},"sku":{"name":"Standard_Verizon"},"properties":{"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/16632f17-5aa0-4c54-a4c9-d06b7a74e1bc?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/02012b24-01f7-4f5e-ba7b-4ce2559e5353?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -471,7 +504,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:34 GMT + - Fri, 02 Apr 2021 10:28:45 GMT expires: - '-1' pragma: @@ -483,7 +516,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '23' + - '21' status: code: 201 message: Created @@ -491,7 +524,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -501,10 +534,9 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/16632f17-5aa0-4c54-a4c9-d06b7a74e1bc?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/02012b24-01f7-4f5e-ba7b-4ce2559e5353?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -516,7 +548,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:44 GMT + - Fri, 02 Apr 2021 10:28:55 GMT expires: - '-1' pragma: @@ -538,7 +570,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -548,10 +580,9 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/16632f17-5aa0-4c54-a4c9-d06b7a74e1bc?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/02012b24-01f7-4f5e-ba7b-4ce2559e5353?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -563,7 +594,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:14 GMT + - Fri, 02 Apr 2021 10:29:26 GMT expires: - '-1' pragma: @@ -585,7 +616,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -595,10 +626,9 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/16632f17-5aa0-4c54-a4c9-d06b7a74e1bc?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/02012b24-01f7-4f5e-ba7b-4ce2559e5353?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -610,7 +640,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:45 GMT + - Fri, 02 Apr 2021 10:29:57 GMT expires: - '-1' pragma: @@ -632,7 +662,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -642,8 +672,7 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/Standard-Verizon-profile?api-version=2020-09-01 response: @@ -657,7 +686,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:46 GMT + - Fri, 02 Apr 2021 10:29:57 GMT expires: - '-1' pragma: @@ -673,7 +702,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '48' + - '47' status: code: 200 message: OK @@ -691,15 +720,15 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T12:30:44Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:27:31Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -708,7 +737,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:47 GMT + - Fri, 02 Apr 2021 10:29:58 GMT expires: - '-1' pragma: @@ -738,14 +767,11 @@ interactions: Content-Length: - '232' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/Standard-Verizon-profile/endpoints/endpoint000003?api-version=2020-09-01 response: @@ -753,7 +779,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/Standard-Verizon-profile/endpoints/endpoint000003","type":"Microsoft.Cdn/profiles/endpoints","name":"endpoint000003","location":"WestUs","tags":{},"properties":{"hostName":"endpoint000003.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.contoso.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":null,"weight":null,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":null,"webApplicationFirewallPolicyLink":null,"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/3d54dae5-993b-48c5-9697-67b875e846b7?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/45532ec2-1501-4dca-80b5-3c3fe00688e8?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -761,7 +787,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:55 GMT + - Fri, 02 Apr 2021 10:30:07 GMT expires: - '-1' pragma: @@ -781,7 +807,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -791,10 +817,55 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/3d54dae5-993b-48c5-9697-67b875e846b7?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/45532ec2-1501-4dca-80b5-3c3fe00688e8?api-version=2020-09-01 + response: + body: + string: '{"status":"InProgress","error":{"code":"None","message":null}}' + headers: + cache-control: + - no-cache + content-length: + - '62' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Apr 2021 10:30:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cdn endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --profile-name --origin + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/45532ec2-1501-4dca-80b5-3c3fe00688e8?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -806,7 +877,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:33:05 GMT + - Fri, 02 Apr 2021 10:30:49 GMT expires: - '-1' pragma: @@ -828,7 +899,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -838,8 +909,7 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/Standard-Verizon-profile/endpoints/endpoint000003?api-version=2020-09-01 response: @@ -853,7 +923,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:33:05 GMT + - Fri, 02 Apr 2021 10:30:49 GMT expires: - '-1' pragma: @@ -869,7 +939,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '46' + - '47' status: code: 200 message: OK @@ -887,15 +957,15 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T12:30:44Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:27:31Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -904,7 +974,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:33:08 GMT + - Fri, 02 Apr 2021 10:30:49 GMT expires: - '-1' pragma: @@ -932,14 +1002,11 @@ interactions: Content-Length: - '58' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/Premium-Verizon-profile?api-version=2020-09-01 response: @@ -947,7 +1014,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/Premium-Verizon-profile","type":"Microsoft.Cdn/profiles","name":"Premium-Verizon-profile","location":"WestUs","kind":"cdn","tags":{},"sku":{"name":"Premium_Verizon"},"properties":{"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/60009595-6cb2-455c-a3ee-cf8362cb85bd?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/0edbce47-53d4-425e-b4f6-09ea32c7acb8?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -955,7 +1022,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:33:15 GMT + - Fri, 02 Apr 2021 10:30:56 GMT expires: - '-1' pragma: @@ -975,7 +1042,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -985,10 +1052,9 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/60009595-6cb2-455c-a3ee-cf8362cb85bd?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/0edbce47-53d4-425e-b4f6-09ea32c7acb8?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -1000,7 +1066,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:33:25 GMT + - Fri, 02 Apr 2021 10:31:06 GMT expires: - '-1' pragma: @@ -1022,7 +1088,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1032,10 +1098,9 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/60009595-6cb2-455c-a3ee-cf8362cb85bd?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/0edbce47-53d4-425e-b4f6-09ea32c7acb8?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -1047,7 +1112,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:33:57 GMT + - Fri, 02 Apr 2021 10:31:37 GMT expires: - '-1' pragma: @@ -1069,7 +1134,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1079,10 +1144,9 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/60009595-6cb2-455c-a3ee-cf8362cb85bd?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/0edbce47-53d4-425e-b4f6-09ea32c7acb8?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -1094,7 +1158,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:34:27 GMT + - Fri, 02 Apr 2021 10:32:07 GMT expires: - '-1' pragma: @@ -1116,7 +1180,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1126,10 +1190,9 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/60009595-6cb2-455c-a3ee-cf8362cb85bd?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/0edbce47-53d4-425e-b4f6-09ea32c7acb8?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -1141,7 +1204,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:34:57 GMT + - Fri, 02 Apr 2021 10:32:37 GMT expires: - '-1' pragma: @@ -1163,7 +1226,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1173,10 +1236,9 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/60009595-6cb2-455c-a3ee-cf8362cb85bd?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/0edbce47-53d4-425e-b4f6-09ea32c7acb8?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -1188,7 +1250,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:35:27 GMT + - Fri, 02 Apr 2021 10:33:09 GMT expires: - '-1' pragma: @@ -1210,7 +1272,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1220,8 +1282,7 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/Premium-Verizon-profile?api-version=2020-09-01 response: @@ -1235,7 +1296,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:35:27 GMT + - Fri, 02 Apr 2021 10:33:09 GMT expires: - '-1' pragma: @@ -1251,7 +1312,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '48' + - '49' status: code: 200 message: OK @@ -1269,15 +1330,15 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T12:30:44Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:27:31Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1286,7 +1347,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:35:28 GMT + - Fri, 02 Apr 2021 10:33:10 GMT expires: - '-1' pragma: @@ -1316,14 +1377,11 @@ interactions: Content-Length: - '232' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/Premium-Verizon-profile/endpoints/endpoint000004?api-version=2020-09-01 response: @@ -1331,7 +1389,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/Premium-Verizon-profile/endpoints/endpoint000004","type":"Microsoft.Cdn/profiles/endpoints","name":"endpoint000004","location":"WestUs","tags":{},"properties":{"hostName":"endpoint000004.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"NotSet","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.contoso.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":null,"weight":null,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":null,"webApplicationFirewallPolicyLink":null,"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/ddbd160f-92de-474c-8afb-c82ab60b3fc1?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/3c47e4f6-0c34-4506-99e3-b06a7ef9a00b?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -1339,7 +1397,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:35:39 GMT + - Fri, 02 Apr 2021 10:33:19 GMT expires: - '-1' pragma: @@ -1351,7 +1409,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '96' + - '99' status: code: 201 message: Created @@ -1359,7 +1417,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1369,10 +1427,55 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/ddbd160f-92de-474c-8afb-c82ab60b3fc1?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/3c47e4f6-0c34-4506-99e3-b06a7ef9a00b?api-version=2020-09-01 + response: + body: + string: '{"status":"InProgress","error":{"code":"None","message":null}}' + headers: + cache-control: + - no-cache + content-length: + - '62' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Apr 2021 10:33:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cdn endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --profile-name --origin + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/3c47e4f6-0c34-4506-99e3-b06a7ef9a00b?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -1384,7 +1487,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:35:49 GMT + - Fri, 02 Apr 2021 10:34:00 GMT expires: - '-1' pragma: @@ -1406,7 +1509,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1416,8 +1519,7 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/Premium-Verizon-profile/endpoints/endpoint000004?api-version=2020-09-01 response: @@ -1431,7 +1533,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:35:49 GMT + - Fri, 02 Apr 2021 10:34:00 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_endpoint_load_and_purge.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_endpoint_load_and_purge.yaml index 1b73ba556eb..3b6671a001a 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_endpoint_load_and_purge.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_endpoint_load_and_purge.yaml @@ -13,15 +13,15 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T12:30:44Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:29:53Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:30:46 GMT + - Fri, 02 Apr 2021 10:29:55 GMT expires: - '-1' pragma: @@ -58,14 +58,11 @@ interactions: Content-Length: - '59' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -73,7 +70,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123","type":"Microsoft.Cdn/profiles","name":"profile123","location":"WestUs","kind":"cdn","tags":{},"sku":{"name":"Standard_Verizon"},"properties":{"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/02f034ef-7153-48a8-b197-c2645b8ffcb5?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/e5539e34-9c84-47bc-a5ec-e5ed71bca086?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -81,7 +78,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:30:55 GMT + - Fri, 02 Apr 2021 10:30:02 GMT expires: - '-1' pragma: @@ -93,7 +90,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '24' + - '23' status: code: 201 message: Created @@ -101,7 +98,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -111,10 +108,9 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/02f034ef-7153-48a8-b197-c2645b8ffcb5?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/e5539e34-9c84-47bc-a5ec-e5ed71bca086?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -126,7 +122,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:07 GMT + - Fri, 02 Apr 2021 10:30:12 GMT expires: - '-1' pragma: @@ -148,7 +144,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -158,10 +154,9 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/02f034ef-7153-48a8-b197-c2645b8ffcb5?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/e5539e34-9c84-47bc-a5ec-e5ed71bca086?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -173,7 +168,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:37 GMT + - Fri, 02 Apr 2021 10:30:42 GMT expires: - '-1' pragma: @@ -195,7 +190,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -205,10 +200,9 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/02f034ef-7153-48a8-b197-c2645b8ffcb5?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/e5539e34-9c84-47bc-a5ec-e5ed71bca086?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -220,7 +214,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:07 GMT + - Fri, 02 Apr 2021 10:31:12 GMT expires: - '-1' pragma: @@ -242,7 +236,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -252,8 +246,7 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -267,7 +260,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:08 GMT + - Fri, 02 Apr 2021 10:31:13 GMT expires: - '-1' pragma: @@ -283,7 +276,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '49' + - '48' status: code: 200 message: OK @@ -301,15 +294,15 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T12:30:44Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:29:53Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -318,7 +311,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:08 GMT + - Fri, 02 Apr 2021 10:31:14 GMT expires: - '-1' pragma: @@ -348,14 +341,11 @@ interactions: Content-Length: - '232' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -363,7 +353,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002","type":"Microsoft.Cdn/profiles/endpoints","name":"endpoint000002","location":"WestUs","tags":{},"properties":{"hostName":"endpoint000002.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.contoso.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":null,"weight":null,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":null,"webApplicationFirewallPolicyLink":null,"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/699aa63e-47c6-4ff7-9785-bcb649995575?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/e31fdc38-1f87-4b4c-806b-33333c1534a1?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -371,7 +361,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:17 GMT + - Fri, 02 Apr 2021 10:31:23 GMT expires: - '-1' pragma: @@ -383,7 +373,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '97' + - '99' status: code: 201 message: Created @@ -391,7 +381,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -401,10 +391,55 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/699aa63e-47c6-4ff7-9785-bcb649995575?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/e31fdc38-1f87-4b4c-806b-33333c1534a1?api-version=2020-09-01 + response: + body: + string: '{"status":"InProgress","error":{"code":"None","message":null}}' + headers: + cache-control: + - no-cache + content-length: + - '62' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Apr 2021 10:31:33 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cdn endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --profile-name --origin + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/e31fdc38-1f87-4b4c-806b-33333c1534a1?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -416,7 +451,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:28 GMT + - Fri, 02 Apr 2021 10:32:03 GMT expires: - '-1' pragma: @@ -438,7 +473,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -448,8 +483,7 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -463,7 +497,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:28 GMT + - Fri, 02 Apr 2021 10:32:03 GMT expires: - '-1' pragma: @@ -497,14 +531,11 @@ interactions: Content-Length: - '55' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --profile-name --content-paths User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/load?api-version=2020-09-01 response: @@ -512,17 +543,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a452f625-ed4a-4255-922e-81a218215cd2?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2d255f74-f58c-4865-8229-70a65d7df2d3?api-version=2020-09-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 19 Feb 2021 12:32:32 GMT + - Fri, 02 Apr 2021 10:32:07 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a452f625-ed4a-4255-922e-81a218215cd2/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2d255f74-f58c-4865-8229-70a65d7df2d3/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 pragma: - no-cache server: @@ -540,7 +571,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -550,10 +581,9 @@ interactions: ParameterSetName: - -g -n --profile-name --content-paths User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a452f625-ed4a-4255-922e-81a218215cd2?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2d255f74-f58c-4865-8229-70a65d7df2d3?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -565,7 +595,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:42 GMT + - Fri, 02 Apr 2021 10:32:17 GMT expires: - '-1' pragma: @@ -587,7 +617,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -597,10 +627,9 @@ interactions: ParameterSetName: - -g -n --profile-name --content-paths User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a452f625-ed4a-4255-922e-81a218215cd2?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2d255f74-f58c-4865-8229-70a65d7df2d3?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -612,7 +641,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:33:12 GMT + - Fri, 02 Apr 2021 10:32:47 GMT expires: - '-1' pragma: @@ -634,7 +663,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -644,10 +673,9 @@ interactions: ParameterSetName: - -g -n --profile-name --content-paths User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a452f625-ed4a-4255-922e-81a218215cd2?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2d255f74-f58c-4865-8229-70a65d7df2d3?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -659,7 +687,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:33:44 GMT + - Fri, 02 Apr 2021 10:33:18 GMT expires: - '-1' pragma: @@ -681,7 +709,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -691,10 +719,9 @@ interactions: ParameterSetName: - -g -n --profile-name --content-paths User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a452f625-ed4a-4255-922e-81a218215cd2?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2d255f74-f58c-4865-8229-70a65d7df2d3?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -706,7 +733,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:34:14 GMT + - Fri, 02 Apr 2021 10:33:48 GMT expires: - '-1' pragma: @@ -728,7 +755,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -738,10 +765,9 @@ interactions: ParameterSetName: - -g -n --profile-name --content-paths User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a452f625-ed4a-4255-922e-81a218215cd2?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2d255f74-f58c-4865-8229-70a65d7df2d3?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -753,7 +779,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:34:44 GMT + - Fri, 02 Apr 2021 10:34:18 GMT expires: - '-1' pragma: @@ -775,7 +801,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -785,10 +811,9 @@ interactions: ParameterSetName: - -g -n --profile-name --content-paths User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a452f625-ed4a-4255-922e-81a218215cd2?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2d255f74-f58c-4865-8229-70a65d7df2d3?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -800,7 +825,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:35:14 GMT + - Fri, 02 Apr 2021 10:34:49 GMT expires: - '-1' pragma: @@ -822,7 +847,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -832,10 +857,9 @@ interactions: ParameterSetName: - -g -n --profile-name --content-paths User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a452f625-ed4a-4255-922e-81a218215cd2?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2d255f74-f58c-4865-8229-70a65d7df2d3?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -847,7 +871,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:35:44 GMT + - Fri, 02 Apr 2021 10:35:19 GMT expires: - '-1' pragma: @@ -869,7 +893,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -879,10 +903,9 @@ interactions: ParameterSetName: - -g -n --profile-name --content-paths User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a452f625-ed4a-4255-922e-81a218215cd2?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2d255f74-f58c-4865-8229-70a65d7df2d3?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -894,7 +917,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:36:14 GMT + - Fri, 02 Apr 2021 10:35:49 GMT expires: - '-1' pragma: @@ -916,7 +939,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -926,10 +949,9 @@ interactions: ParameterSetName: - -g -n --profile-name --content-paths User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a452f625-ed4a-4255-922e-81a218215cd2?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2d255f74-f58c-4865-8229-70a65d7df2d3?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -941,7 +963,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:36:45 GMT + - Fri, 02 Apr 2021 10:36:19 GMT expires: - '-1' pragma: @@ -963,7 +985,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -973,10 +995,9 @@ interactions: ParameterSetName: - -g -n --profile-name --content-paths User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a452f625-ed4a-4255-922e-81a218215cd2?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2d255f74-f58c-4865-8229-70a65d7df2d3?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -988,7 +1009,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:37:16 GMT + - Fri, 02 Apr 2021 10:36:49 GMT expires: - '-1' pragma: @@ -1010,7 +1031,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1020,10 +1041,9 @@ interactions: ParameterSetName: - -g -n --profile-name --content-paths User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a452f625-ed4a-4255-922e-81a218215cd2?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2d255f74-f58c-4865-8229-70a65d7df2d3?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -1035,7 +1055,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:37:46 GMT + - Fri, 02 Apr 2021 10:37:20 GMT expires: - '-1' pragma: @@ -1057,7 +1077,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1067,10 +1087,9 @@ interactions: ParameterSetName: - -g -n --profile-name --content-paths User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a452f625-ed4a-4255-922e-81a218215cd2?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2d255f74-f58c-4865-8229-70a65d7df2d3?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -1082,7 +1101,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:38:16 GMT + - Fri, 02 Apr 2021 10:37:50 GMT expires: - '-1' pragma: @@ -1104,7 +1123,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1114,10 +1133,9 @@ interactions: ParameterSetName: - -g -n --profile-name --content-paths User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a452f625-ed4a-4255-922e-81a218215cd2?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2d255f74-f58c-4865-8229-70a65d7df2d3?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -1129,7 +1147,53 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:38:46 GMT + - Fri, 02 Apr 2021 10:38:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cdn endpoint load + Connection: + - keep-alive + ParameterSetName: + - -g -n --profile-name --content-paths + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2d255f74-f58c-4865-8229-70a65d7df2d3/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2d255f74-f58c-4865-8229-70a65d7df2d3/profileresults/profile123/endpointresults/endpoint000002","type":"Microsoft.Cdn/operationresults/profileresults/endpointresults","name":"endpoint000002","location":"WestUs","tags":{},"properties":{"hostName":"endpoint000002.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.contoso.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":null,"weight":null,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":[],"webApplicationFirewallPolicyLink":null,"resourceState":"Running","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '1267' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Apr 2021 10:38:21 GMT expires: - '-1' pragma: @@ -1161,14 +1225,11 @@ interactions: Content-Length: - '50' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --profile-name --content-paths User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/purge?api-version=2020-09-01 response: @@ -1176,17 +1237,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/ea992213-67a2-4fae-a39d-3a916bc76817?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b6a87d36-9fab-4005-ae08-1e4fdcb01d1e?api-version=2020-09-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 19 Feb 2021 12:38:50 GMT + - Fri, 02 Apr 2021 10:38:25 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/ea992213-67a2-4fae-a39d-3a916bc76817/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b6a87d36-9fab-4005-ae08-1e4fdcb01d1e/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 pragma: - no-cache server: @@ -1204,7 +1265,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1214,10 +1275,9 @@ interactions: ParameterSetName: - -g -n --profile-name --content-paths User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/ea992213-67a2-4fae-a39d-3a916bc76817?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b6a87d36-9fab-4005-ae08-1e4fdcb01d1e?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -1229,7 +1289,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:39:02 GMT + - Fri, 02 Apr 2021 10:38:36 GMT expires: - '-1' pragma: @@ -1251,7 +1311,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1261,10 +1321,9 @@ interactions: ParameterSetName: - -g -n --profile-name --content-paths User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/ea992213-67a2-4fae-a39d-3a916bc76817?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b6a87d36-9fab-4005-ae08-1e4fdcb01d1e?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -1276,7 +1335,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:39:32 GMT + - Fri, 02 Apr 2021 10:39:06 GMT expires: - '-1' pragma: @@ -1298,7 +1357,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1308,10 +1367,9 @@ interactions: ParameterSetName: - -g -n --profile-name --content-paths User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/ea992213-67a2-4fae-a39d-3a916bc76817?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b6a87d36-9fab-4005-ae08-1e4fdcb01d1e?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -1323,7 +1381,53 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:40:02 GMT + - Fri, 02 Apr 2021 10:39:36 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cdn endpoint purge + Connection: + - keep-alive + ParameterSetName: + - -g -n --profile-name --content-paths + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b6a87d36-9fab-4005-ae08-1e4fdcb01d1e/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b6a87d36-9fab-4005-ae08-1e4fdcb01d1e/profileresults/profile123/endpointresults/endpoint000002","type":"Microsoft.Cdn/operationresults/profileresults/endpointresults","name":"endpoint000002","location":"WestUs","tags":{},"properties":{"hostName":"endpoint000002.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.contoso.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":null,"weight":null,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":[],"webApplicationFirewallPolicyLink":null,"resourceState":"Running","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '1267' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Apr 2021 10:39:37 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_endpoint_start_and_stop.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_endpoint_start_and_stop.yaml index 9b1b878a9a0..d9dab2a2698 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_endpoint_start_and_stop.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_endpoint_start_and_stop.yaml @@ -13,15 +13,15 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T12:30:44Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:28:17Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:30:46 GMT + - Fri, 02 Apr 2021 10:28:18 GMT expires: - '-1' pragma: @@ -58,14 +58,11 @@ interactions: Content-Length: - '58' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -73,7 +70,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123","type":"Microsoft.Cdn/profiles","name":"profile123","location":"WestUs","kind":"cdn","tags":{},"sku":{"name":"Standard_Akamai"},"properties":{"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/3ae4d7fc-77ce-4753-a0e5-dba783c49aa9?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/35f015fc-fc6d-42fb-8aca-99cb6c4dd852?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -81,7 +78,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:30:55 GMT + - Fri, 02 Apr 2021 10:28:25 GMT expires: - '-1' pragma: @@ -93,7 +90,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '24' + - '23' status: code: 201 message: Created @@ -101,7 +98,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -111,10 +108,9 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/3ae4d7fc-77ce-4753-a0e5-dba783c49aa9?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/35f015fc-fc6d-42fb-8aca-99cb6c4dd852?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -126,7 +122,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:06 GMT + - Fri, 02 Apr 2021 10:28:35 GMT expires: - '-1' pragma: @@ -148,7 +144,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -158,8 +154,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -173,7 +168,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:07 GMT + - Fri, 02 Apr 2021 10:28:35 GMT expires: - '-1' pragma: @@ -189,7 +184,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '49' + - '48' status: code: 200 message: OK @@ -207,15 +202,15 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T12:30:44Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:28:17Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -224,7 +219,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:07 GMT + - Fri, 02 Apr 2021 10:28:36 GMT expires: - '-1' pragma: @@ -254,14 +249,11 @@ interactions: Content-Length: - '232' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -269,7 +261,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002","type":"Microsoft.Cdn/profiles/endpoints","name":"endpoint000002","location":"WestUs","tags":{},"properties":{"hostName":"endpoint000002.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.example.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":null,"weight":null,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":null,"webApplicationFirewallPolicyLink":null,"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/c8271724-e7f7-4606-a39b-c311cd7a7eae?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/5887f6a9-d89a-444d-a789-34205f15398c?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -277,7 +269,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:16 GMT + - Fri, 02 Apr 2021 10:28:44 GMT expires: - '-1' pragma: @@ -297,7 +289,53 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cdn endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --profile-name --origin + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/5887f6a9-d89a-444d-a789-34205f15398c?api-version=2020-09-01 + response: + body: + string: '{"status":"InProgress","error":{"code":"None","message":null}}' + headers: + cache-control: + - no-cache + content-length: + - '62' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Apr 2021 10:28:55 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -307,10 +345,9 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/c8271724-e7f7-4606-a39b-c311cd7a7eae?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/5887f6a9-d89a-444d-a789-34205f15398c?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -322,7 +359,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:27 GMT + - Fri, 02 Apr 2021 10:29:25 GMT expires: - '-1' pragma: @@ -344,7 +381,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -354,8 +391,7 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -369,7 +405,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:27 GMT + - Fri, 02 Apr 2021 10:29:26 GMT expires: - '-1' pragma: @@ -405,10 +441,7 @@ interactions: ParameterSetName: - -g -n --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/stop?api-version=2020-09-01 response: @@ -416,7 +449,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002","type":"Microsoft.Cdn/profiles/endpoints","name":"endpoint000002","location":"WestUs","tags":{},"properties":{"hostName":"endpoint000002.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.example.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":null,"weight":null,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":[],"webApplicationFirewallPolicyLink":null,"resourceState":"Stopping","provisioningState":"Succeeded"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a0b830d0-629e-4815-bce6-d283d10c7347?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9cbc4d0a-5785-4762-98f6-9808a6cd11dd?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -424,11 +457,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:28 GMT + - Fri, 02 Apr 2021 10:29:27 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a0b830d0-629e-4815-bce6-d283d10c7347/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9cbc4d0a-5785-4762-98f6-9808a6cd11dd/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 pragma: - no-cache server: @@ -446,7 +479,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -456,10 +489,9 @@ interactions: ParameterSetName: - -g -n --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a0b830d0-629e-4815-bce6-d283d10c7347?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9cbc4d0a-5785-4762-98f6-9808a6cd11dd?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -471,7 +503,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:39 GMT + - Fri, 02 Apr 2021 10:29:38 GMT expires: - '-1' pragma: @@ -493,7 +525,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -503,10 +535,9 @@ interactions: ParameterSetName: - -g -n --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a0b830d0-629e-4815-bce6-d283d10c7347?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9cbc4d0a-5785-4762-98f6-9808a6cd11dd?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -518,7 +549,53 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:10 GMT + - Fri, 02 Apr 2021 10:30:09 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cdn endpoint stop + Connection: + - keep-alive + ParameterSetName: + - -g -n --profile-name + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9cbc4d0a-5785-4762-98f6-9808a6cd11dd/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/9cbc4d0a-5785-4762-98f6-9808a6cd11dd/profileresults/profile123/endpointresults/endpoint000002","type":"Microsoft.Cdn/operationresults/profileresults/endpointresults","name":"endpoint000002","location":"WestUs","tags":{},"properties":{"hostName":"endpoint000002.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.example.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":null,"weight":null,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":[],"webApplicationFirewallPolicyLink":null,"resourceState":"Stopped","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '1267' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Apr 2021 10:30:09 GMT expires: - '-1' pragma: @@ -550,10 +627,7 @@ interactions: ParameterSetName: - -g -n --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -567,7 +641,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:12 GMT + - Fri, 02 Apr 2021 10:30:11 GMT expires: - '-1' pragma: @@ -583,7 +657,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '48' + - '47' status: code: 200 message: OK @@ -603,10 +677,7 @@ interactions: ParameterSetName: - -g -n --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/start?api-version=2020-09-01 response: @@ -614,7 +685,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002","type":"Microsoft.Cdn/profiles/endpoints","name":"endpoint000002","location":"WestUs","tags":{},"properties":{"hostName":"endpoint000002.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.example.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":null,"weight":null,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":[],"webApplicationFirewallPolicyLink":null,"resourceState":"Starting","provisioningState":"Succeeded"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b49a725e-0676-4235-b777-29e64437ed89?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/71d5af3f-1678-4c5d-b650-7c8de0cbb24f?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -622,11 +693,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:13 GMT + - Fri, 02 Apr 2021 10:30:13 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b49a725e-0676-4235-b777-29e64437ed89/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/71d5af3f-1678-4c5d-b650-7c8de0cbb24f/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 pragma: - no-cache server: @@ -644,7 +715,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -654,10 +725,9 @@ interactions: ParameterSetName: - -g -n --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b49a725e-0676-4235-b777-29e64437ed89?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/71d5af3f-1678-4c5d-b650-7c8de0cbb24f?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -669,7 +739,53 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:24 GMT + - Fri, 02 Apr 2021 10:30:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cdn endpoint start + Connection: + - keep-alive + ParameterSetName: + - -g -n --profile-name + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/71d5af3f-1678-4c5d-b650-7c8de0cbb24f/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/71d5af3f-1678-4c5d-b650-7c8de0cbb24f/profileresults/profile123/endpointresults/endpoint000002","type":"Microsoft.Cdn/operationresults/profileresults/endpointresults","name":"endpoint000002","location":"WestUs","tags":{},"properties":{"hostName":"endpoint000002.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.example.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":null,"weight":null,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":[],"webApplicationFirewallPolicyLink":null,"resourceState":"Running","provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '1267' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Apr 2021 10:30:23 GMT expires: - '-1' pragma: @@ -701,10 +817,7 @@ interactions: ParameterSetName: - -g -n --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -718,7 +831,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:25 GMT + - Fri, 02 Apr 2021 10:30:25 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_origin_crud.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_origin_crud.yaml index fc72c34c9fa..3736f18b275 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_origin_crud.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_origin_crud.yaml @@ -13,15 +13,15 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T12:21:59Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:31:42Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:22:00 GMT + - Fri, 02 Apr 2021 10:31:44 GMT expires: - '-1' pragma: @@ -58,14 +58,11 @@ interactions: Content-Length: - '61' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -73,7 +70,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123","type":"Microsoft.Cdn/profiles","name":"profile123","location":"WestUs","kind":"cdn","tags":{},"sku":{"name":"Standard_Microsoft"},"properties":{"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/eb829ba1-dcf2-4fcf-966e-d524ec7e49cb?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/cae66eaf-0782-4df4-9316-895edfbba25e?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -81,7 +78,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:22:10 GMT + - Fri, 02 Apr 2021 10:31:51 GMT expires: - '-1' pragma: @@ -93,7 +90,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '24' + - '20' status: code: 201 message: Created @@ -101,7 +98,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -111,57 +108,9 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/eb829ba1-dcf2-4fcf-966e-d524ec7e49cb?api-version=2020-09-01 - response: - body: - string: '{"status":"InProgress","error":{"code":"None","message":null}}' - headers: - cache-control: - - no-cache - content-length: - - '62' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 19 Feb 2021 12:22:22 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Kestrel - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - cdn profile create - Connection: - - keep-alive - ParameterSetName: - - -g -n --sku - User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/eb829ba1-dcf2-4fcf-966e-d524ec7e49cb?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/cae66eaf-0782-4df4-9316-895edfbba25e?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -173,7 +122,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:22:52 GMT + - Fri, 02 Apr 2021 10:32:02 GMT expires: - '-1' pragma: @@ -195,7 +144,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -205,8 +154,7 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -220,7 +168,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:22:52 GMT + - Fri, 02 Apr 2021 10:32:02 GMT expires: - '-1' pragma: @@ -236,7 +184,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '49' + - '48' status: code: 200 message: OK @@ -254,15 +202,15 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T12:21:59Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:31:42Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -271,7 +219,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:22:52 GMT + - Fri, 02 Apr 2021 10:32:03 GMT expires: - '-1' pragma: @@ -301,14 +249,11 @@ interactions: Content-Length: - '232' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -316,7 +261,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002","type":"Microsoft.Cdn/profiles/endpoints","name":"endpoint000002","location":"WestUs","tags":{},"properties":{"hostName":"endpoint000002.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.example.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":1,"weight":1000,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":null,"webApplicationFirewallPolicyLink":null,"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/8575d156-c402-4daf-bed3-a205ee831c92?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/400fc287-e3ac-44e0-b430-8c2ce066fe90?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -324,7 +269,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:23:03 GMT + - Fri, 02 Apr 2021 10:32:12 GMT expires: - '-1' pragma: @@ -336,7 +281,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '99' + - '98' status: code: 201 message: Created @@ -344,7 +289,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -354,10 +299,9 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/8575d156-c402-4daf-bed3-a205ee831c92?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/400fc287-e3ac-44e0-b430-8c2ce066fe90?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -369,7 +313,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:23:15 GMT + - Fri, 02 Apr 2021 10:32:23 GMT expires: - '-1' pragma: @@ -391,7 +335,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -401,10 +345,9 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/8575d156-c402-4daf-bed3-a205ee831c92?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/400fc287-e3ac-44e0-b430-8c2ce066fe90?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -416,7 +359,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:23:45 GMT + - Fri, 02 Apr 2021 10:32:53 GMT expires: - '-1' pragma: @@ -438,7 +381,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -448,8 +391,7 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -463,7 +405,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:23:45 GMT + - Fri, 02 Apr 2021 10:32:53 GMT expires: - '-1' pragma: @@ -479,7 +421,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '49' + - '48' status: code: 200 message: OK @@ -497,10 +439,7 @@ interactions: ParameterSetName: - -g -n --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -514,7 +453,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:23:48 GMT + - Fri, 02 Apr 2021 10:32:55 GMT expires: - '-1' pragma: @@ -530,7 +469,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '49' + - '46' status: code: 200 message: OK @@ -548,10 +487,7 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/origins/origin-0?api-version=2020-09-01 response: @@ -565,7 +501,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:23:49 GMT + - Fri, 02 Apr 2021 10:32:56 GMT expires: - '-1' pragma: @@ -597,10 +533,7 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/origins?api-version=2020-09-01 response: @@ -614,7 +547,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:23:50 GMT + - Fri, 02 Apr 2021 10:32:57 GMT expires: - '-1' pragma: @@ -647,14 +580,11 @@ interactions: Content-Length: - '388' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --endpoint-name --profile-name -n --origins User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/originGroups/test-origin-group?api-version=2020-09-01 response: @@ -662,7 +592,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/origingroups/test-origin-group","type":"Microsoft.Cdn/profiles/endpoints/origingroups","name":"test-origin-group","properties":{"healthProbeSettings":{"probePath":"/","probeRequestType":"HEAD","probeProtocol":"Http","probeIntervalInSeconds":240},"responseBasedOriginErrorDetectionSettings":null,"trafficRestorationTimeToHealedOrNewEndpointsInMinutes":null,"origins":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/origins/origin-0"}],"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a85eeeab-074f-46a2-9a88-b57a3ca3c9bc?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/85479ea3-7adc-456a-9d09-56f0c16d8ec9?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -670,7 +600,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:23:53 GMT + - Fri, 02 Apr 2021 10:33:00 GMT expires: - '-1' pragma: @@ -682,7 +612,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' status: code: 201 message: Created @@ -690,7 +620,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -700,10 +630,9 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name -n --origins User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a85eeeab-074f-46a2-9a88-b57a3ca3c9bc?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/85479ea3-7adc-456a-9d09-56f0c16d8ec9?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -715,7 +644,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:24:04 GMT + - Fri, 02 Apr 2021 10:33:10 GMT expires: - '-1' pragma: @@ -737,7 +666,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -747,8 +676,7 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name -n --origins User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/originGroups/test-origin-group?api-version=2020-09-01 response: @@ -762,7 +690,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:24:04 GMT + - Fri, 02 Apr 2021 10:33:11 GMT expires: - '-1' pragma: @@ -794,10 +722,7 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/originGroups?api-version=2020-09-01 response: @@ -811,7 +736,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:24:06 GMT + - Fri, 02 Apr 2021 10:33:12 GMT expires: - '-1' pragma: @@ -843,10 +768,7 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/originGroups/test-origin-group?api-version=2020-09-01 response: @@ -860,7 +782,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:24:07 GMT + - Fri, 02 Apr 2021 10:33:13 GMT expires: - '-1' pragma: @@ -892,10 +814,7 @@ interactions: ParameterSetName: - -g -n --profile-name --default-origin-group User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -909,7 +828,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:24:08 GMT + - Fri, 02 Apr 2021 10:33:13 GMT expires: - '-1' pragma: @@ -945,14 +864,11 @@ interactions: Content-Length: - '473' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --profile-name --default-origin-group User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -960,7 +876,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002","type":"Microsoft.Cdn/profiles/endpoints","name":"endpoint000002","location":"WestUs","tags":{},"properties":{"hostName":"endpoint000002.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.example.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":1,"weight":1000,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[{"name":"test-origin-group","properties":{"healthProbeSettings":{"probePath":"/","probeRequestType":"HEAD","probeProtocol":"Http","probeIntervalInSeconds":240},"responseBasedOriginErrorDetectionSettings":null,"trafficRestorationTimeToHealedOrNewEndpointsInMinutes":null,"origins":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/origins/origin-0"}]}}],"defaultOriginGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/originGroups/test-origin-group"},"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":[],"webApplicationFirewallPolicyLink":null,"resourceState":"Running","provisioningState":"Succeeded"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2396ef17-4e70-42f3-8d3f-71de3eaa07c6?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b3cfd346-d0f7-4f0e-9c28-40e8c0919e95?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -968,11 +884,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:24:12 GMT + - Fri, 02 Apr 2021 10:33:17 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2396ef17-4e70-42f3-8d3f-71de3eaa07c6/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b3cfd346-d0f7-4f0e-9c28-40e8c0919e95/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 pragma: - no-cache server: @@ -990,7 +906,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1000,10 +916,9 @@ interactions: ParameterSetName: - -g -n --profile-name --default-origin-group User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2396ef17-4e70-42f3-8d3f-71de3eaa07c6?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b3cfd346-d0f7-4f0e-9c28-40e8c0919e95?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -1015,7 +930,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:24:24 GMT + - Fri, 02 Apr 2021 10:33:27 GMT expires: - '-1' pragma: @@ -1037,7 +952,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1047,8 +962,7 @@ interactions: ParameterSetName: - -g -n --profile-name --default-origin-group User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -1062,7 +976,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:24:24 GMT + - Fri, 02 Apr 2021 10:33:28 GMT expires: - '-1' pragma: @@ -1096,10 +1010,7 @@ interactions: ParameterSetName: - -g -n --profile-name --default-origin-group User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -1113,7 +1024,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:24:25 GMT + - Fri, 02 Apr 2021 10:33:29 GMT expires: - '-1' pragma: @@ -1149,14 +1060,11 @@ interactions: Content-Length: - '473' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --profile-name --default-origin-group User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -1170,7 +1078,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:24:31 GMT + - Fri, 02 Apr 2021 10:33:34 GMT expires: - '-1' pragma: @@ -1208,16 +1116,13 @@ interactions: Content-Length: - '436' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --endpoint-name --profile-name -n --host-name --http-port --https-port --private-link-resource-id --private-link-location --private-link-approval-message --origin-host-header --weight --priority User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/origins/origin000003?api-version=2020-09-01 response: @@ -1226,7 +1131,7 @@ interactions: approve the request","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/8bd911ec-5c09-4434-9c69-323077d94b47?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/bf2ea4d4-7faf-4ba3-99aa-57b13255263e?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -1234,7 +1139,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:24:35 GMT + - Fri, 02 Apr 2021 10:33:38 GMT expires: - '-1' pragma: @@ -1246,7 +1151,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1196' status: code: 201 message: Created @@ -1254,7 +1159,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1266,10 +1171,9 @@ interactions: --private-link-resource-id --private-link-location --private-link-approval-message --origin-host-header --weight --priority User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/8bd911ec-5c09-4434-9c69-323077d94b47?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/bf2ea4d4-7faf-4ba3-99aa-57b13255263e?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -1281,7 +1185,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:24:46 GMT + - Fri, 02 Apr 2021 10:33:49 GMT expires: - '-1' pragma: @@ -1303,7 +1207,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1315,10 +1219,9 @@ interactions: --private-link-resource-id --private-link-location --private-link-approval-message --origin-host-header --weight --priority User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/8bd911ec-5c09-4434-9c69-323077d94b47?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/bf2ea4d4-7faf-4ba3-99aa-57b13255263e?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -1330,7 +1233,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:25:16 GMT + - Fri, 02 Apr 2021 10:34:19 GMT expires: - '-1' pragma: @@ -1352,7 +1255,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1364,8 +1267,7 @@ interactions: --private-link-resource-id --private-link-location --private-link-approval-message --origin-host-header --weight --priority User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/origins/origin000003?api-version=2020-09-01 response: @@ -1380,7 +1282,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:25:16 GMT + - Fri, 02 Apr 2021 10:34:19 GMT expires: - '-1' pragma: @@ -1412,10 +1314,7 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/origins?api-version=2020-09-01 response: @@ -1430,7 +1329,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:25:18 GMT + - Fri, 02 Apr 2021 10:34:20 GMT expires: - '-1' pragma: @@ -1466,16 +1365,13 @@ interactions: Content-Length: - '437' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --endpoint-name --profile-name -n --host-name --http-port --https-port --private-link-resource-id --private-link-location --private-link-approval-message --origin-host-header --disabled --weight --priority User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/origins/origin000004?api-version=2020-09-01 response: @@ -1484,7 +1380,7 @@ interactions: approve the request","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a8e1895f-2d87-4e4e-ac4a-bd833a93e24f?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/4626367b-c608-4f2f-a99b-b9901e5a7f08?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -1492,7 +1388,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:25:24 GMT + - Fri, 02 Apr 2021 10:34:23 GMT expires: - '-1' pragma: @@ -1504,7 +1400,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' status: code: 201 message: Created @@ -1512,7 +1408,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1524,10 +1420,9 @@ interactions: --private-link-resource-id --private-link-location --private-link-approval-message --origin-host-header --disabled --weight --priority User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a8e1895f-2d87-4e4e-ac4a-bd833a93e24f?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/4626367b-c608-4f2f-a99b-b9901e5a7f08?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -1539,7 +1434,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:25:35 GMT + - Fri, 02 Apr 2021 10:34:34 GMT expires: - '-1' pragma: @@ -1561,7 +1456,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1573,10 +1468,9 @@ interactions: --private-link-resource-id --private-link-location --private-link-approval-message --origin-host-header --disabled --weight --priority User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a8e1895f-2d87-4e4e-ac4a-bd833a93e24f?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/4626367b-c608-4f2f-a99b-b9901e5a7f08?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -1588,7 +1482,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:26:05 GMT + - Fri, 02 Apr 2021 10:35:04 GMT expires: - '-1' pragma: @@ -1610,7 +1504,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1622,8 +1516,7 @@ interactions: --private-link-resource-id --private-link-location --private-link-approval-message --origin-host-header --disabled --weight --priority User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/origins/origin000004?api-version=2020-09-01 response: @@ -1638,7 +1531,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:26:05 GMT + - Fri, 02 Apr 2021 10:35:05 GMT expires: - '-1' pragma: @@ -1670,10 +1563,7 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/origins?api-version=2020-09-01 response: @@ -1689,7 +1579,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:26:08 GMT + - Fri, 02 Apr 2021 10:35:06 GMT expires: - '-1' pragma: @@ -1724,15 +1614,12 @@ interactions: Content-Length: - '695' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --endpoint-name --profile-name -n --origins --probe-method --probe-path --probe-protocol --probe-interval User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/originGroups/test-origin-group-2?api-version=2020-09-01 response: @@ -1740,7 +1627,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/origingroups/test-origin-group-2","type":"Microsoft.Cdn/profiles/endpoints/origingroups","name":"test-origin-group-2","properties":{"healthProbeSettings":{"probePath":"/healthz","probeRequestType":"GET","probeProtocol":"Https","probeIntervalInSeconds":120},"responseBasedOriginErrorDetectionSettings":null,"trafficRestorationTimeToHealedOrNewEndpointsInMinutes":null,"origins":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/origins/origin000003"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/origins/origin000004"}],"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/73c8b36c-9510-4ee4-b1dc-8760dbff7d60?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/1c241d75-c0f3-41f9-9b3e-f5edd4e8d702?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -1748,7 +1635,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:26:09 GMT + - Fri, 02 Apr 2021 10:35:09 GMT expires: - '-1' pragma: @@ -1768,7 +1655,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1779,10 +1666,56 @@ interactions: - -g --endpoint-name --profile-name -n --origins --probe-method --probe-path --probe-protocol --probe-interval User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/73c8b36c-9510-4ee4-b1dc-8760dbff7d60?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/1c241d75-c0f3-41f9-9b3e-f5edd4e8d702?api-version=2020-09-01 + response: + body: + string: '{"status":"InProgress","error":{"code":"None","message":null}}' + headers: + cache-control: + - no-cache + content-length: + - '62' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Apr 2021 10:35:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - cdn origin-group create + Connection: + - keep-alive + ParameterSetName: + - -g --endpoint-name --profile-name -n --origins --probe-method --probe-path + --probe-protocol --probe-interval + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/1c241d75-c0f3-41f9-9b3e-f5edd4e8d702?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -1794,7 +1727,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:26:21 GMT + - Fri, 02 Apr 2021 10:35:50 GMT expires: - '-1' pragma: @@ -1816,7 +1749,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1827,8 +1760,7 @@ interactions: - -g --endpoint-name --profile-name -n --origins --probe-method --probe-path --probe-protocol --probe-interval User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/originGroups/test-origin-group-2?api-version=2020-09-01 response: @@ -1842,7 +1774,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:26:21 GMT + - Fri, 02 Apr 2021 10:35:51 GMT expires: - '-1' pragma: @@ -1874,10 +1806,7 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/originGroups/test-origin-group?api-version=2020-09-01 response: @@ -1891,7 +1820,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:26:23 GMT + - Fri, 02 Apr 2021 10:35:52 GMT expires: - '-1' pragma: @@ -1923,10 +1852,7 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/originGroups?api-version=2020-09-01 response: @@ -1940,7 +1866,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:26:23 GMT + - Fri, 02 Apr 2021 10:35:53 GMT expires: - '-1' pragma: @@ -1974,10 +1900,7 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name --name --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/originGroups/test-origin-group-2?api-version=2020-09-01 response: @@ -1985,17 +1908,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/6343903c-373b-406a-b052-4b99ac309525?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/47ede486-ef94-4adc-a5d4-f63724169fde?api-version=2020-09-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 19 Feb 2021 12:26:25 GMT + - Fri, 02 Apr 2021 10:35:54 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/6343903c-373b-406a-b052-4b99ac309525/profileresults/profile123/endpointresults/endpoint000002/origingroupresults/test-origin-group-2?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/47ede486-ef94-4adc-a5d4-f63724169fde/profileresults/profile123/endpointresults/endpoint000002/origingroupresults/test-origin-group-2?api-version=2020-09-01 pragma: - no-cache server: @@ -2013,7 +1936,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -2023,10 +1946,9 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name --name --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/6343903c-373b-406a-b052-4b99ac309525?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/47ede486-ef94-4adc-a5d4-f63724169fde?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -2038,7 +1960,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:26:36 GMT + - Fri, 02 Apr 2021 10:36:04 GMT expires: - '-1' pragma: @@ -2070,10 +1992,7 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/originGroups?api-version=2020-09-01 response: @@ -2087,7 +2006,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:26:39 GMT + - Fri, 02 Apr 2021 10:36:06 GMT expires: - '-1' pragma: @@ -2120,10 +2039,7 @@ interactions: - -g --endpoint-name --profile-name -n --origins --probe-method --probe-path --probe-interval --probe-protocol User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/originGroups/test-origin-group?api-version=2020-09-01 response: @@ -2137,7 +2053,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:26:39 GMT + - Fri, 02 Apr 2021 10:36:08 GMT expires: - '-1' pragma: @@ -2172,15 +2088,12 @@ interactions: Content-Length: - '678' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --endpoint-name --profile-name -n --origins --probe-method --probe-path --probe-interval --probe-protocol User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/originGroups/test-origin-group?api-version=2020-09-01 response: @@ -2188,7 +2101,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/origingroups/test-origin-group","type":"Microsoft.Cdn/profiles/endpoints/origingroups","name":"test-origin-group","properties":{"healthProbeSettings":{"probePath":"/healthz","probeRequestType":"GET","probeProtocol":"Https","probeIntervalInSeconds":60},"responseBasedOriginErrorDetectionSettings":null,"trafficRestorationTimeToHealedOrNewEndpointsInMinutes":null,"origins":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/origins/origin-0"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/origins/origin000003"}],"resourceState":"Active","provisioningState":"Succeeded"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/4366df01-b075-4d1e-ac14-d8c309d4271f?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/144731f1-600a-48ca-9358-047fe6206413?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -2196,11 +2109,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:26:41 GMT + - Fri, 02 Apr 2021 10:36:10 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/4366df01-b075-4d1e-ac14-d8c309d4271f/profileresults/profile123/endpointresults/endpoint000002/origingroupresults/test-origin-group?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/144731f1-600a-48ca-9358-047fe6206413/profileresults/profile123/endpointresults/endpoint000002/origingroupresults/test-origin-group?api-version=2020-09-01 pragma: - no-cache server: @@ -2210,7 +2123,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' status: code: 202 message: Accepted @@ -2218,7 +2131,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -2229,10 +2142,9 @@ interactions: - -g --endpoint-name --profile-name -n --origins --probe-method --probe-path --probe-interval --probe-protocol User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/4366df01-b075-4d1e-ac14-d8c309d4271f?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/144731f1-600a-48ca-9358-047fe6206413?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -2244,7 +2156,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:26:53 GMT + - Fri, 02 Apr 2021 10:36:20 GMT expires: - '-1' pragma: @@ -2266,7 +2178,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -2277,8 +2189,7 @@ interactions: - -g --endpoint-name --profile-name -n --origins --probe-method --probe-path --probe-interval --probe-protocol User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/originGroups/test-origin-group?api-version=2020-09-01 response: @@ -2292,7 +2203,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:26:53 GMT + - Fri, 02 Apr 2021 10:36:21 GMT expires: - '-1' pragma: @@ -2324,10 +2235,7 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name -n --origins User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/originGroups/test-origin-group?api-version=2020-09-01 response: @@ -2341,7 +2249,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:26:55 GMT + - Fri, 02 Apr 2021 10:36:22 GMT expires: - '-1' pragma: @@ -2376,14 +2284,11 @@ interactions: Content-Length: - '678' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --endpoint-name --profile-name -n --origins User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/originGroups/test-origin-group?api-version=2020-09-01 response: @@ -2397,7 +2302,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:26:56 GMT + - Fri, 02 Apr 2021 10:36:23 GMT expires: - '-1' pragma: @@ -2413,7 +2318,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1194' status: code: 200 message: OK @@ -2435,16 +2340,13 @@ interactions: Content-Length: - '406' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --endpoint-name --profile-name -n --http-port --https-port --private-link-resource-id --private-link-location --private-link-approval-message --origin-host-header --disabled --weight --priority User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/origins/origin-0?api-version=2020-09-01 response: @@ -2453,7 +2355,7 @@ interactions: approve the request","provisioningState":"Succeeded"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a06812e4-682f-46a0-87bd-b087625a20e7?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/cd2fec16-737a-4b46-a1ae-d8f1df351cdf?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -2461,11 +2363,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:27:00 GMT + - Fri, 02 Apr 2021 10:36:27 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a06812e4-682f-46a0-87bd-b087625a20e7/profileresults/profile123/endpointresults/endpoint000002/originresults/origin-0?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/cd2fec16-737a-4b46-a1ae-d8f1df351cdf/profileresults/profile123/endpointresults/endpoint000002/originresults/origin-0?api-version=2020-09-01 pragma: - no-cache server: @@ -2475,7 +2377,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1195' status: code: 202 message: Accepted @@ -2483,7 +2385,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -2495,10 +2397,9 @@ interactions: --private-link-location --private-link-approval-message --origin-host-header --disabled --weight --priority User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a06812e4-682f-46a0-87bd-b087625a20e7?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/cd2fec16-737a-4b46-a1ae-d8f1df351cdf?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -2510,7 +2411,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:27:12 GMT + - Fri, 02 Apr 2021 10:36:37 GMT expires: - '-1' pragma: @@ -2532,7 +2433,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -2544,10 +2445,9 @@ interactions: --private-link-location --private-link-approval-message --origin-host-header --disabled --weight --priority User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a06812e4-682f-46a0-87bd-b087625a20e7?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/cd2fec16-737a-4b46-a1ae-d8f1df351cdf?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -2559,7 +2459,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:27:42 GMT + - Fri, 02 Apr 2021 10:37:09 GMT expires: - '-1' pragma: @@ -2581,7 +2481,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -2593,8 +2493,7 @@ interactions: --private-link-location --private-link-approval-message --origin-host-header --disabled --weight --priority User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/origins/origin-0?api-version=2020-09-01 response: @@ -2609,7 +2508,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:27:42 GMT + - Fri, 02 Apr 2021 10:37:09 GMT expires: - '-1' pragma: @@ -2641,10 +2540,7 @@ interactions: ParameterSetName: - -g -n --endpoint-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/origins/origin-0?api-version=2020-09-01 response: @@ -2659,7 +2555,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:27:44 GMT + - Fri, 02 Apr 2021 10:37:11 GMT expires: - '-1' pragma: @@ -2693,10 +2589,7 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name --name --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/origins/origin000004?api-version=2020-09-01 response: @@ -2704,17 +2597,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/af4c3525-71bc-4684-b78f-d09e8db24cdd?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/0152d3df-a339-48eb-8896-5962659b708c?api-version=2020-09-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 19 Feb 2021 12:27:47 GMT + - Fri, 02 Apr 2021 10:37:13 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/af4c3525-71bc-4684-b78f-d09e8db24cdd/profileresults/profile123/endpointresults/endpoint000002/originresults/origin000004?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/0152d3df-a339-48eb-8896-5962659b708c/profileresults/profile123/endpointresults/endpoint000002/originresults/origin000004?api-version=2020-09-01 pragma: - no-cache server: @@ -2724,7 +2617,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14996' status: code: 202 message: Accepted @@ -2732,7 +2625,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -2742,10 +2635,9 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name --name --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/af4c3525-71bc-4684-b78f-d09e8db24cdd?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/0152d3df-a339-48eb-8896-5962659b708c?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -2757,7 +2649,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:27:58 GMT + - Fri, 02 Apr 2021 10:37:23 GMT expires: - '-1' pragma: @@ -2789,10 +2681,7 @@ interactions: ParameterSetName: - -g --endpoint-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002/origins?api-version=2020-09-01 response: @@ -2808,7 +2697,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:28:00 GMT + - Fri, 02 Apr 2021 10:37:24 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_private_link.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_private_link.yaml index 40d4542843b..06a7df17a1c 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_private_link.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_private_link.yaml @@ -13,15 +13,15 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T12:30:44Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:29:25Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:30:46 GMT + - Fri, 02 Apr 2021 10:29:26 GMT expires: - '-1' pragma: @@ -58,14 +58,11 @@ interactions: Content-Length: - '61' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -73,7 +70,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123","type":"Microsoft.Cdn/profiles","name":"profile123","location":"WestUs","kind":"cdn","tags":{},"sku":{"name":"Standard_Microsoft"},"properties":{"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/88aaec9f-a961-4333-a13c-7ad4b29773f6?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b0afdd4d-83d9-4e4f-a83d-6134a24f1cd3?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -81,7 +78,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:30:56 GMT + - Fri, 02 Apr 2021 10:29:34 GMT expires: - '-1' pragma: @@ -93,7 +90,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '24' + - '22' status: code: 201 message: Created @@ -101,7 +98,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -111,10 +108,9 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/88aaec9f-a961-4333-a13c-7ad4b29773f6?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b0afdd4d-83d9-4e4f-a83d-6134a24f1cd3?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -126,7 +122,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:07 GMT + - Fri, 02 Apr 2021 10:29:45 GMT expires: - '-1' pragma: @@ -148,7 +144,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -158,8 +154,7 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -173,7 +168,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:08 GMT + - Fri, 02 Apr 2021 10:29:45 GMT expires: - '-1' pragma: @@ -189,7 +184,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '49' + - '47' status: code: 200 message: OK @@ -207,15 +202,15 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T12:30:44Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:29:25Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -224,7 +219,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:09 GMT + - Fri, 02 Apr 2021 10:29:46 GMT expires: - '-1' pragma: @@ -257,14 +252,11 @@ interactions: Content-Length: - '498' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -273,7 +265,7 @@ interactions: approve the request"}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":null,"webApplicationFirewallPolicyLink":null,"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/cf6be51c-671e-41b5-9ccc-e029f45505ba?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a2f8f7f9-85e4-4beb-ac0c-77bf655981bf?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -281,7 +273,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:19 GMT + - Fri, 02 Apr 2021 10:29:54 GMT expires: - '-1' pragma: @@ -301,7 +293,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -311,10 +303,9 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/cf6be51c-671e-41b5-9ccc-e029f45505ba?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a2f8f7f9-85e4-4beb-ac0c-77bf655981bf?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -326,7 +317,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:30 GMT + - Fri, 02 Apr 2021 10:30:05 GMT expires: - '-1' pragma: @@ -348,7 +339,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -358,10 +349,9 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/cf6be51c-671e-41b5-9ccc-e029f45505ba?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a2f8f7f9-85e4-4beb-ac0c-77bf655981bf?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -373,7 +363,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:01 GMT + - Fri, 02 Apr 2021 10:30:36 GMT expires: - '-1' pragma: @@ -395,7 +385,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -405,8 +395,7 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -421,7 +410,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:01 GMT + - Fri, 02 Apr 2021 10:30:36 GMT expires: - '-1' pragma: @@ -437,7 +426,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '49' + - '47' status: code: 200 message: OK @@ -455,10 +444,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints?api-version=2020-09-01 response: @@ -473,7 +459,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:02 GMT + - Fri, 02 Apr 2021 10:30:37 GMT expires: - '-1' pragma: @@ -489,7 +475,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '48' + - '49' status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_rule_engine_crud.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_rule_engine_crud.yaml index e6130149e81..578e54ab001 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_rule_engine_crud.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_rule_engine_crud.yaml @@ -13,10 +13,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints?api-version=2020-09-01 response: @@ -32,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:30:46 GMT + - Fri, 02 Apr 2021 10:34:07 GMT expires: - '-1' pragma: @@ -60,15 +57,15 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T12:30:44Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:34:05Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -77,7 +74,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:30:46 GMT + - Fri, 02 Apr 2021 10:34:08 GMT expires: - '-1' pragma: @@ -105,14 +102,11 @@ interactions: Content-Length: - '61' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -120,7 +114,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123","type":"Microsoft.Cdn/profiles","name":"profile123","location":"WestUs","kind":"cdn","tags":{},"sku":{"name":"Standard_Microsoft"},"properties":{"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/76d8245e-2c4e-4c09-a729-e23bdbaed9bc?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/e9a32ba5-dabd-4d09-92fe-4c61d98aa075?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -128,7 +122,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:30:57 GMT + - Fri, 02 Apr 2021 10:34:15 GMT expires: - '-1' pragma: @@ -140,7 +134,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '24' + - '21' status: code: 201 message: Created @@ -148,7 +142,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -158,10 +152,9 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/76d8245e-2c4e-4c09-a729-e23bdbaed9bc?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/e9a32ba5-dabd-4d09-92fe-4c61d98aa075?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -173,7 +166,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:09 GMT + - Fri, 02 Apr 2021 10:34:25 GMT expires: - '-1' pragma: @@ -195,7 +188,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -205,10 +198,9 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/76d8245e-2c4e-4c09-a729-e23bdbaed9bc?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/e9a32ba5-dabd-4d09-92fe-4c61d98aa075?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -220,7 +212,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:39 GMT + - Fri, 02 Apr 2021 10:34:55 GMT expires: - '-1' pragma: @@ -242,7 +234,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -252,8 +244,7 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123?api-version=2020-09-01 response: @@ -267,7 +258,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:40 GMT + - Fri, 02 Apr 2021 10:34:56 GMT expires: - '-1' pragma: @@ -283,7 +274,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '49' + - '46' status: code: 200 message: OK @@ -301,10 +292,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints?api-version=2020-09-01 response: @@ -318,7 +306,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:41 GMT + - Fri, 02 Apr 2021 10:34:57 GMT expires: - '-1' pragma: @@ -334,7 +322,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '49' + - '48' status: code: 200 message: OK @@ -352,15 +340,15 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.21.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-19T12:30:44Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-02T10:34:05Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -369,7 +357,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:41 GMT + - Fri, 02 Apr 2021 10:34:57 GMT expires: - '-1' pragma: @@ -399,14 +387,11 @@ interactions: Content-Length: - '232' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -414,7 +399,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002","type":"Microsoft.Cdn/profiles/endpoints","name":"endpoint000002","location":"WestUs","tags":{},"properties":{"hostName":"endpoint000002.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.example.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":1,"weight":1000,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":null,"urlSigningKeys":null,"webApplicationFirewallPolicyLink":null,"resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/910db318-71a7-412e-a69d-8332428ce610?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/8d81c0e9-98d1-4767-9946-04e93c8155a8?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -422,7 +407,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:31:51 GMT + - Fri, 02 Apr 2021 10:35:07 GMT expires: - '-1' pragma: @@ -434,7 +419,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '99' + - '96' status: code: 201 message: Created @@ -442,7 +427,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -452,10 +437,9 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/910db318-71a7-412e-a69d-8332428ce610?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/8d81c0e9-98d1-4767-9946-04e93c8155a8?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -467,7 +451,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:02 GMT + - Fri, 02 Apr 2021 10:35:17 GMT expires: - '-1' pragma: @@ -489,7 +473,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -499,10 +483,9 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/910db318-71a7-412e-a69d-8332428ce610?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/8d81c0e9-98d1-4767-9946-04e93c8155a8?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -514,7 +497,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:32 GMT + - Fri, 02 Apr 2021 10:35:48 GMT expires: - '-1' pragma: @@ -536,7 +519,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -546,8 +529,7 @@ interactions: ParameterSetName: - -g -n --profile-name --origin User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -561,7 +543,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:32 GMT + - Fri, 02 Apr 2021 10:35:48 GMT expires: - '-1' pragma: @@ -577,7 +559,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '48' + - '45' status: code: 200 message: OK @@ -595,10 +577,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints?api-version=2020-09-01 response: @@ -612,7 +591,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:34 GMT + - Fri, 02 Apr 2021 10:35:49 GMT expires: - '-1' pragma: @@ -628,7 +607,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '47' + - '49' status: code: 200 message: OK @@ -647,10 +626,7 @@ interactions: - -g -n --profile-name --order --rule-name --match-variable --operator --match-values --action-name --cache-behavior User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -664,7 +640,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:35 GMT + - Fri, 02 Apr 2021 10:35:50 GMT expires: - '-1' pragma: @@ -680,7 +656,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '47' + - '48' status: code: 200 message: OK @@ -703,15 +679,12 @@ interactions: Content-Length: - '506' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --profile-name --order --rule-name --match-variable --operator --match-values --action-name --cache-behavior User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -719,7 +692,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002","type":"Microsoft.Cdn/profiles/endpoints","name":"endpoint000002","location":"WestUs","tags":{},"properties":{"hostName":"endpoint000002.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.example.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":1,"weight":1000,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":{"description":"delivery_policy","rules":[{"name":"r1","order":1,"conditions":[{"name":"RemoteAddress","parameters":{"operator":"GeoMatch","negateCondition":false,"matchValues":["TH"],"transforms":[],"@odata.type":"#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters"}}],"actions":[{"name":"CacheExpiration","parameters":{"cacheBehavior":"BypassCache","cacheType":"All","cacheDuration":null,"@odata.type":"#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters"}}]}]},"urlSigningKeys":[],"webApplicationFirewallPolicyLink":null,"resourceState":"Running","provisioningState":"Succeeded"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/c0b1089a-a07d-4a4b-a3a4-9ddd53f2ba79?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/f316cdc1-4e48-485f-af1b-041a640cb8ae?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -727,11 +700,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:40 GMT + - Fri, 02 Apr 2021 10:35:55 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/c0b1089a-a07d-4a4b-a3a4-9ddd53f2ba79/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/f316cdc1-4e48-485f-af1b-041a640cb8ae/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 pragma: - no-cache server: @@ -741,7 +714,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '99' + - '98' status: code: 202 message: Accepted @@ -749,7 +722,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -760,10 +733,9 @@ interactions: - -g -n --profile-name --order --rule-name --match-variable --operator --match-values --action-name --cache-behavior User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/c0b1089a-a07d-4a4b-a3a4-9ddd53f2ba79?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/f316cdc1-4e48-485f-af1b-041a640cb8ae?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -775,7 +747,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:51 GMT + - Fri, 02 Apr 2021 10:36:05 GMT expires: - '-1' pragma: @@ -797,7 +769,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -808,8 +780,7 @@ interactions: - -g -n --profile-name --order --rule-name --match-variable --operator --match-values --action-name --cache-behavior User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -823,7 +794,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:51 GMT + - Fri, 02 Apr 2021 10:36:06 GMT expires: - '-1' pragma: @@ -839,7 +810,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '49' + - '47' status: code: 200 message: OK @@ -857,10 +828,7 @@ interactions: ParameterSetName: - -g -n --profile-name --rule-name --match-variable --operator --match-values User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -874,7 +842,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:52 GMT + - Fri, 02 Apr 2021 10:36:08 GMT expires: - '-1' pragma: @@ -890,7 +858,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '47' + - '46' status: code: 200 message: OK @@ -915,14 +883,11 @@ interactions: Content-Length: - '737' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --profile-name --rule-name --match-variable --operator --match-values User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -930,7 +895,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002","type":"Microsoft.Cdn/profiles/endpoints","name":"endpoint000002","location":"WestUs","tags":{},"properties":{"hostName":"endpoint000002.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.example.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":1,"weight":1000,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":{"description":"delivery_policy","rules":[{"name":"r1","order":1,"conditions":[{"name":"RemoteAddress","parameters":{"operator":"GeoMatch","negateCondition":false,"matchValues":["TH"],"transforms":[],"@odata.type":"#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters"}},{"name":"RemoteAddress","parameters":{"operator":"GeoMatch","negateCondition":false,"matchValues":["TH","US"],"transforms":[],"@odata.type":"#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters"}}],"actions":[{"name":"CacheExpiration","parameters":{"cacheBehavior":"BypassCache","cacheType":"All","cacheDuration":null,"@odata.type":"#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters"}}]}]},"urlSigningKeys":[],"webApplicationFirewallPolicyLink":null,"resourceState":"Running","provisioningState":"Succeeded"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/94cdf44d-fac8-4bd3-9421-76f4026a979b?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/7eb552aa-b370-4b3a-86c1-aea604b763c7?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -938,11 +903,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:32:57 GMT + - Fri, 02 Apr 2021 10:36:13 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/94cdf44d-fac8-4bd3-9421-76f4026a979b/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/7eb552aa-b370-4b3a-86c1-aea604b763c7/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 pragma: - no-cache server: @@ -960,7 +925,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -970,10 +935,9 @@ interactions: ParameterSetName: - -g -n --profile-name --rule-name --match-variable --operator --match-values User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/94cdf44d-fac8-4bd3-9421-76f4026a979b?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/7eb552aa-b370-4b3a-86c1-aea604b763c7?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -985,7 +949,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:33:09 GMT + - Fri, 02 Apr 2021 10:36:23 GMT expires: - '-1' pragma: @@ -1007,7 +971,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1017,8 +981,7 @@ interactions: ParameterSetName: - -g -n --profile-name --rule-name --match-variable --operator --match-values User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -1032,7 +995,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:33:09 GMT + - Fri, 02 Apr 2021 10:36:24 GMT expires: - '-1' pragma: @@ -1048,7 +1011,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '48' + - '45' status: code: 200 message: OK @@ -1066,10 +1029,7 @@ interactions: ParameterSetName: - -g -n --profile-name --rule-name --action-name --source-pattern --destination User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -1083,7 +1043,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:33:11 GMT + - Fri, 02 Apr 2021 10:36:25 GMT expires: - '-1' pragma: @@ -1099,7 +1059,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '48' + - '44' status: code: 200 message: OK @@ -1127,14 +1087,11 @@ interactions: Content-Length: - '954' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --profile-name --rule-name --action-name --source-pattern --destination User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -1142,7 +1099,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002","type":"Microsoft.Cdn/profiles/endpoints","name":"endpoint000002","location":"WestUs","tags":{},"properties":{"hostName":"endpoint000002.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.example.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":1,"weight":1000,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":{"description":"delivery_policy","rules":[{"name":"r1","order":1,"conditions":[{"name":"RemoteAddress","parameters":{"operator":"GeoMatch","negateCondition":false,"matchValues":["TH"],"transforms":[],"@odata.type":"#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters"}},{"name":"RemoteAddress","parameters":{"operator":"GeoMatch","negateCondition":false,"matchValues":["TH","US"],"transforms":[],"@odata.type":"#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters"}}],"actions":[{"name":"CacheExpiration","parameters":{"cacheBehavior":"BypassCache","cacheType":"All","cacheDuration":null,"@odata.type":"#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters"}},{"name":"UrlRewrite","parameters":{"sourcePattern":"/abc","destination":"/def","preserveUnmatchedPath":null,"@odata.type":"#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlRewriteActionParameters"}}]}]},"urlSigningKeys":[],"webApplicationFirewallPolicyLink":null,"resourceState":"Running","provisioningState":"Succeeded"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/bc2076cf-1e3f-48a3-b9a6-c068a59f4abe?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/41b65a26-f68c-47b9-b4c7-4970d56a677d?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -1150,11 +1107,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:33:16 GMT + - Fri, 02 Apr 2021 10:36:28 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/bc2076cf-1e3f-48a3-b9a6-c068a59f4abe/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/41b65a26-f68c-47b9-b4c7-4970d56a677d/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 pragma: - no-cache server: @@ -1164,7 +1121,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '98' + - '96' status: code: 202 message: Accepted @@ -1172,7 +1129,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1182,10 +1139,9 @@ interactions: ParameterSetName: - -g -n --profile-name --rule-name --action-name --source-pattern --destination User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/bc2076cf-1e3f-48a3-b9a6-c068a59f4abe?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/41b65a26-f68c-47b9-b4c7-4970d56a677d?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -1197,7 +1153,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:33:28 GMT + - Fri, 02 Apr 2021 10:36:38 GMT expires: - '-1' pragma: @@ -1219,7 +1175,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1229,8 +1185,7 @@ interactions: ParameterSetName: - -g -n --profile-name --rule-name --action-name --source-pattern --destination User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -1244,7 +1199,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:33:28 GMT + - Fri, 02 Apr 2021 10:36:39 GMT expires: - '-1' pragma: @@ -1260,7 +1215,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '49' + - '43' status: code: 200 message: OK @@ -1278,10 +1233,7 @@ interactions: ParameterSetName: - -g -n --profile-name --rule-name --index User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -1295,7 +1247,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:33:30 GMT + - Fri, 02 Apr 2021 10:36:40 GMT expires: - '-1' pragma: @@ -1311,7 +1263,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '46' + - '49' status: code: 200 message: OK @@ -1337,14 +1289,11 @@ interactions: Content-Length: - '729' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --profile-name --rule-name --index User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -1352,7 +1301,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002","type":"Microsoft.Cdn/profiles/endpoints","name":"endpoint000002","location":"WestUs","tags":{},"properties":{"hostName":"endpoint000002.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.example.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":1,"weight":1000,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":{"description":"delivery_policy","rules":[{"name":"r1","order":1,"conditions":[{"name":"RemoteAddress","parameters":{"operator":"GeoMatch","negateCondition":false,"matchValues":["TH","US"],"transforms":[],"@odata.type":"#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters"}}],"actions":[{"name":"CacheExpiration","parameters":{"cacheBehavior":"BypassCache","cacheType":"All","cacheDuration":null,"@odata.type":"#Microsoft.Azure.Cdn.Models.DeliveryRuleCacheExpirationActionParameters"}},{"name":"UrlRewrite","parameters":{"sourcePattern":"/abc","destination":"/def","preserveUnmatchedPath":null,"@odata.type":"#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlRewriteActionParameters"}}]}]},"urlSigningKeys":[],"webApplicationFirewallPolicyLink":null,"resourceState":"Running","provisioningState":"Succeeded"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2f81038b-2b63-468c-99a1-9369e62ed0c2?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/005b1bb7-c62d-47cc-af17-b78945788e5f?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -1360,11 +1309,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:33:34 GMT + - Fri, 02 Apr 2021 10:36:46 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2f81038b-2b63-468c-99a1-9369e62ed0c2/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/005b1bb7-c62d-47cc-af17-b78945788e5f/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 pragma: - no-cache server: @@ -1374,7 +1323,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '98' + - '99' status: code: 202 message: Accepted @@ -1382,7 +1331,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1392,10 +1341,9 @@ interactions: ParameterSetName: - -g -n --profile-name --rule-name --index User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/2f81038b-2b63-468c-99a1-9369e62ed0c2?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/005b1bb7-c62d-47cc-af17-b78945788e5f?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -1407,7 +1355,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:33:46 GMT + - Fri, 02 Apr 2021 10:36:56 GMT expires: - '-1' pragma: @@ -1429,7 +1377,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1439,8 +1387,7 @@ interactions: ParameterSetName: - -g -n --profile-name --rule-name --index User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -1454,7 +1401,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:33:46 GMT + - Fri, 02 Apr 2021 10:36:56 GMT expires: - '-1' pragma: @@ -1470,7 +1417,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '47' + - '48' status: code: 200 message: OK @@ -1488,10 +1435,7 @@ interactions: ParameterSetName: - -g -n --profile-name --rule-name --index User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -1505,7 +1449,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:33:48 GMT + - Fri, 02 Apr 2021 10:36:58 GMT expires: - '-1' pragma: @@ -1521,7 +1465,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '49' + - '46' status: code: 200 message: OK @@ -1545,14 +1489,11 @@ interactions: Content-Length: - '542' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --profile-name --rule-name --index User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -1560,7 +1501,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002","type":"Microsoft.Cdn/profiles/endpoints","name":"endpoint000002","location":"WestUs","tags":{},"properties":{"hostName":"endpoint000002.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.example.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":1,"weight":1000,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":{"description":"delivery_policy","rules":[{"name":"r1","order":1,"conditions":[{"name":"RemoteAddress","parameters":{"operator":"GeoMatch","negateCondition":false,"matchValues":["TH","US"],"transforms":[],"@odata.type":"#Microsoft.Azure.Cdn.Models.DeliveryRuleRemoteAddressConditionParameters"}}],"actions":[{"name":"UrlRewrite","parameters":{"sourcePattern":"/abc","destination":"/def","preserveUnmatchedPath":null,"@odata.type":"#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlRewriteActionParameters"}}]}]},"urlSigningKeys":[],"webApplicationFirewallPolicyLink":null,"resourceState":"Running","provisioningState":"Succeeded"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/974df24d-651a-4845-9698-fc3caacafd38?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/8f0e4b62-9a4a-486f-964a-b5ba2f3b9633?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -1568,11 +1509,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:33:54 GMT + - Fri, 02 Apr 2021 10:37:03 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/974df24d-651a-4845-9698-fc3caacafd38/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/8f0e4b62-9a4a-486f-964a-b5ba2f3b9633/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 pragma: - no-cache server: @@ -1582,7 +1523,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '98' + - '97' status: code: 202 message: Accepted @@ -1590,7 +1531,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1600,10 +1541,9 @@ interactions: ParameterSetName: - -g -n --profile-name --rule-name --index User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/974df24d-651a-4845-9698-fc3caacafd38?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/8f0e4b62-9a4a-486f-964a-b5ba2f3b9633?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -1615,7 +1555,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:34:05 GMT + - Fri, 02 Apr 2021 10:37:13 GMT expires: - '-1' pragma: @@ -1637,7 +1577,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1647,8 +1587,7 @@ interactions: ParameterSetName: - -g -n --profile-name --rule-name --index User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -1662,7 +1601,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:34:05 GMT + - Fri, 02 Apr 2021 10:37:14 GMT expires: - '-1' pragma: @@ -1678,7 +1617,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '47' + - '45' status: code: 200 message: OK @@ -1696,10 +1635,7 @@ interactions: ParameterSetName: - -g -n --profile-name --rule-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -1713,7 +1649,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:34:06 GMT + - Fri, 02 Apr 2021 10:37:15 GMT expires: - '-1' pragma: @@ -1729,7 +1665,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '46' + - '48' status: code: 200 message: OK @@ -1748,14 +1684,11 @@ interactions: Content-Length: - '83' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --profile-name --rule-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -1763,7 +1696,7 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002","type":"Microsoft.Cdn/profiles/endpoints","name":"endpoint000002","location":"WestUs","tags":{},"properties":{"hostName":"endpoint000002.azureedge.net","originHostHeader":null,"originPath":null,"contentTypesToCompress":[],"isCompressionEnabled":false,"isHttpAllowed":true,"isHttpsAllowed":true,"queryStringCachingBehavior":"IgnoreQueryString","optimizationType":null,"probePath":null,"origins":[{"name":"origin-0","properties":{"hostName":"www.example.com","httpPort":80,"httpsPort":443,"originHostHeader":null,"priority":1,"weight":1000,"enabled":true,"privateLinkAlias":null,"privateLinkResourceId":null,"privateLinkLocation":null,"privateEndpointStatus":null,"privateLinkApprovalMessage":null}}],"originGroups":[],"defaultOriginGroup":null,"customDomains":[],"geoFilters":[],"deliveryPolicy":{"description":"delivery_policy","rules":[]},"urlSigningKeys":[],"webApplicationFirewallPolicyLink":null,"resourceState":"Running","provisioningState":"Succeeded"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/98bb23a6-8311-4f45-85ae-b73731ec70b9?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b401b765-6f69-4498-bd31-d45bbe83696f?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -1771,11 +1704,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:34:11 GMT + - Fri, 02 Apr 2021 10:37:21 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/98bb23a6-8311-4f45-85ae-b73731ec70b9/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b401b765-6f69-4498-bd31-d45bbe83696f/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 pragma: - no-cache server: @@ -1785,7 +1718,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '99' + - '98' status: code: 202 message: Accepted @@ -1793,7 +1726,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1803,10 +1736,9 @@ interactions: ParameterSetName: - -g -n --profile-name --rule-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/98bb23a6-8311-4f45-85ae-b73731ec70b9?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/b401b765-6f69-4498-bd31-d45bbe83696f?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -1818,7 +1750,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:34:22 GMT + - Fri, 02 Apr 2021 10:37:31 GMT expires: - '-1' pragma: @@ -1840,7 +1772,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1850,8 +1782,7 @@ interactions: ParameterSetName: - -g -n --profile-name --rule-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -1865,7 +1796,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:34:23 GMT + - Fri, 02 Apr 2021 10:37:31 GMT expires: - '-1' pragma: @@ -1881,7 +1812,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '46' + - '47' status: code: 200 message: OK @@ -1901,10 +1832,7 @@ interactions: ParameterSetName: - -g -n --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile123/endpoints/endpoint000002?api-version=2020-09-01 response: @@ -1912,17 +1840,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/04445ea3-21b9-4aa0-8632-0082e4287d55?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/38c1f7d9-1254-4100-80b9-a7ac5e9ae2dc?api-version=2020-09-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 19 Feb 2021 12:34:25 GMT + - Fri, 02 Apr 2021 10:37:34 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/04445ea3-21b9-4aa0-8632-0082e4287d55/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/38c1f7d9-1254-4100-80b9-a7ac5e9ae2dc/profileresults/profile123/endpointresults/endpoint000002?api-version=2020-09-01 pragma: - no-cache server: @@ -1932,7 +1860,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14997' status: code: 202 message: Accepted @@ -1940,7 +1868,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1950,10 +1878,9 @@ interactions: ParameterSetName: - -g -n --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/04445ea3-21b9-4aa0-8632-0082e4287d55?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/38c1f7d9-1254-4100-80b9-a7ac5e9ae2dc?api-version=2020-09-01 response: body: string: '{"status":"InProgress","error":{"code":"None","message":null}}' @@ -1965,7 +1892,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:34:37 GMT + - Fri, 02 Apr 2021 10:37:44 GMT expires: - '-1' pragma: @@ -1987,7 +1914,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1997,10 +1924,9 @@ interactions: ParameterSetName: - -g -n --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/04445ea3-21b9-4aa0-8632-0082e4287d55?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/38c1f7d9-1254-4100-80b9-a7ac5e9ae2dc?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -2012,7 +1938,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 12:35:07 GMT + - Fri, 02 Apr 2021 10:38:14 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_rule_set_crud.yaml b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_rule_set_crud.yaml index 50a214bd1b7..ab7dfa304a7 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_rule_set_crud.yaml +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/recordings/test_rule_set_crud.yaml @@ -13,10 +13,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets?api-version=2020-09-01 response: @@ -32,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:07 GMT + - Fri, 02 Apr 2021 10:23:27 GMT expires: - '-1' pragma: @@ -60,22 +57,19 @@ interactions: Content-Length: - '66' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"266e441c-3910-461a-b405-890fd3127875","resourceState":"Creating","provisioningState":"Creating"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"a807b48f-a343-46e0-9991-bcae7be9b461","resourceState":"Creating","provisioningState":"Creating"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a89f37b2-4e14-46f9-91ca-77db3ff642a1?api-version=2020-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/bd03bd36-361e-4d5b-8430-1d335bea162a?api-version=2020-09-01 cache-control: - no-cache content-length: @@ -83,7 +77,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:15 GMT + - Fri, 02 Apr 2021 10:23:33 GMT expires: - '-1' pragma: @@ -103,7 +97,53 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - afd profile create + Connection: + - keep-alive + ParameterSetName: + - -g --profile-name --sku + User-Agent: + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/bd03bd36-361e-4d5b-8430-1d335bea162a?api-version=2020-09-01 + response: + body: + string: '{"status":"InProgress","error":{"code":"None","message":null}}' + headers: + cache-control: + - no-cache + content-length: + - '62' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 02 Apr 2021 10:23:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Kestrel + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -113,10 +153,9 @@ interactions: ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/a89f37b2-4e14-46f9-91ca-77db3ff642a1?api-version=2020-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/operationresults/bd03bd36-361e-4d5b-8430-1d335bea162a?api-version=2020-09-01 response: body: string: '{"status":"Succeeded","error":{"code":"None","message":null}}' @@ -128,7 +167,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:26 GMT + - Fri, 02 Apr 2021 10:24:14 GMT expires: - '-1' pragma: @@ -150,7 +189,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -160,13 +199,12 @@ interactions: ParameterSetName: - -g --profile-name --sku User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"266e441c-3910-461a-b405-890fd3127875","resourceState":"Active","provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002","type":"Microsoft.Cdn/profiles","name":"profile000002","location":"Global","kind":"frontdoor","tags":{},"sku":{"name":"Standard_AzureFrontDoor"},"properties":{"frontDoorId":"a807b48f-a343-46e0-9991-bcae7be9b461","resourceState":"Active","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -175,7 +213,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:26 GMT + - Fri, 02 Apr 2021 10:24:15 GMT expires: - '-1' pragma: @@ -191,7 +229,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '46' + - '49' status: code: 200 message: OK @@ -209,10 +247,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets?api-version=2020-09-01 response: @@ -226,7 +261,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:27 GMT + - Fri, 02 Apr 2021 10:24:16 GMT expires: - '-1' pragma: @@ -245,7 +280,7 @@ interactions: code: 200 message: OK - request: - body: '{}' + body: null headers: Accept: - application/json @@ -256,16 +291,11 @@ interactions: Connection: - keep-alive Content-Length: - - '2' - Content-Type: - - application/json; charset=utf-8 + - '0' ParameterSetName: - -g --rule-set-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets/ruleset000003?api-version=2020-09-01 response: @@ -279,7 +309,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:28 GMT + - Fri, 02 Apr 2021 10:24:17 GMT expires: - '-1' pragma: @@ -309,10 +339,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets?api-version=2020-09-01 response: @@ -326,7 +353,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:29 GMT + - Fri, 02 Apr 2021 10:24:18 GMT expires: - '-1' pragma: @@ -358,10 +385,7 @@ interactions: ParameterSetName: - -g --rule-set-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets/ruleset000003?api-version=2020-09-01 response: @@ -375,7 +399,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:29 GMT + - Fri, 02 Apr 2021 10:24:18 GMT expires: - '-1' pragma: @@ -409,10 +433,7 @@ interactions: ParameterSetName: - -g --rule-set-name --profile-name --yes User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets/ruleset000003?api-version=2020-09-01 response: @@ -424,7 +445,7 @@ interactions: content-length: - '0' date: - - Fri, 19 Feb 2021 11:48:31 GMT + - Fri, 02 Apr 2021 10:24:21 GMT expires: - '-1' pragma: @@ -436,7 +457,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14997' status: code: 200 message: OK @@ -454,10 +475,7 @@ interactions: ParameterSetName: - -g --rule-set-name --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets/ruleset000003?api-version=2020-09-01 response: @@ -472,7 +490,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:32 GMT + - Fri, 02 Apr 2021 10:24:21 GMT expires: - '-1' pragma: @@ -500,10 +518,7 @@ interactions: ParameterSetName: - -g --profile-name User-Agent: - - python/3.7.9 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-cdn/7.0.0 Azure-SDK-For-Python AZURECLI/2.19.1 - accept-language: - - en-US + - AZURECLI/2.21.0 azsdk-python-mgmt-cdn/11.0.0 Python/3.7.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Cdn/profiles/profile000002/ruleSets?api-version=2020-09-01 response: @@ -517,7 +532,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 19 Feb 2021 11:48:33 GMT + - Fri, 02 Apr 2021 10:24:22 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_afd_custom_domain_scenarios.py b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_afd_custom_domain_scenarios.py index c79ea3cb4ce..d842414c68b 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_afd_custom_domain_scenarios.py +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_afd_custom_domain_scenarios.py @@ -22,7 +22,7 @@ def test_afd_custom_domain_crud(self, resource_group): # Create a secret secret_name = self.create_random_name(prefix='secret', length=24) - secret_source = f"/subscriptions/{self.get_subscription_id()}/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc/certificates/localdev-wild" + secret_source = f"/subscriptions/{self.get_subscription_id()}/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc-int/certificates/localdev-wild" use_latest_version = True secret_version = None diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_afd_log_analytic_scenarios.py b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_afd_log_analytic_scenarios.py index 4ba683b8522..1bdfddddd65 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_afd_log_analytic_scenarios.py +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_afd_log_analytic_scenarios.py @@ -30,7 +30,7 @@ def test_afd_log_analytic(self, resource_group): start_time = datetime.datetime.now().astimezone().replace(microsecond=0) if self.is_playback_mode(): - start_time = datetime.datetime(2021, 2, 19, 11, 47, 41, tzinfo=datetime.timezone.utc) + start_time = datetime.datetime(2021, 4, 2, 10, 23, 7, tzinfo=datetime.timezone.utc) end_time = start_time + datetime.timedelta(seconds=300) @@ -69,7 +69,7 @@ def test_afd_waf_log_analytic(self, resource_group): start_time = datetime.datetime.now().astimezone().replace(microsecond=0) if self.is_playback_mode(): - start_time = datetime.datetime(2021, 2, 19, 11, 47, 45, tzinfo=datetime.timezone.utc) + start_time = datetime.datetime(2021, 4, 2, 10, 23, 6, tzinfo=datetime.timezone.utc) end_time = start_time + datetime.timedelta(seconds=300) diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_afd_origin_scenarios.py b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_afd_origin_scenarios.py index 6ef2f5ff958..51e29fe804f 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_afd_origin_scenarios.py +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_afd_origin_scenarios.py @@ -21,12 +21,12 @@ def test_afd_origin_crud(self, resource_group): "--sample-size 4 --successful-samples-required 3 --additional-latency-in-milliseconds 50") origin_name = self.create_random_name(prefix='origin', length=16) - create_options = "--host-name huaiyiztesthost1.blob.core.chinacloudapi.cn " \ - + "--origin-host-header huaiyiztesthost1.blob.core.chinacloudapi.cn " \ + create_options = "--host-name plstestcli.blob.core.windows.net " \ + + "--origin-host-header plstestcli.blob.core.windows.net " \ + "--priority 1 --weight 1000 --http-port 80 --https-port 443 --enabled-state Enabled" create_checks = [JMESPathCheck('name', origin_name), - JMESPathCheck('hostName', "huaiyiztesthost1.blob.core.chinacloudapi.cn"), + JMESPathCheck('hostName', "plstestcli.blob.core.windows.net"), JMESPathCheck('httpPort', 80), JMESPathCheck('httpsPort', 443), JMESPathCheck('priority', 1), @@ -66,7 +66,7 @@ def test_afd_origin_crud(self, resource_group): self.afd_origin_list_cmd(resource_group, profile_name, origin_group_name, checks=list_checks) update_checks = [JMESPathCheck('name', origin_name), - JMESPathCheck('hostName', "huaiyiztesthost1.blob.core.chinacloudapi.cn"), + JMESPathCheck('hostName', "plstestcli.blob.core.windows.net"), JMESPathCheck('httpPort', 8080), JMESPathCheck('httpsPort', 443), JMESPathCheck('priority', 1), @@ -82,19 +82,19 @@ def test_afd_origin_crud(self, resource_group): checks=update_checks) update_checks = [JMESPathCheck('name', origin_name), - JMESPathCheck('hostName', "huaiyiztesthost1.blob.core.chinacloudapi.cn"), + JMESPathCheck('hostName', "plstestcli.blob.core.windows.net"), JMESPathCheck('httpPort', 80), JMESPathCheck('httpsPort', 443), JMESPathCheck('priority', 1), JMESPathCheck('weight', 58), JMESPathCheck('enabledState', "Enabled"), - JMESPathCheck('sharedPrivateLinkResource.privateLink.id', f"/subscriptions/{self.get_subscription_id()}/resourceGroups/AFDX-Portal-BugBash/providers/Microsoft.Storage/storageAccounts/plstest"), + JMESPathCheck('sharedPrivateLinkResource.privateLink.id', f"/subscriptions/{self.get_subscription_id()}/resourceGroups/CliDevReservedGroup/providers/Microsoft.Storage/storageAccounts/plstestcli"), JMESPathCheck('sharedPrivateLinkResource.groupId', "blob"), JMESPathCheck('sharedPrivateLinkResource.privateLinkLocation', "eastus"), JMESPathCheck('sharedPrivateLinkResource.requestMessage', "Private link service from AFD"), JMESPathCheck('provisioningState', 'Succeeded')] options = '--http-port 80 --enable-private-link --private-link-resource ' \ - + f' /subscriptions/{self.get_subscription_id()}/resourceGroups/AFDX-Portal-BugBash/providers/Microsoft.Storage/storageAccounts/plstest' \ + + f' /subscriptions/{self.get_subscription_id()}/resourceGroups/CliDevReservedGroup/providers/Microsoft.Storage/storageAccounts/plstestcli' \ + ' --private-link-sub-resource blob' \ + ' --private-link-location eastus' \ + ' --private-link-request-message "Private link service from AFD"' @@ -106,13 +106,13 @@ def test_afd_origin_crud(self, resource_group): checks=update_checks) update_checks = [JMESPathCheck('name', origin_name), - JMESPathCheck('hostName', "huaiyiztesthost1.blob.core.chinacloudapi.cn"), + JMESPathCheck('hostName', "plstestcli.blob.core.windows.net"), JMESPathCheck('httpPort', 80), JMESPathCheck('httpsPort', 443), JMESPathCheck('priority', 1), JMESPathCheck('weight', 58), JMESPathCheck('enabledState', "Enabled"), - JMESPathCheck('sharedPrivateLinkResource.privateLink.id', f"/subscriptions/{self.get_subscription_id()}/resourceGroups/AFDX-Portal-BugBash/providers/Microsoft.Storage/storageAccounts/plstest"), + JMESPathCheck('sharedPrivateLinkResource.privateLink.id', f"/subscriptions/{self.get_subscription_id()}/resourceGroups/CliDevReservedGroup/providers/Microsoft.Storage/storageAccounts/plstestcli"), JMESPathCheck('sharedPrivateLinkResource.groupId', "table"), JMESPathCheck('sharedPrivateLinkResource.privateLinkLocation', "eastus"), JMESPathCheck('sharedPrivateLinkResource.requestMessage', "Private link service from AFD"), @@ -126,7 +126,7 @@ def test_afd_origin_crud(self, resource_group): checks=update_checks) update_checks = [JMESPathCheck('name', origin_name), - JMESPathCheck('hostName', "huaiyiztesthost1.blob.core.chinacloudapi.cn"), + JMESPathCheck('hostName', "plstestcli.blob.core.windows.net"), JMESPathCheck('httpPort', 80), JMESPathCheck('httpsPort', 443), JMESPathCheck('priority', 1), diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_afd_rule_scenarios.py b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_afd_rule_scenarios.py index 5541eb66897..43dfac4905b 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_afd_rule_scenarios.py +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_afd_rule_scenarios.py @@ -48,37 +48,49 @@ def test_afd_rule_crud(self, resource_group): self.afd_rule_list_cmd(resource_group, rule_set_name, profile_name, checks=rule_list_checks) rule_name = 'r1' - rule_create_checks = [JMESPathCheck('order', 1), - JMESPathCheck('name', rule_name), - JMESPathCheck('length(conditions)', 1), - JMESPathCheck('conditions[0].name', "RemoteAddress"), - JMESPathCheck('conditions[0].parameters.operator', 'GeoMatch'), - JMESPathCheck('conditions[0].parameters.matchValues[0]', 'TH'), - JMESPathCheck('length(actions)', 1), - JMESPathCheck('actions[0].name', "CacheExpiration"), - JMESPathCheck('actions[0].parameters.cacheBehavior', 'BypassCache')] + rule_checks = [JMESPathCheck('order', 1), + JMESPathCheck('name', rule_name), + JMESPathCheck('length(conditions)', 1), + JMESPathCheck('conditions[0].name', "RemoteAddress"), + JMESPathCheck('conditions[0].parameters.operator', 'GeoMatch'), + JMESPathCheck('conditions[0].parameters.matchValues[0]', 'TH'), + JMESPathCheck('length(actions)', 1), + JMESPathCheck('actions[0].name', "CacheExpiration"), + JMESPathCheck('actions[0].parameters.cacheBehavior', 'BypassCache')] + self.afd_rule_add_cmd(resource_group, rule_set_name, rule_name, profile_name, - options='--match-variable RemoteAddress --operator GeoMatch --match-values "TH" --action-name CacheExpiration --cache-behavior BypassCache --order 1', - checks=rule_create_checks) + options='--match-variable RemoteAddress --operator GeoMatch --match-values "TH" --action-name CacheExpiration --cache-behavior BypassCache --order 1') + + self.afd_rule_show_cmd(resource_group, + rule_set_name, + rule_name, + profile_name, + checks=rule_checks) + rule_name1 = 'r2' - rule_create_checks = [JMESPathCheck('order', 2), - JMESPathCheck('name', rule_name1), - JMESPathCheck('length(conditions)', 1), - JMESPathCheck('conditions[0].name', "RequestScheme"), - JMESPathCheck('conditions[0].parameters.matchValues[0]', 'HTTP'), - JMESPathCheck('length(actions)', 1), - JMESPathCheck('actions[0].name', "UrlRedirect"), - JMESPathCheck('actions[0].parameters.redirectType', "Moved"), - JMESPathCheck('actions[0].parameters.destinationProtocol', 'Https')] + rule_checks = [JMESPathCheck('order', 2), + JMESPathCheck('name', rule_name1), + JMESPathCheck('length(conditions)', 1), + JMESPathCheck('conditions[0].name', "RequestScheme"), + JMESPathCheck('conditions[0].parameters.matchValues[0]', 'HTTP'), + JMESPathCheck('length(actions)', 1), + JMESPathCheck('actions[0].name', "UrlRedirect"), + JMESPathCheck('actions[0].parameters.redirectType', "Moved"), + JMESPathCheck('actions[0].parameters.destinationProtocol', 'Https')] self.afd_rule_add_cmd(resource_group, rule_set_name, rule_name1, profile_name, - options='--match-variable RequestScheme --match-values "HTTP" --action-name UrlRedirect --redirect-protocol Https --redirect-type Moved --order 2', - checks=rule_create_checks) + options='--match-variable RequestScheme --match-values "HTTP" --action-name UrlRedirect --redirect-protocol Https --redirect-type Moved --order 2') + + self.afd_rule_show_cmd(resource_group, + rule_set_name, + rule_name1, + profile_name, + checks=rule_checks) rule_list_checks = [JMESPathCheck('length(@)', 2)] self.afd_rule_list_cmd(resource_group, rule_set_name, profile_name, checks=rule_list_checks) @@ -87,82 +99,102 @@ def test_afd_rule_crud(self, resource_group): rule_list_checks = [JMESPathCheck('length(@)', 1)] self.afd_rule_list_cmd(resource_group, rule_set_name, profile_name, checks=rule_list_checks) - rule_update_checks = [JMESPathCheck('order', 1), - JMESPathCheck('name', rule_name), - JMESPathCheck('length(conditions)', 2), - JMESPathCheck('conditions[1].name', "RemoteAddress"), - JMESPathCheck('conditions[1].parameters.operator', 'GeoMatch'), - JMESPathCheck('conditions[1].parameters.matchValues[0]', 'TH'), - JMESPathCheck('conditions[1].parameters.matchValues[1]', 'US'), - JMESPathCheck('length(actions)', 1), - JMESPathCheck('actions[0].name', "CacheExpiration"), - JMESPathCheck('actions[0].parameters.cacheBehavior', 'BypassCache')] + rule_checks = [JMESPathCheck('order', 1), + JMESPathCheck('name', rule_name), + JMESPathCheck('length(conditions)', 2), + JMESPathCheck('conditions[1].name', "RemoteAddress"), + JMESPathCheck('conditions[1].parameters.operator', 'GeoMatch'), + JMESPathCheck('conditions[1].parameters.matchValues[0]', 'TH'), + JMESPathCheck('conditions[1].parameters.matchValues[1]', 'US'), + JMESPathCheck('length(actions)', 1), + JMESPathCheck('actions[0].name', "CacheExpiration"), + JMESPathCheck('actions[0].parameters.cacheBehavior', 'BypassCache')] self.afd_rule_add_condition_cmd(resource_group, rule_set_name, rule_name, profile_name, - checks=rule_update_checks, options='--match-variable RemoteAddress ' '--operator GeoMatch --match-values "TH" "US"') - rule_update_checks = [JMESPathCheck('order', 1), - JMESPathCheck('name', rule_name), - JMESPathCheck('length(conditions)', 2), - JMESPathCheck('conditions[1].name', "RemoteAddress"), - JMESPathCheck('conditions[1].parameters.operator', 'GeoMatch'), - JMESPathCheck('conditions[1].parameters.matchValues[0]', 'TH'), - JMESPathCheck('conditions[1].parameters.matchValues[1]', 'US'), - JMESPathCheck('length(actions)', 2), - JMESPathCheck('actions[0].name', "CacheExpiration"), - JMESPathCheck('actions[0].parameters.cacheBehavior', 'BypassCache'), - JMESPathCheck('actions[1].name', "UrlRewrite"), - JMESPathCheck('actions[1].parameters.sourcePattern', '/abc'), - JMESPathCheck('actions[1].parameters.destination', '/def')] + self.afd_rule_show_cmd(resource_group, + rule_set_name, + rule_name, + profile_name, + checks=rule_checks) + + rule_checks = [JMESPathCheck('order', 1), + JMESPathCheck('name', rule_name), + JMESPathCheck('length(conditions)', 2), + JMESPathCheck('conditions[1].name', "RemoteAddress"), + JMESPathCheck('conditions[1].parameters.operator', 'GeoMatch'), + JMESPathCheck('conditions[1].parameters.matchValues[0]', 'TH'), + JMESPathCheck('conditions[1].parameters.matchValues[1]', 'US'), + JMESPathCheck('length(actions)', 2), + JMESPathCheck('actions[0].name', "CacheExpiration"), + JMESPathCheck('actions[0].parameters.cacheBehavior', 'BypassCache'), + JMESPathCheck('actions[1].name', "UrlRewrite"), + JMESPathCheck('actions[1].parameters.sourcePattern', '/abc'), + JMESPathCheck('actions[1].parameters.destination', '/def')] self.afd_rule_add_action_cmd(resource_group, rule_set_name, rule_name, profile_name, - checks=rule_update_checks, options='--action-name "UrlRewrite" ' '--source-pattern "/abc" --destination "/def"') - rule_update_checks = [JMESPathCheck('order', 1), - JMESPathCheck('name', rule_name), - JMESPathCheck('length(conditions)', 1), - JMESPathCheck('conditions[0].name', "RemoteAddress"), - JMESPathCheck('conditions[0].parameters.operator', 'GeoMatch'), - JMESPathCheck('conditions[0].parameters.matchValues[0]', 'TH'), - JMESPathCheck('conditions[0].parameters.matchValues[1]', 'US'), - JMESPathCheck('length(actions)', 2), - JMESPathCheck('actions[0].name', "CacheExpiration"), - JMESPathCheck('actions[0].parameters.cacheBehavior', 'BypassCache'), - JMESPathCheck('actions[1].name', "UrlRewrite"), - JMESPathCheck('actions[1].parameters.sourcePattern', '/abc'), - JMESPathCheck('actions[1].parameters.destination', '/def')] + self.afd_rule_show_cmd(resource_group, + rule_set_name, + rule_name, + profile_name, + checks=rule_checks) + + rule_checks = [JMESPathCheck('order', 1), + JMESPathCheck('name', rule_name), + JMESPathCheck('length(conditions)', 1), + JMESPathCheck('conditions[0].name', "RemoteAddress"), + JMESPathCheck('conditions[0].parameters.operator', 'GeoMatch'), + JMESPathCheck('conditions[0].parameters.matchValues[0]', 'TH'), + JMESPathCheck('conditions[0].parameters.matchValues[1]', 'US'), + JMESPathCheck('length(actions)', 2), + JMESPathCheck('actions[0].name', "CacheExpiration"), + JMESPathCheck('actions[0].parameters.cacheBehavior', 'BypassCache'), + JMESPathCheck('actions[1].name', "UrlRewrite"), + JMESPathCheck('actions[1].parameters.sourcePattern', '/abc'), + JMESPathCheck('actions[1].parameters.destination', '/def')] self.afd_rule_remove_condition_cmd(resource_group, rule_set_name, rule_name, profile_name, - 0, - checks=rule_update_checks) - - rule_update_checks = [JMESPathCheck('order', 1), - JMESPathCheck('name', rule_name), - JMESPathCheck('length(conditions)', 1), - JMESPathCheck('conditions[0].name', "RemoteAddress"), - JMESPathCheck('conditions[0].parameters.operator', 'GeoMatch'), - JMESPathCheck('conditions[0].parameters.matchValues[0]', 'TH'), - JMESPathCheck('conditions[0].parameters.matchValues[1]', 'US'), - JMESPathCheck('length(actions)', 1), - JMESPathCheck('actions[0].name', "UrlRewrite"), - JMESPathCheck('actions[0].parameters.sourcePattern', '/abc'), - JMESPathCheck('actions[0].parameters.destination', '/def')] + 0) + + self.afd_rule_show_cmd(resource_group, + rule_set_name, + rule_name, + profile_name, + checks=rule_checks) + + rule_checks = [JMESPathCheck('order', 1), + JMESPathCheck('name', rule_name), + JMESPathCheck('length(conditions)', 1), + JMESPathCheck('conditions[0].name', "RemoteAddress"), + JMESPathCheck('conditions[0].parameters.operator', 'GeoMatch'), + JMESPathCheck('conditions[0].parameters.matchValues[0]', 'TH'), + JMESPathCheck('conditions[0].parameters.matchValues[1]', 'US'), + JMESPathCheck('length(actions)', 1), + JMESPathCheck('actions[0].name', "UrlRewrite"), + JMESPathCheck('actions[0].parameters.sourcePattern', '/abc'), + JMESPathCheck('actions[0].parameters.destination', '/def')] self.afd_rule_remove_action_cmd(resource_group, rule_set_name, rule_name, profile_name, - 0, - checks=rule_update_checks) + 0) + + self.afd_rule_show_cmd(resource_group, + rule_set_name, + rule_name, + profile_name, + checks=rule_checks) self.afd_rule_delete_cmd(resource_group, rule_set_name, diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_afd_secret_scenarios.py b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_afd_secret_scenarios.py index 0c5a581254a..7c650a35553 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_afd_secret_scenarios.py +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_afd_secret_scenarios.py @@ -7,6 +7,7 @@ from .afdx_scenario_mixin import CdnAfdScenarioMixin +# This tests relies on a specific subscription with existing resources class CdnAfdSecretScenarioTest(CdnAfdScenarioMixin, ScenarioTest): @ResourceGroupPreparer() def test_afd_secret_specific_version_crud(self, resource_group): @@ -20,8 +21,8 @@ def test_afd_secret_specific_version_crud(self, resource_group): # Create a secret secret_name = self.create_random_name(prefix='secret', length=24) - secret_source = f"/subscriptions/{self.get_subscription_id()}/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc/certificates/localdev-multi" - secret_version = "3528eb888f114c20930edbd56c7ed57c" + secret_source = f"/subscriptions/{self.get_subscription_id()}/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc-int/certificates/localdev-multi" + secret_version = "aab1df2865274378a04592e4f1233797" checks = [JMESPathCheck('provisioningState', 'Succeeded')] self.afd_secret_create_cmd(resource_group, @@ -70,8 +71,8 @@ def test_afd_secret_latest_version_crud(self, resource_group): # Create a secret secret_name = self.create_random_name(prefix='secret', length=24) - secret_source = f"/subscriptions/{self.get_subscription_id()}/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc/certificates/localdev-multi" - latest_version = "8191a537d089481d91f20dc0b1e59e0a" + secret_source = f"/subscriptions/{self.get_subscription_id()}/resourceGroups/CliDevReservedGroup/providers/Microsoft.KeyVault/vaults/clibyoc-int/certificates/localdev-multi" + latest_version = "5f652542f6ef46ef9fc4ed8af07c54f1" checks = [JMESPathCheck('provisioningState', 'Succeeded')] self.afd_secret_create_cmd(resource_group, profile_name, diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_custom_domain_scenarios.py b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_custom_domain_scenarios.py index 23307968eaa..a1a549b9d47 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_custom_domain_scenarios.py +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_custom_domain_scenarios.py @@ -6,13 +6,14 @@ from azure.cli.testsdk import ScenarioTest from .scenario_mixin import CdnScenarioMixin from azure.mgmt.cdn.models import (SkuName, CustomHttpsProvisioningState, ProtocolType, - CertificateType, ErrorResponseException) + CertificateType) + +from azure.core.exceptions import (HttpResponseError) class CdnCustomDomainScenarioTest(CdnScenarioMixin, ScenarioTest): @ResourceGroupPreparer(name_prefix='cli_test_cdn_domain') def test_cdn_custom_domain_errors(self, resource_group): - from azure.mgmt.cdn.models import ErrorResponseException from knack.util import CLIError self.kwargs.update({ @@ -30,13 +31,13 @@ def test_cdn_custom_domain_errors(self, resource_group): # These will all fail because we don't really have the ability to create the custom endpoint in test. # but they should still fail if there was a CLI-level regression. - with self.assertRaises(ErrorResponseException): + with self.assertRaises(HttpResponseError): self.cmd( 'cdn custom-domain create -g {rg} --endpoint-name {endpoint} --hostname {hostname} --profile-name {profile} -n {name}') with self.assertRaises(SystemExit): # exits with code 3 due to missing resource self.cmd('cdn custom-domain show -g {rg} --endpoint-name {endpoint} --profile-name {profile} -n {name}') self.cmd('cdn custom-domain delete -g {rg} --endpoint-name {endpoint} --profile-name {profile} -n {name}') - with self.assertRaises(ErrorResponseException): + with self.assertRaises(HttpResponseError): self.cmd( 'cdn custom-domain enable-https -g {rg} --endpoint-name {endpoint} --profile-name {profile} -n {name}') with self.assertRaises(CLIError): @@ -45,7 +46,7 @@ def test_cdn_custom_domain_errors(self, resource_group): @ResourceGroupPreparer() def test_cdn_custom_domain_crud(self, resource_group): - profile_name = 'profile123' + profile_name = self.create_random_name(prefix='profile', length=24) self.endpoint_list_cmd(resource_group, profile_name, expect_failure=True) self.profile_create_cmd(resource_group, profile_name, sku=SkuName.standard_akamai.value) @@ -71,7 +72,7 @@ def test_cdn_custom_domain_crud(self, resource_group): name=custom_domain_name, hostname=hostname, checks=checks) - except ErrorResponseException as err: + except HttpResponseError as err: if err.status_code != 400: raise err hostname = custom_domain_name + '.cdn-cli-test-dogfood.azfdtest.xyz' @@ -125,7 +126,7 @@ def test_cdn_custom_domain_https_akamai(self, resource_group): custom_domain_name, checks=checks) - with self.assertRaises(ErrorResponseException): + with self.assertRaises(HttpResponseError): self.custom_domain_disable_https_cmd(resource_group, profile_name, endpoint_name, custom_domain_name) @ResourceGroupPreparer() @@ -164,7 +165,7 @@ def test_cdn_custom_domain_https_verizon(self, resource_group): min_tls_version='None', checks=checks) - with self.assertRaises(ErrorResponseException): + with self.assertRaises(HttpResponseError): self.custom_domain_disable_https_cmd(resource_group, profile_name, endpoint_name, custom_domain_name) @ResourceGroupPreparer() @@ -239,7 +240,7 @@ def test_cdn_custom_domain_https_msft(self, resource_group): user_cert_protocol_type='sni', checks=checks) - with self.assertRaises(ErrorResponseException): + with self.assertRaises(HttpResponseError): self.custom_domain_disable_https_cmd(resource_group, profile_name, endpoint_name, custom_domain_name) @ResourceGroupPreparer() diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_profile_scenarios.py b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_profile_scenarios.py index ccd46fe3794..a1183687d12 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_profile_scenarios.py +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_profile_scenarios.py @@ -16,7 +16,7 @@ def test_cdn_profile_crud(self, resource_group): profile_name = 'profile123' checks = [JMESPathCheck('name', profile_name), - JMESPathCheck('sku.name', SkuName.standard_akamai.value)] + JMESPathCheck('sku.name', SkuName.STANDARD_AKAMAI)] self.profile_create_cmd(resource_group, profile_name, checks=checks) self.profile_show_cmd(resource_group, profile_name, checks=checks) diff --git a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_waf_scenarios.py b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_waf_scenarios.py index d54c8b214ff..2c1d217b29e 100644 --- a/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_waf_scenarios.py +++ b/src/azure-cli/azure/cli/command_modules/cdn/tests/latest/test_waf_scenarios.py @@ -8,8 +8,7 @@ CdnEndpoint, EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink, PolicyMode, - ActionType, - ErrorResponseException) + ActionType) from .scenario_mixin import CdnScenarioMixin from base64 import b64encode from knack.util import CLIError diff --git a/src/azure-cli/azure/cli/command_modules/container/custom.py b/src/azure-cli/azure/cli/command_modules/container/custom.py index 09e616d6b4a..e9aec1bd927 100644 --- a/src/azure-cli/azure/cli/command_modules/container/custom.py +++ b/src/azure-cli/azure/cli/command_modules/container/custom.py @@ -345,7 +345,7 @@ def _get_vnet_network_profile(cmd, location, resource_group_name, vnet, vnet_add ) logger.info('Creating network profile "%s" in resource group "%s"', default_network_profile_name, resource_group_name) - network_profile = ncf.network_profiles.create_or_update(resource_group_name, default_network_profile_name, network_profile).result() + network_profile = ncf.network_profiles.create_or_update(resource_group_name, default_network_profile_name, network_profile) return network_profile.id diff --git a/src/azure-cli/azure/cli/command_modules/keyvault/_help.py b/src/azure-cli/azure/cli/command_modules/keyvault/_help.py index 0f86ed96b5b..76306817611 100644 --- a/src/azure-cli/azure/cli/command_modules/keyvault/_help.py +++ b/src/azure-cli/azure/cli/command_modules/keyvault/_help.py @@ -546,6 +546,13 @@ helps['keyvault secret set'] = """ type: command short-summary: Create a secret (if one doesn't exist) or update a secret in a KeyVault. +examples: + - name: Create a secret (if one doesn't exist) or update a secret in a KeyVault. + text: | + az keyvault secret set --name MySecretName --vault-name MyKeyVault --value MyVault + - name: Create a secret (if one doesn't exist) or update a secret in a KeyVault through a file. + text: | + az keyvault secret set --name MySecretName --vault-name MyKeyVault --file /path/to/file --encoding MyEncoding """ helps['keyvault show'] = """ diff --git a/src/azure-cli/azure/cli/command_modules/network/_help.py b/src/azure-cli/azure/cli/command_modules/network/_help.py index 14e4f9f055b..8e2c85f48ef 100644 --- a/src/azure-cli/azure/cli/command_modules/network/_help.py +++ b/src/azure-cli/azure/cli/command_modules/network/_help.py @@ -4623,8 +4623,6 @@ helps['network public-ip create'] = """ type: command short-summary: Create a public IP address. -long-summary: > - [Coming breaking change] In the coming release, the default behavior will be changed as follows when sku is Standard and zone is not provided: zones = [], which means the Standard Public IP has no zones. If you want to create a zone-redundant Public IP address, please specify all the zones in the region. For example, --zone 1 2 3. examples: - name: Create a basic public IP resource. text: az network public-ip create -g MyResourceGroup -n MyIp @@ -5419,6 +5417,8 @@ examples: - name: Update a virtual network with the IP address of a DNS server. text: az network vnet update -g MyResourceGroup -n MyVNet --dns-servers 10.2.0.8 + - name: Update a virtual network to delete DNS server. + text: az network vnet update -g MyResourceGroup -n MyVNet --dns-servers '' - name: Update a virtual network. (autogenerated) text: | az network vnet update --address-prefixes 40.1.0.0/24 --name MyVNet --resource-group MyResourceGroup diff --git a/src/azure-cli/azure/cli/command_modules/role/custom.py b/src/azure-cli/azure/cli/command_modules/role/custom.py index 910845a25e0..c2a6a771240 100644 --- a/src/azure-cli/azure/cli/command_modules/role/custom.py +++ b/src/azure-cli/azure/cli/command_modules/role/custom.py @@ -588,7 +588,7 @@ def list_apps(cmd, app_id=None, display_name=None, identifier_uri=None, query_fi result = client.applications.list(filter=(' and '.join(sub_filters))) if sub_filters or include_all: - return result + return list(result) result = list(itertools.islice(result, 101)) if len(result) == 101: @@ -1415,7 +1415,6 @@ def create_service_principal_for_rbac( existing_sps = list(graph_client.service_principals.list(filter=query_exp)) if existing_sps: app_display_name = existing_sps[0].display_name - name = existing_sps[0].service_principal_names[0] app_start_date = datetime.datetime.now(TZ_UTC) app_end_date = app_start_date + relativedelta(years=years or 1) diff --git a/src/azure-cli/azure/cli/command_modules/servicefabric/_client_factory.py b/src/azure-cli/azure/cli/command_modules/servicefabric/_client_factory.py index b9bad0e5c5e..6e9fe3c9fe1 100644 --- a/src/azure-cli/azure/cli/command_modules/servicefabric/_client_factory.py +++ b/src/azure-cli/azure/cli/command_modules/servicefabric/_client_factory.py @@ -70,3 +70,31 @@ def network_client_factory(cli_ctx, **_): from azure.cli.core.profiles import ResourceType from azure.cli.core.commands.client_factory import get_mgmt_service_client return get_mgmt_service_client(cli_ctx, ResourceType.MGMT_NETWORK) + + +# Managed clusters + +def servicefabric_managed_client_factory(cli_ctx, **_): + from azure.cli.core.commands.client_factory import get_mgmt_service_client + from azure.mgmt.servicefabricmanagedclusters import ServiceFabricManagedClustersManagementClient + return get_mgmt_service_client(cli_ctx, ServiceFabricManagedClustersManagementClient) + + +def servicefabric_managed_client_factory_all(cli_ctx, kwargs): + return servicefabric_managed_client_factory(cli_ctx, **kwargs) + + +def servicefabric_managed_application_type_client_factory(cli_ctx, kwargs): + return servicefabric_managed_client_factory(cli_ctx, **kwargs).application_types + + +def servicefabric_managed_application_type_version_client_factory(cli_ctx, kwargs): + return servicefabric_managed_client_factory(cli_ctx, **kwargs).application_type_versions + + +def servicefabric_managed_application_client_factory(cli_ctx, kwargs): + return servicefabric_managed_client_factory(cli_ctx, **kwargs).applications + + +def servicefabric_managed_service_client_factory(cli_ctx, kwargs): + return servicefabric_managed_client_factory(cli_ctx, **kwargs).services diff --git a/src/azure-cli/azure/cli/command_modules/servicefabric/_help.py b/src/azure-cli/azure/cli/command_modules/servicefabric/_help.py index cceec0dac9d..f71b801eb24 100644 --- a/src/azure-cli/azure/cli/command_modules/servicefabric/_help.py +++ b/src/azure-cli/azure/cli/command_modules/servicefabric/_help.py @@ -620,3 +620,314 @@ text: > az sf managed-node-type vm-secret add -g testRG -c testCluster -n snt --source-vault-id /subscriptions/XXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/resourceGroups/testRG/providers/Microsoft.KeyVault/vaults/testkv --certificate-url https://testskv.vault.azure.net:443/secrets/TestCert/xxxxxxxxxxxxxxxxxxxxxxxx --certificate-store my """ + +helps['sf managed-application'] = """ +type: group +short-summary: Manage applications running on an Azure Service Fabric managed cluster. Only support ARM deployed applications. +""" + +helps['sf managed-application create'] = """ +type: command +short-summary: Create a new managed application on an Azure Service Fabric managed cluster. +examples: + - name: Create managed application "testApp" with parameters. The application type "TestAppType" version "v1" should already exist in the cluster, and the application parameters should be defined in the application manifest. + text: > + az sf managed-application create -g testRG -c testCluster --application-name testApp --application-type-name TestAppType \\ + --application-type-version v1 --application-parameters key0=value0 --tags key1=value1 + - name: Create application "testApp" and app type version using the package url provided. + text: > + az sf managed-application create -g testRG -c testCluster --application-name testApp --application-type-name TestAppType \\ + --application-type-version v1 --package-url "https://sftestapp.blob.core.windows.net/sftestapp/testApp_1.0.sfpkg" \\ + --application-parameters key0=value0 +""" + +helps['sf managed-application update'] = """ +type: command +short-summary: Update a Azure Service Fabric managed application. +long-summary: This allows for updating the tags, the application parameters, value is the application UpgradePolicy and/or upgrade the application type version which will trigger an application upgrade. +examples: + - name: Update application parameters and upgreade policy values and app type version to v2. + text: > + az sf managed-application update -g testRG -c testCluster --application-name testApp --application-type-version v2 \\ + --application-parameters key0=value0 --health-check-stable-duration 0 --health-check-wait-duration 0 --health-check-retry-timeout 0 \\ + --upgrade-domain-timeout 5000 --upgrade-timeout 7000 --failure-action Rollback --upgrade-replica-set-check-timeout 300 --force-restart + - name: Update managed application service type health policy map. + text: > + az sf managed-application update -g testRG -c testCluster --application-name testApp --service-type-health-policy-map \"ServiceTypeName01\"=\"5,10,5\" \"ServiceTypeName02\"=\"5,5,5\" +""" + +helps['sf managed-application show'] = """ +type: command +short-summary: Show the properties of a managed application on an Azure Service Fabric managed cluster. +examples: + - name: Get managed application. + text: > + az sf managed-application show -g testRG -c testCluster --application-name testApp +""" + +helps['sf managed-application list'] = """ +type: command +short-summary: List managed applications of a given managed cluster. +examples: + - name: List managed applications for a given managed cluster. + text: > + az sf managed-application list -g testRG -c testCluster +""" + +helps['sf managed-application delete'] = """ +type: command +short-summary: Delete a managed application. +examples: + - name: Delete managed application. + text: > + az sf managed-application delete -g testRG -c testCluster --application-name testApp +""" + +helps['sf managed-application-type'] = """ +type: group +short-summary: Manage applications types and its versions running on an Azure Service Fabric managed cluster. Only support ARM deployed application types. +""" + +helps['sf managed-application-type'] = """ +type: group +short-summary: Manage application types on an Azure Service Fabric cluster. +""" + +helps['sf managed-application-type create'] = """ +type: command +short-summary: Create a new managed application type on an Azure Service Fabric managed cluster. +examples: + - name: Create new managed application type. + text: > + az sf managed-application-type create -g testRG -c testCluster --application-type-name testAppType +""" + +helps['sf managed-application-type show'] = """ +type: command +short-summary: Show the properties of a managed application type on an Azure Service Fabric managed cluster. +examples: + - name: Get managed application type. + text: > + az sf managed-application-type show -g testRG -c testCluster --application-type-name CalcServiceApp +""" + +helps['sf managed-application-type list'] = """ +type: command +short-summary: List managed application types of a given managed cluster. +examples: + - name: List managed application types for a given managed cluster. + text: > + az sf managed-application-type list -g testRG -c testCluster +""" + +helps['sf managed-application-type update'] = """ +type: command +short-summary: Update an managed application type. +long-summary: This allows for updating of application type tags. +examples: + - name: Update application type tags. + text: > + az sf managed-application-type update -g testRG -c testCluster --application-type-name CalcServiceApp --tags new=tags are=nice +""" + +helps['sf managed-application-type delete'] = """ +type: command +short-summary: Delete a managed application type. +examples: + - name: Delete managed application type. + text: > + az sf managed-application-type delete -g testRG -c testCluster --application-type-name CalcServiceApp +""" + +helps['sf managed-application-type version'] = """ +type: group +short-summary: Manage application type versions on an Azure Service Fabric managed cluster. Only support ARM deployed application type versions. +""" + +helps['sf managed-application-type version create'] = """ +type: command +short-summary: Create a new managed application type on an Azure Service Fabric managed cluster. +examples: + - name: Create new managed application type version using the provided package url. The version in the application manifest contained in the package should have the same version as the one specified in --version. + text: > + az sf managed-application-type version create -g testRG -c testCluster --application-type-name testAppType \\ + --version 1.0 --package-url "https://sftestapp.blob.core.windows.net/sftestapp/testApp_1.0.sfpkg" +""" + +helps['sf managed-application-type version show'] = """ +type: command +short-summary: Show the properties of a managed application type version on an Azure Service Fabric managed cluster. +examples: + - name: Show the properties of a managed application type version on an Azure Service Fabric managed cluster. + text: > + az sf managed-application-type version show -g testRG -c testCluster --application-type-name CalcServiceApp --version 1.0 +""" + +helps['sf managed-application-type version list'] = """ +type: command +short-summary: List versions of a given managed application type. +examples: + - name: List versions for a particular managed application type. + text: > + az sf managed-application-type version list -g testRG -c testCluster --application-type-name CalcServiceApp +""" + +helps['sf managed-application-type version update'] = """ +type: command +short-summary: Update a managed application type version. +long-summary: This allows for updating of application type version tags and the package url. +examples: + - name: Update managed application type version. + text: > + az sf managed-application-type version update -g testRG -c testCluster --application-type-name CalcServiceApp --version 1.0 --tags new=tags +""" + +helps['sf managed-application-type version delete'] = """ +type: command +short-summary: Delete a managed application type version. +examples: + - name: Delete managed application type version. + text: > + az sf managed-application-type version delete -g testRG -c testCluster --application-type-name CalcServiceApp --version 1.0 +""" + +helps['sf managed-service'] = """ +type: group +short-summary: Manage services running on an Azure Service Fabric managed cluster. Only support ARM deployed services. +""" + +helps['sf managed-service create'] = """ +type: command +short-summary: Create a new managed service on an Azure Service Fabric managed cluster. +examples: + - name: Create a new stateless managed service "testService1" with instance count -1 (on all the nodes). + text: > + az sf managed-service create -g testRG -c testCluster --application-name testApp --state stateless --service-name testService \\ + --service-type testStateless --instance-count -1 --partition-scheme singleton + - name: Create a new stateful service "testService2" with a target of 5 nodes. + text: > + az sf managed-service create -g testRG -c testCluster --application-name testApp --state stateful --service-name testService2 --has-persisted-state \\ + --service-type testStatefulType --min-replica-set-size 3 --target-replica-set-size 5 --partition-scheme uniformint64range --partition-count 1 --low-key 0 --high-key 25 +""" + +helps['sf managed-service show'] = """ +type: command +short-summary: Get a service. +examples: + - name: Show the properties of a managed service on an Azure Service Fabric managed cluster. + text: > + az sf managed-service show -g testRG -c testCluster --application-name testApp --service-name testService +""" + +helps['sf managed-service list'] = """ +type: command +short-summary: List managed services of a given managed application. +examples: + - name: List managed services. + text: > + az sf managed-service list -g testRG -c testCluster --application-name testApp +""" + +helps['sf managed-service update'] = """ +type: command +short-summary: Update a managed service. +examples: + - name: Update managed stateless service. + text: > + az sf managed-service update -g testRG -c testCluster --application-name testApp --service-name testService --min-instance-count 2 \\ + --min-instance-percentage 20 --instance-close-delay-duration '00:11:00' + - name: Update managed stateful service. + text: > + az sf managed-service update -g testRG -c testCluster --application-name testApp --service-name testService2 --service-placement-time-limit '00:11:00' \\ + --stand-by-replica-keep-duration '00:11:00' --replica-restart-wait-duration '00:11:00' --quorum-loss-wait-duration '00:11:00' +""" + +helps['sf managed-service delete'] = """ +type: command +short-summary: Delete a managed service. +examples: + - name: Delete managed service. + text: > + az sf managed-service delete -g testRG -c testCluster --application-name testApp --service-name testService +""" + +helps['sf managed-service correlation-scheme'] = """ +type: group +short-summary: Manage correlation schemes of services running on an Azure Service Fabric managed cluster. Only support ARM deployed services. +""" + +helps['sf managed-service correlation-scheme create'] = """ +type: command +short-summary: Create a new managed service correlation scheme on an Azure Service Fabric managed cluster. +long-summary: Create a new managed service correlation scheme on an Azure Service Fabric managed cluster. NOTE You can only have one service correlation per service. +examples: + - name: Create a new managed service correlation scheme. + text: > + az sf managed-service correlation-scheme create -g testRG -c testCluster --application-name testApp --service-name testService \\ + --correlated-service-name "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/testRg/providers/Microsoft.ServiceFabric/managedclusters/testCluster/applications/testApp/services/testService2" \\ + --scheme AlignedAffinity +""" + +helps['sf managed-service correlation-scheme update'] = """ +type: command +short-summary: Update a managed service correlation scheme. +examples: + - name: Update managed service correlation scheme. + text: > + az sf managed-service correlation-scheme update -g testRG -c testCluster --application-name testApp --service-name testService \\ + --correlated-service-name "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/testRg/providers/Microsoft.ServiceFabric/managedclusters/testCluster/applications/testApp/services/testService2" \\ + --scheme NonAlignedAffinity +""" + +helps['sf managed-service correlation-scheme delete'] = """ +type: command +short-summary: Delete a managed service correlation scheme. +examples: + - name: Delete managed service correlation scheme. + text: > + az sf managed-service correlation-scheme delete -g testRG -c testCluster --application-name testApp --service-name testService \\ + --correlated-service-name "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/testRg/providers/Microsoft.ServiceFabric/managedclusters/testCluster/applications/testApp/services/testService2" +""" + +helps['sf managed-service load-metrics'] = """ +type: group +short-summary: Manage service load metrics running on an Azure Service Fabric managed cluster. Only support ARM deployed services. +""" + +helps['sf managed-service load-metrics create'] = """ +type: command +short-summary: Create a new managed service load metric on an Azure Service Fabric managed cluster. +examples: + - name: Create a new stateless managed service load metric. + text: > + az sf managed-service load-metrics create -g testRG -c testCluster --application-name testApp --service-name testService \\ + --metric-name Metric1 --weight Low --default-load 3 + - name: Create a new stateful service load metric. + text: > + az sf managed-service load-metrics create -g testRG -c testCluster --application-name testApp --service-name testService2 \\ + --metric-name Metric2 --weight High --primary-default-load 3 --secondary-default-load 2 +""" + +helps['sf managed-service load-metrics update'] = """ +type: command +short-summary: Update a managed service. +examples: + - name: Update a new stateless managed service load metric. + text: > + az sf managed-service load-metrics update -g testRG -c testCluster --application-name testApp --service-name testService \\ + --metric-name Metric1 --weight Medium --default-load 5 + - name: Update a new stateful service load metric. + text: > + az sf managed-service load-metrics update -g testRG -c testCluster --application-name testApp --service-name testService2 \\ + --metric-name Metric2 --weight Low --primary-default-load 2 --secondary-default-load 1 +""" + +helps['sf managed-service load-metrics delete'] = """ +type: command +short-summary: Delete a managed service. +examples: + - name: Delete managed service. + text: > + az sf managed-service load-metrics delete -g testRG -c testCluster --application-name testApp --service-name testService2 \\ + --metric-name Metric1 +""" diff --git a/src/azure-cli/azure/cli/command_modules/servicefabric/_params.py b/src/azure-cli/azure/cli/command_modules/servicefabric/_params.py index 0497b4e43ce..8ea02eeca07 100644 --- a/src/azure-cli/azure/cli/command_modules/servicefabric/_params.py +++ b/src/azure-cli/azure/cli/command_modules/servicefabric/_params.py @@ -5,21 +5,25 @@ # pylint: disable=line-too-long import argparse -from azure.cli.core.util import CLIError -from azure.cli.core.commands.validators import get_default_location_from_resource_group -from azure.cli.core.commands.parameters import ( - resource_group_name_type, - get_enum_type, - get_three_state_flag, - tags_type -) -from azure.cli.core.util import get_json_object + from azure.cli.command_modules.servicefabric._validators import ( - validate_create_service, - validate_update_application, - validate_create_application, - validate_create_managed_cluster -) + validate_create_application, validate_create_managed_application, + validate_create_managed_cluster, validate_create_managed_service, + validate_create_service, validate_update_application, + validate_update_managed_application, validate_update_managed_service, + validate_create_managed_service_correlation, validate_create_managed_service_load_metric, + validate_update_managed_service_load_metric, validate_update_managed_service_correlation) +from azure.cli.core.commands.parameters import (get_enum_type, + get_three_state_flag, + resource_group_name_type, + tags_type) +from azure.cli.core.commands.validators import get_default_location_from_resource_group +from azure.cli.core.util import CLIError, get_json_object +from azure.mgmt.servicefabricmanagedclusters.models import (FailureAction, + MoveCost, + PartitionScheme, + RollingUpgradeMode, + ServiceKind) from knack.arguments import CLIArgumentType @@ -315,6 +319,191 @@ def load_arguments(self, _): # pylint: disable=too-many-statements c.argument('certificate_url', help='This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:

{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}/') c.argument('certificate_store', help='Specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account.') + # managed-application-type + with self.argument_context('sf managed-application-type') as c: + c.argument('application_type_name', options_list=['--name', '--application-type-name'], help='Specify the application type name.') + c.argument('tags', arg_type=tags_type) + + # managed-application-type version + with self.argument_context('sf managed-application-type version') as c: + c.argument('version', arg_type=application_type_version) + c.argument('package_url', arg_type=package_url) + c.argument('tags', arg_type=tags_type) + + # managed-application + service_type_health_policy_map = CLIArgumentType( + options_list=['--service-type-health-policy-map', '--service-type-policy'], + action=AddServiceTypeHealthPolicyAction, + nargs='*', + help='Specify the map of the health policy to use for different service types as key/value pairs in the following format: \"ServiceTypeName\"=\"MaxPercentUnhealthyPartitionsPerService,MaxPercentUnhealthyReplicasPerPartition,MaxPercentUnhealthyServices\". ' + 'for example: --service-type-health-policy-map \"ServiceTypeName01\"=\"5,10,5\" \"ServiceTypeName02\"=\"5,5,5\"') + + with self.argument_context('sf managed-application') as c: + c.argument('application_name', options_list=['--name', '--application-name'], help='Specify the application name.') + c.argument('tags', arg_type=tags_type) + + with self.argument_context('sf managed-application update', validator=validate_update_managed_application) as c: + c.argument('application_type_version', arg_type=application_type_version) + c.argument('application_parameters', arg_type=application_parameters) + + with self.argument_context('sf managed-application update', arg_group='Upgrade description') as c: + c.argument('force_restart', arg_type=get_three_state_flag(), + help='Indicates that the service host restarts even if the upgrade is a configuration-only change.') + c.argument('recreate_application', arg_type=get_three_state_flag(), + help='Determines whether the application should be recreated on update. If value=true, the rest of the upgrade policy parameters are not allowed.') + c.argument('upgrade_replica_set_check_timeout', options_list=['--upgrade-replica-set-check-timeout', '--replica-check-timeout', '--rep-check-timeout'], + help='Specify the maximum time, in seconds, that Service Fabric waits for a service to reconfigure into a safe state, if not already in a safe state, before Service Fabric proceeds with the upgrade.') + c.argument('instance_close_delay_duration', options_list=['--instance-close-delay-duration', '--instance-close-duration', '--close-duration'], + help='Specify the duration in seconds, to wait before a stateless instance is closed, to allow the active requests to drain gracefully. This would be effective when the instance is closing during the application/cluster upgrade, only for those instances which have a non-zero delay duration configured in the service description.') + c.argument('failure_action', arg_type=get_enum_type(FailureAction), + help='Specify the action to take if the monitored upgrade fails. The acceptable values for this parameter are Rollback or Manual.') + c.argument('upgrade_mode', arg_type=get_enum_type(RollingUpgradeMode), + help='Specify the mode used to monitor health during a rolling upgrade. The values are Monitored, and UnmonitoredAuto.') + c.argument('health_check_retry_timeout', options_list=['--hc-retry-timeout', '--health-check-retry-timeout'], + help='Specify the duration, in seconds, after which Service Fabric retries the health check if the previous health check fails.') + c.argument('health_check_wait_duration', options_list=['--hc-wait-duration', '--health-check-wait-duration'], + help='Specify the duration, in seconds, that Service Fabric waits before it performs the initial health check after it finishes the upgrade on the upgrade domain.') + c.argument('health_check_stable_duration', options_list=['--hc-stable-duration', '--health-check-stable-duration'], + help='Specify the duration, in seconds, that Service Fabric waits in order to verify that the application is stable before moving to the next upgrade domain or completing the upgrade. This wait duration prevents undetected changes of health right after the health check is performed.') + c.argument('upgrade_domain_timeout', options_list=['--ud-timeout', '--upgrade-domain-timeout'], + help='Specify the maximum time, in seconds, that Service Fabric takes to upgrade a single upgrade domain. After this period, the upgrade fails.') + c.argument('upgrade_timeout', + help='Specify the maximum time, in seconds, that Service Fabric takes for the entire upgrade. After this period, the upgrade fails.') + c.argument('consider_warning_as_error', options_list=['--warning-as-error', '--consider-warning-as-error'], arg_type=get_three_state_flag(), + help='Indicates whether to treat a warning health event as an error event during health evaluation.') + c.argument('default_service_type_max_percent_unhealthy_partitions_per_service', options_list=['--max-percent-unhealthy-partitions', '--max-unhealthy-parts'], + help='Specify the maximum percent of unhelthy partitions per service allowed by the health policy for the default service type to use for the monitored upgrade. Allowed values are from 0 to 100.') + c.argument('default_service_type_max_percent_unhealthy_replicas_per_partition', options_list=['--max-percent-unhealthy-replicas', '--max-unhealthy-reps'], + help='Specify the maximum percent of unhelthy replicas per service allowed by the health policy for the default service type to use for the monitored upgrade. Allowed values are from 0 to 100.') + c.argument('default_service_type_max_percent_unhealthy_services', options_list=['--max-percent-unhealthy-services', '--max-unhealthy-servs'], + help='Specify the maximum percent of unhelthy services allowed by the health policy for the default service type to use for the monitored upgrade. Allowed values are from 0 to 100.') + c.argument('service_type_health_policy_map', arg_type=service_type_health_policy_map) + c.argument('max_percent_unhealthy_deployed_applications', options_list=['--max-percent-unhealthy-deployed-applications', '--max-percent-unhealthy-apps', '--max-unhealthy-apps'], + help='Specify the maximum percentage of the application instances deployed on the nodes in the cluster that have a health state of error before the application health state for the cluster is error. Allowed values are form 0 to 100.') + + with self.argument_context('sf managed-application create', validator=validate_create_managed_application) as c: + c.argument('application_type_name', options_list=['--type-name', '--application-type-name'], help='Specify the application type name.') + c.argument('application_type_version', arg_type=application_type_version) + c.argument('package_url', arg_type=package_url) + c.argument('application_parameters', arg_type=application_parameters) + + # managed-service + partition_names = CLIArgumentType( + nards="+", + help='Specify the array for the names of the partitions. This is only used with Named partition scheme.') + + with self.argument_context('sf managed-service') as c: + c.argument('service_name', options_list=['--name', '--service-name'], + help='Specify the name of the service.') + c.argument('application_name', options_list=['--application', '--application-name'], + help='Specify the name of the service.') + c.argument('tags', arg_type=tags_type) + + with self.argument_context('sf managed-service create', validator=validate_create_managed_service) as c: + c.argument('service_type', options_list=['--type', '--service-type'], + help='Specify the service type name of the application, it should exist in the application manifest.') + c.argument('default_move_cost', arg_type=get_enum_type(MoveCost), + help='Specify the default cost for a move. Higher costs make it less likely that the Cluster Resource Manager will move the replica when trying to balance the cluster.') + c.argument('placement_constraints', + help='Specify the placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: \"NodeColor == blue)\".') + c.argument('service_dns_name', options_list=['--service-dns-name', '--dns-name'], + help='Specify the DNS name of the service. It requires the DNS system service to be enabled in Service Fabric cluster.') + c.argument('service_package_activation_mode', options_list=['--service-package-activation-mode', '--package-activation-mode', '--activation-mode'], + help='Specify the activation mode of the service package.') + c.argument('state', arg_type=get_enum_type(ServiceKind), help='Specify if the service is stateless or stateful.') + # Stateful arguments + c.argument('min_replica_set_size', options_list=['--min-replica-set-size', '--min-replica'], help='Specify the min replica set size for the stateful service.') + c.argument('target_replica_set_size', options_list=['--target-replica-set-size', '--target-replica'], help='Specify the target replica set size for the stateful service.') + c.argument('has_persisted_state', arg_type=get_three_state_flag(), + help='Determines whether this is a persistent service which stores states on the local disk. If it is then the value of this property is true, if not it is false.') + c.argument('drop_source_replica_on_move', options_list=['--drop-source-replica-on-move', '--drop-source'], + help='Determines whether to drop source Secondary replica even if the target replica has not finished build. If desired behavior is to drop it as soon as possible the value of this property is true, if not it is false.') + c.argument('service_placement_time_limit', options_list=['--service-placement-time-limit', '--plcmt-time-limit'], + help='Specify the duration for which replicas can stay InBuild before reporting that build is stuck, represented in ISO 8601 format "hh:mm:ss".') + c.argument('stand_by_replica_keep_duration', options_list=['--stand-by-replica-keep-duration', '--stand-by-keep-duration', '--keep-duration'], + help='Specify the definition on how long StandBy replicas should be maintained before being removed, represented in ISO 8601 format "hh:mm:ss".') + c.argument('quorum_loss_wait_duration', options_list=['--quorum-loss-wait-duration', '--quorum-loss-wait'], + help='Specify the maximum duration for which a partition is allowed to be in a state of quorum loss, represented in ISO 8601 format "hh:mm:ss".') + c.argument('replica_restart_wait_duration', options_list=['--replica-restart-wait-duration', '--replica-restart-wait'], + help='Specify the duration between when a replica goes down and when a new replica is created, represented in ISO 8601 format "hh:mm:ss".') + # Stateless arguments + c.argument('instance_count', help='Specify the instance count for the stateless service. If -1 is used, it means it will run on all the nodes.') + c.argument('min_instance_count', help='Specify the minimum number of instances that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node. The actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ). Note, if InstanceCount is set to -1, during MinInstanceCount computation -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service.') + c.argument('min_instance_percentage', options_list=['--min-instance-percentage', '--min-inst-pct'], + help='Specify the minimum percentage of InstanceCount that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node. The actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ). Note, if InstanceCount is set to -1, during MinInstancePercentage computation, -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service. Allowed values are from 0 to 100.') + c.argument('instance_close_delay_duration', options_list=['--instance-close-delay-duration', '--instance-close-duration', '--close-duration'], + help='Specify the duration in seconds, to wait before a stateless instance is closed, to allow the active requests to drain gracefully. This would be effective when the instance is closing during the application/cluster upgrade and disabling node. The endpoint exposed on this instance is removed prior to starting the delay, which prevents new connections to this instance.') + # Partition arguments + c.argument('partition_scheme', arg_type=get_enum_type(PartitionScheme), + help='Specify what partition scheme to use. ' + 'Singleton partitions are typically used when the service does not require any additional routing. ' + 'UniformInt64 means that each partition owns a range of int64 keys. ' + 'Named is usually for services with data that can be bucketed, within a bounded set. Some common examples of data fields used as named partition keys would be regions, postal codes, customer groups, or other business boundaries.') + c.argument('partition_count', + help='Specify the number of partitions. This is only used with UniformInt64 partition scheme.') + c.argument('low_key', + help='Specify the lower bound of the partition key range that should be split between the partition ‘Count’ This is only used with UniformInt64 partition scheme.') + c.argument('high_key', + help='Specify the upper bound of the partition key range that should be split between the partition ‘Count’ This is only used with UniformInt64 partition scheme.') + c.argument('partition_names', arg_type=partition_names) + + with self.argument_context('sf managed-service update', validator=validate_update_managed_service) as c: + c.argument('default_move_cost', arg_type=get_enum_type(MoveCost), + help='Specify the default cost for a move. Higher costs make it less likely that the Cluster Resource Manager will move the replica when trying to balance the cluster.') + c.argument('placement_constraints', + help='Specify the placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: \"NodeColor == blue)\".') + # Stateful arguments + c.argument('min_replica_set_size', options_list=['--min-replica-set-size', '--min-replica'], help='Specify the min replica set size for the stateful service.') + c.argument('target_replica_set_size', options_list=['--target-replica-set-size', '--target-replica'], help='Specify the target replica set size for the stateful service.') + c.argument('drop_source_replica_on_move', options_list=['--drop-source-replica-on-move', '--drop-source'], + help='Determines whether to drop source Secondary replica even if the target replica has not finished build. If desired behavior is to drop it as soon as possible the value of this property is true, if not it is false.') + c.argument('service_placement_time_limit', options_list=['--service-placement-time-limit', '--plcmt-time-limit'], + help='Specify the duration for which replicas can stay InBuild before reporting that build is stuck, represented in ISO 8601 format "hh:mm:ss".') + c.argument('stand_by_replica_keep_duration', options_list=['--stand-by-replica-keep-duration', '--stand-by-keep-duration', '--keep-duration'], + help='Specify the definition on how long StandBy replicas should be maintained before being removed, represented in ISO 8601 format "hh:mm:ss".') + c.argument('quorum_loss_wait_duration', options_list=['--quorum-loss-wait-duration', '--quorum-loss-wait'], + help='Specify the maximum duration for which a partition is allowed to be in a state of quorum loss, represented in ISO 8601 format "hh:mm:ss".') + c.argument('replica_restart_wait_duration', options_list=['--replica-restart-wait-duration', '--replica-restart-wait'], + help='Specify the duration between when a replica goes down and when a new replica is created, represented in ISO 8601 format "hh:mm:ss".') + # Stateless arguments + c.argument('instance_count', help='Specify the instance count for the stateless service. If -1 is used, it means it will run on all the nodes.') + c.argument('min_instance_count', help='Specify the minimum number of instances that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node. The actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ). Note, if InstanceCount is set to -1, during MinInstanceCount computation -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service.') + c.argument('min_instance_percentage', options_list=['--min-instance-percentage', '--min-inst-pct'], + help='Specify the minimum percentage of InstanceCount that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node. The actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ). Note, if InstanceCount is set to -1, during MinInstancePercentage computation, -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service. Allowed values are from 0 to 100.') + c.argument('instance_close_delay_duration', options_list=['--instance-close-delay-duration', '--instance-close-duration', '--close-duration'], + help='Specify the duration in seconds, to wait before a stateless instance is closed, to allow the active requests to drain gracefully. This would be effective when the instance is closing during the application/cluster upgrade and disabling node. The endpoint exposed on this instance is removed prior to starting the delay, which prevents new connections to this instance.') + + with self.argument_context('sf managed-service correlation-scheme create', validator=validate_create_managed_service_correlation) as c: + c.argument('correlated_service_name', options_list=['--correlated-service-name', '--correlated-name'], + help='Specify the Arm Resource ID of the service that the correlation relationship is established with.') + c.argument('scheme', help='Specify the ServiceCorrelationScheme which describes the relationship between this service and the service specified via correlated_service_name.') + + with self.argument_context('sf managed-service correlation-scheme update', validator=validate_update_managed_service_correlation) as c: + c.argument('correlated_service_name', options_list=['--correlated-service-name', '--correlated-name'], + help='Specify the Arm Resource ID of the service that the correlation relationship is established with.') + c.argument('scheme', help='Specify the ServiceCorrelationScheme which describes the relationship between this service and the service specified via correlated_service_name.') + + with self.argument_context('sf managed-service correlation-scheme delete') as c: + c.argument('correlated_service_name', options_list=['--correlated-service-name', '--correlated-name'], + help='Specify the Arm Resource ID of the service that the correlation relationship is established with.') + + with self.argument_context('sf managed-service load-metrics create', validator=validate_create_managed_service_load_metric) as c: + c.argument('metric_name', help='Specify the name of the metric.') + c.argument('weight', help='Specify the service load metric relative weight, compared to other metrics configured for this service, as a number.') + c.argument('primary_default_load', help='Specify the default amount of load, as a number, that this service creates for this metric when it is a Primary replica. Used only for Stateful services.') + c.argument('secondary_default_load', help='Specify the default amount of load, as a number, that this service creates for this metric when it is a Secondary replica. Used only for Stateful services.') + c.argument('default_load', help='Specify the default amount of load, as a number, that this service creates for this metric. Used only for Stateless services.') + + with self.argument_context('sf managed-service load-metrics update', validator=validate_update_managed_service_load_metric) as c: + c.argument('metric_name', help='Specify the name of the metric.') + c.argument('weight', help='Specify the service load metric relative weight, compared to other metrics configured for this service, as a number.') + c.argument('primary_default_load', help='Specify the default amount of load, as a number, that this service creates for this metric when it is a Primary replica. Used only for Stateful services.') + c.argument('secondary_default_load', help='Specify the default amount of load, as a number, that this service creates for this metric when it is a Secondary replica. Used only for Stateful services.') + c.argument('default_load', help='Specify the default amount of load, as a number, that this service creates for this metric. Used only for Stateless services.') + + with self.argument_context('sf managed-service load-metrics delete') as c: + c.argument('metric_name', help='Specify the name of the metric.') + def paramToDictionary(values): params = {} @@ -335,6 +524,17 @@ def __call__(self, parser, namespace, values, option_string=None): raise CLIError('usage error: {} KEY=VALUE [KEY=VALUE ...]'.format(option_string)) +# pylint: disable=protected-access +# pylint: disable=too-few-public-methods +class AddServiceTypeHealthPolicyAction(argparse._AppendAction): + + def __call__(self, parser, namespace, values, option_string=None): + try: + namespace.service_type_health_policy_map = paramToDictionary(values) + except ValueError: + raise CLIError('usage error: {} KEY=VALUE1,VALUE2,VALUE3 [KEY=VALUE1,VALUE2,VALUE3 ...]'.format(option_string)) + + class ManagedClusterClientCertAddAction(argparse._AppendAction): def __call__(self, parser, namespace, values, option_string=None): diff --git a/src/azure-cli/azure/cli/command_modules/servicefabric/_sf_utils.py b/src/azure-cli/azure/cli/command_modules/servicefabric/_sf_utils.py index fab6d9bbb1b..b2371bfc25d 100644 --- a/src/azure-cli/azure/cli/command_modules/servicefabric/_sf_utils.py +++ b/src/azure-cli/azure/cli/command_modules/servicefabric/_sf_utils.py @@ -7,7 +7,8 @@ from azure.cli.core.profiles import ResourceType, get_sdk from azure.mgmt.servicefabric.models import (ErrorModelException) from knack.log import get_logger -from ._client_factory import (resource_client_factory) +from knack.util import CLIError +from ._client_factory import (resource_client_factory, servicefabric_managed_client_factory) logger = get_logger(__name__) @@ -45,3 +46,67 @@ def _log_error_exception(ex: ErrorModelException): logger.error("Exception: %s", response_content['exception']) else: logger.error("Exception response content: %s", ex.response.content) + + +def _get_managed_cluster_location(cli_ctx, resource_group_name, cluster_name): + client = servicefabric_managed_client_factory(cli_ctx).managed_clusters + cluster = client.get(resource_group_name, cluster_name) + if cluster is None: + raise CLIError( + "Parent Managed Cluster '{}' cannot be found.".format(cluster_name)) + return cluster.location + + +def _check_val_in_collection(parent, collection_name, obj_to_add, key_name): + if not getattr(parent, collection_name, None): + setattr(parent, collection_name, []) + collection = getattr(parent, collection_name, None) + + value = getattr(obj_to_add, key_name) + if value is None: + raise CLIError( + "Unable to resolve a value for key '{}' with which to match.".format(key_name)) + return value, collection, next((x for x in collection if getattr(x, key_name, None) == value), None) + + +def find_in_collection(parent, collection_name, key_name, value): + if not getattr(parent, collection_name, None): + setattr(parent, collection_name, []) + collection = getattr(parent, collection_name, None) + + return next((x for x in collection if getattr(x, key_name, None) == value), None) + + +def add_to_collection(parent, collection_name, obj_to_add, key_name, warn=True): + value, collection, match = _check_val_in_collection(parent, collection_name, obj_to_add, key_name) + if match: + if warn: + logger.warning("Item '%s' already exists. Exitting command.", value) + return + collection.append(obj_to_add) + + +def update_in_collection(parent, collection_name, obj_to_add, key_name): + value, collection, match = _check_val_in_collection(parent, collection_name, obj_to_add, key_name) + if match: + logger.info("Replacing item '%s' with new values.", value) + collection.remove(match) + collection.append(obj_to_add) + + +def delete_from_collection(parent, collection_name, key_name, value): + if not getattr(parent, collection_name, None): + setattr(parent, collection_name, []) + collection = getattr(parent, collection_name, None) + + match = next((x for x in collection if getattr(x, key_name, None) == value), None) + if match: + logger.info("Removing Item '%s'.", value) + collection.remove(match) + + +def get_property(items, name): + result = next((x for x in items if x.name.lower() == name.lower()), None) + if not result: + raise CLIError("Property '{}' does not exist".format(name)) + return result diff --git a/src/azure-cli/azure/cli/command_modules/servicefabric/_validators.py b/src/azure-cli/azure/cli/command_modules/servicefabric/_validators.py index 03acd2dcda9..1c35fa017b3 100644 --- a/src/azure-cli/azure/cli/command_modules/servicefabric/_validators.py +++ b/src/azure-cli/azure/cli/command_modules/servicefabric/_validators.py @@ -4,10 +4,12 @@ # -------------------------------------------------------------------------------------------- from msrestazure.azure_exceptions import CloudError -from knack.util import CLIError from knack.log import get_logger +from knack.util import CLIError +from azure.cli.core.azclierror import ValidationError from azure.cli.command_modules.servicefabric._sf_utils import _get_resource_group_by_name -from ._client_factory import servicefabric_client_factory +from azure.mgmt.servicefabricmanagedclusters.models import (PartitionScheme, ServiceKind) +from ._client_factory import servicefabric_client_factory, servicefabric_managed_client_factory logger = get_logger(__name__) @@ -95,6 +97,7 @@ def validate_create_application(cmd, namespace): raise CLIError("maximum_nodes should be a non-negative integer.") +# Managed Clusters def validate_create_managed_cluster(cmd, namespace): rg = _get_resource_group_by_name(cmd.cli_ctx, namespace.resource_group_name) if rg is None and namespace.location is None: @@ -107,6 +110,202 @@ def validate_create_managed_cluster(cmd, namespace): raise CLIError("--client-cert-issuer-thumbprint should be used with --client-cert-common-name.") +def validate_create_managed_service(namespace): + if namespace.service_type is None: + raise CLIError("--service-type is required") + + if namespace.state.lower() == ServiceKind.STATELESS.lower(): + if namespace.target_replica_set_size or namespace.min_replica_set_size: + raise ValidationError("--target-replica-set-size and --min-replica-set-size should only be use with " + "--state stateful") + if not namespace.instance_count: + raise ValidationError("--instance-count is required") + namespace.instance_count = int(namespace.instance_count) + elif namespace.state.lower() == ServiceKind.STATEFUL.lower(): + if namespace.instance_count: + raise ValidationError("Unexpected parameter --instance-count should only be use with --state stateless") + if not namespace.target_replica_set_size or not namespace.min_replica_set_size: + raise ValidationError("--target-replica-set-size and --min-replica-set-size are required") + namespace.target_replica_set_size = int(namespace.target_replica_set_size) + namespace.min_replica_set_size = int(namespace.min_replica_set_size) + else: + raise ValidationError("Invalid --state '%s': service state is not valid." % namespace.state) + + if namespace.partition_scheme is None: + raise ValidationError("--partition-scheme is required") + + if namespace.partition_scheme.lower() == PartitionScheme.NAMED.lower(): + if namespace.partition_names is None: + raise ValidationError("--partition-names is required for partition scheme '%s'" + % namespace.partition_scheme) + elif namespace.partition_scheme.lower() == PartitionScheme.SINGLETON.lower(): + pass # No parameters needed for singleton + elif namespace.partition_scheme.lower() == PartitionScheme.UNIFORM_INT64_RANGE.lower(): + if namespace.partition_count is None or namespace.low_key is None or namespace.high_key is None: + raise ValidationError( + "--partition-count, --low-key and --high-key are required for partition scheme '%s'" + % namespace.partition_scheme) + namespace.partition_count = int(namespace.partition_count) + namespace.low_key = int(namespace.low_key) + namespace.high_key = int(namespace.high_key) + else: + raise ValidationError( + "Invalid --partition_scheme '%s': service partition_scheme is not valid." % namespace.partition_scheme) + + +def validate_update_managed_service(cmd, namespace): + client = servicefabric_managed_client_factory(cmd.cli_ctx) + service = _safe_get_resource(client.services.get, + (namespace.resource_group_name, namespace.cluster_name, + namespace.application_name, namespace.service_name)) + if service.properties.service_kind.lower() == ServiceKind.STATELESS.lower(): + if namespace.target_replica_set_size or namespace.min_replica_set_size: + raise ValidationError("--target-replica-set-size and --min-replica-set-size should only be use with " + "--state stateful") + if namespace.instance_count is not None: + namespace.instance_count = int(namespace.instance_count) + elif service.properties.service_kind.lower() == ServiceKind.STATEFUL.lower(): + if namespace.instance_count: + raise ValidationError("Unexpected parameter --instance-count should only be use with --state stateless") + if namespace.target_replica_set_size is not None: + namespace.target_replica_set_size = int(namespace.target_replica_set_size) + if namespace.min_replica_set_size is not None: + namespace.min_replica_set_size = int(namespace.min_replica_set_size) + else: + raise ValidationError("Invalid --state '%s': service state is not valid." % service.properties.service_kind) + + +def validate_create_managed_service_load_metric(cmd, namespace): + client = servicefabric_managed_client_factory(cmd.cli_ctx) + service = _safe_get_resource(client.services.get, + (namespace.resource_group_name, namespace.cluster_name, + namespace.application_name, namespace.service_name)) + + if service is None: + raise ValidationError("Service '{}' Not Found.".format(namespace.service_name)) + if service.properties.service_kind.lower() == ServiceKind.STATELESS.lower(): + if namespace.metric_name is None or namespace.weight is None or namespace.default_load is None: + raise ValidationError("--metric-name, --weight and --default-load are required") + if namespace.primary_default_load is not None or namespace.secondary_default_load is not None: + raise ValidationError( + "--primary-default-load and --secondary-default-load can only be used for stateful services." + ) + namespace.default_load = int(namespace.default_load) + elif service.properties.service_kind.lower() == ServiceKind.STATEFUL.lower(): + if namespace.metric_name is None or namespace.weight is None or \ + namespace.primary_default_load is None or namespace.secondary_default_load is None: + raise ValidationError("--metric-name, --weight, --primary-default-load and " + "--secondary-default-load are required") + if namespace.default_load is not None: + raise ValidationError("--default-load can only be used for stateless services.") + namespace.primary_default_load = int(namespace.primary_default_load) + namespace.secondary_default_load = int(namespace.secondary_default_load) + else: + raise ValidationError("Invalid --state '%s': service state is not valid." % service.properties.service_kind) + if any(namespace.metric_name == metric.name for metric in service.properties.service_load_metrics): + raise ValidationError("Duplicate metric names are not allowed: %s." % namespace.metric_name) + + +def validate_update_managed_service_load_metric(cmd, namespace): + client = servicefabric_managed_client_factory(cmd.cli_ctx) + service = _safe_get_resource(client.services.get, + (namespace.resource_group_name, namespace.cluster_name, + namespace.application_name, namespace.service_name)) + + if service is None: + raise CLIError("Service '{}' Not Found.".format(namespace.service_name)) + if service.properties.service_kind.lower() == ServiceKind.STATELESS.lower(): + if namespace.primary_default_load is not None or namespace.secondary_default_load is not None: + raise ValidationError( + "--primary-default-load and --secondary-default-load can only be used for stateful services." + ) + if namespace.default_load is not None: + namespace.default_load = int(namespace.default_load) + elif service.properties.service_kind.lower() == ServiceKind.STATEFUL.lower(): + if namespace.default_load is not None: + raise ValidationError("--default-load can only be used for stateless services.") + if namespace.primary_default_load is not None: + namespace.primary_default_load = int(namespace.primary_default_load) + if namespace.secondary_default_load is not None: + namespace.secondary_default_load = int(namespace.secondary_default_load) + else: + raise ValidationError("Invalid --state '%s': service state is not valid." % service.properties.service_kind) + + +def validate_create_managed_service_correlation(cmd, namespace): + client = servicefabric_managed_client_factory(cmd.cli_ctx) + service = _safe_get_resource(client.services.get, + (namespace.resource_group_name, namespace.cluster_name, + namespace.application_name, namespace.service_name)) + + if service is None: + raise ValidationError("Service '{}' Not Found.".format(namespace.service_name)) + + if service.properties.correlation_scheme: + raise ValidationError("There can only be one service correlation per service.") + + +def validate_update_managed_service_correlation(cmd, namespace): + client = servicefabric_managed_client_factory(cmd.cli_ctx) + service = _safe_get_resource(client.services.get, + (namespace.resource_group_name, namespace.cluster_name, + namespace.application_name, namespace.service_name)) + + if service is None: + raise ValidationError("Service '{}' Not Found.".format(namespace.service_name)) + + +def validate_update_managed_application(cmd, namespace): + client = servicefabric_managed_client_factory(cmd.cli_ctx) + app = _safe_get_resource(client.applications.get, + (namespace.resource_group_name, namespace.cluster_name, namespace.application_name)) + if app is None: + raise CLIError("Application '{}' Not Found.".format(namespace.application_name)) + if namespace.application_type_version is not None: + if app.version.endswith(namespace.application_type_version): + raise ValidationError("The application '{}' is alrady running with type version '{}'." + .format(app.name, app.version)) + app_type_name = app.version.split("/")[-3] + type_version = _safe_get_resource(client.application_type_versions.get, + (namespace.resource_group_name, + namespace.cluster_name, + app_type_name, + namespace.application_type_version)) + if type_version is None: + raise ValidationError("Application type version {}:{} not found. " + "Create the type version before running this command." + .format(app.type_name, namespace.application_type_version)) + + if namespace.upgrade_replica_set_check_timeout: + namespace.upgrade_replica_set_check_timeout = int(namespace.upgrade_replica_set_check_timeout) + if namespace.health_check_stable_duration: + namespace.health_check_stable_duration = int(namespace.health_check_stable_duration) + if namespace.health_check_retry_timeout: + namespace.health_check_retry_timeout = int(namespace.health_check_retry_timeout) + if namespace.health_check_wait_duration: + namespace.health_check_wait_duration = int(namespace.health_check_wait_duration) + if namespace.upgrade_timeout: + namespace.upgrade_timeout = int(namespace.upgrade_timeout) + if namespace.upgrade_domain_timeout: + namespace.upgrade_domain_timeout = int(namespace.upgrade_domain_timeout) + + +def validate_create_managed_application(cmd, namespace): + client = servicefabric_managed_client_factory(cmd.cli_ctx) + if namespace.package_url is None: + type_version = _safe_get_resource(client.application_type_versions.get, + (namespace.resource_group_name, + namespace.cluster_name, + namespace.application_type_name, + namespace.application_type_version)) + if type_version is None: + raise ValidationError("Application type version {}:{} not found. " + "Create the type version before running this " + "command or use --package-url to create it." + .format(namespace.application_type_name, namespace.application_type_version)) + + +# Helpers def _safe_get_resource(getResourceAction, params): try: return getResourceAction(*params) diff --git a/src/azure-cli/azure/cli/command_modules/servicefabric/commands.py b/src/azure-cli/azure/cli/command_modules/servicefabric/commands.py index ce3ef7ed364..ad9fcf8283a 100644 --- a/src/azure-cli/azure/cli/command_modules/servicefabric/commands.py +++ b/src/azure-cli/azure/cli/command_modules/servicefabric/commands.py @@ -12,7 +12,12 @@ servicefabric_application_client_factory, servicefabric_service_client_factory, servicefabric_managed_clusters_client_factory, - servicefabric_node_types_client_factory) + servicefabric_node_types_client_factory, + servicefabric_managed_client_factory_all, + servicefabric_managed_application_type_client_factory, + servicefabric_managed_application_type_version_client_factory, + servicefabric_managed_application_client_factory, + servicefabric_managed_service_client_factory) # pylint: disable=too-many-statements @@ -126,6 +131,31 @@ def load_command_table(self, _): client_factory=servicefabric_node_types_client_factory ) + managed_application_type_mgmt = CliCommandType( + operations_tmpl='azure.mgmt.servicefabricmanagedclusters.operations#ApplicationTypesOperations.{}', + client_factory=servicefabric_managed_application_type_client_factory + ) + + managed_application_type_version_mgmt = CliCommandType( + operations_tmpl='azure.mgmt.servicefabricmanagedclusters.operations#ApplicationTypeVersionsOperations.{}', + client_factory=servicefabric_managed_application_type_version_client_factory + ) + + managed_application_mgmt = CliCommandType( + operations_tmpl='azure.mgmt.servicefabricmanagedclusters.operations#ApplicationsOperations.{}', + client_factory=servicefabric_managed_application_client_factory + ) + + managed_service_mgmt = CliCommandType( + operations_tmpl='azure.mgmt.servicefabricmanagedclusters.operations#ServicesOperations.{}', + client_factory=servicefabric_managed_service_client_factory + ) + + managed_application_custom_type = CliCommandType( + operations_tmpl='azure.cli.command_modules.servicefabric.operations.managed_applications#{}', + client_factory=servicefabric_managed_client_factory_all + ) + with self.command_group('sf managed-cluster', managed_cluster_mgmt, is_preview=True, custom_command_type=managed_cluster_custom_type) as g: g.custom_command('list', 'list_clusters') @@ -161,3 +191,47 @@ def load_command_table(self, _): with self.command_group('sf managed-node-type vm-secret', node_type_mgmt, custom_command_type=managed_node_type_custom_type) as g: g.custom_command('add', 'add_vm_secret') + + with self.command_group('sf managed-application-type', managed_application_type_mgmt, + custom_command_type=managed_application_custom_type) as g: + g.command('list', 'list') + g.command('delete', 'begin_delete') + g.show_command('show', 'get') + g.custom_command('create', 'create_app_type') + g.custom_command('update', 'update_app_type') + + with self.command_group('sf managed-application-type version', managed_application_type_version_mgmt, + custom_command_type=managed_application_custom_type) as g: + g.command('list', 'list_by_application_types') + g.command('delete', 'begin_delete') + g.show_command('show', 'get') + g.custom_command('create', 'create_app_type_version') + g.custom_command('update', 'update_app_type_version') + + with self.command_group('sf managed-application', managed_application_mgmt, + custom_command_type=managed_application_custom_type) as g: + g.command('list', 'list') + g.command('delete', 'begin_delete') + g.show_command('show', 'get') + g.custom_command('create', 'create_app') + g.custom_command('update', 'update_app') + + with self.command_group('sf managed-service', managed_service_mgmt, + custom_command_type=managed_application_custom_type) as g: + g.command('list', 'list_by_applications') + g.command('delete', 'begin_delete') + g.show_command('show', 'get') + g.custom_command('create', 'create_service') + g.custom_command('update', 'update_service') + + with self.command_group('sf managed-service correlation-scheme', managed_service_mgmt, + custom_command_type=managed_application_custom_type) as g: + g.custom_command('create', 'create_service_correlation') + g.custom_command('update', 'update_service_correlation') + g.custom_command('delete', 'delete_service_correlation') + + with self.command_group('sf managed-service load-metrics', managed_service_mgmt, + custom_command_type=managed_application_custom_type) as g: + g.custom_command('create', 'create_service_load_metric') + g.custom_command('update', 'update_service_load_metric') + g.custom_command('delete', 'delete_service_load_metric') diff --git a/src/azure-cli/azure/cli/command_modules/servicefabric/operations/managed_applications.py b/src/azure-cli/azure/cli/command_modules/servicefabric/operations/managed_applications.py new file mode 100644 index 00000000000..dc701d0a7cb --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/servicefabric/operations/managed_applications.py @@ -0,0 +1,721 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +# pylint: disable=line-too-long,too-many-lines,too-many-branches,too-many-locals + +import time + +from azure.core.exceptions import HttpResponseError +from azure.cli.core.azclierror import InvalidArgumentValueError +from azure.cli.core.commands import LongRunningOperation +from azure.mgmt.servicefabricmanagedclusters.models import (ApplicationTypeResource, + ApplicationTypeVersionResource, + ApplicationResource, + ApplicationUpgradePolicy, + ApplicationHealthPolicy, + NamedPartitionScheme, + PartitionScheme, + RollingUpgradeMonitoringPolicy, + ServiceCorrelation, + ServiceLoadMetric, + ServiceResource, + StatefulServiceProperties, + StatelessServiceProperties, + ServiceTypeHealthPolicy, + ServiceKind, + SingletonPartitionScheme, + UniformInt64RangePartitionScheme) +from azure.cli.command_modules.servicefabric._sf_utils import (add_to_collection, + _get_managed_cluster_location, + delete_from_collection, + find_in_collection, + update_in_collection) +from knack.log import get_logger + +logger = get_logger(__name__) + +# Constants +APP_VERSION_ARM_RESOURCE_ID_FORMAT = ("/subscriptions/{subscription}/resourceGroups/{rg}/providers/" + "Microsoft.ServiceFabric/managedclusters/{cluster}/" + "applicationTypes/{appType}/versions/{version}") +CONSIDER_WARNING_AS_ERROR_DEFAULT = False +MAX_PERCENT_UNHEALTHY_DEPLOYED_APPLICATIONS_DEFAULT = 0 +FAILURE_ACTION_DEFAULT = "Manual" +HEALTH_CHECK_STABLE_DURATION_DEFAULT = time.strftime('%H:%M:%S', time.gmtime(120)) +HEALTH_CHECK_RETRY_TIMEOUT_DEFAULT = time.strftime('%H:%M:%S', time.gmtime(600)) +HEALTH_CHECK_WAIT_DURATION_DEFAULT = time.strftime('%H:%M:%S', time.gmtime(0)) +_twelve_hours = 43200 +UPGRADE_TIMEOUT_DEFAULT = time.strftime('%H:%M:%S', time.gmtime(_twelve_hours)) +UPGRADE_DOMAIN_TIMEOUT = time.strftime('%H:%M:%S', time.gmtime(_twelve_hours)) +SERVICE_TYPE_UNHEALTHY_SERVICES_MAX_PERCENT_DEFAULT = 0 +SERVICE_TYPE_MAX_PERCENT_UNHEALTHY_REPLICAS_PER_PARTITION_DEFAULT = 0 +SERVICE_TYPE_MAX_PERCENT_UNHEALTHY_PARTITIONS_PER_SERVICE_DEFAULT = 0 + + +def create_app(cmd, + client, + resource_group_name, + cluster_name, + application_type_name, + application_type_version, + application_name, + package_url=None, + application_parameters=None, + tags=None): + location = _get_managed_cluster_location(cmd.cli_ctx, resource_group_name, cluster_name) + if package_url is not None: + create_app_type_version(cmd, client, resource_group_name, cluster_name, application_type_name, application_type_version, package_url) + + try: + apps = client.applications.list(resource_group_name, cluster_name) + for app in apps: + if app.name.lower() == application_name.lower(): + logger.info("Application '%s' already exists", application_name) + return app + + new_app_type_version = _format_app_version(cmd.cli_ctx, resource_group_name, cluster_name, application_type_name, application_type_version) + appResource = ApplicationResource(version=new_app_type_version, + parameters=application_parameters, + location=location, + tags=tags) + appResource.name = application_name + poller = client.applications.begin_create_or_update(resource_group_name, cluster_name, application_name, appResource) + return LongRunningOperation(cmd.cli_ctx)(poller) + except HttpResponseError as ex: + logger.error("HttpResponseError: %s", ex) + raise + + +def update_app(cmd, + client, + resource_group_name, + cluster_name, + application_name, + application_type_version=None, + application_parameters=None, + force_restart=False, + recreate_application=False, + upgrade_replica_set_check_timeout=None, + instance_close_delay_duration=None, + failure_action=None, + upgrade_mode=None, + health_check_retry_timeout=None, + health_check_wait_duration=None, + health_check_stable_duration=None, + upgrade_domain_timeout=None, + upgrade_timeout=None, + consider_warning_as_error=False, + default_service_type_max_percent_unhealthy_partitions_per_service=None, + default_service_type_max_percent_unhealthy_replicas_per_partition=None, + default_service_type_max_percent_unhealthy_services=None, + max_percent_unhealthy_deployed_applications=None, + service_type_health_policy_map=None, + tags=None): + try: + currentApp = client.applications.get(resource_group_name, cluster_name, application_name) + appResource = currentApp + # TODO: change to patch once is supported in the rp + # appResourceUpdate: ApplicationResourceUpdate = ApplicationResourceUpdate() + + if application_type_version: + appResource.version = _replace_app_version(appResource.version, application_type_version) + if application_parameters: + appResource.parameters.update(application_parameters) + if tags: + appResource.tags = tags + + appResource.upgrade_policy = _set_upgrade_policy(currentApp.upgrade_policy, + force_restart, + recreate_application, + upgrade_replica_set_check_timeout, + instance_close_delay_duration, + failure_action, + upgrade_mode, + health_check_retry_timeout, + health_check_wait_duration, + health_check_stable_duration, + upgrade_domain_timeout, + upgrade_timeout, + consider_warning_as_error, + default_service_type_max_percent_unhealthy_partitions_per_service, + default_service_type_max_percent_unhealthy_replicas_per_partition, + default_service_type_max_percent_unhealthy_services, + max_percent_unhealthy_deployed_applications, + service_type_health_policy_map) + + # TODO: change to patch once the fix is supported in the rp + # client.applications.update(resource_group_name, cluster_name, application_name, appResourceUpdate) + poller = client.applications.begin_create_or_update(resource_group_name, cluster_name, application_name, appResource) + return LongRunningOperation(cmd.cli_ctx)(poller) + except HttpResponseError as ex: + logger.error("HttpResponseError: %s", ex) + raise + + +def create_app_type(cmd, client, resource_group_name, cluster_name, application_type_name, tags=None): + try: + location = _get_managed_cluster_location(cmd.cli_ctx, resource_group_name, cluster_name) + appTypes = client.application_types.list(resource_group_name, cluster_name) + for appType in appTypes: + if appType.name.lower() == application_type_name.lower(): + logger.info("Application type '%s' already exists", application_type_name) + return appType + + appTypeResource = ApplicationTypeResource(location=location, tags=tags) + logger.info("Creating application type '%s'", application_type_name) + return client.application_types.create_or_update( + resource_group_name, + cluster_name, + application_type_name, + appTypeResource) + except HttpResponseError as ex: + logger.error("HttpResponseError: %s", ex) + raise + + +def update_app_type(client, resource_group_name, cluster_name, application_type_name, tags=None): + try: + currentAppType = client.application_types.get(resource_group_name, cluster_name, application_type_name) + + if tags: + currentAppType.tags = tags + logger.info("Updating application type '%s'", application_type_name) + return client.application_types.create_or_update( + resource_group_name, + cluster_name, + application_type_name, + currentAppType) + except HttpResponseError as ex: + logger.error("HttpResponseError: %s", ex) + raise + + +def create_app_type_version(cmd, + client, + resource_group_name, + cluster_name, + application_type_name, + version, + package_url, + tags=None): + location = _get_managed_cluster_location(cmd.cli_ctx, resource_group_name, cluster_name) + create_app_type(cmd, client, resource_group_name, cluster_name, application_type_name) + try: + appTypeVerions = client.application_type_versions.list_by_application_types(resource_group_name, cluster_name, application_type_name) + for appTypeVerion in appTypeVerions: + if appTypeVerion.name.lower() == version.lower(): + logger.error("Application type version '%s' already exists", version) + return appTypeVerion + + appTypeVersionResource = ApplicationTypeVersionResource(app_package_url=package_url, location=location, tags=tags) + logger.info("Creating application type version %s:%s", application_type_name, version) + poller = client.application_type_versions.begin_create_or_update(resource_group_name, + cluster_name, + application_type_name, + version, + appTypeVersionResource) + return LongRunningOperation(cmd.cli_ctx)(poller) + except HttpResponseError as ex: + logger.error("HttpResponseError: %s", ex) + raise + + +def update_app_type_version(client, + resource_group_name, + cluster_name, + application_type_name, + version, + package_url=None, + tags=None): + try: + currentAppTypeVersion = client.application_type_versions.get( + resource_group_name, + cluster_name, + application_type_name, + version) + + if package_url is not None: + currentAppTypeVersion.app_package_url = package_url + + if tags is not None: + currentAppTypeVersion.tags = tags + + logger.info("Updating application type version %s:%s", application_type_name, version) + return client.application_type_versions.begin_create_or_update(resource_group_name, + cluster_name, + application_type_name, + version, + currentAppTypeVersion).result() + except HttpResponseError as ex: + logger.error("HttpResponseError: %s", ex) + raise + + +def create_service(cmd, + client, + resource_group_name, + cluster_name, + application_name, + service_name, + service_type, + state, + default_move_cost=None, + placement_constraints=None, + service_dns_name=None, + service_package_activation_mode=None, + target_replica_set_size=None, + min_replica_set_size=None, + has_persisted_state=None, + drop_source_replica_on_move=None, + service_placement_time_limit=None, + stand_by_replica_keep_duration=None, + quorum_loss_wait_duration=None, + replica_restart_wait_duration=None, + instance_count=None, + min_instance_count=None, + min_instance_percentage=None, + instance_close_delay_duration=None, + partition_scheme='singleton', + partition_count=None, + low_key=None, + high_key=None, + partition_names=None, + tags=None): + try: + location = _get_managed_cluster_location(cmd.cli_ctx, resource_group_name, cluster_name) + services = client.services.list_by_applications(resource_group_name, cluster_name, application_name) + for service in services: + if service.name.lower() == service_name.lower(): + logger.error("Service '%s' already exists", service_name) + return service + + serviceResource = ServiceResource(location=location, tags=tags) + serviceResource.name = service_name + + if state.lower() == ServiceKind.STATELESS.lower(): + properties = StatelessServiceProperties( + service_type_name=service_type, + instance_count=instance_count, + partition_description=_set_partition_description(partition_scheme, partition_names, partition_count, low_key, high_key) + ) + serviceResource.properties = _set_stateless_service_properties(properties, + min_instance_count, + min_instance_percentage, + instance_close_delay_duration) + + elif state.lower() == ServiceKind.STATEFUL.lower(): + properties = StatefulServiceProperties( + service_type_name=service_type, + instance_count=instance_count, + partition_description=_set_partition_description(partition_scheme, partition_names, partition_count, low_key, high_key), + min_replica_set_size=min_replica_set_size, + target_replica_set_size=target_replica_set_size + ) + serviceResource.properties = _set_stateful_service_properties(properties, + has_persisted_state, + drop_source_replica_on_move, + service_placement_time_limit, + stand_by_replica_keep_duration, + quorum_loss_wait_duration, + replica_restart_wait_duration) + else: + raise InvalidArgumentValueError("Invalid --state '%s': service state is not valid." % state) + + serviceResource.properties.service_load_metrics = [] + serviceResource.properties.correlation_scheme = [] + + if default_move_cost is not None: + serviceResource.properties.default_move_cost = default_move_cost + if placement_constraints is not None: + serviceResource.properties.placement_constraints = placement_constraints + if service_dns_name is not None: + serviceResource.properties.service_dns_name = service_dns_name + if service_package_activation_mode is not None: + serviceResource.properties.service_package_activation_mode = service_package_activation_mode + + poller = client.services.begin_create_or_update(resource_group_name, cluster_name, application_name, service_name, serviceResource) + return LongRunningOperation(cmd.cli_ctx)(poller) + except HttpResponseError as ex: + logger.error("HttpResponseError: %s", ex) + raise + + +def update_service(cmd, + client, + resource_group_name, + cluster_name, + application_name, + service_name, + default_move_cost=None, + placement_constraints=None, + target_replica_set_size=None, + min_replica_set_size=None, + drop_source_replica_on_move=None, + service_placement_time_limit=None, + stand_by_replica_keep_duration=None, + quorum_loss_wait_duration=None, + replica_restart_wait_duration=None, + instance_count=None, + min_instance_count=None, + min_instance_percentage=None, + instance_close_delay_duration=None, + tags=None): + try: + currentService = client.services.get(resource_group_name, cluster_name, application_name, service_name) + + state = currentService.properties.service_kind + logger.info("Updating service '%s'", service_name) + + if tags: + currentService.tags = tags + + if state.lower() == ServiceKind.STATELESS.lower(): + if instance_count is not None: + currentService.properties.instance_count = instance_count + currentService.properties = _set_stateless_service_properties(currentService.properties, + min_instance_count, + min_instance_percentage, + instance_close_delay_duration) + elif state.lower() == ServiceKind.STATEFUL.lower(): + if min_replica_set_size is not None: + currentService.properties.min_replica_set_size = min_replica_set_size + if target_replica_set_size is not None: + currentService.properties.target_replica_set_size = target_replica_set_size + currentService.properties = _set_stateful_service_properties(currentService.properties, + None, + drop_source_replica_on_move, + service_placement_time_limit, + stand_by_replica_keep_duration, + quorum_loss_wait_duration, + replica_restart_wait_duration) + else: + raise InvalidArgumentValueError("Invalid --state '%s': service state is not valid." % state) + + if default_move_cost is not None: + currentService.properties.default_move_cost = default_move_cost + if placement_constraints is not None: + currentService.properties.placement_constraints = placement_constraints + + poller = client.services.begin_create_or_update(resource_group_name, cluster_name, application_name, service_name, currentService) + return LongRunningOperation(cmd.cli_ctx)(poller) + except HttpResponseError as ex: + logger.error("HttpResponseError: %s", ex) + raise + + +def create_service_load_metric(cmd, + client, + resource_group_name, + cluster_name, + application_name, + service_name, + metric_name, + weight=None, + primary_default_load=None, + secondary_default_load=None, + default_load=None): + + service = client.services.get(resource_group_name, cluster_name, application_name, service_name) + new_metric = ServiceLoadMetric( + name=metric_name, + weight=weight, + primary_default_load=primary_default_load, + secondary_default_load=secondary_default_load, + default_load=default_load + ) + # add the new child to the parent collection + add_to_collection(service.properties, 'service_load_metrics', new_metric, 'name') + # update the parent object + poller = client.services.begin_create_or_update(resource_group_name, cluster_name, application_name, service_name, service) + return LongRunningOperation(cmd.cli_ctx)(poller) + + +def update_service_load_metric(cmd, + client, + resource_group_name, + cluster_name, + application_name, + service_name, + metric_name, + weight=None, + primary_default_load=None, + secondary_default_load=None, + default_load=None): + + service = client.services.get(resource_group_name, cluster_name, application_name, service_name) + existing_metric = find_in_collection(service.properties, 'service_load_metrics', 'name', metric_name) + if existing_metric is None: + logger.error('Metric %s does not exist.', metric_name) + return None + + updated_metric = ServiceLoadMetric( + name=metric_name, + weight=weight if weight is not None else existing_metric.weight, + primary_default_load=primary_default_load if primary_default_load is not None else existing_metric.primary_default_load, + secondary_default_load=secondary_default_load if secondary_default_load is not None else existing_metric.secondary_default_load, + default_load=default_load if default_load is not None else existing_metric.default_load, + ) + # add the new child to the parent collection + update_in_collection(service.properties, 'service_load_metrics', updated_metric, 'name') + # update the parent object + poller = client.services.begin_create_or_update(resource_group_name, cluster_name, application_name, service_name, service) + return LongRunningOperation(cmd.cli_ctx)(poller) + + +def delete_service_load_metric(cmd, + client, + resource_group_name, + cluster_name, + application_name, + service_name, + metric_name): + + service = client.services.get(resource_group_name, cluster_name, application_name, service_name) + + # add the new child to the parent collection + delete_from_collection(service.properties, 'service_load_metrics', 'name', metric_name) + # update the parent object + poller = client.services.begin_create_or_update(resource_group_name, cluster_name, application_name, service_name, service) + return LongRunningOperation(cmd.cli_ctx)(poller) + + +def create_service_correlation(cmd, + client, + resource_group_name, + cluster_name, + application_name, + service_name, + scheme, + correlated_service_name): + + service = client.services.get(resource_group_name, cluster_name, application_name, service_name) + new_correlation = ServiceCorrelation( + service_name=correlated_service_name, + scheme=scheme + ) + # add the new child to the parent collection + add_to_collection(service.properties, 'correlation_scheme', new_correlation, 'service_name') + # update the parent object + poller = client.services.begin_create_or_update(resource_group_name, cluster_name, application_name, service_name, service) + return LongRunningOperation(cmd.cli_ctx)(poller) + + +def update_service_correlation(cmd, + client, + resource_group_name, + cluster_name, + application_name, + service_name, + scheme, + correlated_service_name): + + service = client.services.get(resource_group_name, cluster_name, application_name, service_name) + existing_correlation = find_in_collection(service.properties, 'correlation_scheme', 'service_name', correlated_service_name) + if existing_correlation is None: + logger.error('Correlation %s does not exist.', correlated_service_name) + return None + + updated_correlation = ServiceCorrelation( + service_name=correlated_service_name, + scheme=scheme + ) + # add the new child to the parent collection + update_in_collection(service.properties, 'correlation_scheme', updated_correlation, 'service_name') + # update the parent object + poller = client.services.begin_create_or_update(resource_group_name, cluster_name, application_name, service_name, service) + return LongRunningOperation(cmd.cli_ctx)(poller) + + +def delete_service_correlation(cmd, + client, + resource_group_name, + cluster_name, + application_name, + service_name, + correlated_service_name): + + service = client.services.get(resource_group_name, cluster_name, application_name, service_name) + + # add the new child to the parent collection + delete_from_collection(service.properties, 'correlation_scheme', 'service_name', correlated_service_name) + # update the parent object + poller = client.services.begin_create_or_update(resource_group_name, cluster_name, application_name, service_name, service) + return LongRunningOperation(cmd.cli_ctx)(poller) + + +# Managed application helpers +def _format_app_version(cli_ctx, rg_name, cluster_name, app_type, new_app_version): + from azure.cli.core.commands.client_factory import get_subscription_id + subscription_id = get_subscription_id(cli_ctx) + return APP_VERSION_ARM_RESOURCE_ID_FORMAT.format( + subscription=subscription_id, + rg=rg_name, + cluster=cluster_name, + appType=app_type, + version=new_app_version + ) + + +def _replace_app_version(old_app_version, new_app_version): + split_version_id = old_app_version.rsplit(sep='/', maxsplit=1) + split_version_id[-1] = new_app_version + return "/".join(split_version_id) + + +def _set_service_type_health_policy(service_type_health_policy_map): + def _policy_string_to_object(value_string): + try: + max_percent_unhealthy_partitions_per_service, max_percent_unhealthy_replicas_per_partition, max_percent_unhealthy_services = map(int, value_string.split(",")) + except: + raise InvalidArgumentValueError("Invalid --service-type-health-policy-map '%s': service type health policy map is not valid." % service_type_health_policy_map) + return ServiceTypeHealthPolicy( + max_percent_unhealthy_partitions_per_service=max_percent_unhealthy_partitions_per_service, + max_percent_unhealthy_replicas_per_partition=max_percent_unhealthy_replicas_per_partition, + max_percent_unhealthy_services=max_percent_unhealthy_services + ) + return {k: _policy_string_to_object(v) for k, v in service_type_health_policy_map.items()} + + +def _set_upgrade_policy(current_upgrade_policy, + force_restart, + recreate_application, + upgrade_replica_set_check_timeout, + instance_close_delay_duration, + failure_action, + upgrade_mode, + health_check_retry_timeout, + health_check_wait_duration, + health_check_stable_duration, + upgrade_domain_timeout, + upgrade_timeout, + consider_warning_as_error, + default_service_type_max_percent_unhealthy_partitions_per_service, + default_service_type_max_percent_unhealthy_replicas_per_partition, + default_service_type_max_percent_unhealthy_services, + max_percent_unhealthy_deployed_applications, + service_type_health_policy_map): + if current_upgrade_policy is None: + current_upgrade_policy = ApplicationUpgradePolicy() + + if force_restart is not None: + current_upgrade_policy.force_restart = force_restart + if recreate_application is not None: + current_upgrade_policy.recreate_application = recreate_application + if upgrade_mode: + current_upgrade_policy.upgrade_mode = upgrade_mode + if upgrade_replica_set_check_timeout is not None: + current_upgrade_policy.upgrade_replica_set_check_timeout = upgrade_replica_set_check_timeout + if instance_close_delay_duration is not None: + current_upgrade_policy.instance_close_delay_duration = instance_close_delay_duration + + # RollingUpgradeMonitoringPolicy + if current_upgrade_policy.rolling_upgrade_monitoring_policy is None: + # initialize with defaults + current_upgrade_policy.rolling_upgrade_monitoring_policy = RollingUpgradeMonitoringPolicy(failure_action=FAILURE_ACTION_DEFAULT, + health_check_stable_duration=HEALTH_CHECK_STABLE_DURATION_DEFAULT, + health_check_retry_timeout=HEALTH_CHECK_RETRY_TIMEOUT_DEFAULT, + health_check_wait_duration=HEALTH_CHECK_WAIT_DURATION_DEFAULT, + upgrade_timeout=UPGRADE_TIMEOUT_DEFAULT, + upgrade_domain_timeout=UPGRADE_DOMAIN_TIMEOUT) + + if failure_action: + current_upgrade_policy.rolling_upgrade_monitoring_policy.failure_action = failure_action + if health_check_stable_duration is not None: + current_upgrade_policy.rolling_upgrade_monitoring_policy.health_check_stable_duration = time.strftime('%H:%M:%S', time.gmtime(health_check_stable_duration)) + if health_check_retry_timeout is not None: + current_upgrade_policy.rolling_upgrade_monitoring_policy.health_check_retry_timeout = time.strftime('%H:%M:%S', time.gmtime(health_check_retry_timeout)) + if health_check_wait_duration is not None: + current_upgrade_policy.rolling_upgrade_monitoring_policy.health_check_wait_duration = time.strftime('%H:%M:%S', time.gmtime(health_check_wait_duration)) + if upgrade_timeout is not None: + current_upgrade_policy.rolling_upgrade_monitoring_policy.upgrade_timeout = time.strftime('%H:%M:%S', time.gmtime(upgrade_timeout)) + if upgrade_domain_timeout is not None: + current_upgrade_policy.rolling_upgrade_monitoring_policy.upgrade_domain_timeout = time.strftime('%H:%M:%S', time.gmtime(upgrade_domain_timeout)) + + # ApplicationHealthPolicy + if current_upgrade_policy.application_health_policy is None: + current_upgrade_policy.application_health_policy = ApplicationHealthPolicy( + consider_warning_as_error=CONSIDER_WARNING_AS_ERROR_DEFAULT, + max_percent_unhealthy_deployed_applications=MAX_PERCENT_UNHEALTHY_DEPLOYED_APPLICATIONS_DEFAULT + ) + + if consider_warning_as_error: + current_upgrade_policy.application_health_policy.consider_warning_as_error = True + + if current_upgrade_policy.application_health_policy.default_service_type_health_policy is None: + current_upgrade_policy.application_health_policy.default_service_type_health_policy = ServiceTypeHealthPolicy( + max_percent_unhealthy_partitions_per_service=SERVICE_TYPE_MAX_PERCENT_UNHEALTHY_PARTITIONS_PER_SERVICE_DEFAULT, + max_percent_unhealthy_replicas_per_partition=SERVICE_TYPE_MAX_PERCENT_UNHEALTHY_REPLICAS_PER_PARTITION_DEFAULT, + max_percent_unhealthy_services=SERVICE_TYPE_UNHEALTHY_SERVICES_MAX_PERCENT_DEFAULT) + + if default_service_type_max_percent_unhealthy_partitions_per_service is not None: + current_upgrade_policy.application_health_policy.default_service_type_health_policy.max_percent_unhealthy_partitions_per_service \ + = default_service_type_max_percent_unhealthy_partitions_per_service + if default_service_type_max_percent_unhealthy_replicas_per_partition is not None: + current_upgrade_policy.application_health_policy.default_service_type_health_policy.max_percent_unhealthy_replicas_per_partition \ + = default_service_type_max_percent_unhealthy_replicas_per_partition + if default_service_type_max_percent_unhealthy_services is not None: + current_upgrade_policy.application_health_policy.default_service_type_health_policy.max_percent_unhealthy_partitions_per_service \ + = default_service_type_max_percent_unhealthy_services + + if max_percent_unhealthy_deployed_applications is not None: + current_upgrade_policy.application_health_policy.max_percent_unhealthy_deployed_applications \ + = max_percent_unhealthy_deployed_applications + + if service_type_health_policy_map: + current_upgrade_policy.application_health_policy.service_type_health_policy_map = _set_service_type_health_policy(service_type_health_policy_map) + return current_upgrade_policy + + +def _set_partition_description(partition_scheme, partition_names, partition_count, low_key, high_key): + partition_description = None + if partition_scheme.lower() == PartitionScheme.SINGLETON.lower(): + partition_description = SingletonPartitionScheme() + elif partition_scheme.lower() == PartitionScheme.NAMED.lower(): + partition_description = NamedPartitionScheme( + names=partition_names + ) + elif partition_scheme.lower() == PartitionScheme.UNIFORM_INT64_RANGE.lower(): + partition_description = UniformInt64RangePartitionScheme( + count=partition_count, + low_key=low_key, + high_key=high_key + ) + else: + raise InvalidArgumentValueError("Invalid --partition-scheme '%s': service partition scheme is not valid." % partition_scheme) + return partition_description + + +def _set_stateless_service_properties(properties, min_instance_count, min_instance_percentage, instance_close_delay_duration): + # Optional + if min_instance_count is not None: + properties.min_instance_count = min_instance_count + if min_instance_percentage is not None: + properties.min_instance_percentage = min_instance_percentage + if instance_close_delay_duration is not None: + properties.instance_close_delay_duration = instance_close_delay_duration + return properties + + +def _set_stateful_service_properties(properties, + has_persisted_state, + drop_source_replica_on_move, + service_placement_time_limit, + stand_by_replica_keep_duration, + quorum_loss_wait_duration, + replica_restart_wait_duration): + # Optional + if has_persisted_state is not None: + properties.has_persisted_state = has_persisted_state + if drop_source_replica_on_move is not None: + properties.drop_source_replica_on_move = drop_source_replica_on_move + if service_placement_time_limit is not None: + properties.service_placement_time_limit = service_placement_time_limit + if stand_by_replica_keep_duration is not None: + properties.stand_by_replica_keep_duration = stand_by_replica_keep_duration + if quorum_loss_wait_duration is not None: + properties.quorum_loss_wait_duration = quorum_loss_wait_duration + if replica_restart_wait_duration is not None: + properties.replica_restart_wait_duration = replica_restart_wait_duration + return properties diff --git a/src/azure-cli/azure/cli/command_modules/servicefabric/tests/latest/recordings/test_managed_app_type.yaml b/src/azure-cli/azure/cli/command_modules/servicefabric/tests/latest/recordings/test_managed_app_type.yaml new file mode 100644 index 00000000000..e38a38ec732 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/servicefabric/tests/latest/recordings/test_managed_app_type.yaml @@ -0,0 +1,2772 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-22T16:39:33Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:39:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-22T16:39:33Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:39:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-22T16:39:33Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:39:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-22T16:39:33Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:39:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-22T16:39:33Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:39:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-22T16:39:33Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:39:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-22T16:39:33Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:39:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-22T16:39:33Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:39:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-22T16:39:33Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:39:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-22T16:39:33Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:39:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-22T16:39:33Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:39:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-22T16:39:33Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:39:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastasia", "properties": {"dnsName": "sfrp-cli-000002", "clientConnectionPort": + 19000, "httpGatewayConnectionPort": 19080, "adminUserName": "vmadmin", "adminPassword": + "Pass@000003", "clients": [{"isAdmin": true, "thumbprint": "123BDACDCDFB2C7B250192C6078E47D1E1DB119B"}]}, + "sku": {"name": "Basic"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + Content-Length: + - '320' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Creating\",\r\n \"clusterId\": \"379e7a52-f9dc-4a3e-ba7f-adbd5bca31ce\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"clusterCertificateThumbprint\": + \"\",\r\n \"clientConnectionPort\": 19000,\r\n \"httpGatewayConnectionPort\": + 19080,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ]\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/2b1d0004-6327-4971-bd57-e17af75d8d5b?api-version=2020-01-01-preview + cache-control: + - no-cache + content-length: + - '897' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:39:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/2b1d0004-6327-4971-bd57-e17af75d8d5b?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"2b1d0004-6327-4971-bd57-e17af75d8d5b\",\r\n \"startTime\": + \"2021-03-22T16:39:40.897905Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 30.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '190' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:40:11 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/2b1d0004-6327-4971-bd57-e17af75d8d5b?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"2b1d0004-6327-4971-bd57-e17af75d8d5b\",\r\n \"startTime\": + \"2021-03-22T16:39:40.897905Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 40.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '190' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:40:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/2b1d0004-6327-4971-bd57-e17af75d8d5b?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"2b1d0004-6327-4971-bd57-e17af75d8d5b\",\r\n \"startTime\": + \"2021-03-22T16:39:40.897905Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 40.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '190' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:41:12 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/2b1d0004-6327-4971-bd57-e17af75d8d5b?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"2b1d0004-6327-4971-bd57-e17af75d8d5b\",\r\n \"startTime\": + \"2021-03-22T16:39:40.897905Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 40.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '190' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:41:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/2b1d0004-6327-4971-bd57-e17af75d8d5b?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"2b1d0004-6327-4971-bd57-e17af75d8d5b\",\r\n \"startTime\": + \"2021-03-22T16:39:40.897905Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 51.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '190' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:42:12 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/2b1d0004-6327-4971-bd57-e17af75d8d5b?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"2b1d0004-6327-4971-bd57-e17af75d8d5b\",\r\n \"startTime\": + \"2021-03-22T16:39:40.897905Z\",\r\n \"endTime\": \"2021-03-22T16:42:29.0904564Z\",\r\n + \ \"percentComplete\": 100.0,\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '202' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:42:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"379e7a52-f9dc-4a3e-ba7f-adbd5bca31ce\",\r\n + \ \"clusterState\": \"WaitingForNodes\",\r\n \"clusterUpgradeCadence\": + \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n \"dnsName\": \"sfrp-cli-000002\",\r\n + \ \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n \"clusterCertificateThumbprint\": + \"D96C735ACB2E76FF6A29B526B103DDB837D66B22\",\r\n \"clientConnectionPort\": + 19000,\r\n \"httpGatewayConnectionPort\": 19080,\r\n \"clients\": [\r\n + \ {\r\n \"isAdmin\": true,\r\n \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n + \ }\r\n ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1047' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:42:43 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"properties": {"isPrimary": true, "vmInstanceCount": 5, "dataDiskSizeGB": + 100, "vmSize": "Standard_D2", "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageOffer": "WindowsServer", "vmImageSku": "2019-Datacenter", "vmImageVersion": + "latest"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + Content-Length: + - '245' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/nodeTypes/pnt?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/nodetypes/pnt\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/nodetypes\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"pnt\",\r\n \"tags\": {},\r\n \"properties\": + {\r\n \"provisioningState\": \"Creating\",\r\n \"isPrimary\": true,\r\n + \ \"vmImagePublisher\": \"MicrosoftWindowsServer\",\r\n \"vmImageOffer\": + \"WindowsServer\",\r\n \"vmImageSku\": \"2019-Datacenter\",\r\n \"vmImageVersion\": + \"latest\",\r\n \"vmSize\": \"Standard_D2\",\r\n \"vmInstanceCount\": + 5,\r\n \"dataDiskSizeGB\": 100,\r\n \"placementProperties\": {},\r\n + \ \"capacities\": {}\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/63460004-03c3-4184-af5d-03fe7d57d72d?api-version=2020-01-01-preview + cache-control: + - no-cache + content-length: + - '757' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:42:45 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/63460004-03c3-4184-af5d-03fe7d57d72d?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"63460004-03c3-4184-af5d-03fe7d57d72d\",\r\n \"startTime\": + \"2021-03-22T16:42:45.8569538Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:43:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/63460004-03c3-4184-af5d-03fe7d57d72d?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"63460004-03c3-4184-af5d-03fe7d57d72d\",\r\n \"startTime\": + \"2021-03-22T16:42:45.8569538Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:43:46 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/63460004-03c3-4184-af5d-03fe7d57d72d?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"63460004-03c3-4184-af5d-03fe7d57d72d\",\r\n \"startTime\": + \"2021-03-22T16:42:45.8569538Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:44:17 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/63460004-03c3-4184-af5d-03fe7d57d72d?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"63460004-03c3-4184-af5d-03fe7d57d72d\",\r\n \"startTime\": + \"2021-03-22T16:42:45.8569538Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:44:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/63460004-03c3-4184-af5d-03fe7d57d72d?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"63460004-03c3-4184-af5d-03fe7d57d72d\",\r\n \"startTime\": + \"2021-03-22T16:42:45.8569538Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:45:17 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/63460004-03c3-4184-af5d-03fe7d57d72d?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"63460004-03c3-4184-af5d-03fe7d57d72d\",\r\n \"startTime\": + \"2021-03-22T16:42:45.8569538Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:45:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/63460004-03c3-4184-af5d-03fe7d57d72d?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"63460004-03c3-4184-af5d-03fe7d57d72d\",\r\n \"startTime\": + \"2021-03-22T16:42:45.8569538Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:46:17 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/63460004-03c3-4184-af5d-03fe7d57d72d?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"63460004-03c3-4184-af5d-03fe7d57d72d\",\r\n \"startTime\": + \"2021-03-22T16:42:45.8569538Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:46:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/63460004-03c3-4184-af5d-03fe7d57d72d?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"63460004-03c3-4184-af5d-03fe7d57d72d\",\r\n \"startTime\": + \"2021-03-22T16:42:45.8569538Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:47:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/63460004-03c3-4184-af5d-03fe7d57d72d?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"63460004-03c3-4184-af5d-03fe7d57d72d\",\r\n \"startTime\": + \"2021-03-22T16:42:45.8569538Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:47:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/63460004-03c3-4184-af5d-03fe7d57d72d?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"63460004-03c3-4184-af5d-03fe7d57d72d\",\r\n \"startTime\": + \"2021-03-22T16:42:45.8569538Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:48:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/63460004-03c3-4184-af5d-03fe7d57d72d?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"63460004-03c3-4184-af5d-03fe7d57d72d\",\r\n \"startTime\": + \"2021-03-22T16:42:45.8569538Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:48:49 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/63460004-03c3-4184-af5d-03fe7d57d72d?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"63460004-03c3-4184-af5d-03fe7d57d72d\",\r\n \"startTime\": + \"2021-03-22T16:42:45.8569538Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:49:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/63460004-03c3-4184-af5d-03fe7d57d72d?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"63460004-03c3-4184-af5d-03fe7d57d72d\",\r\n \"startTime\": + \"2021-03-22T16:42:45.8569538Z\",\r\n \"endTime\": \"2021-03-22T16:49:49.2501571Z\",\r\n + \ \"percentComplete\": 100.0,\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '203' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:49:50 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/nodeTypes/pnt?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/nodetypes/pnt\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/nodetypes\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"pnt\",\r\n \"tags\": {},\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"isPrimary\": true,\r\n + \ \"vmImagePublisher\": \"MicrosoftWindowsServer\",\r\n \"vmImageOffer\": + \"WindowsServer\",\r\n \"vmImageSku\": \"2019-Datacenter\",\r\n \"vmImageVersion\": + \"latest\",\r\n \"vmSize\": \"Standard_D2\",\r\n \"vmInstanceCount\": + 5,\r\n \"dataDiskSizeGB\": 100,\r\n \"placementProperties\": {},\r\n + \ \"capacities\": {}\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '758' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:49:50 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster show + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"379e7a52-f9dc-4a3e-ba7f-adbd5bca31ce\",\r\n + \ \"clusterState\": \"Deploying\",\r\n \"clusterCodeVersion\": \"7.2.432.9590\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"clusterCertificateThumbprint\": \"D96C735ACB2E76FF6A29B526B103DDB837D66B22\",\r\n + \ \"clientConnectionPort\": 19000,\r\n \"httpGatewayConnectionPort\": + 19080,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1084' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:49:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster show + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"379e7a52-f9dc-4a3e-ba7f-adbd5bca31ce\",\r\n + \ \"clusterState\": \"Deploying\",\r\n \"clusterCodeVersion\": \"7.2.432.9590\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"clusterCertificateThumbprint\": \"D96C735ACB2E76FF6A29B526B103DDB837D66B22\",\r\n + \ \"clientConnectionPort\": 19000,\r\n \"httpGatewayConnectionPort\": + 19080,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1084' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:50:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster show + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"379e7a52-f9dc-4a3e-ba7f-adbd5bca31ce\",\r\n + \ \"clusterState\": \"Deploying\",\r\n \"clusterCodeVersion\": \"7.2.432.9590\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"clusterCertificateThumbprint\": \"D96C735ACB2E76FF6A29B526B103DDB837D66B22\",\r\n + \ \"clientConnectionPort\": 19000,\r\n \"httpGatewayConnectionPort\": + 19080,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1084' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:51:55 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster show + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"379e7a52-f9dc-4a3e-ba7f-adbd5bca31ce\",\r\n + \ \"clusterState\": \"BaselineUpgrade\",\r\n \"clusterCodeVersion\": + \"7.2.432.9590\",\r\n \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": + \"vmadmin\",\r\n \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"clusterCertificateThumbprint\": \"D96C735ACB2E76FF6A29B526B103DDB837D66B22\",\r\n + \ \"clientConnectionPort\": 19000,\r\n \"httpGatewayConnectionPort\": + 19080,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1090' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:52:56 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster show + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"379e7a52-f9dc-4a3e-ba7f-adbd5bca31ce\",\r\n + \ \"clusterState\": \"BaselineUpgrade\",\r\n \"clusterCodeVersion\": + \"7.2.432.9590\",\r\n \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": + \"vmadmin\",\r\n \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"clusterCertificateThumbprint\": \"D96C735ACB2E76FF6A29B526B103DDB837D66B22\",\r\n + \ \"clientConnectionPort\": 19000,\r\n \"httpGatewayConnectionPort\": + 19080,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1090' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:53:58 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster show + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"379e7a52-f9dc-4a3e-ba7f-adbd5bca31ce\",\r\n + \ \"clusterState\": \"BaselineUpgrade\",\r\n \"clusterCodeVersion\": + \"7.2.432.9590\",\r\n \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": + \"vmadmin\",\r\n \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"clusterCertificateThumbprint\": \"D96C735ACB2E76FF6A29B526B103DDB837D66B22\",\r\n + \ \"clientConnectionPort\": 19000,\r\n \"httpGatewayConnectionPort\": + 19080,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1090' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:54:59 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster show + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"379e7a52-f9dc-4a3e-ba7f-adbd5bca31ce\",\r\n + \ \"clusterState\": \"Ready\",\r\n \"clusterCodeVersion\": \"7.2.432.9590\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"clusterCertificateThumbprint\": \"D96C735ACB2E76FF6A29B526B103DDB837D66B22\",\r\n + \ \"clientConnectionPort\": 19000,\r\n \"httpGatewayConnectionPort\": + 19080,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1080' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:56:00 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type list + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - AZURECLI/2.20.0 azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 Python/3.8.8 + (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"value\": []\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '19' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:56:02 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-type-name --tags + User-Agent: + - AZURECLI/2.20.0 azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 Python/3.8.8 + (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"379e7a52-f9dc-4a3e-ba7f-adbd5bca31ce\",\r\n + \ \"clusterState\": \"Ready\",\r\n \"clusterCodeVersion\": \"7.2.432.9590\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"ipv4Address\": \"168.63.213.126\",\r\n \"clusterCertificateThumbprints\": + [\r\n \"D96C735ACB2E76FF6A29B526B103DDB837D66B22\"\r\n ],\r\n \"clientConnectionPort\": + 19000,\r\n \"httpGatewayConnectionPort\": 19080,\r\n \"allowRdpAccess\": + false,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ],\r\n \"enableAutoOSUpgrade\": false,\r\n \"zonalResiliency\": + false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1231' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:56:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-type-name --tags + User-Agent: + - AZURECLI/2.20.0 azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 Python/3.8.8 + (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"value\": []\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '19' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:56:04 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastasia", "tags": {"key1": "value1", "key2": "value2"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type create + Connection: + - keep-alive + Content-Length: + - '70' + Content-Type: + - application/json + ParameterSetName: + - -g -c --application-type-name --tags + User-Agent: + - AZURECLI/2.20.0 azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 Python/3.8.8 + (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applicationTypes/VotingType\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applicationTypes\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"VotingType\",\r\n \"tags\": + {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-22T16:56:05.2604874+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-22T16:56:05.2604874+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '808' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:56:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type show + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-type-name + User-Agent: + - AZURECLI/2.20.0 azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 Python/3.8.8 + (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applicationTypes/VotingType\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applicationTypes\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"VotingType\",\r\n \"tags\": + {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-22T16:56:05.2604874+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-22T16:56:05.2604874+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '808' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:56:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-type-name --tags + User-Agent: + - AZURECLI/2.20.0 azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 Python/3.8.8 + (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applicationTypes/VotingType\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applicationTypes\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"VotingType\",\r\n \"tags\": + {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-22T16:56:05.2604874+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-22T16:56:05.2604874+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '808' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:56:06 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastasia", "tags": {"key2": "value3"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type update + Connection: + - keep-alive + Content-Length: + - '52' + Content-Type: + - application/json + ParameterSetName: + - -g -c --application-type-name --tags + User-Agent: + - AZURECLI/2.20.0 azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 Python/3.8.8 + (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applicationTypes/VotingType\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applicationTypes\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"VotingType\",\r\n \"tags\": + {\r\n \"key2\": \"value3\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": + \"luslevin@microsoft.com\",\r\n \"createdByType\": \"User\",\r\n \"createdAt\": + \"2021-03-22T16:56:07.5709398+00:00\",\r\n \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n + \ \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": \"2021-03-22T16:56:07.5709398+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:56:07 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type show + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-type-name + User-Agent: + - AZURECLI/2.20.0 azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 Python/3.8.8 + (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applicationTypes/VotingType\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applicationTypes\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"VotingType\",\r\n \"tags\": + {\r\n \"key2\": \"value3\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": + \"luslevin@microsoft.com\",\r\n \"createdByType\": \"User\",\r\n \"createdAt\": + \"2021-03-22T16:56:07.5709398+00:00\",\r\n \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n + \ \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": \"2021-03-22T16:56:07.5709398+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '785' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:56:08 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -c --application-type-name + User-Agent: + - AZURECLI/2.20.0 azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 Python/3.8.8 + (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType?api-version=2021-01-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + date: + - Mon, 22 Mar 2021 16:56:10 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type show + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-type-name + User-Agent: + - AZURECLI/2.20.0 azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 Python/3.8.8 + (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType?api-version=2021-01-01-preview + response: + body: + string: '{"error":{"code":"NotFound","message":"GetEntityFromTable: the ApplicationTypeData + 379e7a52-f9dc-4a3e-ba7f-adbd5bca31ce&votingtype could not be found."}}' + headers: + cache-control: + - no-cache + content-length: + - '153' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 16:56:11 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/servicefabric/tests/latest/recordings/test_managed_app_type_version.yaml b/src/azure-cli/azure/cli/command_modules/servicefabric/tests/latest/recordings/test_managed_app_type_version.yaml new file mode 100644 index 00000000000..d22afa53aec --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/servicefabric/tests/latest/recordings/test_managed_app_type_version.yaml @@ -0,0 +1,3173 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-22T20:53:08Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 20:53:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-22T20:53:08Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 20:53:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-22T20:53:08Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 20:53:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-22T20:53:08Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 20:53:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-22T20:53:08Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 20:53:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-22T20:53:08Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 20:53:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-22T20:53:08Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 20:53:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-22T20:53:08Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 20:53:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-22T20:53:08Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 20:53:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-22T20:53:08Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 20:53:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-22T20:53:08Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 20:53:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-22T20:53:08Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 20:53:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastasia", "properties": {"dnsName": "sfrp-cli-000002", "clientConnectionPort": + 19000, "httpGatewayConnectionPort": 19080, "adminUserName": "vmadmin", "adminPassword": + "Pass@000003", "clients": [{"isAdmin": true, "thumbprint": "123BDACDCDFB2C7B250192C6078E47D1E1DB119B"}]}, + "sku": {"name": "Basic"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + Content-Length: + - '320' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Creating\",\r\n \"clusterId\": \"3e706f81-aee2-4274-80f2-371f36b2bf3c\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"clusterCertificateThumbprint\": + \"\",\r\n \"clientConnectionPort\": 19000,\r\n \"httpGatewayConnectionPort\": + 19080,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ]\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/bcb80003-a336-4a06-ba07-5fbe8e61b33e?api-version=2020-01-01-preview + cache-control: + - no-cache + content-length: + - '897' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 20:53:14 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/bcb80003-a336-4a06-ba07-5fbe8e61b33e?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"bcb80003-a336-4a06-ba07-5fbe8e61b33e\",\r\n \"startTime\": + \"2021-03-22T20:53:14.6074666Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 30.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 20:53:46 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/bcb80003-a336-4a06-ba07-5fbe8e61b33e?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"bcb80003-a336-4a06-ba07-5fbe8e61b33e\",\r\n \"startTime\": + \"2021-03-22T20:53:14.6074666Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 40.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 20:54:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/bcb80003-a336-4a06-ba07-5fbe8e61b33e?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"bcb80003-a336-4a06-ba07-5fbe8e61b33e\",\r\n \"startTime\": + \"2021-03-22T20:53:14.6074666Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 40.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 20:54:46 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/bcb80003-a336-4a06-ba07-5fbe8e61b33e?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"bcb80003-a336-4a06-ba07-5fbe8e61b33e\",\r\n \"startTime\": + \"2021-03-22T20:53:14.6074666Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 40.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 20:55:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/bcb80003-a336-4a06-ba07-5fbe8e61b33e?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"bcb80003-a336-4a06-ba07-5fbe8e61b33e\",\r\n \"startTime\": + \"2021-03-22T20:53:14.6074666Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 51.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 20:55:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/bcb80003-a336-4a06-ba07-5fbe8e61b33e?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"bcb80003-a336-4a06-ba07-5fbe8e61b33e\",\r\n \"startTime\": + \"2021-03-22T20:53:14.6074666Z\",\r\n \"endTime\": \"2021-03-22T20:56:05.8297375Z\",\r\n + \ \"percentComplete\": 100.0,\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '203' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 20:56:17 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3e706f81-aee2-4274-80f2-371f36b2bf3c\",\r\n + \ \"clusterState\": \"WaitingForNodes\",\r\n \"clusterUpgradeCadence\": + \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n \"dnsName\": \"sfrp-cli-000002\",\r\n + \ \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n \"clusterCertificateThumbprint\": + \"6143BD94DB96880663C1FD2024BD4DAC0D43A6D1\",\r\n \"clientConnectionPort\": + 19000,\r\n \"httpGatewayConnectionPort\": 19080,\r\n \"clients\": [\r\n + \ {\r\n \"isAdmin\": true,\r\n \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n + \ }\r\n ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1047' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 20:56:17 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"properties": {"isPrimary": true, "vmInstanceCount": 5, "dataDiskSizeGB": + 100, "vmSize": "Standard_D2", "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageOffer": "WindowsServer", "vmImageSku": "2019-Datacenter", "vmImageVersion": + "latest"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + Content-Length: + - '245' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/nodeTypes/pnt?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/nodetypes/pnt\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/nodetypes\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"pnt\",\r\n \"tags\": {},\r\n \"properties\": + {\r\n \"provisioningState\": \"Creating\",\r\n \"isPrimary\": true,\r\n + \ \"vmImagePublisher\": \"MicrosoftWindowsServer\",\r\n \"vmImageOffer\": + \"WindowsServer\",\r\n \"vmImageSku\": \"2019-Datacenter\",\r\n \"vmImageVersion\": + \"latest\",\r\n \"vmSize\": \"Standard_D2\",\r\n \"vmInstanceCount\": + 5,\r\n \"dataDiskSizeGB\": 100,\r\n \"placementProperties\": {},\r\n + \ \"capacities\": {}\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/c0a10003-39da-47f9-9087-b59789820b03?api-version=2020-01-01-preview + cache-control: + - no-cache + content-length: + - '757' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 20:56:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/c0a10003-39da-47f9-9087-b59789820b03?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"c0a10003-39da-47f9-9087-b59789820b03\",\r\n \"startTime\": + \"2021-03-22T20:56:19.9554274Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 20:56:51 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/c0a10003-39da-47f9-9087-b59789820b03?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"c0a10003-39da-47f9-9087-b59789820b03\",\r\n \"startTime\": + \"2021-03-22T20:56:19.9554274Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 20:57:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/c0a10003-39da-47f9-9087-b59789820b03?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"c0a10003-39da-47f9-9087-b59789820b03\",\r\n \"startTime\": + \"2021-03-22T20:56:19.9554274Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 20:57:51 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/c0a10003-39da-47f9-9087-b59789820b03?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"c0a10003-39da-47f9-9087-b59789820b03\",\r\n \"startTime\": + \"2021-03-22T20:56:19.9554274Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 20:58:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/c0a10003-39da-47f9-9087-b59789820b03?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"c0a10003-39da-47f9-9087-b59789820b03\",\r\n \"startTime\": + \"2021-03-22T20:56:19.9554274Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 20:58:51 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/c0a10003-39da-47f9-9087-b59789820b03?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"c0a10003-39da-47f9-9087-b59789820b03\",\r\n \"startTime\": + \"2021-03-22T20:56:19.9554274Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 20:59:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/c0a10003-39da-47f9-9087-b59789820b03?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"c0a10003-39da-47f9-9087-b59789820b03\",\r\n \"startTime\": + \"2021-03-22T20:56:19.9554274Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 20:59:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/c0a10003-39da-47f9-9087-b59789820b03?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"c0a10003-39da-47f9-9087-b59789820b03\",\r\n \"startTime\": + \"2021-03-22T20:56:19.9554274Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:00:22 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/c0a10003-39da-47f9-9087-b59789820b03?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"c0a10003-39da-47f9-9087-b59789820b03\",\r\n \"startTime\": + \"2021-03-22T20:56:19.9554274Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:00:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/c0a10003-39da-47f9-9087-b59789820b03?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"c0a10003-39da-47f9-9087-b59789820b03\",\r\n \"startTime\": + \"2021-03-22T20:56:19.9554274Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:01:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/c0a10003-39da-47f9-9087-b59789820b03?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"c0a10003-39da-47f9-9087-b59789820b03\",\r\n \"startTime\": + \"2021-03-22T20:56:19.9554274Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:01:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/c0a10003-39da-47f9-9087-b59789820b03?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"c0a10003-39da-47f9-9087-b59789820b03\",\r\n \"startTime\": + \"2021-03-22T20:56:19.9554274Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:02:24 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/c0a10003-39da-47f9-9087-b59789820b03?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"c0a10003-39da-47f9-9087-b59789820b03\",\r\n \"startTime\": + \"2021-03-22T20:56:19.9554274Z\",\r\n \"endTime\": \"2021-03-22T21:02:24.4063135Z\",\r\n + \ \"percentComplete\": 100.0,\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '203' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:02:54 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/nodeTypes/pnt?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/nodetypes/pnt\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/nodetypes\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"pnt\",\r\n \"tags\": {},\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"isPrimary\": true,\r\n + \ \"vmImagePublisher\": \"MicrosoftWindowsServer\",\r\n \"vmImageOffer\": + \"WindowsServer\",\r\n \"vmImageSku\": \"2019-Datacenter\",\r\n \"vmImageVersion\": + \"latest\",\r\n \"vmSize\": \"Standard_D2\",\r\n \"vmInstanceCount\": + 5,\r\n \"dataDiskSizeGB\": 100,\r\n \"placementProperties\": {},\r\n + \ \"capacities\": {}\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '758' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:02:55 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster show + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3e706f81-aee2-4274-80f2-371f36b2bf3c\",\r\n + \ \"clusterState\": \"Deploying\",\r\n \"clusterCodeVersion\": \"7.2.432.9590\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"clusterCertificateThumbprint\": \"6143BD94DB96880663C1FD2024BD4DAC0D43A6D1\",\r\n + \ \"clientConnectionPort\": 19000,\r\n \"httpGatewayConnectionPort\": + 19080,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1084' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:02:56 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster show + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3e706f81-aee2-4274-80f2-371f36b2bf3c\",\r\n + \ \"clusterState\": \"Deploying\",\r\n \"clusterCodeVersion\": \"7.2.432.9590\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"clusterCertificateThumbprint\": \"6143BD94DB96880663C1FD2024BD4DAC0D43A6D1\",\r\n + \ \"clientConnectionPort\": 19000,\r\n \"httpGatewayConnectionPort\": + 19080,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1084' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:03:58 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster show + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3e706f81-aee2-4274-80f2-371f36b2bf3c\",\r\n + \ \"clusterState\": \"Deploying\",\r\n \"clusterCodeVersion\": \"7.2.432.9590\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"clusterCertificateThumbprint\": \"6143BD94DB96880663C1FD2024BD4DAC0D43A6D1\",\r\n + \ \"clientConnectionPort\": 19000,\r\n \"httpGatewayConnectionPort\": + 19080,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1084' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:04:59 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster show + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3e706f81-aee2-4274-80f2-371f36b2bf3c\",\r\n + \ \"clusterState\": \"BaselineUpgrade\",\r\n \"clusterCodeVersion\": + \"7.2.432.9590\",\r\n \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": + \"vmadmin\",\r\n \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"clusterCertificateThumbprint\": \"6143BD94DB96880663C1FD2024BD4DAC0D43A6D1\",\r\n + \ \"clientConnectionPort\": 19000,\r\n \"httpGatewayConnectionPort\": + 19080,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1090' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:06:00 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster show + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3e706f81-aee2-4274-80f2-371f36b2bf3c\",\r\n + \ \"clusterState\": \"BaselineUpgrade\",\r\n \"clusterCodeVersion\": + \"7.2.432.9590\",\r\n \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": + \"vmadmin\",\r\n \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"clusterCertificateThumbprint\": \"6143BD94DB96880663C1FD2024BD4DAC0D43A6D1\",\r\n + \ \"clientConnectionPort\": 19000,\r\n \"httpGatewayConnectionPort\": + 19080,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1090' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:07:01 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster show + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3e706f81-aee2-4274-80f2-371f36b2bf3c\",\r\n + \ \"clusterState\": \"BaselineUpgrade\",\r\n \"clusterCodeVersion\": + \"7.2.432.9590\",\r\n \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": + \"vmadmin\",\r\n \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"clusterCertificateThumbprint\": \"6143BD94DB96880663C1FD2024BD4DAC0D43A6D1\",\r\n + \ \"clientConnectionPort\": 19000,\r\n \"httpGatewayConnectionPort\": + 19080,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1090' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:08:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster show + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3e706f81-aee2-4274-80f2-371f36b2bf3c\",\r\n + \ \"clusterState\": \"Ready\",\r\n \"clusterCodeVersion\": \"7.2.432.9590\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"clusterCertificateThumbprint\": \"6143BD94DB96880663C1FD2024BD4DAC0D43A6D1\",\r\n + \ \"clientConnectionPort\": 19000,\r\n \"httpGatewayConnectionPort\": + 19080,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1080' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:09:04 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type version list + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-type-name + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions?api-version=2021-01-01-preview + response: + body: + string: '{"error":{"code":"NotFound","message":"Resource /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applicationTypes/VotingType + not found."}}' + headers: + cache-control: + - no-cache + content-length: + - '307' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:09:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type version create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-type-name --version --package-url --tags + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3e706f81-aee2-4274-80f2-371f36b2bf3c\",\r\n + \ \"clusterState\": \"Ready\",\r\n \"clusterCodeVersion\": \"7.2.432.9590\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"ipv4Address\": \"40.83.90.103\",\r\n \"clusterCertificateThumbprints\": + [\r\n \"6143BD94DB96880663C1FD2024BD4DAC0D43A6D1\"\r\n ],\r\n \"clientConnectionPort\": + 19000,\r\n \"httpGatewayConnectionPort\": 19080,\r\n \"allowRdpAccess\": + false,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ],\r\n \"enableAutoOSUpgrade\": false,\r\n \"zonalResiliency\": + false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1229' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:09:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type version create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-type-name --version --package-url --tags + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3e706f81-aee2-4274-80f2-371f36b2bf3c\",\r\n + \ \"clusterState\": \"Ready\",\r\n \"clusterCodeVersion\": \"7.2.432.9590\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"ipv4Address\": \"40.83.90.103\",\r\n \"clusterCertificateThumbprints\": + [\r\n \"6143BD94DB96880663C1FD2024BD4DAC0D43A6D1\"\r\n ],\r\n \"clientConnectionPort\": + 19000,\r\n \"httpGatewayConnectionPort\": 19080,\r\n \"allowRdpAccess\": + false,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ],\r\n \"enableAutoOSUpgrade\": false,\r\n \"zonalResiliency\": + false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1229' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:09:07 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type version create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-type-name --version --package-url --tags + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"value\": []\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '19' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:09:08 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastasia"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type version create + Connection: + - keep-alive + Content-Length: + - '24' + Content-Type: + - application/json + ParameterSetName: + - -g -c --application-type-name --version --package-url --tags + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applicationTypes/VotingType\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applicationTypes\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"VotingType\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-22T21:09:09.1431648+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-22T21:09:09.1431648+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '744' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:09:09 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type version create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-type-name --version --package-url --tags + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"value\": []\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '19' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:09:09 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastasia", "tags": {"key1": "value1", "key2": "value2"}, + "properties": {"appPackageUrl": "https://sfmconeboxst.blob.core.windows.net/managed-application-deployment/Voting.sfpkg"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type version create + Connection: + - keep-alive + Content-Length: + - '193' + Content-Type: + - application/json + ParameterSetName: + - -g -c --application-type-name --version --package-url --tags + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applicationTypes/versions\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"1.0.0\",\r\n \"tags\": {\r\n + \ \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-22T21:09:09.7982386+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-22T21:09:09.7982386+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n + \ \"appPackageUrl\": \"https://sfmconeboxst.blob.core.windows.net/managed-application-deployment/Voting.sfpkg\"\r\n + \ }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/d9010003-6756-4af5-94ef-9bbc6b39d272?api-version=2021-01-01-preview + cache-control: + - no-cache + content-length: + - '938' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:09:09 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperationresults/d9010003-6756-4af5-94ef-9bbc6b39d272?api-version=2021-01-01-preview + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type version create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-type-name --version --package-url --tags + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/d9010003-6756-4af5-94ef-9bbc6b39d272?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"d9010003-6756-4af5-94ef-9bbc6b39d272\",\r\n \"startTime\": + \"2021-03-22T21:09:09.9025187Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 65.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:09:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type version create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-type-name --version --package-url --tags + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/d9010003-6756-4af5-94ef-9bbc6b39d272?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"d9010003-6756-4af5-94ef-9bbc6b39d272\",\r\n \"startTime\": + \"2021-03-22T21:09:09.9025187Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 65.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:10:09 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type version create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-type-name --version --package-url --tags + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/d9010003-6756-4af5-94ef-9bbc6b39d272?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"d9010003-6756-4af5-94ef-9bbc6b39d272\",\r\n \"startTime\": + \"2021-03-22T21:09:09.9025187Z\",\r\n \"endTime\": \"2021-03-22T21:10:30.257144Z\",\r\n + \ \"percentComplete\": 100.0,\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '202' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:10:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type version create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-type-name --version --package-url --tags + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applicationTypes/versions\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"1.0.0\",\r\n \"tags\": {\r\n + \ \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-22T21:09:09.7982386+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-22T21:09:09.7982386+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"appPackageUrl\": \"https://sfmconeboxst.blob.core.windows.net/managed-application-deployment/Voting.sfpkg\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '939' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:10:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type version show + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-type-name --version + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applicationTypes/versions\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"1.0.0\",\r\n \"tags\": {\r\n + \ \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-22T21:09:09.7982386+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-22T21:09:09.7982386+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"appPackageUrl\": \"https://sfmconeboxst.blob.core.windows.net/managed-application-deployment/Voting.sfpkg\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '939' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:10:43 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type version update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-type-name --version --tags + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applicationTypes/versions\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"1.0.0\",\r\n \"tags\": {\r\n + \ \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n },\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-22T21:09:09.7982386+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-22T21:09:09.7982386+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"appPackageUrl\": \"https://sfmconeboxst.blob.core.windows.net/managed-application-deployment/Voting.sfpkg\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '939' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:10:43 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastasia", "tags": {"key2": "value3"}, "properties": {"appPackageUrl": + "https://sfmconeboxst.blob.core.windows.net/managed-application-deployment/Voting.sfpkg"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type version update + Connection: + - keep-alive + Content-Length: + - '175' + Content-Type: + - application/json + ParameterSetName: + - -g -c --application-type-name --version --tags + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applicationTypes/versions\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"1.0.0\",\r\n \"tags\": {\r\n + \ \"key2\": \"value3\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": + \"luslevin@microsoft.com\",\r\n \"createdByType\": \"User\",\r\n \"createdAt\": + \"2021-03-22T21:10:44.9472538+00:00\",\r\n \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n + \ \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": \"2021-03-22T21:10:44.9472538+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"appPackageUrl\": \"https://sfmconeboxst.blob.core.windows.net/managed-application-deployment/Voting.sfpkg\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:10:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type version show + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-type-name --version + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applicationTypes/versions\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"1.0.0\",\r\n \"tags\": {\r\n + \ \"key2\": \"value3\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": + \"luslevin@microsoft.com\",\r\n \"createdByType\": \"User\",\r\n \"createdAt\": + \"2021-03-22T21:10:44.9472538+00:00\",\r\n \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n + \ \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": \"2021-03-22T21:10:44.9472538+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"appPackageUrl\": \"https://sfmconeboxst.blob.core.windows.net/managed-application-deployment/Voting.sfpkg\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:10:46 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type version delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -c --application-type-name --version + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applicationTypes/versions\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"1.0.0\",\r\n \"tags\": {\r\n + \ \"key2\": \"value3\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": + \"luslevin@microsoft.com\",\r\n \"createdByType\": \"User\",\r\n \"createdAt\": + \"2021-03-22T21:10:44.9472538+00:00\",\r\n \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n + \ \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": \"2021-03-22T21:10:44.9472538+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\",\r\n + \ \"appPackageUrl\": \"https://sfmconeboxst.blob.core.windows.net/managed-application-deployment/Voting.sfpkg\"\r\n + \ }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/75900003-0658-40bb-a7d6-c546d92f8df3?api-version=2021-01-01-preview + cache-control: + - no-cache + content-length: + - '915' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:10:47 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperationresults/75900003-0658-40bb-a7d6-c546d92f8df3?api-version=2021-01-01-preview + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type version delete + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-type-name --version + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/75900003-0658-40bb-a7d6-c546d92f8df3?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"75900003-0658-40bb-a7d6-c546d92f8df3\",\r\n \"startTime\": + \"2021-03-22T21:10:47.5330338Z\",\r\n \"endTime\": \"2021-03-22T21:10:57.6451825Z\",\r\n + \ \"percentComplete\": 100.0,\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '203' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:11:17 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type version show + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-type-name --version + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0?api-version=2021-01-01-preview + response: + body: + string: '{"error":{"code":"NotFound","message":"GetEntityFromTable: the ApplicationTypeVersionData + 3e706f81-aee2-4274-80f2-371f36b2bf3c&votingtype&1.0.0 could not be found."}}' + headers: + cache-control: + - no-cache + content-length: + - '166' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 22 Mar 2021 21:11:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/servicefabric/tests/latest/recordings/test_managed_application.yaml b/src/azure-cli/azure/cli/command_modules/servicefabric/tests/latest/recordings/test_managed_application.yaml new file mode 100644 index 00000000000..fc479e605a3 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/servicefabric/tests/latest/recordings/test_managed_application.yaml @@ -0,0 +1,5338 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-23T00:05:02Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:05:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-23T00:05:02Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:05:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-23T00:05:02Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:05:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-23T00:05:02Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:05:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-23T00:05:02Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:05:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-23T00:05:02Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:05:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-23T00:05:02Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:05:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-23T00:05:02Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:05:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-23T00:05:02Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:05:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-23T00:05:02Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:05:04 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-23T00:05:02Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:05:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-23T00:05:02Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:05:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastasia", "properties": {"dnsName": "sfrp-cli-000002", "clientConnectionPort": + 19000, "httpGatewayConnectionPort": 19080, "adminUserName": "vmadmin", "adminPassword": + "Pass@000003", "clients": [{"isAdmin": true, "thumbprint": "123BDACDCDFB2C7B250192C6078E47D1E1DB119B"}]}, + "sku": {"name": "Basic"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + Content-Length: + - '320' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Creating\",\r\n \"clusterId\": \"3b660dac-8b79-43f6-b467-c03a58a1e84c\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"clusterCertificateThumbprint\": + \"\",\r\n \"clientConnectionPort\": 19000,\r\n \"httpGatewayConnectionPort\": + 19080,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ]\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/6c530004-3f6d-4550-88b0-9202b2a18077?api-version=2020-01-01-preview + cache-control: + - no-cache + content-length: + - '897' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:05:08 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/6c530004-3f6d-4550-88b0-9202b2a18077?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"6c530004-3f6d-4550-88b0-9202b2a18077\",\r\n \"startTime\": + \"2021-03-23T00:05:08.5244624Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 30.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:05:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/6c530004-3f6d-4550-88b0-9202b2a18077?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"6c530004-3f6d-4550-88b0-9202b2a18077\",\r\n \"startTime\": + \"2021-03-23T00:05:08.5244624Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 40.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:06:09 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/6c530004-3f6d-4550-88b0-9202b2a18077?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"6c530004-3f6d-4550-88b0-9202b2a18077\",\r\n \"startTime\": + \"2021-03-23T00:05:08.5244624Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 40.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:06:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/6c530004-3f6d-4550-88b0-9202b2a18077?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"6c530004-3f6d-4550-88b0-9202b2a18077\",\r\n \"startTime\": + \"2021-03-23T00:05:08.5244624Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 40.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:07:10 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/6c530004-3f6d-4550-88b0-9202b2a18077?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"6c530004-3f6d-4550-88b0-9202b2a18077\",\r\n \"startTime\": + \"2021-03-23T00:05:08.5244624Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 51.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:07:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/6c530004-3f6d-4550-88b0-9202b2a18077?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"6c530004-3f6d-4550-88b0-9202b2a18077\",\r\n \"startTime\": + \"2021-03-23T00:05:08.5244624Z\",\r\n \"endTime\": \"2021-03-23T00:07:55.1676878Z\",\r\n + \ \"percentComplete\": 100.0,\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '203' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:08:10 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3b660dac-8b79-43f6-b467-c03a58a1e84c\",\r\n + \ \"clusterState\": \"WaitingForNodes\",\r\n \"clusterUpgradeCadence\": + \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n \"dnsName\": \"sfrp-cli-000002\",\r\n + \ \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n \"clusterCertificateThumbprint\": + \"90812F0E6C47F7B7D122A70ED75EADA5F3BDD6AA\",\r\n \"clientConnectionPort\": + 19000,\r\n \"httpGatewayConnectionPort\": 19080,\r\n \"clients\": [\r\n + \ {\r\n \"isAdmin\": true,\r\n \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n + \ }\r\n ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1047' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:08:10 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"properties": {"isPrimary": true, "vmInstanceCount": 5, "dataDiskSizeGB": + 100, "vmSize": "Standard_D2", "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageOffer": "WindowsServer", "vmImageSku": "2019-Datacenter", "vmImageVersion": + "latest"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + Content-Length: + - '245' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/nodeTypes/pnt?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/nodetypes/pnt\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/nodetypes\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"pnt\",\r\n \"tags\": {},\r\n \"properties\": + {\r\n \"provisioningState\": \"Creating\",\r\n \"isPrimary\": true,\r\n + \ \"vmImagePublisher\": \"MicrosoftWindowsServer\",\r\n \"vmImageOffer\": + \"WindowsServer\",\r\n \"vmImageSku\": \"2019-Datacenter\",\r\n \"vmImageVersion\": + \"latest\",\r\n \"vmSize\": \"Standard_D2\",\r\n \"vmInstanceCount\": + 5,\r\n \"dataDiskSizeGB\": 100,\r\n \"placementProperties\": {},\r\n + \ \"capacities\": {}\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/a5bb0004-875f-469f-a750-578105e00d0f?api-version=2020-01-01-preview + cache-control: + - no-cache + content-length: + - '757' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:08:13 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/a5bb0004-875f-469f-a750-578105e00d0f?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"a5bb0004-875f-469f-a750-578105e00d0f\",\r\n \"startTime\": + \"2021-03-23T00:08:13.1095978Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:08:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/a5bb0004-875f-469f-a750-578105e00d0f?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"a5bb0004-875f-469f-a750-578105e00d0f\",\r\n \"startTime\": + \"2021-03-23T00:08:13.1095978Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:09:14 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/a5bb0004-875f-469f-a750-578105e00d0f?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"a5bb0004-875f-469f-a750-578105e00d0f\",\r\n \"startTime\": + \"2021-03-23T00:08:13.1095978Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:09:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/a5bb0004-875f-469f-a750-578105e00d0f?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"a5bb0004-875f-469f-a750-578105e00d0f\",\r\n \"startTime\": + \"2021-03-23T00:08:13.1095978Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:10:15 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/a5bb0004-875f-469f-a750-578105e00d0f?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"a5bb0004-875f-469f-a750-578105e00d0f\",\r\n \"startTime\": + \"2021-03-23T00:08:13.1095978Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:10:45 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/a5bb0004-875f-469f-a750-578105e00d0f?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"a5bb0004-875f-469f-a750-578105e00d0f\",\r\n \"startTime\": + \"2021-03-23T00:08:13.1095978Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:11:15 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/a5bb0004-875f-469f-a750-578105e00d0f?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"a5bb0004-875f-469f-a750-578105e00d0f\",\r\n \"startTime\": + \"2021-03-23T00:08:13.1095978Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:11:45 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/a5bb0004-875f-469f-a750-578105e00d0f?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"a5bb0004-875f-469f-a750-578105e00d0f\",\r\n \"startTime\": + \"2021-03-23T00:08:13.1095978Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:12:15 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/a5bb0004-875f-469f-a750-578105e00d0f?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"a5bb0004-875f-469f-a750-578105e00d0f\",\r\n \"startTime\": + \"2021-03-23T00:08:13.1095978Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:12:46 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/a5bb0004-875f-469f-a750-578105e00d0f?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"a5bb0004-875f-469f-a750-578105e00d0f\",\r\n \"startTime\": + \"2021-03-23T00:08:13.1095978Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:13:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/a5bb0004-875f-469f-a750-578105e00d0f?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"a5bb0004-875f-469f-a750-578105e00d0f\",\r\n \"startTime\": + \"2021-03-23T00:08:13.1095978Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:13:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/a5bb0004-875f-469f-a750-578105e00d0f?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"a5bb0004-875f-469f-a750-578105e00d0f\",\r\n \"startTime\": + \"2021-03-23T00:08:13.1095978Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:14:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/a5bb0004-875f-469f-a750-578105e00d0f?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"a5bb0004-875f-469f-a750-578105e00d0f\",\r\n \"startTime\": + \"2021-03-23T00:08:13.1095978Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:14:46 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/a5bb0004-875f-469f-a750-578105e00d0f?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"a5bb0004-875f-469f-a750-578105e00d0f\",\r\n \"startTime\": + \"2021-03-23T00:08:13.1095978Z\",\r\n \"endTime\": \"2021-03-23T00:15:16.7416108Z\",\r\n + \ \"percentComplete\": 100.0,\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '203' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:15:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/nodeTypes/pnt?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/nodetypes/pnt\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/nodetypes\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"pnt\",\r\n \"tags\": {},\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"isPrimary\": true,\r\n + \ \"vmImagePublisher\": \"MicrosoftWindowsServer\",\r\n \"vmImageOffer\": + \"WindowsServer\",\r\n \"vmImageSku\": \"2019-Datacenter\",\r\n \"vmImageVersion\": + \"latest\",\r\n \"vmSize\": \"Standard_D2\",\r\n \"vmInstanceCount\": + 5,\r\n \"dataDiskSizeGB\": 100,\r\n \"placementProperties\": {},\r\n + \ \"capacities\": {}\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '758' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:15:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster show + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3b660dac-8b79-43f6-b467-c03a58a1e84c\",\r\n + \ \"clusterState\": \"Deploying\",\r\n \"clusterCodeVersion\": \"7.2.432.9590\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"clusterCertificateThumbprint\": \"90812F0E6C47F7B7D122A70ED75EADA5F3BDD6AA\",\r\n + \ \"clientConnectionPort\": 19000,\r\n \"httpGatewayConnectionPort\": + 19080,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1084' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:15:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster show + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3b660dac-8b79-43f6-b467-c03a58a1e84c\",\r\n + \ \"clusterState\": \"Deploying\",\r\n \"clusterCodeVersion\": \"7.2.432.9590\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"clusterCertificateThumbprint\": \"90812F0E6C47F7B7D122A70ED75EADA5F3BDD6AA\",\r\n + \ \"clientConnectionPort\": 19000,\r\n \"httpGatewayConnectionPort\": + 19080,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1084' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:16:22 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster show + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3b660dac-8b79-43f6-b467-c03a58a1e84c\",\r\n + \ \"clusterState\": \"Deploying\",\r\n \"clusterCodeVersion\": \"7.2.432.9590\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"clusterCertificateThumbprint\": \"90812F0E6C47F7B7D122A70ED75EADA5F3BDD6AA\",\r\n + \ \"clientConnectionPort\": 19000,\r\n \"httpGatewayConnectionPort\": + 19080,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1084' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:17:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster show + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3b660dac-8b79-43f6-b467-c03a58a1e84c\",\r\n + \ \"clusterState\": \"BaselineUpgrade\",\r\n \"clusterCodeVersion\": + \"7.2.432.9590\",\r\n \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": + \"vmadmin\",\r\n \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"clusterCertificateThumbprint\": \"90812F0E6C47F7B7D122A70ED75EADA5F3BDD6AA\",\r\n + \ \"clientConnectionPort\": 19000,\r\n \"httpGatewayConnectionPort\": + 19080,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1090' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:18:24 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster show + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3b660dac-8b79-43f6-b467-c03a58a1e84c\",\r\n + \ \"clusterState\": \"BaselineUpgrade\",\r\n \"clusterCodeVersion\": + \"7.2.432.9590\",\r\n \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": + \"vmadmin\",\r\n \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"clusterCertificateThumbprint\": \"90812F0E6C47F7B7D122A70ED75EADA5F3BDD6AA\",\r\n + \ \"clientConnectionPort\": 19000,\r\n \"httpGatewayConnectionPort\": + 19080,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1090' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:19:25 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster show + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3b660dac-8b79-43f6-b467-c03a58a1e84c\",\r\n + \ \"clusterState\": \"BaselineUpgrade\",\r\n \"clusterCodeVersion\": + \"7.2.432.9590\",\r\n \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": + \"vmadmin\",\r\n \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"clusterCertificateThumbprint\": \"90812F0E6C47F7B7D122A70ED75EADA5F3BDD6AA\",\r\n + \ \"clientConnectionPort\": 19000,\r\n \"httpGatewayConnectionPort\": + 19080,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1090' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:20:27 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster show + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3b660dac-8b79-43f6-b467-c03a58a1e84c\",\r\n + \ \"clusterState\": \"Ready\",\r\n \"clusterCodeVersion\": \"7.2.432.9590\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"clusterCertificateThumbprint\": \"90812F0E6C47F7B7D122A70ED75EADA5F3BDD6AA\",\r\n + \ \"clientConnectionPort\": 19000,\r\n \"httpGatewayConnectionPort\": + 19080,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1080' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:21:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application list + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"value\": []\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '19' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:21:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-name --application-type-version + --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3b660dac-8b79-43f6-b467-c03a58a1e84c\",\r\n + \ \"clusterState\": \"Ready\",\r\n \"clusterCodeVersion\": \"7.2.432.9590\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"ipv4Address\": \"40.83.90.226\",\r\n \"clusterCertificateThumbprints\": + [\r\n \"90812F0E6C47F7B7D122A70ED75EADA5F3BDD6AA\"\r\n ],\r\n \"clientConnectionPort\": + 19000,\r\n \"httpGatewayConnectionPort\": 19080,\r\n \"allowRdpAccess\": + false,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ],\r\n \"enableAutoOSUpgrade\": false,\r\n \"zonalResiliency\": + false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1229' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:21:30 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-name --application-type-version + --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3b660dac-8b79-43f6-b467-c03a58a1e84c\",\r\n + \ \"clusterState\": \"Ready\",\r\n \"clusterCodeVersion\": \"7.2.432.9590\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"ipv4Address\": \"40.83.90.226\",\r\n \"clusterCertificateThumbprints\": + [\r\n \"90812F0E6C47F7B7D122A70ED75EADA5F3BDD6AA\"\r\n ],\r\n \"clientConnectionPort\": + 19000,\r\n \"httpGatewayConnectionPort\": 19080,\r\n \"allowRdpAccess\": + false,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ],\r\n \"enableAutoOSUpgrade\": false,\r\n \"zonalResiliency\": + false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1229' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:21:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-name --application-type-version + --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3b660dac-8b79-43f6-b467-c03a58a1e84c\",\r\n + \ \"clusterState\": \"Ready\",\r\n \"clusterCodeVersion\": \"7.2.432.9590\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"ipv4Address\": \"40.83.90.226\",\r\n \"clusterCertificateThumbprints\": + [\r\n \"90812F0E6C47F7B7D122A70ED75EADA5F3BDD6AA\"\r\n ],\r\n \"clientConnectionPort\": + 19000,\r\n \"httpGatewayConnectionPort\": 19080,\r\n \"allowRdpAccess\": + false,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ],\r\n \"enableAutoOSUpgrade\": false,\r\n \"zonalResiliency\": + false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1229' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:21:33 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-name --application-type-version + --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"value\": []\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '19' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:21:33 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastasia"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application create + Connection: + - keep-alive + Content-Length: + - '24' + Content-Type: + - application/json + ParameterSetName: + - -g -c --application-name --application-type-name --application-type-version + --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applicationTypes/VotingType\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applicationTypes\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"VotingType\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:21:34.617332+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:21:34.617332+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '742' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:21:34 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-name --application-type-version + --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"value\": []\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '19' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:21:34 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastasia", "properties": {"appPackageUrl": "https://sfmconeboxst.blob.core.windows.net/managed-application-deployment/Voting.sfpkg"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application create + Connection: + - keep-alive + Content-Length: + - '147' + Content-Type: + - application/json + ParameterSetName: + - -g -c --application-name --application-type-name --application-type-version + --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applicationTypes/versions\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"1.0.0\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:21:35.2723939+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:21:35.2723939+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n + \ \"appPackageUrl\": \"https://sfmconeboxst.blob.core.windows.net/managed-application-deployment/Voting.sfpkg\"\r\n + \ }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/3ee40004-5ab8-40a5-95f4-3181db8ba6b0?api-version=2021-01-01-preview + cache-control: + - no-cache + content-length: + - '874' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:21:35 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperationresults/3ee40004-5ab8-40a5-95f4-3181db8ba6b0?api-version=2021-01-01-preview + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-name --application-type-version + --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/3ee40004-5ab8-40a5-95f4-3181db8ba6b0?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"3ee40004-5ab8-40a5-95f4-3181db8ba6b0\",\r\n \"startTime\": + \"2021-03-23T00:21:35.3781633Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 65.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:22:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-name --application-type-version + --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/3ee40004-5ab8-40a5-95f4-3181db8ba6b0?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"3ee40004-5ab8-40a5-95f4-3181db8ba6b0\",\r\n \"startTime\": + \"2021-03-23T00:21:35.3781633Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 65.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:22:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-name --application-type-version + --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/3ee40004-5ab8-40a5-95f4-3181db8ba6b0?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"3ee40004-5ab8-40a5-95f4-3181db8ba6b0\",\r\n \"startTime\": + \"2021-03-23T00:21:35.3781633Z\",\r\n \"endTime\": \"2021-03-23T00:22:45.6228543Z\",\r\n + \ \"percentComplete\": 100.0,\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '203' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:23:06 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-name --application-type-version + --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applicationTypes/versions\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"1.0.0\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:21:35.2723939+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:21:35.2723939+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"appPackageUrl\": \"https://sfmconeboxst.blob.core.windows.net/managed-application-deployment/Voting.sfpkg\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '875' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:23:06 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-name --application-type-version + --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"value\": []\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '19' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:23:07 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastasia", "properties": {"version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application create + Connection: + - keep-alive + Content-Length: + - '315' + Content-Type: + - application/json + ParameterSetName: + - -g -c --application-name --application-type-name --application-type-version + --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testApp000004\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:23:07.7977656+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:23:07.7977656+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n + \ \"version\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0\"\r\n + \ }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/98660004-8cd9-4c4f-bb7a-a0259db4fb43?api-version=2021-01-01-preview + cache-control: + - no-cache + content-length: + - '1017' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:23:07 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperationresults/98660004-8cd9-4c4f-bb7a-a0259db4fb43?api-version=2021-01-01-preview + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-name --application-type-version + --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/98660004-8cd9-4c4f-bb7a-a0259db4fb43?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"98660004-8cd9-4c4f-bb7a-a0259db4fb43\",\r\n \"startTime\": + \"2021-03-23T00:23:07.8913612Z\",\r\n \"endTime\": \"2021-03-23T00:23:09.5477199Z\",\r\n + \ \"percentComplete\": 100.0,\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '203' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:23:37 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-name --application-type-version + --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testApp000004\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:23:07.7977656+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:23:07.7977656+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"version\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1018' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:23:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application show + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testApp000004\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:23:07.7977656+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:23:07.7977656+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"version\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1018' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:23:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --state --instance-count -1 --service-name --service-type + --partition-scheme + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3b660dac-8b79-43f6-b467-c03a58a1e84c\",\r\n + \ \"clusterState\": \"Ready\",\r\n \"clusterCodeVersion\": \"7.2.432.9590\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"ipv4Address\": \"40.83.90.226\",\r\n \"clusterCertificateThumbprints\": + [\r\n \"90812F0E6C47F7B7D122A70ED75EADA5F3BDD6AA\"\r\n ],\r\n \"clientConnectionPort\": + 19000,\r\n \"httpGatewayConnectionPort\": 19080,\r\n \"allowRdpAccess\": + false,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ],\r\n \"enableAutoOSUpgrade\": false,\r\n \"zonalResiliency\": + false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1229' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:23:41 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --state --instance-count -1 --service-name --service-type + --partition-scheme + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"value\": []\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '19' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:23:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastasia", "properties": {"correlationScheme": [], "serviceLoadMetrics": + [], "serviceKind": "Stateless", "serviceTypeName": "VotingWebType", "partitionDescription": + {"partitionScheme": "Singleton"}, "instanceCount": -1, "instanceCloseDelayDuration": + "0"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service create + Connection: + - keep-alive + Content-Length: + - '269' + Content-Type: + - application/json + ParameterSetName: + - -g -c --application-name --state --instance-count -1 --service-name --service-type + --partition-scheme + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc2000006\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:23:43.390589+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:23:43.390589+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n + \ \"serviceKind\": \"Stateless\",\r\n \"serviceTypeName\": \"VotingWebType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"Singleton\"\r\n + \ },\r\n \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n + \ \"instanceCount\": -1,\r\n \"instanceCloseDelayDuration\": \"00:00:00\"\r\n + \ }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/c1b40004-f0c7-40c2-9322-67d9440ff990?api-version=2021-01-01-preview + cache-control: + - no-cache + content-length: + - '1068' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:23:42 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperationresults/c1b40004-f0c7-40c2-9322-67d9440ff990?api-version=2021-01-01-preview + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --state --instance-count -1 --service-name --service-type + --partition-scheme + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/c1b40004-f0c7-40c2-9322-67d9440ff990?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"c1b40004-f0c7-40c2-9322-67d9440ff990\",\r\n \"startTime\": + \"2021-03-23T00:23:43.4895013Z\",\r\n \"endTime\": \"2021-03-23T00:23:43.8488878Z\",\r\n + \ \"percentComplete\": 100.0,\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '203' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:24:13 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --state --instance-count -1 --service-name --service-type + --partition-scheme + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc2000006\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:23:43.390589+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:23:43.390589+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateless\",\r\n \"serviceTypeName\": \"VotingWebType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"Singleton\"\r\n + \ },\r\n \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n + \ \"instanceCount\": -1,\r\n \"instanceCloseDelayDuration\": \"00:00:00\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1069' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:24:14 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service show + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc2000006\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:23:43.390589+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:23:43.390589+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateless\",\r\n \"serviceTypeName\": \"VotingWebType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"Singleton\"\r\n + \ },\r\n \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n + \ \"instanceCount\": -1,\r\n \"instanceCloseDelayDuration\": \"00:00:00\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1069' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:24:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type version create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-type-name --version --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3b660dac-8b79-43f6-b467-c03a58a1e84c\",\r\n + \ \"clusterState\": \"Ready\",\r\n \"clusterCodeVersion\": \"7.2.432.9590\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"ipv4Address\": \"40.83.90.226\",\r\n \"clusterCertificateThumbprints\": + [\r\n \"90812F0E6C47F7B7D122A70ED75EADA5F3BDD6AA\"\r\n ],\r\n \"clientConnectionPort\": + 19000,\r\n \"httpGatewayConnectionPort\": 19080,\r\n \"allowRdpAccess\": + false,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ],\r\n \"enableAutoOSUpgrade\": false,\r\n \"zonalResiliency\": + false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1229' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:24:17 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type version create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-type-name --version --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3b660dac-8b79-43f6-b467-c03a58a1e84c\",\r\n + \ \"clusterState\": \"Ready\",\r\n \"clusterCodeVersion\": \"7.2.432.9590\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"ipv4Address\": \"40.83.90.226\",\r\n \"clusterCertificateThumbprints\": + [\r\n \"90812F0E6C47F7B7D122A70ED75EADA5F3BDD6AA\"\r\n ],\r\n \"clientConnectionPort\": + 19000,\r\n \"httpGatewayConnectionPort\": 19080,\r\n \"allowRdpAccess\": + false,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ],\r\n \"enableAutoOSUpgrade\": false,\r\n \"zonalResiliency\": + false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1229' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:24:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type version create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-type-name --version --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applicationTypes/VotingType\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applicationTypes\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"VotingType\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:21:34.617332+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:21:34.617332+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n + \ }\r\n }\r\n ]\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '835' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:24:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type version create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-type-name --version --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applicationTypes/versions\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"1.0.0\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:21:35.2723939+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:21:35.2723939+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"appPackageUrl\": \"https://sfmconeboxst.blob.core.windows.net/managed-application-deployment/Voting.sfpkg\"\r\n + \ }\r\n }\r\n ]\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '972' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:24:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastasia", "properties": {"appPackageUrl": "https://sfmconeboxst.blob.core.windows.net/managed-application-deployment/Voting.2.0.0.sfpkg"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type version create + Connection: + - keep-alive + Content-Length: + - '153' + Content-Type: + - application/json + ParameterSetName: + - -g -c --application-type-name --version --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions/2.0.0?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applicationTypes/VotingType/versions/2.0.0\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applicationTypes/versions\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"2.0.0\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:24:20.8215923+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:24:20.8215923+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n + \ \"appPackageUrl\": \"https://sfmconeboxst.blob.core.windows.net/managed-application-deployment/Voting.2.0.0.sfpkg\"\r\n + \ }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/e1750004-0efa-47e3-8edf-5883a3b6d074?api-version=2021-01-01-preview + cache-control: + - no-cache + content-length: + - '880' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:24:21 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperationresults/e1750004-0efa-47e3-8edf-5883a3b6d074?api-version=2021-01-01-preview + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type version create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-type-name --version --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/e1750004-0efa-47e3-8edf-5883a3b6d074?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"e1750004-0efa-47e3-8edf-5883a3b6d074\",\r\n \"startTime\": + \"2021-03-23T00:24:20.9309426Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 65.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:24:51 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type version create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-type-name --version --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/e1750004-0efa-47e3-8edf-5883a3b6d074?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"e1750004-0efa-47e3-8edf-5883a3b6d074\",\r\n \"startTime\": + \"2021-03-23T00:24:20.9309426Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 65.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:25:21 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type version create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-type-name --version --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/e1750004-0efa-47e3-8edf-5883a3b6d074?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"e1750004-0efa-47e3-8edf-5883a3b6d074\",\r\n \"startTime\": + \"2021-03-23T00:24:20.9309426Z\",\r\n \"endTime\": \"2021-03-23T00:25:31.3718454Z\",\r\n + \ \"percentComplete\": 100.0,\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '203' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:25:51 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type version create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-type-name --version --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions/2.0.0?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applicationTypes/VotingType/versions/2.0.0\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applicationTypes/versions\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"2.0.0\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:24:20.8215923+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:24:20.8215923+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"appPackageUrl\": \"https://sfmconeboxst.blob.core.windows.net/managed-application-deployment/Voting.2.0.0.sfpkg\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '881' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:25:51 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-version --health-check-stable-duration + --health-check-wait-duration --health-check-retry-timeout --upgrade-domain-timeout + --upgrade-timeout --failure-action --upgrade-replica-set-check-timeout --force-restart + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testApp000004\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:23:07.7977656+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:23:07.7977656+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"version\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1018' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:25:54 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-version --health-check-stable-duration + --health-check-wait-duration --health-check-retry-timeout --upgrade-domain-timeout + --upgrade-timeout --failure-action --upgrade-replica-set-check-timeout --force-restart + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions/2.0.0?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applicationTypes/VotingType/versions/2.0.0\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applicationTypes/versions\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"2.0.0\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:24:20.8215923+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:24:20.8215923+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"appPackageUrl\": \"https://sfmconeboxst.blob.core.windows.net/managed-application-deployment/Voting.2.0.0.sfpkg\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '881' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:25:54 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-version --health-check-stable-duration + --health-check-wait-duration --health-check-retry-timeout --upgrade-domain-timeout + --upgrade-timeout --failure-action --upgrade-replica-set-check-timeout --force-restart + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testApp000004\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:23:07.7977656+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:23:07.7977656+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"version\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1018' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:25:55 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-version --health-check-stable-duration + --health-check-wait-duration --health-check-retry-timeout --upgrade-domain-timeout + --upgrade-timeout --failure-action --upgrade-replica-set-check-timeout --force-restart + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions/2.0.0?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applicationTypes/VotingType/versions/2.0.0\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applicationTypes/versions\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"2.0.0\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:24:20.8215923+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:24:20.8215923+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"appPackageUrl\": \"https://sfmconeboxst.blob.core.windows.net/managed-application-deployment/Voting.2.0.0.sfpkg\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '881' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:25:55 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-version --health-check-stable-duration + --health-check-wait-duration --health-check-retry-timeout --upgrade-domain-timeout + --upgrade-timeout --failure-action --upgrade-replica-set-check-timeout --force-restart + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testApp000004\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:23:07.7977656+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:23:07.7977656+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"version\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1018' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:25:56 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastasia", "properties": {"version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions/2.0.0", + "upgradePolicy": {"applicationHealthPolicy": {"considerWarningAsError": false, + "maxPercentUnhealthyDeployedApplications": 0, "defaultServiceTypeHealthPolicy": + {"maxPercentUnhealthyServices": 0, "maxPercentUnhealthyPartitionsPerService": + 0, "maxPercentUnhealthyReplicasPerPartition": 0}}, "forceRestart": true, "rollingUpgradeMonitoringPolicy": + {"failureAction": "Rollback", "healthCheckWaitDuration": "00:00:00", "healthCheckStableDuration": + "00:00:00", "healthCheckRetryTimeout": "00:00:00", "upgradeTimeout": "01:56:40", + "upgradeDomainTimeout": "01:23:20"}, "upgradeReplicaSetCheckTimeout": 300, "recreateApplication": + false}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application update + Connection: + - keep-alive + Content-Length: + - '944' + Content-Type: + - application/json + ParameterSetName: + - -g -c --application-name --application-type-version --health-check-stable-duration + --health-check-wait-duration --health-check-retry-timeout --upgrade-domain-timeout + --upgrade-timeout --failure-action --upgrade-replica-set-check-timeout --force-restart + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testApp000004\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:25:57.1753167+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:25:57.1753167+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"upgradePolicy\": {\r\n \"applicationHealthPolicy\": {\r\n \"considerWarningAsError\": + false,\r\n \"maxPercentUnhealthyDeployedApplications\": 0,\r\n \"defaultServiceTypeHealthPolicy\": + {\r\n \"maxPercentUnhealthyServices\": 0,\r\n \"maxPercentUnhealthyPartitionsPerService\": + 0,\r\n \"maxPercentUnhealthyReplicasPerPartition\": 0\r\n },\r\n + \ \"serviceTypeHealthPolicyMap\": {}\r\n },\r\n \"rollingUpgradeMonitoringPolicy\": + {\r\n \"failureAction\": \"Rollback\",\r\n \"healthCheckRetryTimeout\": + \"00:00:00\",\r\n \"healthCheckWaitDuration\": \"00:00:00\",\r\n \"healthCheckStableDuration\": + \"00:00:00\",\r\n \"upgradeDomainTimeout\": \"01:23:20\",\r\n \"upgradeTimeout\": + \"01:56:40\"\r\n },\r\n \"upgradeReplicaSetCheckTimeout\": 300,\r\n + \ \"forceRestart\": true,\r\n \"recreateApplication\": false\r\n + \ },\r\n \"version\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions/2.0.0\"\r\n + \ }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/42f00004-a960-4300-8225-79b64dd499d8?api-version=2021-01-01-preview + cache-control: + - no-cache + content-length: + - '1879' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:25:56 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperationresults/42f00004-a960-4300-8225-79b64dd499d8?api-version=2021-01-01-preview + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-version --health-check-stable-duration + --health-check-wait-duration --health-check-retry-timeout --upgrade-domain-timeout + --upgrade-timeout --failure-action --upgrade-replica-set-check-timeout --force-restart + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/42f00004-a960-4300-8225-79b64dd499d8?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"42f00004-a960-4300-8225-79b64dd499d8\",\r\n \"startTime\": + \"2021-03-23T00:25:57.3289515Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 1.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '190' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:26:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-version --health-check-stable-duration + --health-check-wait-duration --health-check-retry-timeout --upgrade-domain-timeout + --upgrade-timeout --failure-action --upgrade-replica-set-check-timeout --force-restart + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/42f00004-a960-4300-8225-79b64dd499d8?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"42f00004-a960-4300-8225-79b64dd499d8\",\r\n \"startTime\": + \"2021-03-23T00:25:57.3289515Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 1.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '190' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:26:57 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-version --health-check-stable-duration + --health-check-wait-duration --health-check-retry-timeout --upgrade-domain-timeout + --upgrade-timeout --failure-action --upgrade-replica-set-check-timeout --force-restart + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/42f00004-a960-4300-8225-79b64dd499d8?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"42f00004-a960-4300-8225-79b64dd499d8\",\r\n \"startTime\": + \"2021-03-23T00:25:57.3289515Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 1.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '190' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:27:27 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-version --health-check-stable-duration + --health-check-wait-duration --health-check-retry-timeout --upgrade-domain-timeout + --upgrade-timeout --failure-action --upgrade-replica-set-check-timeout --force-restart + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/42f00004-a960-4300-8225-79b64dd499d8?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"42f00004-a960-4300-8225-79b64dd499d8\",\r\n \"startTime\": + \"2021-03-23T00:25:57.3289515Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 1.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '190' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:27:57 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-version --health-check-stable-duration + --health-check-wait-duration --health-check-retry-timeout --upgrade-domain-timeout + --upgrade-timeout --failure-action --upgrade-replica-set-check-timeout --force-restart + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/42f00004-a960-4300-8225-79b64dd499d8?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"42f00004-a960-4300-8225-79b64dd499d8\",\r\n \"startTime\": + \"2021-03-23T00:25:57.3289515Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 1.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '190' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:28:27 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-version --health-check-stable-duration + --health-check-wait-duration --health-check-retry-timeout --upgrade-domain-timeout + --upgrade-timeout --failure-action --upgrade-replica-set-check-timeout --force-restart + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/42f00004-a960-4300-8225-79b64dd499d8?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"42f00004-a960-4300-8225-79b64dd499d8\",\r\n \"startTime\": + \"2021-03-23T00:25:57.3289515Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 1.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '190' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:28:58 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-version --health-check-stable-duration + --health-check-wait-duration --health-check-retry-timeout --upgrade-domain-timeout + --upgrade-timeout --failure-action --upgrade-replica-set-check-timeout --force-restart + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/42f00004-a960-4300-8225-79b64dd499d8?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"42f00004-a960-4300-8225-79b64dd499d8\",\r\n \"startTime\": + \"2021-03-23T00:25:57.3289515Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 1.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '190' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:29:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-version --health-check-stable-duration + --health-check-wait-duration --health-check-retry-timeout --upgrade-domain-timeout + --upgrade-timeout --failure-action --upgrade-replica-set-check-timeout --force-restart + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/42f00004-a960-4300-8225-79b64dd499d8?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"42f00004-a960-4300-8225-79b64dd499d8\",\r\n \"startTime\": + \"2021-03-23T00:25:57.3289515Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 1.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '190' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:29:58 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-version --health-check-stable-duration + --health-check-wait-duration --health-check-retry-timeout --upgrade-domain-timeout + --upgrade-timeout --failure-action --upgrade-replica-set-check-timeout --force-restart + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/42f00004-a960-4300-8225-79b64dd499d8?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"42f00004-a960-4300-8225-79b64dd499d8\",\r\n \"startTime\": + \"2021-03-23T00:25:57.3289515Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 1.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '190' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:30:28 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-version --health-check-stable-duration + --health-check-wait-duration --health-check-retry-timeout --upgrade-domain-timeout + --upgrade-timeout --failure-action --upgrade-replica-set-check-timeout --force-restart + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/42f00004-a960-4300-8225-79b64dd499d8?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"42f00004-a960-4300-8225-79b64dd499d8\",\r\n \"startTime\": + \"2021-03-23T00:25:57.3289515Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 1.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '190' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:30:59 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-version --health-check-stable-duration + --health-check-wait-duration --health-check-retry-timeout --upgrade-domain-timeout + --upgrade-timeout --failure-action --upgrade-replica-set-check-timeout --force-restart + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/42f00004-a960-4300-8225-79b64dd499d8?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"42f00004-a960-4300-8225-79b64dd499d8\",\r\n \"startTime\": + \"2021-03-23T00:25:57.3289515Z\",\r\n \"endTime\": \"2021-03-23T00:31:09.4183985Z\",\r\n + \ \"percentComplete\": 100.0,\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '203' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:31:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-version --health-check-stable-duration + --health-check-wait-duration --health-check-retry-timeout --upgrade-domain-timeout + --upgrade-timeout --failure-action --upgrade-replica-set-check-timeout --force-restart + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testApp000004\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:25:57.1753167+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:25:57.1753167+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"upgradePolicy\": {\r\n \"applicationHealthPolicy\": {\r\n \"considerWarningAsError\": + false,\r\n \"maxPercentUnhealthyDeployedApplications\": 0,\r\n \"defaultServiceTypeHealthPolicy\": + {\r\n \"maxPercentUnhealthyServices\": 0,\r\n \"maxPercentUnhealthyPartitionsPerService\": + 0,\r\n \"maxPercentUnhealthyReplicasPerPartition\": 0\r\n },\r\n + \ \"serviceTypeHealthPolicyMap\": {}\r\n },\r\n \"rollingUpgradeMonitoringPolicy\": + {\r\n \"failureAction\": \"Rollback\",\r\n \"healthCheckRetryTimeout\": + \"00:00:00\",\r\n \"healthCheckWaitDuration\": \"00:00:00\",\r\n \"healthCheckStableDuration\": + \"00:00:00\",\r\n \"upgradeDomainTimeout\": \"01:23:20\",\r\n \"upgradeTimeout\": + \"01:56:40\"\r\n },\r\n \"upgradeReplicaSetCheckTimeout\": 300,\r\n + \ \"forceRestart\": true,\r\n \"recreateApplication\": false\r\n + \ },\r\n \"version\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions/2.0.0\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1880' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:31:30 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -c --application-name + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testApp000004\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:25:57.1753167+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:25:57.1753167+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\",\r\n + \ \"upgradePolicy\": {\r\n \"applicationHealthPolicy\": {\r\n \"considerWarningAsError\": + false,\r\n \"maxPercentUnhealthyDeployedApplications\": 0,\r\n \"defaultServiceTypeHealthPolicy\": + {\r\n \"maxPercentUnhealthyServices\": 0,\r\n \"maxPercentUnhealthyPartitionsPerService\": + 0,\r\n \"maxPercentUnhealthyReplicasPerPartition\": 0\r\n },\r\n + \ \"serviceTypeHealthPolicyMap\": {}\r\n },\r\n \"rollingUpgradeMonitoringPolicy\": + {\r\n \"failureAction\": \"Rollback\",\r\n \"healthCheckRetryTimeout\": + \"00:00:00\",\r\n \"healthCheckWaitDuration\": \"00:00:00\",\r\n \"healthCheckStableDuration\": + \"00:00:00\",\r\n \"upgradeDomainTimeout\": \"01:23:20\",\r\n \"upgradeTimeout\": + \"01:56:40\"\r\n },\r\n \"upgradeReplicaSetCheckTimeout\": 300,\r\n + \ \"forceRestart\": true,\r\n \"recreateApplication\": false\r\n + \ },\r\n \"version\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions/2.0.0\"\r\n + \ }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/8d020004-bfa6-4298-95c2-ea101f306b77?api-version=2021-01-01-preview + cache-control: + - no-cache + content-length: + - '1879' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:31:30 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperationresults/8d020004-bfa6-4298-95c2-ea101f306b77?api-version=2021-01-01-preview + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application delete + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/8d020004-bfa6-4298-95c2-ea101f306b77?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"8d020004-bfa6-4298-95c2-ea101f306b77\",\r\n \"startTime\": + \"2021-03-23T00:31:31.610989Z\",\r\n \"endTime\": \"2021-03-23T00:31:33.3610764Z\",\r\n + \ \"percentComplete\": 100.0,\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '202' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:32:01 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -c --application-type-name + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applicationTypes/VotingType\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applicationTypes\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"VotingType\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:21:34.617332+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:21:34.617332+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\"\r\n + \ }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/993e0004-af23-4c24-809b-bc2cdb1e7502?api-version=2021-01-01-preview + cache-control: + - no-cache + content-length: + - '741' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:32:02 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperationresults/993e0004-af23-4c24-809b-bc2cdb1e7502?api-version=2021-01-01-preview + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type delete + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-type-name + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/993e0004-af23-4c24-809b-bc2cdb1e7502?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"993e0004-af23-4c24-809b-bc2cdb1e7502\",\r\n \"startTime\": + \"2021-03-23T00:32:03.2630423Z\",\r\n \"endTime\": \"2021-03-23T00:32:23.3807878Z\",\r\n + \ \"percentComplete\": 100.0,\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '203' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:32:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application show + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004?api-version=2021-01-01-preview + response: + body: + string: '{"error":{"code":"NotFound","message":"GetEntityFromTable: the ApplicationData + 3b660dac-8b79-43f6-b467-c03a58a1e84c&testapp5o6g could not be found."}}' + headers: + cache-control: + - no-cache + content-length: + - '150' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:32:34 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/servicefabric/tests/latest/recordings/test_managed_service.yaml b/src/azure-cli/azure/cli/command_modules/servicefabric/tests/latest/recordings/test_managed_service.yaml new file mode 100644 index 00000000000..45cd1835b9f --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/servicefabric/tests/latest/recordings/test_managed_service.yaml @@ -0,0 +1,6473 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-23T00:33:36Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:33:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-23T00:33:36Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:33:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-23T00:33:36Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:33:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-23T00:33:36Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:33:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-23T00:33:36Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:33:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-23T00:33:36Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:33:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-23T00:33:36Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:33:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-23T00:33:36Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:33:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-23T00:33:36Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:33:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-23T00:33:36Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:33:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-23T00:33:36Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:33:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-23T00:33:36Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:33:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastasia", "properties": {"dnsName": "sfrp-cli-000002", "clientConnectionPort": + 19000, "httpGatewayConnectionPort": 19080, "adminUserName": "vmadmin", "adminPassword": + "Pass@000003", "clients": [{"isAdmin": true, "thumbprint": "123BDACDCDFB2C7B250192C6078E47D1E1DB119B"}]}, + "sku": {"name": "Basic"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + Content-Length: + - '320' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Creating\",\r\n \"clusterId\": \"3f73c6cf-789b-470a-958f-b6a7a903b298\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"clusterCertificateThumbprint\": + \"\",\r\n \"clientConnectionPort\": 19000,\r\n \"httpGatewayConnectionPort\": + 19080,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ]\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/ab070001-b61f-4f39-b9f4-21c5af28fe6c?api-version=2020-01-01-preview + cache-control: + - no-cache + content-length: + - '897' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:33:43 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/ab070001-b61f-4f39-b9f4-21c5af28fe6c?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"ab070001-b61f-4f39-b9f4-21c5af28fe6c\",\r\n \"startTime\": + \"2021-03-23T00:33:43.8753214Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 30.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:34:15 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/ab070001-b61f-4f39-b9f4-21c5af28fe6c?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"ab070001-b61f-4f39-b9f4-21c5af28fe6c\",\r\n \"startTime\": + \"2021-03-23T00:33:43.8753214Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 40.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:34:45 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/ab070001-b61f-4f39-b9f4-21c5af28fe6c?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"ab070001-b61f-4f39-b9f4-21c5af28fe6c\",\r\n \"startTime\": + \"2021-03-23T00:33:43.8753214Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 40.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:35:15 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/ab070001-b61f-4f39-b9f4-21c5af28fe6c?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"ab070001-b61f-4f39-b9f4-21c5af28fe6c\",\r\n \"startTime\": + \"2021-03-23T00:33:43.8753214Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 40.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:35:45 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/ab070001-b61f-4f39-b9f4-21c5af28fe6c?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"ab070001-b61f-4f39-b9f4-21c5af28fe6c\",\r\n \"startTime\": + \"2021-03-23T00:33:43.8753214Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 40.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:36:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/ab070001-b61f-4f39-b9f4-21c5af28fe6c?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"ab070001-b61f-4f39-b9f4-21c5af28fe6c\",\r\n \"startTime\": + \"2021-03-23T00:33:43.8753214Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 51.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:36:46 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/ab070001-b61f-4f39-b9f4-21c5af28fe6c?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"ab070001-b61f-4f39-b9f4-21c5af28fe6c\",\r\n \"startTime\": + \"2021-03-23T00:33:43.8753214Z\",\r\n \"endTime\": \"2021-03-23T00:36:49.9680738Z\",\r\n + \ \"percentComplete\": 100.0,\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '203' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:37:17 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster create + Connection: + - keep-alive + ParameterSetName: + - -g -c -l --cert-thumbprint --cert-is-admin --admin-password + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3f73c6cf-789b-470a-958f-b6a7a903b298\",\r\n + \ \"clusterState\": \"WaitingForNodes\",\r\n \"clusterUpgradeCadence\": + \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n \"dnsName\": \"sfrp-cli-000002\",\r\n + \ \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n \"clusterCertificateThumbprint\": + \"D476677FCF0418F74693DDA00A4F686530818E7D\",\r\n \"clientConnectionPort\": + 19000,\r\n \"httpGatewayConnectionPort\": 19080,\r\n \"clients\": [\r\n + \ {\r\n \"isAdmin\": true,\r\n \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n + \ }\r\n ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1047' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:37:17 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"properties": {"isPrimary": true, "vmInstanceCount": 5, "dataDiskSizeGB": + 100, "vmSize": "Standard_D2", "vmImagePublisher": "MicrosoftWindowsServer", + "vmImageOffer": "WindowsServer", "vmImageSku": "2019-Datacenter", "vmImageVersion": + "latest"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + Content-Length: + - '245' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/nodeTypes/pnt?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/nodetypes/pnt\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/nodetypes\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"pnt\",\r\n \"tags\": {},\r\n \"properties\": + {\r\n \"provisioningState\": \"Creating\",\r\n \"isPrimary\": true,\r\n + \ \"vmImagePublisher\": \"MicrosoftWindowsServer\",\r\n \"vmImageOffer\": + \"WindowsServer\",\r\n \"vmImageSku\": \"2019-Datacenter\",\r\n \"vmImageVersion\": + \"latest\",\r\n \"vmSize\": \"Standard_D2\",\r\n \"vmInstanceCount\": + 5,\r\n \"dataDiskSizeGB\": 100,\r\n \"placementProperties\": {},\r\n + \ \"capacities\": {}\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/c28c0001-7391-433e-9a35-86d57bc89a01?api-version=2020-01-01-preview + cache-control: + - no-cache + content-length: + - '757' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:37:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/c28c0001-7391-433e-9a35-86d57bc89a01?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"c28c0001-7391-433e-9a35-86d57bc89a01\",\r\n \"startTime\": + \"2021-03-23T00:37:19.1677724Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:37:49 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/c28c0001-7391-433e-9a35-86d57bc89a01?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"c28c0001-7391-433e-9a35-86d57bc89a01\",\r\n \"startTime\": + \"2021-03-23T00:37:19.1677724Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:38:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/c28c0001-7391-433e-9a35-86d57bc89a01?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"c28c0001-7391-433e-9a35-86d57bc89a01\",\r\n \"startTime\": + \"2021-03-23T00:37:19.1677724Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:38:50 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/c28c0001-7391-433e-9a35-86d57bc89a01?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"c28c0001-7391-433e-9a35-86d57bc89a01\",\r\n \"startTime\": + \"2021-03-23T00:37:19.1677724Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:39:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/c28c0001-7391-433e-9a35-86d57bc89a01?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"c28c0001-7391-433e-9a35-86d57bc89a01\",\r\n \"startTime\": + \"2021-03-23T00:37:19.1677724Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:39:50 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/c28c0001-7391-433e-9a35-86d57bc89a01?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"c28c0001-7391-433e-9a35-86d57bc89a01\",\r\n \"startTime\": + \"2021-03-23T00:37:19.1677724Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:40:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/c28c0001-7391-433e-9a35-86d57bc89a01?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"c28c0001-7391-433e-9a35-86d57bc89a01\",\r\n \"startTime\": + \"2021-03-23T00:37:19.1677724Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:40:51 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/c28c0001-7391-433e-9a35-86d57bc89a01?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"c28c0001-7391-433e-9a35-86d57bc89a01\",\r\n \"startTime\": + \"2021-03-23T00:37:19.1677724Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:41:22 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/c28c0001-7391-433e-9a35-86d57bc89a01?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"c28c0001-7391-433e-9a35-86d57bc89a01\",\r\n \"startTime\": + \"2021-03-23T00:37:19.1677724Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:41:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/c28c0001-7391-433e-9a35-86d57bc89a01?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"c28c0001-7391-433e-9a35-86d57bc89a01\",\r\n \"startTime\": + \"2021-03-23T00:37:19.1677724Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:42:22 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/c28c0001-7391-433e-9a35-86d57bc89a01?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"c28c0001-7391-433e-9a35-86d57bc89a01\",\r\n \"startTime\": + \"2021-03-23T00:37:19.1677724Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:42:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/c28c0001-7391-433e-9a35-86d57bc89a01?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"c28c0001-7391-433e-9a35-86d57bc89a01\",\r\n \"startTime\": + \"2021-03-23T00:37:19.1677724Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:43:22 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/c28c0001-7391-433e-9a35-86d57bc89a01?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"c28c0001-7391-433e-9a35-86d57bc89a01\",\r\n \"startTime\": + \"2021-03-23T00:37:19.1677724Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 50.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '191' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:43:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/c28c0001-7391-433e-9a35-86d57bc89a01?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"name\": \"c28c0001-7391-433e-9a35-86d57bc89a01\",\r\n \"startTime\": + \"2021-03-23T00:37:19.1677724Z\",\r\n \"endTime\": \"2021-03-23T00:44:22.9787182Z\",\r\n + \ \"percentComplete\": 100.0,\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '203' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:44:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-node-type create + Connection: + - keep-alive + ParameterSetName: + - -g -c -n --instance-count --primary + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/nodeTypes/pnt?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/nodetypes/pnt\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/nodetypes\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"pnt\",\r\n \"tags\": {},\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"isPrimary\": true,\r\n + \ \"vmImagePublisher\": \"MicrosoftWindowsServer\",\r\n \"vmImageOffer\": + \"WindowsServer\",\r\n \"vmImageSku\": \"2019-Datacenter\",\r\n \"vmImageVersion\": + \"latest\",\r\n \"vmSize\": \"Standard_D2\",\r\n \"vmInstanceCount\": + 5,\r\n \"dataDiskSizeGB\": 100,\r\n \"placementProperties\": {},\r\n + \ \"capacities\": {}\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '758' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:44:24 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster show + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3f73c6cf-789b-470a-958f-b6a7a903b298\",\r\n + \ \"clusterState\": \"Deploying\",\r\n \"clusterCodeVersion\": \"7.2.432.9590\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"clusterCertificateThumbprint\": \"D476677FCF0418F74693DDA00A4F686530818E7D\",\r\n + \ \"clientConnectionPort\": 19000,\r\n \"httpGatewayConnectionPort\": + 19080,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1084' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:44:25 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster show + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3f73c6cf-789b-470a-958f-b6a7a903b298\",\r\n + \ \"clusterState\": \"Deploying\",\r\n \"clusterCodeVersion\": \"7.2.432.9590\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"clusterCertificateThumbprint\": \"D476677FCF0418F74693DDA00A4F686530818E7D\",\r\n + \ \"clientConnectionPort\": 19000,\r\n \"httpGatewayConnectionPort\": + 19080,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1084' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:45:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster show + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3f73c6cf-789b-470a-958f-b6a7a903b298\",\r\n + \ \"clusterState\": \"BaselineUpgrade\",\r\n \"clusterCodeVersion\": + \"7.2.432.9590\",\r\n \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": + \"vmadmin\",\r\n \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"clusterCertificateThumbprint\": \"D476677FCF0418F74693DDA00A4F686530818E7D\",\r\n + \ \"clientConnectionPort\": 19000,\r\n \"httpGatewayConnectionPort\": + 19080,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1090' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:46:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster show + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3f73c6cf-789b-470a-958f-b6a7a903b298\",\r\n + \ \"clusterState\": \"BaselineUpgrade\",\r\n \"clusterCodeVersion\": + \"7.2.432.9590\",\r\n \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": + \"vmadmin\",\r\n \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"clusterCertificateThumbprint\": \"D476677FCF0418F74693DDA00A4F686530818E7D\",\r\n + \ \"clientConnectionPort\": 19000,\r\n \"httpGatewayConnectionPort\": + 19080,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1090' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:47:31 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster show + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3f73c6cf-789b-470a-958f-b6a7a903b298\",\r\n + \ \"clusterState\": \"BaselineUpgrade\",\r\n \"clusterCodeVersion\": + \"7.2.432.9590\",\r\n \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": + \"vmadmin\",\r\n \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"clusterCertificateThumbprint\": \"D476677FCF0418F74693DDA00A4F686530818E7D\",\r\n + \ \"clientConnectionPort\": 19000,\r\n \"httpGatewayConnectionPort\": + 19080,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1090' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:48:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-cluster show + Connection: + - keep-alive + ParameterSetName: + - -g -c + User-Agent: + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-servicefabric/0.5.0 Azure-SDK-For-Python AZURECLI/2.20.0 (MSI) + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2020-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3f73c6cf-789b-470a-958f-b6a7a903b298\",\r\n + \ \"clusterState\": \"Ready\",\r\n \"clusterCodeVersion\": \"7.2.432.9590\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"clusterCertificateThumbprint\": \"D476677FCF0418F74693DDA00A4F686530818E7D\",\r\n + \ \"clientConnectionPort\": 19000,\r\n \"httpGatewayConnectionPort\": + 19080,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1080' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:49:33 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-name --application-type-version + --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3f73c6cf-789b-470a-958f-b6a7a903b298\",\r\n + \ \"clusterState\": \"Ready\",\r\n \"clusterCodeVersion\": \"7.2.432.9590\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"ipv4Address\": \"52.229.207.138\",\r\n \"clusterCertificateThumbprints\": + [\r\n \"D476677FCF0418F74693DDA00A4F686530818E7D\"\r\n ],\r\n \"clientConnectionPort\": + 19000,\r\n \"httpGatewayConnectionPort\": 19080,\r\n \"allowRdpAccess\": + false,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ],\r\n \"enableAutoOSUpgrade\": false,\r\n \"zonalResiliency\": + false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1231' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:49:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-name --application-type-version + --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3f73c6cf-789b-470a-958f-b6a7a903b298\",\r\n + \ \"clusterState\": \"Ready\",\r\n \"clusterCodeVersion\": \"7.2.432.9590\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"ipv4Address\": \"52.229.207.138\",\r\n \"clusterCertificateThumbprints\": + [\r\n \"D476677FCF0418F74693DDA00A4F686530818E7D\"\r\n ],\r\n \"clientConnectionPort\": + 19000,\r\n \"httpGatewayConnectionPort\": 19080,\r\n \"allowRdpAccess\": + false,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ],\r\n \"enableAutoOSUpgrade\": false,\r\n \"zonalResiliency\": + false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1231' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:49:36 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-name --application-type-version + --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3f73c6cf-789b-470a-958f-b6a7a903b298\",\r\n + \ \"clusterState\": \"Ready\",\r\n \"clusterCodeVersion\": \"7.2.432.9590\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"ipv4Address\": \"52.229.207.138\",\r\n \"clusterCertificateThumbprints\": + [\r\n \"D476677FCF0418F74693DDA00A4F686530818E7D\"\r\n ],\r\n \"clientConnectionPort\": + 19000,\r\n \"httpGatewayConnectionPort\": 19080,\r\n \"allowRdpAccess\": + false,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ],\r\n \"enableAutoOSUpgrade\": false,\r\n \"zonalResiliency\": + false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1231' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:49:37 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-name --application-type-version + --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"value\": []\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '19' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:49:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastasia"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application create + Connection: + - keep-alive + Content-Length: + - '24' + Content-Type: + - application/json + ParameterSetName: + - -g -c --application-name --application-type-name --application-type-version + --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applicationTypes/VotingType\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applicationTypes\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"VotingType\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:49:39.6612391+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:49:39.6612391+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '744' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:49:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-name --application-type-version + --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"value\": []\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '19' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:49:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastasia", "properties": {"appPackageUrl": "https://sfmconeboxst.blob.core.windows.net/managed-application-deployment/Voting.sfpkg"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application create + Connection: + - keep-alive + Content-Length: + - '147' + Content-Type: + - application/json + ParameterSetName: + - -g -c --application-name --application-type-name --application-type-version + --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applicationTypes/versions\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"1.0.0\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:49:40.3362624+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:49:40.3362624+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n + \ \"appPackageUrl\": \"https://sfmconeboxst.blob.core.windows.net/managed-application-deployment/Voting.sfpkg\"\r\n + \ }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/a35d0001-c8a7-491b-aa35-b6fef54156db?api-version=2021-01-01-preview + cache-control: + - no-cache + content-length: + - '874' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:49:40 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperationresults/a35d0001-c8a7-491b-aa35-b6fef54156db?api-version=2021-01-01-preview + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-name --application-type-version + --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/a35d0001-c8a7-491b-aa35-b6fef54156db?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"a35d0001-c8a7-491b-aa35-b6fef54156db\",\r\n \"startTime\": + \"2021-03-23T00:49:40.42588Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 65.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '189' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:50:10 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-name --application-type-version + --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/a35d0001-c8a7-491b-aa35-b6fef54156db?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"a35d0001-c8a7-491b-aa35-b6fef54156db\",\r\n \"startTime\": + \"2021-03-23T00:49:40.42588Z\",\r\n \"endTime\": \"0001-01-01T00:00:00\",\r\n + \ \"percentComplete\": 65.0,\r\n \"status\": \"Created\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '189' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:50:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-name --application-type-version + --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/a35d0001-c8a7-491b-aa35-b6fef54156db?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"a35d0001-c8a7-491b-aa35-b6fef54156db\",\r\n \"startTime\": + \"2021-03-23T00:49:40.42588Z\",\r\n \"endTime\": \"2021-03-23T00:51:00.8775066Z\",\r\n + \ \"percentComplete\": 100.0,\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '201' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:51:11 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-name --application-type-version + --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applicationTypes/versions\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"1.0.0\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:49:40.3362624+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:49:40.3362624+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"appPackageUrl\": \"https://sfmconeboxst.blob.core.windows.net/managed-application-deployment/Voting.sfpkg\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '875' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:51:11 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-name --application-type-version + --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"value\": []\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '19' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:51:12 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastasia", "properties": {"version": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application create + Connection: + - keep-alive + Content-Length: + - '315' + Content-Type: + - application/json + ParameterSetName: + - -g -c --application-name --application-type-name --application-type-version + --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testApp000004\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:51:12.8795767+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:51:12.8795767+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n + \ \"version\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0\"\r\n + \ }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/f3eb0001-a09f-4d49-bd87-5d37dc68472c?api-version=2021-01-01-preview + cache-control: + - no-cache + content-length: + - '1017' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:51:12 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperationresults/f3eb0001-a09f-4d49-bd87-5d37dc68472c?api-version=2021-01-01-preview + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-name --application-type-version + --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/f3eb0001-a09f-4d49-bd87-5d37dc68472c?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"f3eb0001-a09f-4d49-bd87-5d37dc68472c\",\r\n \"startTime\": + \"2021-03-23T00:51:12.9920141Z\",\r\n \"endTime\": \"2021-03-23T00:51:14.6482782Z\",\r\n + \ \"percentComplete\": 100.0,\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '203' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:51:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --application-type-name --application-type-version + --package-url + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testApp000004\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:51:12.8795767+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:51:12.8795767+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"version\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1018' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:51:43 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service list + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"value\": []\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '19' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:51:45 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --state --min-replica-set-size --target-replica-set-size + --service-name --service-type --has-persisted-state --partition-scheme --partition-count + --low-key --high-key + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3f73c6cf-789b-470a-958f-b6a7a903b298\",\r\n + \ \"clusterState\": \"Ready\",\r\n \"clusterCodeVersion\": \"7.2.432.9590\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"ipv4Address\": \"52.229.207.138\",\r\n \"clusterCertificateThumbprints\": + [\r\n \"D476677FCF0418F74693DDA00A4F686530818E7D\"\r\n ],\r\n \"clientConnectionPort\": + 19000,\r\n \"httpGatewayConnectionPort\": 19080,\r\n \"allowRdpAccess\": + false,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ],\r\n \"enableAutoOSUpgrade\": false,\r\n \"zonalResiliency\": + false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1231' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:51:46 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --state --min-replica-set-size --target-replica-set-size + --service-name --service-type --has-persisted-state --partition-scheme --partition-count + --low-key --high-key + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"value\": []\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '19' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:51:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastasia", "properties": {"correlationScheme": [], "serviceLoadMetrics": + [], "serviceKind": "Stateful", "serviceTypeName": "VotingDataType", "partitionDescription": + {"partitionScheme": "UniformInt64Range", "count": 1, "lowKey": 0, "highKey": + 25}, "hasPersistedState": true, "targetReplicaSetSize": 3, "minReplicaSetSize": + 2}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service create + Connection: + - keep-alive + Content-Length: + - '339' + Content-Type: + - application/json + ParameterSetName: + - -g -c --application-name --state --min-replica-set-size --target-replica-set-size + --service-name --service-type --has-persisted-state --partition-scheme --partition-count + --low-key --high-key + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc000005\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:51:47.7453453+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:51:47.7453453+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n + \ \"serviceKind\": \"Stateful\",\r\n \"serviceTypeName\": \"VotingDataType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"UniformInt64Range\",\r\n + \ \"count\": 1,\r\n \"lowKey\": 0,\r\n \"highKey\": 25\r\n },\r\n + \ \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n \"hasPersistedState\": + true,\r\n \"targetReplicaSetSize\": 3,\r\n \"minReplicaSetSize\": 2\r\n + \ }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/e3960001-8129-4c3c-8258-eae95adc0cda?api-version=2021-01-01-preview + cache-control: + - no-cache + content-length: + - '1159' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:51:47 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperationresults/e3960001-8129-4c3c-8258-eae95adc0cda?api-version=2021-01-01-preview + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --state --min-replica-set-size --target-replica-set-size + --service-name --service-type --has-persisted-state --partition-scheme --partition-count + --low-key --high-key + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/e3960001-8129-4c3c-8258-eae95adc0cda?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"e3960001-8129-4c3c-8258-eae95adc0cda\",\r\n \"startTime\": + \"2021-03-23T00:51:47.8893205Z\",\r\n \"endTime\": \"2021-03-23T00:51:48.2330274Z\",\r\n + \ \"percentComplete\": 100.0,\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '203' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:52:17 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --state --min-replica-set-size --target-replica-set-size + --service-name --service-type --has-persisted-state --partition-scheme --partition-count + --low-key --high-key + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc000005\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:51:47.7453453+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:51:47.7453453+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateful\",\r\n \"serviceTypeName\": \"VotingDataType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"UniformInt64Range\",\r\n + \ \"count\": 1,\r\n \"lowKey\": 0,\r\n \"highKey\": 25\r\n },\r\n + \ \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n \"hasPersistedState\": + true,\r\n \"targetReplicaSetSize\": 3,\r\n \"minReplicaSetSize\": 2\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1160' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:52:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service show + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc000005\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:51:47.7453453+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:51:47.7453453+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateful\",\r\n \"serviceTypeName\": \"VotingDataType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"UniformInt64Range\",\r\n + \ \"count\": 1,\r\n \"lowKey\": 0,\r\n \"highKey\": 25\r\n },\r\n + \ \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n \"hasPersistedState\": + true,\r\n \"targetReplicaSetSize\": 3,\r\n \"minReplicaSetSize\": 2\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1160' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:52:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --state --instance-count -1 --service-name --service-type + --partition-scheme + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters\",\r\n \"location\": + \"eastasia\",\r\n \"name\": \"sfrp-cli-000002\",\r\n \"tags\": {},\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"clusterId\": \"3f73c6cf-789b-470a-958f-b6a7a903b298\",\r\n + \ \"clusterState\": \"Ready\",\r\n \"clusterCodeVersion\": \"7.2.432.9590\",\r\n + \ \"clusterUpgradeCadence\": \"Wave0\",\r\n \"adminUserName\": \"vmadmin\",\r\n + \ \"dnsName\": \"sfrp-cli-000002\",\r\n \"fqdn\": \"sfrp-cli-000002.eastasia.cloudapp.azure.com\",\r\n + \ \"ipv4Address\": \"52.229.207.138\",\r\n \"clusterCertificateThumbprints\": + [\r\n \"D476677FCF0418F74693DDA00A4F686530818E7D\"\r\n ],\r\n \"clientConnectionPort\": + 19000,\r\n \"httpGatewayConnectionPort\": 19080,\r\n \"allowRdpAccess\": + false,\r\n \"clients\": [\r\n {\r\n \"isAdmin\": true,\r\n + \ \"thumbprint\": \"123BDACDCDFB2C7B250192C6078E47D1E1DB119B\"\r\n }\r\n + \ ],\r\n \"enableAutoOSUpgrade\": false,\r\n \"zonalResiliency\": + false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1231' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:52:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --state --instance-count -1 --service-name --service-type + --partition-scheme + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc000005\",\r\n + \ \"systemData\": {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-03-23T00:51:47.7453453+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:51:47.7453453+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateful\",\r\n \"serviceTypeName\": \"VotingDataType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"UniformInt64Range\",\r\n + \ \"count\": 1,\r\n \"lowKey\": 0,\r\n \"highKey\": + 25\r\n },\r\n \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": + [],\r\n \"hasPersistedState\": true,\r\n \"targetReplicaSetSize\": + 3,\r\n \"minReplicaSetSize\": 2\r\n }\r\n }\r\n ]\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1305' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:52:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastasia", "properties": {"correlationScheme": [], "serviceLoadMetrics": + [], "serviceKind": "Stateless", "serviceTypeName": "VotingWebType", "partitionDescription": + {"partitionScheme": "Singleton"}, "instanceCount": -1, "instanceCloseDelayDuration": + "0"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service create + Connection: + - keep-alive + Content-Length: + - '269' + Content-Type: + - application/json + ParameterSetName: + - -g -c --application-name --state --instance-count -1 --service-name --service-type + --partition-scheme + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc2000006\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:52:21.7991688+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:52:21.7991688+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Creating\",\r\n + \ \"serviceKind\": \"Stateless\",\r\n \"serviceTypeName\": \"VotingWebType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"Singleton\"\r\n + \ },\r\n \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n + \ \"instanceCount\": -1,\r\n \"instanceCloseDelayDuration\": \"00:00:00\"\r\n + \ }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/53b60001-10b3-4216-b3db-47785b9a5db1?api-version=2021-01-01-preview + cache-control: + - no-cache + content-length: + - '1070' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:52:21 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperationresults/53b60001-10b3-4216-b3db-47785b9a5db1?api-version=2021-01-01-preview + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --state --instance-count -1 --service-name --service-type + --partition-scheme + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/53b60001-10b3-4216-b3db-47785b9a5db1?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"53b60001-10b3-4216-b3db-47785b9a5db1\",\r\n \"startTime\": + \"2021-03-23T00:52:21.9071943Z\",\r\n \"endTime\": \"2021-03-23T00:52:22.3605518Z\",\r\n + \ \"percentComplete\": 100.0,\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '203' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:52:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service create + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --state --instance-count -1 --service-name --service-type + --partition-scheme + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc2000006\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:52:21.7991688+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:52:21.7991688+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateless\",\r\n \"serviceTypeName\": \"VotingWebType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"Singleton\"\r\n + \ },\r\n \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n + \ \"instanceCount\": -1,\r\n \"instanceCloseDelayDuration\": \"00:00:00\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1071' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:52:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service show + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc2000006\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:52:21.7991688+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:52:21.7991688+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateless\",\r\n \"serviceTypeName\": \"VotingWebType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"Singleton\"\r\n + \ },\r\n \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n + \ \"instanceCount\": -1,\r\n \"instanceCloseDelayDuration\": \"00:00:00\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1071' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:52:54 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --service-placement-time-limit --stand-by-replica-keep-duration + --replica-restart-wait-duration --quorum-loss-wait-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc000005\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:51:47.7453453+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:51:47.7453453+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateful\",\r\n \"serviceTypeName\": \"VotingDataType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"UniformInt64Range\",\r\n + \ \"count\": 1,\r\n \"lowKey\": 0,\r\n \"highKey\": 25\r\n },\r\n + \ \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n \"hasPersistedState\": + true,\r\n \"targetReplicaSetSize\": 3,\r\n \"minReplicaSetSize\": 2\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1160' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:52:55 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --service-placement-time-limit --stand-by-replica-keep-duration + --replica-restart-wait-duration --quorum-loss-wait-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc000005\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:51:47.7453453+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:51:47.7453453+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateful\",\r\n \"serviceTypeName\": \"VotingDataType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"UniformInt64Range\",\r\n + \ \"count\": 1,\r\n \"lowKey\": 0,\r\n \"highKey\": 25\r\n },\r\n + \ \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n \"hasPersistedState\": + true,\r\n \"targetReplicaSetSize\": 3,\r\n \"minReplicaSetSize\": 2\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1160' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:52:56 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --service-placement-time-limit --stand-by-replica-keep-duration + --replica-restart-wait-duration --quorum-loss-wait-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc000005\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:51:47.7453453+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:51:47.7453453+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateful\",\r\n \"serviceTypeName\": \"VotingDataType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"UniformInt64Range\",\r\n + \ \"count\": 1,\r\n \"lowKey\": 0,\r\n \"highKey\": 25\r\n },\r\n + \ \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n \"hasPersistedState\": + true,\r\n \"targetReplicaSetSize\": 3,\r\n \"minReplicaSetSize\": 2\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1160' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:52:57 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --service-placement-time-limit --stand-by-replica-keep-duration + --replica-restart-wait-duration --quorum-loss-wait-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc000005\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:51:47.7453453+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:51:47.7453453+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateful\",\r\n \"serviceTypeName\": \"VotingDataType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"UniformInt64Range\",\r\n + \ \"count\": 1,\r\n \"lowKey\": 0,\r\n \"highKey\": 25\r\n },\r\n + \ \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n \"hasPersistedState\": + true,\r\n \"targetReplicaSetSize\": 3,\r\n \"minReplicaSetSize\": 2\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1160' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:52:58 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --service-placement-time-limit --stand-by-replica-keep-duration + --replica-restart-wait-duration --quorum-loss-wait-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc000005\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:51:47.7453453+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:51:47.7453453+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateful\",\r\n \"serviceTypeName\": \"VotingDataType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"UniformInt64Range\",\r\n + \ \"count\": 1,\r\n \"lowKey\": 0,\r\n \"highKey\": 25\r\n },\r\n + \ \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n \"hasPersistedState\": + true,\r\n \"targetReplicaSetSize\": 3,\r\n \"minReplicaSetSize\": 2\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1160' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:53:00 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --service-placement-time-limit --stand-by-replica-keep-duration + --replica-restart-wait-duration --quorum-loss-wait-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc000005\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:51:47.7453453+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:51:47.7453453+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateful\",\r\n \"serviceTypeName\": \"VotingDataType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"UniformInt64Range\",\r\n + \ \"count\": 1,\r\n \"lowKey\": 0,\r\n \"highKey\": 25\r\n },\r\n + \ \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n \"hasPersistedState\": + true,\r\n \"targetReplicaSetSize\": 3,\r\n \"minReplicaSetSize\": 2\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1160' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:53:01 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --service-placement-time-limit --stand-by-replica-keep-duration + --replica-restart-wait-duration --quorum-loss-wait-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc000005\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:51:47.7453453+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:51:47.7453453+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateful\",\r\n \"serviceTypeName\": \"VotingDataType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"UniformInt64Range\",\r\n + \ \"count\": 1,\r\n \"lowKey\": 0,\r\n \"highKey\": 25\r\n },\r\n + \ \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n \"hasPersistedState\": + true,\r\n \"targetReplicaSetSize\": 3,\r\n \"minReplicaSetSize\": 2\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1160' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:53:01 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --service-placement-time-limit --stand-by-replica-keep-duration + --replica-restart-wait-duration --quorum-loss-wait-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc000005\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:51:47.7453453+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:51:47.7453453+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateful\",\r\n \"serviceTypeName\": \"VotingDataType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"UniformInt64Range\",\r\n + \ \"count\": 1,\r\n \"lowKey\": 0,\r\n \"highKey\": 25\r\n },\r\n + \ \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n \"hasPersistedState\": + true,\r\n \"targetReplicaSetSize\": 3,\r\n \"minReplicaSetSize\": 2\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1160' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:53:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --service-placement-time-limit --stand-by-replica-keep-duration + --replica-restart-wait-duration --quorum-loss-wait-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc000005\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:51:47.7453453+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:51:47.7453453+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateful\",\r\n \"serviceTypeName\": \"VotingDataType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"UniformInt64Range\",\r\n + \ \"count\": 1,\r\n \"lowKey\": 0,\r\n \"highKey\": 25\r\n },\r\n + \ \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n \"hasPersistedState\": + true,\r\n \"targetReplicaSetSize\": 3,\r\n \"minReplicaSetSize\": 2\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1160' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:53:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --service-placement-time-limit --stand-by-replica-keep-duration + --replica-restart-wait-duration --quorum-loss-wait-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc000005\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:51:47.7453453+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:51:47.7453453+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateful\",\r\n \"serviceTypeName\": \"VotingDataType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"UniformInt64Range\",\r\n + \ \"count\": 1,\r\n \"lowKey\": 0,\r\n \"highKey\": 25\r\n },\r\n + \ \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n \"hasPersistedState\": + true,\r\n \"targetReplicaSetSize\": 3,\r\n \"minReplicaSetSize\": 2\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1160' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:53:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --service-placement-time-limit --stand-by-replica-keep-duration + --replica-restart-wait-duration --quorum-loss-wait-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc000005\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:51:47.7453453+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:51:47.7453453+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateful\",\r\n \"serviceTypeName\": \"VotingDataType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"UniformInt64Range\",\r\n + \ \"count\": 1,\r\n \"lowKey\": 0,\r\n \"highKey\": 25\r\n },\r\n + \ \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n \"hasPersistedState\": + true,\r\n \"targetReplicaSetSize\": 3,\r\n \"minReplicaSetSize\": 2\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1160' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:53:06 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --service-placement-time-limit --stand-by-replica-keep-duration + --replica-restart-wait-duration --quorum-loss-wait-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc000005\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:51:47.7453453+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:51:47.7453453+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateful\",\r\n \"serviceTypeName\": \"VotingDataType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"UniformInt64Range\",\r\n + \ \"count\": 1,\r\n \"lowKey\": 0,\r\n \"highKey\": 25\r\n },\r\n + \ \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n \"hasPersistedState\": + true,\r\n \"targetReplicaSetSize\": 3,\r\n \"minReplicaSetSize\": 2\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1160' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:53:07 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --service-placement-time-limit --stand-by-replica-keep-duration + --replica-restart-wait-duration --quorum-loss-wait-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc000005\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:51:47.7453453+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:51:47.7453453+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateful\",\r\n \"serviceTypeName\": \"VotingDataType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"UniformInt64Range\",\r\n + \ \"count\": 1,\r\n \"lowKey\": 0,\r\n \"highKey\": 25\r\n },\r\n + \ \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n \"hasPersistedState\": + true,\r\n \"targetReplicaSetSize\": 3,\r\n \"minReplicaSetSize\": 2\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1160' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:53:08 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --service-placement-time-limit --stand-by-replica-keep-duration + --replica-restart-wait-duration --quorum-loss-wait-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc000005\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:51:47.7453453+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:51:47.7453453+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateful\",\r\n \"serviceTypeName\": \"VotingDataType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"UniformInt64Range\",\r\n + \ \"count\": 1,\r\n \"lowKey\": 0,\r\n \"highKey\": 25\r\n },\r\n + \ \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n \"hasPersistedState\": + true,\r\n \"targetReplicaSetSize\": 3,\r\n \"minReplicaSetSize\": 2\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1160' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:53:10 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastasia", "properties": {"correlationScheme": [], "serviceLoadMetrics": + [], "serviceKind": "Stateful", "serviceTypeName": "VotingDataType", "partitionDescription": + {"partitionScheme": "UniformInt64Range", "count": 1, "lowKey": 0, "highKey": + 25}, "hasPersistedState": true, "targetReplicaSetSize": 3, "minReplicaSetSize": + 2, "replicaRestartWaitDuration": "00:11:00", "quorumLossWaitDuration": "00:11:00", + "standByReplicaKeepDuration": "00:11:00", "servicePlacementTimeLimit": "00:11:00"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + Content-Length: + - '502' + Content-Type: + - application/json + ParameterSetName: + - -g -c --application-name --service-name --service-placement-time-limit --stand-by-replica-keep-duration + --replica-restart-wait-duration --quorum-loss-wait-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc000005\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:53:10.7241962+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:53:10.7241962+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"serviceKind\": \"Stateful\",\r\n \"serviceTypeName\": \"VotingDataType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"UniformInt64Range\",\r\n + \ \"count\": 1,\r\n \"lowKey\": 0,\r\n \"highKey\": 25\r\n },\r\n + \ \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n \"hasPersistedState\": + true,\r\n \"targetReplicaSetSize\": 3,\r\n \"minReplicaSetSize\": 2,\r\n + \ \"replicaRestartWaitDuration\": \"00:11:00\",\r\n \"quorumLossWaitDuration\": + \"00:11:00\",\r\n \"standByReplicaKeepDuration\": \"00:11:00\",\r\n \"servicePlacementTimeLimit\": + \"00:11:00\"\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/466b0001-f4a7-4bb9-87be-6b1018cbe175?api-version=2021-01-01-preview + cache-control: + - no-cache + content-length: + - '1342' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:53:10 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperationresults/466b0001-f4a7-4bb9-87be-6b1018cbe175?api-version=2021-01-01-preview + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --service-placement-time-limit --stand-by-replica-keep-duration + --replica-restart-wait-duration --quorum-loss-wait-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/466b0001-f4a7-4bb9-87be-6b1018cbe175?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"466b0001-f4a7-4bb9-87be-6b1018cbe175\",\r\n \"startTime\": + \"2021-03-23T00:53:10.8451556Z\",\r\n \"endTime\": \"2021-03-23T00:53:11.032669Z\",\r\n + \ \"percentComplete\": 100.0,\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '202' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:53:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --service-placement-time-limit --stand-by-replica-keep-duration + --replica-restart-wait-duration --quorum-loss-wait-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc000005\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:53:10.7241962+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:53:10.7241962+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateful\",\r\n \"serviceTypeName\": \"VotingDataType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"UniformInt64Range\",\r\n + \ \"count\": 1,\r\n \"lowKey\": 0,\r\n \"highKey\": 25\r\n },\r\n + \ \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n \"hasPersistedState\": + true,\r\n \"targetReplicaSetSize\": 3,\r\n \"minReplicaSetSize\": 2,\r\n + \ \"replicaRestartWaitDuration\": \"00:11:00\",\r\n \"quorumLossWaitDuration\": + \"00:11:00\",\r\n \"standByReplicaKeepDuration\": \"00:11:00\",\r\n \"servicePlacementTimeLimit\": + \"00:11:00\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1343' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:53:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --min-instance-count --min-instance-percentage + --instance-close-delay-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc2000006\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:52:21.7991688+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:52:21.7991688+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateless\",\r\n \"serviceTypeName\": \"VotingWebType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"Singleton\"\r\n + \ },\r\n \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n + \ \"instanceCount\": -1,\r\n \"instanceCloseDelayDuration\": \"00:00:00\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1071' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:53:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --min-instance-count --min-instance-percentage + --instance-close-delay-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc2000006\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:52:21.7991688+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:52:21.7991688+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateless\",\r\n \"serviceTypeName\": \"VotingWebType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"Singleton\"\r\n + \ },\r\n \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n + \ \"instanceCount\": -1,\r\n \"instanceCloseDelayDuration\": \"00:00:00\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1071' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:53:43 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --min-instance-count --min-instance-percentage + --instance-close-delay-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc2000006\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:52:21.7991688+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:52:21.7991688+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateless\",\r\n \"serviceTypeName\": \"VotingWebType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"Singleton\"\r\n + \ },\r\n \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n + \ \"instanceCount\": -1,\r\n \"instanceCloseDelayDuration\": \"00:00:00\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1071' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:53:45 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --min-instance-count --min-instance-percentage + --instance-close-delay-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc2000006\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:52:21.7991688+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:52:21.7991688+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateless\",\r\n \"serviceTypeName\": \"VotingWebType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"Singleton\"\r\n + \ },\r\n \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n + \ \"instanceCount\": -1,\r\n \"instanceCloseDelayDuration\": \"00:00:00\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1071' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:53:46 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --min-instance-count --min-instance-percentage + --instance-close-delay-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc2000006\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:52:21.7991688+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:52:21.7991688+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateless\",\r\n \"serviceTypeName\": \"VotingWebType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"Singleton\"\r\n + \ },\r\n \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n + \ \"instanceCount\": -1,\r\n \"instanceCloseDelayDuration\": \"00:00:00\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1071' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:53:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --min-instance-count --min-instance-percentage + --instance-close-delay-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc2000006\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:52:21.7991688+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:52:21.7991688+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateless\",\r\n \"serviceTypeName\": \"VotingWebType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"Singleton\"\r\n + \ },\r\n \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n + \ \"instanceCount\": -1,\r\n \"instanceCloseDelayDuration\": \"00:00:00\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1071' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:53:49 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --min-instance-count --min-instance-percentage + --instance-close-delay-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc2000006\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:52:21.7991688+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:52:21.7991688+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateless\",\r\n \"serviceTypeName\": \"VotingWebType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"Singleton\"\r\n + \ },\r\n \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n + \ \"instanceCount\": -1,\r\n \"instanceCloseDelayDuration\": \"00:00:00\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1071' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:53:50 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --min-instance-count --min-instance-percentage + --instance-close-delay-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc2000006\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:52:21.7991688+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:52:21.7991688+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateless\",\r\n \"serviceTypeName\": \"VotingWebType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"Singleton\"\r\n + \ },\r\n \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n + \ \"instanceCount\": -1,\r\n \"instanceCloseDelayDuration\": \"00:00:00\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1071' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:53:51 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --min-instance-count --min-instance-percentage + --instance-close-delay-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc2000006\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:52:21.7991688+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:52:21.7991688+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateless\",\r\n \"serviceTypeName\": \"VotingWebType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"Singleton\"\r\n + \ },\r\n \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n + \ \"instanceCount\": -1,\r\n \"instanceCloseDelayDuration\": \"00:00:00\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1071' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:53:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --min-instance-count --min-instance-percentage + --instance-close-delay-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc2000006\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:52:21.7991688+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:52:21.7991688+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateless\",\r\n \"serviceTypeName\": \"VotingWebType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"Singleton\"\r\n + \ },\r\n \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n + \ \"instanceCount\": -1,\r\n \"instanceCloseDelayDuration\": \"00:00:00\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1071' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:53:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --min-instance-count --min-instance-percentage + --instance-close-delay-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc2000006\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:52:21.7991688+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:52:21.7991688+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateless\",\r\n \"serviceTypeName\": \"VotingWebType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"Singleton\"\r\n + \ },\r\n \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n + \ \"instanceCount\": -1,\r\n \"instanceCloseDelayDuration\": \"00:00:00\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1071' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:53:54 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --min-instance-count --min-instance-percentage + --instance-close-delay-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc2000006\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:52:21.7991688+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:52:21.7991688+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateless\",\r\n \"serviceTypeName\": \"VotingWebType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"Singleton\"\r\n + \ },\r\n \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n + \ \"instanceCount\": -1,\r\n \"instanceCloseDelayDuration\": \"00:00:00\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1071' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:53:55 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --min-instance-count --min-instance-percentage + --instance-close-delay-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc2000006\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:52:21.7991688+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:52:21.7991688+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateless\",\r\n \"serviceTypeName\": \"VotingWebType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"Singleton\"\r\n + \ },\r\n \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n + \ \"instanceCount\": -1,\r\n \"instanceCloseDelayDuration\": \"00:00:00\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1071' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:53:57 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --min-instance-count --min-instance-percentage + --instance-close-delay-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc2000006\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:52:21.7991688+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:52:21.7991688+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateless\",\r\n \"serviceTypeName\": \"VotingWebType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"Singleton\"\r\n + \ },\r\n \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n + \ \"instanceCount\": -1,\r\n \"instanceCloseDelayDuration\": \"00:00:00\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1071' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:53:59 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "eastasia", "properties": {"correlationScheme": [], "serviceLoadMetrics": + [], "serviceKind": "Stateless", "serviceTypeName": "VotingWebType", "partitionDescription": + {"partitionScheme": "Singleton"}, "instanceCount": -1, "minInstanceCount": 2, + "minInstancePercentage": 20, "instanceCloseDelayDuration": "00:11:00"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + Content-Length: + - '328' + Content-Type: + - application/json + ParameterSetName: + - -g -c --application-name --service-name --min-instance-count --min-instance-percentage + --instance-close-delay-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc2000006\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:53:59.368359+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:53:59.368359+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"serviceKind\": \"Stateless\",\r\n \"serviceTypeName\": \"VotingWebType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"Singleton\"\r\n + \ },\r\n \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n + \ \"instanceCount\": -1,\r\n \"minInstanceCount\": 2,\r\n \"minInstancePercentage\": + 20,\r\n \"instanceCloseDelayDuration\": \"00:11:00\"\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/24530001-fa39-413c-b6c3-c1d25143650d?api-version=2021-01-01-preview + cache-control: + - no-cache + content-length: + - '1130' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:53:59 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperationresults/24530001-fa39-413c-b6c3-c1d25143650d?api-version=2021-01-01-preview + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --min-instance-count --min-instance-percentage + --instance-close-delay-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/24530001-fa39-413c-b6c3-c1d25143650d?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"24530001-fa39-413c-b6c3-c1d25143650d\",\r\n \"startTime\": + \"2021-03-23T00:53:59.4750142Z\",\r\n \"endTime\": \"2021-03-23T00:53:59.6312475Z\",\r\n + \ \"percentComplete\": 100.0,\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '203' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:54:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service update + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name --min-instance-count --min-instance-percentage + --instance-close-delay-duration + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc2000006\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:53:59.368359+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:53:59.368359+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"serviceKind\": \"Stateless\",\r\n \"serviceTypeName\": \"VotingWebType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"Singleton\"\r\n + \ },\r\n \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n + \ \"instanceCount\": -1,\r\n \"minInstanceCount\": 2,\r\n \"minInstancePercentage\": + 20,\r\n \"instanceCloseDelayDuration\": \"00:11:00\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1131' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:54:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -c --application-name --service-name + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc2000006\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:53:59.368359+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:53:59.368359+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\",\r\n + \ \"serviceKind\": \"Stateless\",\r\n \"serviceTypeName\": \"VotingWebType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"Singleton\"\r\n + \ },\r\n \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n + \ \"instanceCount\": -1,\r\n \"minInstanceCount\": 2,\r\n \"minInstancePercentage\": + 20,\r\n \"instanceCloseDelayDuration\": \"00:11:00\"\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/6fec0001-33b6-4b8e-aac0-9b6ef76ffcec?api-version=2021-01-01-preview + cache-control: + - no-cache + content-length: + - '1130' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:54:31 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperationresults/6fec0001-33b6-4b8e-aac0-9b6ef76ffcec?api-version=2021-01-01-preview + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service delete + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/6fec0001-33b6-4b8e-aac0-9b6ef76ffcec?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"6fec0001-33b6-4b8e-aac0-9b6ef76ffcec\",\r\n \"startTime\": + \"2021-03-23T00:54:32.2257366Z\",\r\n \"endTime\": \"2021-03-23T00:54:33.2569875Z\",\r\n + \ \"percentComplete\": 100.0,\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '203' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:55:01 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -c --application-name --service-name + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications/services\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testSvc000005\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:53:10.7241962+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:53:10.7241962+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\",\r\n + \ \"serviceKind\": \"Stateful\",\r\n \"serviceTypeName\": \"VotingDataType\",\r\n + \ \"partitionDescription\": {\r\n \"partitionScheme\": \"UniformInt64Range\",\r\n + \ \"count\": 1,\r\n \"lowKey\": 0,\r\n \"highKey\": 25\r\n },\r\n + \ \"serviceLoadMetrics\": [],\r\n \"correlationScheme\": [],\r\n \"hasPersistedState\": + true,\r\n \"targetReplicaSetSize\": 3,\r\n \"minReplicaSetSize\": 2,\r\n + \ \"replicaRestartWaitDuration\": \"00:11:00\",\r\n \"quorumLossWaitDuration\": + \"00:11:00\",\r\n \"standByReplicaKeepDuration\": \"00:11:00\",\r\n \"servicePlacementTimeLimit\": + \"00:11:00\"\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/6eea0001-8cbf-40bf-8852-ad20fab5e2e9?api-version=2021-01-01-preview + cache-control: + - no-cache + content-length: + - '1342' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:55:04 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperationresults/6eea0001-8cbf-40bf-8852-ad20fab5e2e9?api-version=2021-01-01-preview + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service delete + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/6eea0001-8cbf-40bf-8852-ad20fab5e2e9?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"6eea0001-8cbf-40bf-8852-ad20fab5e2e9\",\r\n \"startTime\": + \"2021-03-23T00:55:04.8553558Z\",\r\n \"endTime\": \"2021-03-23T00:55:06.0272733Z\",\r\n + \ \"percentComplete\": 100.0,\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '203' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:55:34 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -c --application-name + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applications/testApp000004\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applications\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"testApp000004\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:51:12.8795767+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:51:12.8795767+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\",\r\n + \ \"version\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType/versions/1.0.0\"\r\n + \ }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/6f9c0001-e685-4d48-8458-d914b6b77263?api-version=2021-01-01-preview + cache-control: + - no-cache + content-length: + - '1017' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:55:36 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperationresults/6f9c0001-e685-4d48-8458-d914b6b77263?api-version=2021-01-01-preview + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application delete + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/6f9c0001-e685-4d48-8458-d914b6b77263?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"6f9c0001-e685-4d48-8458-d914b6b77263\",\r\n \"startTime\": + \"2021-03-23T00:55:37.5270287Z\",\r\n \"endTime\": \"2021-03-23T00:55:38.421813Z\",\r\n + \ \"percentComplete\": 100.0,\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '202' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:56:07 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -c --application-type-name + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applicationTypes/VotingType?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedClusters/sfrp-cli-000002/applicationTypes/VotingType\",\r\n + \ \"type\": \"Microsoft.ServiceFabric/managedclusters/applicationTypes\",\r\n + \ \"location\": \"eastasia\",\r\n \"name\": \"VotingType\",\r\n \"systemData\": + {\r\n \"createdBy\": \"luslevin@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-03-23T00:49:39.6612391+00:00\",\r\n + \ \"lastModifiedBy\": \"luslevin@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-03-23T00:49:39.6612391+00:00\"\r\n + \ },\r\n \"properties\": {\r\n \"provisioningState\": \"Deleting\"\r\n + \ }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/e6710001-b74b-4ebd-871e-aa63af23aadd?api-version=2021-01-01-preview + cache-control: + - no-cache + content-length: + - '743' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:56:10 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperationresults/e6710001-b74b-4ebd-871e-aa63af23aadd?api-version=2021-01-01-preview + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-application-type delete + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-type-name + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceFabric/locations/eastasia/managedclusteroperations/e6710001-b74b-4ebd-871e-aa63af23aadd?api-version=2021-01-01-preview + response: + body: + string: "{\r\n \"name\": \"e6710001-b74b-4ebd-871e-aa63af23aadd\",\r\n \"startTime\": + \"2021-03-23T00:56:10.1632395Z\",\r\n \"endTime\": \"2021-03-23T00:56:30.2481826Z\",\r\n + \ \"percentComplete\": 100.0,\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '203' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 23 Mar 2021 00:56:40 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service show + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc000005?api-version=2021-01-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 23 Mar 2021 00:56:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sf managed-service show + Connection: + - keep-alive + ParameterSetName: + - -g -c --application-name --service-name + User-Agent: + - AZURECLI/2.20.0 (MSI) azsdk-python-mgmt-servicefabricmanagedclusters/1.0.0b1 + Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ServiceFabric/managedclusters/sfrp-cli-000002/applications/testApp000004/services/testSvc2000006?api-version=2021-01-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 23 Mar 2021 00:56:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 404 + message: Not Found +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/servicefabric/tests/latest/test_sf_managed_application.py b/src/azure-cli/azure/cli/command_modules/servicefabric/tests/latest/test_sf_managed_application.py new file mode 100644 index 00000000000..59191ff80df --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/servicefabric/tests/latest/test_sf_managed_application.py @@ -0,0 +1,262 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- +import unittest +from azure.cli.command_modules.servicefabric.tests.latest.test_util import ( + _create_cluster_with_separate_kv, + _create_managed_cluster, + _wait_for_managed_cluster_state_ready) +from azure.cli.core.util import CLIError +from azure.cli.testsdk import ScenarioTest, LiveScenarioTest, ResourceGroupPreparer +from azure.cli.core.azclierror import ResourceNotFoundError + + +class ServiceFabricManagedApplicationTests(ScenarioTest): + @ResourceGroupPreparer() + def test_managed_app_type(self): + self.kwargs.update({ + 'cert_tp': '123BDACDCDFB2C7B250192C6078E47D1E1DB119B', + 'loc': 'eastasia', + 'cluster_name': self.create_random_name('sfrp-cli-', 24), + 'vm_password': self.create_random_name('Pass@', 9), + 'app_type_name': 'VotingType', + 'v1': '1.0.0', + 'app_package_v1': 'https://sfmconeboxst.blob.core.windows.net/managed-application-deployment/Voting.sfpkg', + 'v2': '2.0.0', + 'app_package_v2': 'https://sfmconeboxst.blob.core.windows.net/managed-application-deployment/Voting.2.0.0.sfpkg', + 'app_name': self.create_random_name('testApp', 11), + 'stateful_service_type': 'VotingDataType', + 'stateless_service_type': 'VotingWebType', + 'stateful_service_name': self.create_random_name("testSvc", 20), + 'stateless_service_name': self.create_random_name("testSvc2", 20), + 'tags': 'key1=value1 key2=value2', + 'new_tags': 'key2=value3' + }) + _create_managed_cluster(self, self.kwargs) + _wait_for_managed_cluster_state_ready(self, self.kwargs) + + # List + self.cmd('az sf managed-application-type list -g {rg} -c {cluster_name}', + checks=[self.is_empty()]) + # Create + app_type = self.cmd('az sf managed-application-type create -g {rg} -c {cluster_name} --application-type-name {app_type_name} --tags {tags}', + checks=[self.check('provisioningState', 'Succeeded')]).get_output_in_json() + # Show + self.cmd('az sf managed-application-type show -g {rg} -c {cluster_name} --application-type-name {app_type_name}', + checks=[self.check('id', app_type['id']), self.check('tags', app_type['tags'])]) + # Update + updated_app_type = self.cmd('az sf managed-application-type update -g {rg} -c {cluster_name} --application-type-name {app_type_name} --tags {new_tags}', + checks=[self.check('provisioningState', 'Succeeded')]).get_output_in_json() + # Show + self.cmd('az sf managed-application-type show -g {rg} -c {cluster_name} --application-type-name {app_type_name}', + checks=[self.check('id', updated_app_type['id']), self.check('tags', updated_app_type['tags'])]) + # Delete + self.cmd('az sf managed-application-type delete -g {rg} -c {cluster_name} --application-type-name {app_type_name}') + + # SystemExit 3 'not found' + with self.assertRaisesRegexp(SystemExit, '3'): + self.cmd('az sf managed-application-type show -g {rg} -c {cluster_name} --application-type-name {app_type_name}') + + @ResourceGroupPreparer() + def test_managed_app_type_version(self): + self.kwargs.update({ + 'cert_tp': '123BDACDCDFB2C7B250192C6078E47D1E1DB119B', + 'loc': 'eastasia', + 'cluster_name': self.create_random_name('sfrp-cli-', 24), + 'vm_password': self.create_random_name('Pass@', 9), + 'app_type_name': 'VotingType', + 'v1': '1.0.0', + 'app_package_v1': 'https://sfmconeboxst.blob.core.windows.net/managed-application-deployment/Voting.sfpkg', + 'v2': '2.0.0', + 'app_package_v2': 'https://sfmconeboxst.blob.core.windows.net/managed-application-deployment/Voting.2.0.0.sfpkg', + 'app_name': self.create_random_name('testApp', 11), + 'stateful_service_type': 'VotingDataType', + 'stateless_service_type': 'VotingWebType', + 'stateful_service_name': self.create_random_name("testSvc", 20), + 'stateless_service_name': self.create_random_name("testSvc2", 20), + 'tags': 'key1=value1 key2=value2', + 'new_tags': 'key2=value3' + }) + _create_managed_cluster(self, self.kwargs) + _wait_for_managed_cluster_state_ready(self, self.kwargs) + + # 'not found' + with self.assertRaisesRegexp(Exception, r'\(NotFound\).+not found.'): + self.cmd('az sf managed-application-type version list -g {rg} -c {cluster_name} --application-type-name {app_type_name}') + # Create + app_type_version = self.cmd('az sf managed-application-type version create -g {rg} -c {cluster_name} ' + '--application-type-name {app_type_name} --version {v1} --package-url {app_package_v1} --tags {tags}', + checks=[self.check('provisioningState', 'Succeeded')]).get_output_in_json() + # Show + self.cmd('az sf managed-application-type version show -g {rg} -c {cluster_name} --application-type-name {app_type_name} --version {v1}', + checks=[self.check('id', app_type_version['id']), self.check('tags', app_type_version['tags'])]) + # Update + updated_app_type_version = self.cmd('az sf managed-application-type version update -g {rg} -c {cluster_name} --application-type-name {app_type_name} --version {v1} --tags {new_tags}', + checks=[self.check('provisioningState', 'Succeeded')]).get_output_in_json() + # Show + self.cmd('az sf managed-application-type version show -g {rg} -c {cluster_name} --application-type-name {app_type_name} --version {v1}', + checks=[self.check('id', updated_app_type_version['id']), self.check('tags', updated_app_type_version['tags'])]) + # Delete + self.cmd('az sf managed-application-type version delete -g {rg} -c {cluster_name} --application-type-name {app_type_name} --version {v1}') + + # SystemExit 3 'not found' + with self.assertRaisesRegex(SystemExit, '3'): + self.cmd('az sf managed-application-type version show -g {rg} -c {cluster_name} --application-type-name {app_type_name} --version {v1}') + + @ResourceGroupPreparer() + def test_managed_application(self): + updated_version = '2.0.0' + self.kwargs.update({ + 'cert_tp': '123BDACDCDFB2C7B250192C6078E47D1E1DB119B', + 'loc': 'eastasia', + 'cluster_name': self.create_random_name('sfrp-cli-', 24), + 'vm_password': self.create_random_name('Pass@', 9), + 'app_type_name': 'VotingType', + 'v1': '1.0.0', + 'app_package_v1': 'https://sfmconeboxst.blob.core.windows.net/managed-application-deployment/Voting.sfpkg', + 'v2': updated_version, + 'app_package_v2': 'https://sfmconeboxst.blob.core.windows.net/managed-application-deployment/Voting.2.0.0.sfpkg', + 'app_name': self.create_random_name('testApp', 11), + 'stateful_service_type': 'VotingDataType', + 'stateless_service_type': 'VotingWebType', + 'stateful_service_name': self.create_random_name("testSvc", 20), + 'stateless_service_name': self.create_random_name("testSvc2", 20), + 'tags': 'key1=value1 key2=value2', + 'new_tags': 'key2=value3' + }) + _create_managed_cluster(self, self.kwargs) + _wait_for_managed_cluster_state_ready(self, self.kwargs) + + # List Apps + self.cmd('az sf managed-application list -g {rg} -c {cluster_name}', + checks=[self.is_empty()]) + # Create App + app = self.cmd('az sf managed-application create -g {rg} -c {cluster_name} --application-name {app_name} ' + '--application-type-name {app_type_name} --application-type-version {v1} --package-url {app_package_v1}', + checks=[self.check('provisioningState', 'Succeeded')]).get_output_in_json() + # Show App + self.cmd('az sf managed-application show -g {rg} -c {cluster_name} --application-name {app_name}', + checks=[self.check('id', app['id'])]) + # Create Stateless Service + stateless_service = self.cmd('az sf managed-service create -g {rg} -c {cluster_name} --application-name {app_name} --state stateless --instance-count -1 ' + '--service-name {stateless_service_name} --service-type {stateless_service_type} --partition-scheme singleton', + checks=[self.check('properties.provisioningState', 'Succeeded')]).get_output_in_json() + # Show Stateless Service + self.cmd('az sf managed-service show -g {rg} -c {cluster_name} --application-name {app_name} --service-name {stateless_service_name}', + checks=[self.check('id', stateless_service['id'])]) + # Create New App Type + self.cmd('az sf managed-application-type version create -g {rg} -c {cluster_name} ' + '--application-type-name {app_type_name} --version {v2} --package-url {app_package_v2}', + checks=[self.check('provisioningState', 'Succeeded')]) + # Update Application + updated_app = self.cmd('az sf managed-application update -g {rg} -c {cluster_name} --application-name {app_name} --application-type-version {v2} ' + '--health-check-stable-duration 0 --health-check-wait-duration 0 --health-check-retry-timeout 0 ' + '--upgrade-domain-timeout 5000 --upgrade-timeout 7000 --failure-action Rollback --upgrade-replica-set-check-timeout 300 --force-restart', + checks=[self.check('provisioningState', 'Succeeded'), + self.check('upgradePolicy.forceRestart', True), + self.check('upgradePolicy.upgradeReplicaSetCheckTimeout', '300'), + self.check('upgradePolicy.rollingUpgradeMonitoringPolicy.healthCheckRetryTimeout', '00:00:00'), + self.check('upgradePolicy.rollingUpgradeMonitoringPolicy.healthCheckWaitDuration', '00:00:00'), + self.check('upgradePolicy.rollingUpgradeMonitoringPolicy.healthCheckStableDuration', '00:00:00'), + self.check('upgradePolicy.rollingUpgradeMonitoringPolicy.upgradeTimeout', '01:56:40'), + self.check('upgradePolicy.rollingUpgradeMonitoringPolicy.upgradeDomainTimeout', '01:23:20'), + self.check('upgradePolicy.rollingUpgradeMonitoringPolicy.failureAction', 'Rollback')]).get_output_in_json() + assert updated_app['version'].endswith(updated_version) + # Delete Application + self.cmd('az sf managed-application delete -g {rg} -c {cluster_name} --application-name {app_name}') + # Delete Application Type + self.cmd('az sf managed-application-type delete -g {rg} -c {cluster_name} --application-type-name {app_type_name}') + + # SystemExit 3 'not found' + with self.assertRaisesRegex(SystemExit, '3'): + self.cmd('az sf managed-application show -g {rg} -c {cluster_name} --application-name {app_name}') + + @ResourceGroupPreparer() + def test_managed_service(self): + self.kwargs.update({ + 'cert_tp': '123BDACDCDFB2C7B250192C6078E47D1E1DB119B', + 'loc': 'eastasia', + 'cluster_name': self.create_random_name('sfrp-cli-', 24), + 'vm_password': self.create_random_name('Pass@', 9), + 'app_type_name': 'VotingType', + 'v1': '1.0.0', + 'app_package_v1': 'https://sfmconeboxst.blob.core.windows.net/managed-application-deployment/Voting.sfpkg', + 'v2': '2.0.0', + 'app_package_v2': 'https://sfmconeboxst.blob.core.windows.net/managed-application-deployment/Voting.2.0.0.sfpkg', + 'app_name': self.create_random_name('testApp', 11), + 'stateful_service_type': 'VotingDataType', + 'stateless_service_type': 'VotingWebType', + 'stateful_service_name': self.create_random_name("testSvc", 20), + 'stateless_service_name': self.create_random_name("testSvc2", 20), + 'tags': 'key1=value1 key2=value2', + 'new_tags': 'key2=value3', + 'service_placement_time_limit': '00:11:00', + 'standby_replica_keep_duration': '00:11:00', + 'quorum_loss_wait_duration': '00:11:00', + 'replica_restart_wait_duration': '00:11:00', + 'min_instance_count': 2, + 'min_instance_percentage': 20, + 'instance_close_delay_duration': '00:11:00', + }) + _create_managed_cluster(self, self.kwargs) + _wait_for_managed_cluster_state_ready(self, self.kwargs) + + # Create App + self.cmd('az sf managed-application create -g {rg} -c {cluster_name} --application-name {app_name} ' + '--application-type-name {app_type_name} --application-type-version {v1} --package-url {app_package_v1}', + checks=[self.check('provisioningState', 'Succeeded')]) + # List Services + self.cmd('az sf managed-service list -g {rg} -c {cluster_name} --application-name {app_name}', + checks=[self.is_empty()]) + # Create Stateful Service + stateful_service = self.cmd('az sf managed-service create -g {rg} -c {cluster_name} --application-name {app_name} --state stateful --min-replica-set-size 2 ' + '--target-replica-set-size 3 --service-name {stateful_service_name} --service-type {stateful_service_type} --has-persisted-state ' + '--partition-scheme uniformint64range --partition-count 1 --low-key 0 --high-key 25', + checks=[self.check('properties.provisioningState', 'Succeeded')]).get_output_in_json() + # Show Stateful Service + self.cmd('az sf managed-service show -g {rg} -c {cluster_name} --application-name {app_name} --service-name {stateful_service_name}', + checks=[self.check('id', stateful_service['id'])]) + # Create Stateless Service + stateless_service = self.cmd('az sf managed-service create -g {rg} -c {cluster_name} --application-name {app_name} --state stateless --instance-count -1 ' + '--service-name {stateless_service_name} --service-type {stateless_service_type} --partition-scheme singleton', + checks=[self.check('properties.provisioningState', 'Succeeded')]).get_output_in_json() + # Show Stateless Service + self.cmd('az sf managed-service show -g {rg} -c {cluster_name} --application-name {app_name} --service-name {stateless_service_name}', + checks=[self.check('id', stateless_service['id'])]) + # Update Stateful Service + self.cmd('az sf managed-service update -g {rg} -c {cluster_name} --application-name {app_name} --service-name {stateful_service_name} ' + '--service-placement-time-limit {service_placement_time_limit} --stand-by-replica-keep-duration {standby_replica_keep_duration} ' + '--replica-restart-wait-duration {replica_restart_wait_duration} --quorum-loss-wait-duration {quorum_loss_wait_duration}', + checks=[self.check('properties.provisioningState', 'Succeeded'), + self.check('properties.servicePlacementTimeLimit', '00:11:00'), + self.check('properties.standByReplicaKeepDuration', '00:11:00'), + self.check('properties.quorumLossWaitDuration', '00:11:00'), + self.check('properties.replicaRestartWaitDuration', '00:11:00')]) + # Update Stateless Service + self.cmd('az sf managed-service update -g {rg} -c {cluster_name} --application-name {app_name} --service-name {stateless_service_name} ' + '--min-instance-count {min_instance_count} --min-instance-percentage {min_instance_percentage} ' + '--instance-close-delay-duration {instance_close_delay_duration}', + checks=[self.check('properties.provisioningState', 'Succeeded'), + self.check('properties.minInstanceCount', '2'), + self.check('properties.minInstancePercentage', '20'), + self.check('properties.instanceCloseDelayDuration', '00:11:00')]) + # Delete Stateless Service + self.cmd('az sf managed-service delete -g {rg} -c {cluster_name} --application-name {app_name} --service-name {stateless_service_name}') + # Delete Stateful Service + self.cmd('az sf managed-service delete -g {rg} -c {cluster_name} --application-name {app_name} --service-name {stateful_service_name}') + # Delete Application + self.cmd('az sf managed-application delete -g {rg} -c {cluster_name} --application-name {app_name}') + # Delete Application Type + self.cmd('az sf managed-application-type delete -g {rg} -c {cluster_name} --application-type-name {app_type_name}') + + # SystemExit 3 'not found' + with self.assertRaisesRegex(SystemExit, '3'): + self.cmd('az sf managed-service show -g {rg} -c {cluster_name} --application-name {app_name} --service-name {stateful_service_name}') + # SystemExit 3 'not found' + with self.assertRaisesRegex(SystemExit, '3'): + self.cmd('az sf managed-service show -g {rg} -c {cluster_name} --application-name {app_name} --service-name {stateless_service_name}') + + +if __name__ == '__main__': + unittest.main() diff --git a/src/azure-cli/azure/cli/command_modules/servicefabric/tests/latest/test_util.py b/src/azure-cli/azure/cli/command_modules/servicefabric/tests/latest/test_util.py index 8417bce746c..e2af4b8f40f 100644 --- a/src/azure-cli/azure/cli/command_modules/servicefabric/tests/latest/test_util.py +++ b/src/azure-cli/azure/cli/command_modules/servicefabric/tests/latest/test_util.py @@ -85,3 +85,31 @@ def _wait_for_cluster_state_ready(test, kwargs): raise CLIError("Cluster deployment timed out. cluster state is not 'Ready'. State: {}".format(state)) if test.in_recording or test.is_live: time.sleep(60) + + +# Manged Cluster helpers +def _create_managed_cluster(test, kwargs): + test.cmd('az sf managed-cluster create -g {rg} -c {cluster_name} -l {loc} --cert-thumbprint {cert_tp} --cert-is-admin --admin-password {vm_password}', + checks=[test.check('provisioningState', 'Succeeded'), + test.check('clusterState', 'WaitingForNodes')]) + + test.cmd('az sf managed-node-type create -g {rg} -c {cluster_name} -n pnt --instance-count 5 --primary', + checks=[test.check('provisioningState', 'Succeeded')]) + + +def _wait_for_managed_cluster_state_ready(test, kwargs): + timeout = time.time() + 900 + while True: + cluster = test.cmd('az sf managed-cluster show -g {rg} -c {cluster_name}').get_output_in_json() + + if cluster['clusterState']: + if cluster['clusterState'] == 'Ready': + return + + if time.time() > timeout: + state = "unknown" + if cluster['clusterState']: + state = cluster['clusterState'] + raise CLIError("Managed cluster deployment timed out. cluster state is not 'Ready'. State: {}".format(state)) + if test.in_recording or test.is_live: + time.sleep(60) diff --git a/src/azure-cli/azure/cli/command_modules/vm/_help.py b/src/azure-cli/azure/cli/command_modules/vm/_help.py index 7e1adcf5e98..34ee4e5ff69 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_help.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_help.py @@ -2757,7 +2757,7 @@ helps['vmss update'] = """ type: command -short-summary: Update a VMSS. +short-summary: Update a VMSS. Run 'az vmss update-instances' command to roll out the changes to VMs if you have not configured upgrade policy. examples: - name: Update a VMSS' license type for Azure Hybrid Benefit. text: az vmss update --name MyScaleSet --resource-group MyResourceGroup --license-type windows_server diff --git a/src/azure-cli/requirements.py3.Darwin.txt b/src/azure-cli/requirements.py3.Darwin.txt index a3bd9ec978d..16dc9d00795 100644 --- a/src/azure-cli/requirements.py3.Darwin.txt +++ b/src/azure-cli/requirements.py3.Darwin.txt @@ -27,7 +27,7 @@ azure-mgmt-batch==9.0.0 azure-mgmt-batchai==2.0.0 azure-mgmt-billing==1.0.0 azure-mgmt-botservice==0.3.0 -azure-mgmt-cdn==7.0.0 +azure-mgmt-cdn==11.0.0 azure-mgmt-cognitiveservices==6.3.0 azure-mgmt-compute==19.0.0 azure-mgmt-consumption==2.0.0 @@ -76,6 +76,7 @@ azure-mgmt-search==8.0.0 azure-mgmt-security==0.6.0 azure-mgmt-servicebus==0.6.0 azure-mgmt-servicefabric==0.5.0 +azure-mgmt-servicefabricmanagedclusters==1.0.0b1 azure-mgmt-signalr==0.4.0 azure-mgmt-sql==0.26.0 azure-mgmt-sqlvirtualmachine==0.5.0 diff --git a/src/azure-cli/requirements.py3.Linux.txt b/src/azure-cli/requirements.py3.Linux.txt index a3bd9ec978d..16dc9d00795 100644 --- a/src/azure-cli/requirements.py3.Linux.txt +++ b/src/azure-cli/requirements.py3.Linux.txt @@ -27,7 +27,7 @@ azure-mgmt-batch==9.0.0 azure-mgmt-batchai==2.0.0 azure-mgmt-billing==1.0.0 azure-mgmt-botservice==0.3.0 -azure-mgmt-cdn==7.0.0 +azure-mgmt-cdn==11.0.0 azure-mgmt-cognitiveservices==6.3.0 azure-mgmt-compute==19.0.0 azure-mgmt-consumption==2.0.0 @@ -76,6 +76,7 @@ azure-mgmt-search==8.0.0 azure-mgmt-security==0.6.0 azure-mgmt-servicebus==0.6.0 azure-mgmt-servicefabric==0.5.0 +azure-mgmt-servicefabricmanagedclusters==1.0.0b1 azure-mgmt-signalr==0.4.0 azure-mgmt-sql==0.26.0 azure-mgmt-sqlvirtualmachine==0.5.0 diff --git a/src/azure-cli/requirements.py3.windows.txt b/src/azure-cli/requirements.py3.windows.txt index 5030b2bd086..b50050d402f 100644 --- a/src/azure-cli/requirements.py3.windows.txt +++ b/src/azure-cli/requirements.py3.windows.txt @@ -27,7 +27,7 @@ azure-mgmt-batch==9.0.0 azure-mgmt-batchai==2.0.0 azure-mgmt-billing==1.0.0 azure-mgmt-botservice==0.3.0 -azure-mgmt-cdn==7.0.0 +azure-mgmt-cdn==11.0.0 azure-mgmt-cognitiveservices==6.3.0 azure-mgmt-compute==19.0.0 azure-mgmt-consumption==2.0.0 @@ -76,6 +76,7 @@ azure-mgmt-search==8.0.0 azure-mgmt-security==0.6.0 azure-mgmt-servicebus==0.6.0 azure-mgmt-servicefabric==0.5.0 +azure-mgmt-servicefabricmanagedclusters==1.0.0b1 azure-mgmt-signalr==0.4.0 azure-mgmt-sql==0.26.0 azure-mgmt-sqlvirtualmachine==0.5.0 diff --git a/src/azure-cli/setup.py b/src/azure-cli/setup.py index 773aebd4101..dd98ca03500 100644 --- a/src/azure-cli/setup.py +++ b/src/azure-cli/setup.py @@ -70,7 +70,7 @@ 'azure-mgmt-batch~=9.0.0', 'azure-mgmt-billing==1.0.0', 'azure-mgmt-botservice~=0.3.0', - 'azure-mgmt-cdn==7.0.0', + 'azure-mgmt-cdn==11.0.0', 'azure-mgmt-cognitiveservices~=6.3.0', 'azure-mgmt-compute~=19.0.0', 'azure-mgmt-consumption~=2.0', @@ -119,6 +119,7 @@ 'azure-mgmt-security~=0.6.0', 'azure-mgmt-servicebus~=0.6.0', 'azure-mgmt-servicefabric~=0.5.0', + 'azure-mgmt-servicefabricmanagedclusters~=1.0.0b1', 'azure-mgmt-signalr~=0.4.0', 'azure-mgmt-sqlvirtualmachine~=0.5.0', 'azure-mgmt-sql~=0.26.0',