diff --git a/src/aosm/HISTORY.rst b/src/aosm/HISTORY.rst index 818e0e6d7fd..9b047f409b7 100644 --- a/src/aosm/HISTORY.rst +++ b/src/aosm/HISTORY.rst @@ -5,6 +5,9 @@ Release History 2.0.0b1 ++++++++ +* Renamed nfdvName to nfdv in CGVs +* Added useful comments to input files +* Added 1:1 mapping between NFVIsFromSite and NF RETs * Added expose_all parameter in input file to expose all parameters in deployParameters and CGS * Removed multiple_instances and depends_on from input file * Added: mutating webhook for injectArtifactStoreDetails @@ -23,7 +26,6 @@ Release History * Fixed: Manifest name built from ACR name, so clashes * Fixed: Nexus image version must be semver * Fixed: Sensible error when no type given in helm chart schema -* No changes, building wheel from correct branch * Fixed: customLocation missing from Nexus * Fixed: helm charts not uploading correctly * Added: Nexus support @@ -33,6 +35,7 @@ Release History * Added validation of the values file for helm charts when using the `az aosm nfd build` command for the `cnf` definition type * Fixed helm chart image parsing in the `az aosm nfd build` command for the `cnf` definition type. This means that the images can now be extracted correctly from the helm chart. * Fixed: infinite loop bug when retrying failed artifact uploads to the ACR +* Added a check to determine if all base resources are already deployed. If they all are, the deployment of base bicep is skipped. 1.0.0b4 ++++++++ diff --git a/src/aosm/azext_aosm/aaz/latest/aosm/__cmd_group.py b/src/aosm/azext_aosm/aaz/latest/aosm/__cmd_group.py index 7976a47e869..9913b2ee9e7 100644 --- a/src/aosm/azext_aosm/aaz/latest/aosm/__cmd_group.py +++ b/src/aosm/azext_aosm/aaz/latest/aosm/__cmd_group.py @@ -13,6 +13,7 @@ @register_command_group( "aosm", + is_preview=True, ) class __CMDGroup(AAZCommandGroup): """Manage Azure Operator Service Manager resources. diff --git a/src/aosm/azext_aosm/aaz/latest/aosm/publisher/__cmd_group.py b/src/aosm/azext_aosm/aaz/latest/aosm/publisher/__cmd_group.py index a9c3764dca7..40e546f99f4 100644 --- a/src/aosm/azext_aosm/aaz/latest/aosm/publisher/__cmd_group.py +++ b/src/aosm/azext_aosm/aaz/latest/aosm/publisher/__cmd_group.py @@ -13,6 +13,7 @@ @register_command_group( "aosm publisher", + is_preview=True, ) class __CMDGroup(AAZCommandGroup): """Commands to manage publisher resources. diff --git a/src/aosm/azext_aosm/aaz/latest/aosm/publisher/artifact_manifest/__cmd_group.py b/src/aosm/azext_aosm/aaz/latest/aosm/publisher/artifact_manifest/__cmd_group.py index 77e42f47729..9afc79d2715 100644 --- a/src/aosm/azext_aosm/aaz/latest/aosm/publisher/artifact_manifest/__cmd_group.py +++ b/src/aosm/azext_aosm/aaz/latest/aosm/publisher/artifact_manifest/__cmd_group.py @@ -13,6 +13,7 @@ @register_command_group( "aosm publisher artifact-manifest", + is_preview=True, ) class __CMDGroup(AAZCommandGroup): """Commands to manage artifact manifest resources. diff --git a/src/aosm/azext_aosm/aaz/latest/aosm/publisher/artifact_manifest/_list.py b/src/aosm/azext_aosm/aaz/latest/aosm/publisher/artifact_manifest/_list.py index 0a89d613148..031b552d4a3 100644 --- a/src/aosm/azext_aosm/aaz/latest/aosm/publisher/artifact_manifest/_list.py +++ b/src/aosm/azext_aosm/aaz/latest/aosm/publisher/artifact_manifest/_list.py @@ -17,6 +17,9 @@ ) class List(AAZCommand): """List information about the artifact manifest. + + :example: List information about the artifact manifest in the 'contoso' artifact store of the 'contoso' publisher + az aosm publisher artifact-manifest list --resource-group contoso-aosm --publisher-name contoso --artifact-store-name contoso """ _aaz_info = { diff --git a/src/aosm/azext_aosm/aaz/latest/aosm/publisher/artifact_manifest/_list_credential.py b/src/aosm/azext_aosm/aaz/latest/aosm/publisher/artifact_manifest/_list_credential.py index cd302577721..94c3a78808a 100644 --- a/src/aosm/azext_aosm/aaz/latest/aosm/publisher/artifact_manifest/_list_credential.py +++ b/src/aosm/azext_aosm/aaz/latest/aosm/publisher/artifact_manifest/_list_credential.py @@ -13,9 +13,13 @@ @register_command( "aosm publisher artifact-manifest list-credential", + is_preview=True, ) class ListCredential(AAZCommand): """List credential for publishing artifacts defined in artifact manifest. + + :example: List credential to use for publishing an artifact from the 'contoso-manifest' manifest + az aosm publisher artifact-manifest list-credential --resource-group contoso-aosm --publisher-name contoso --artifact-store-name contoso --name contoso-manifest """ _aaz_info = { diff --git a/src/aosm/azext_aosm/aaz/latest/aosm/publisher/artifact_manifest/_update_state.py b/src/aosm/azext_aosm/aaz/latest/aosm/publisher/artifact_manifest/_update_state.py index de3abd35bed..ebb6fdcbcc4 100644 --- a/src/aosm/azext_aosm/aaz/latest/aosm/publisher/artifact_manifest/_update_state.py +++ b/src/aosm/azext_aosm/aaz/latest/aosm/publisher/artifact_manifest/_update_state.py @@ -17,6 +17,9 @@ ) class UpdateState(AAZCommand): """Update state for artifact manifest. + + :example: Update the 'contoso-manifest' artifact manifest's state to 'Uploaded' + az aosm publisher artifact-manifest update-state --resource-group contoso-aosm --publisher-name contoso --artifact-store-name contoso --name contoso-manifest --state Uploaded """ _aaz_info = { diff --git a/src/aosm/azext_aosm/aaz/latest/aosm/publisher/artifact_store/artifact/_list.py b/src/aosm/azext_aosm/aaz/latest/aosm/publisher/artifact_store/artifact/_list.py index a79de7138c9..25f7c9e25c7 100644 --- a/src/aosm/azext_aosm/aaz/latest/aosm/publisher/artifact_store/artifact/_list.py +++ b/src/aosm/azext_aosm/aaz/latest/aosm/publisher/artifact_store/artifact/_list.py @@ -17,6 +17,9 @@ ) class List(AAZCommand): """List all the available artifacts in the parent Artifact Store. + + :example: List all available artifacts in the 'contoso' artifact store of the 'contoso' publisher + az aosm publisher artifact-store artifact list --resource-group contoso-aosm --publisher-name contoso --artifact-store-name contoso """ _aaz_info = { diff --git a/src/aosm/azext_aosm/aaz/latest/aosm/publisher/artifact_store/artifact/version/_list.py b/src/aosm/azext_aosm/aaz/latest/aosm/publisher/artifact_store/artifact/version/_list.py index 0da8273beab..d575af3ba93 100644 --- a/src/aosm/azext_aosm/aaz/latest/aosm/publisher/artifact_store/artifact/version/_list.py +++ b/src/aosm/azext_aosm/aaz/latest/aosm/publisher/artifact_store/artifact/version/_list.py @@ -17,6 +17,9 @@ ) class List(AAZCommand): """List a Artifact overview information. + + :example: List overview information for the 'nginx' artifact in the 'contoso' artifact store of the 'contoso' publisher + az aosm publisher artifact-store artifact version list --resource-group contoso-aosm --publisher-name contoso --artifact-store-name contoso --artifact-name nginx """ _aaz_info = { diff --git a/src/aosm/azext_aosm/aaz/latest/aosm/publisher/artifact_store/artifact/version/_update_state.py b/src/aosm/azext_aosm/aaz/latest/aosm/publisher/artifact_store/artifact/version/_update_state.py index aded71e7f7a..424d200fdd4 100644 --- a/src/aosm/azext_aosm/aaz/latest/aosm/publisher/artifact_store/artifact/version/_update_state.py +++ b/src/aosm/azext_aosm/aaz/latest/aosm/publisher/artifact_store/artifact/version/_update_state.py @@ -17,6 +17,9 @@ ) class UpdateState(AAZCommand): """Update artifact state defined in artifact store. + + :example: Deprecate the 1.0.0 version of the 'nginx' artifact in the 'contoso' artifact store of the 'contoso' publisher + az aosm publisher artifact-store artifact version update-state --resource-group contoso-aosm --publisher-name contoso --artifact-store-name contoso --artifact-name nginx --name 1.0.0 --artifact-state Deprecated """ _aaz_info = { diff --git a/src/aosm/azext_aosm/aaz/latest/aosm/publisher/configuration_group_schema/_list.py b/src/aosm/azext_aosm/aaz/latest/aosm/publisher/configuration_group_schema/_list.py index 9a7edcc2b54..4474c8fc43f 100644 --- a/src/aosm/azext_aosm/aaz/latest/aosm/publisher/configuration_group_schema/_list.py +++ b/src/aosm/azext_aosm/aaz/latest/aosm/publisher/configuration_group_schema/_list.py @@ -17,6 +17,9 @@ ) class List(AAZCommand): """List information of the configuration group schemas under a publisher. + + :example: List the configuration group schemas defined under the contoso publisher + az aosm publisher configuration-group-schema list --resource-group contoso-aosm --publisher-name contoso """ _aaz_info = { diff --git a/src/aosm/azext_aosm/aaz/latest/aosm/publisher/configuration_group_schema/_update_state.py b/src/aosm/azext_aosm/aaz/latest/aosm/publisher/configuration_group_schema/_update_state.py index ee928e93b7e..93afbd0d345 100644 --- a/src/aosm/azext_aosm/aaz/latest/aosm/publisher/configuration_group_schema/_update_state.py +++ b/src/aosm/azext_aosm/aaz/latest/aosm/publisher/configuration_group_schema/_update_state.py @@ -17,6 +17,9 @@ ) class UpdateState(AAZCommand): """Update configuration group schema state. + + :example: Change the 'nginx-cgs' config group schema to 'Active' state + az aosm publisher configuration-group-schema update-state --resource-group contoso-aosm --publisher-name contoso --name nginx-cgs --version-state Active """ _aaz_info = { diff --git a/src/aosm/azext_aosm/aaz/latest/aosm/publisher/network_function_definition/version/_list.py b/src/aosm/azext_aosm/aaz/latest/aosm/publisher/network_function_definition/version/_list.py index 34435b938de..9f361ce6f6c 100644 --- a/src/aosm/azext_aosm/aaz/latest/aosm/publisher/network_function_definition/version/_list.py +++ b/src/aosm/azext_aosm/aaz/latest/aosm/publisher/network_function_definition/version/_list.py @@ -16,7 +16,10 @@ is_preview=True, ) class List(AAZCommand): - """List information about a list of network function definition versions under a network function definition group. + """List information about the network function definition versions available in the specified network function definition group. + + :example: List information about the network function definition versions available in the 'nginx' network function definition group + az aosm publisher network-function-definition version list --resource-group contoso-aosm --publisher-name contoso --group-name nginx """ _aaz_info = { diff --git a/src/aosm/azext_aosm/aaz/latest/aosm/publisher/network_function_definition/version/_update_state.py b/src/aosm/azext_aosm/aaz/latest/aosm/publisher/network_function_definition/version/_update_state.py index 7b7a106e927..d60add3ee27 100644 --- a/src/aosm/azext_aosm/aaz/latest/aosm/publisher/network_function_definition/version/_update_state.py +++ b/src/aosm/azext_aosm/aaz/latest/aosm/publisher/network_function_definition/version/_update_state.py @@ -17,6 +17,9 @@ ) class UpdateState(AAZCommand): """Update network function definition version state. + + :example: Change version 2.0.0 of the 'nginx' network function definition group to 'Active' state + az aosm publisher network-function-definition version update-state --resource-group contoso-aosm --publisher-name contoso --group-name nginx --version-name 2.0.0 --version-state Active """ _aaz_info = { diff --git a/src/aosm/azext_aosm/aaz/latest/aosm/publisher/network_service_design/version/_list.py b/src/aosm/azext_aosm/aaz/latest/aosm/publisher/network_service_design/version/_list.py index 51888b03e17..8e7c34441a6 100644 --- a/src/aosm/azext_aosm/aaz/latest/aosm/publisher/network_service_design/version/_list.py +++ b/src/aosm/azext_aosm/aaz/latest/aosm/publisher/network_service_design/version/_list.py @@ -16,7 +16,10 @@ is_preview=True, ) class List(AAZCommand): - """List information about a list of network service design versions under a network service design group. + """List information about the network service design versions available under the specified network service design group. + + :example: List information about the network service design versions available in the 'contoso-service' network service design group + az aosm publisher network-function-definition version list --resource-group contoso-aosm --publisher-name contoso --group-name contoso-service """ _aaz_info = { diff --git a/src/aosm/azext_aosm/aaz/latest/aosm/publisher/network_service_design/version/_update_state.py b/src/aosm/azext_aosm/aaz/latest/aosm/publisher/network_service_design/version/_update_state.py index faec26a4d70..1d1b4a37a2c 100644 --- a/src/aosm/azext_aosm/aaz/latest/aosm/publisher/network_service_design/version/_update_state.py +++ b/src/aosm/azext_aosm/aaz/latest/aosm/publisher/network_service_design/version/_update_state.py @@ -17,6 +17,9 @@ ) class UpdateState(AAZCommand): """Update network service design version state. + + :example: Change version 1.0.0 of the 'contoso-service' network service design group to 'Deprecated' state + az aosm publisher network-service-design version update-state --resource-group contoso-aosm --publisher-name contoso --group-name contoso-service --version-name 1.0.0 --version-state Deprecated """ _aaz_info = { diff --git a/src/aosm/azext_aosm/configuration_models/onboarding_cnf_input_config.py b/src/aosm/azext_aosm/configuration_models/onboarding_cnf_input_config.py index a4cefaf2c3c..1f76548b22d 100644 --- a/src/aosm/azext_aosm/configuration_models/onboarding_cnf_input_config.py +++ b/src/aosm/azext_aosm/configuration_models/onboarding_cnf_input_config.py @@ -68,7 +68,7 @@ class OnboardingCNFInputConfig(OnboardingNFDBaseInputConfig): metadata={ "comment": ( "List of registries from which to pull the image(s).\n" - "For example [sourceacr.azurecr.io/test, myacr2.azurecr.io, ghcr.io/path].\n" + 'For example ["sourceacr.azurecr.io/test", "myacr2.azurecr.io", "ghcr.io/path"].\n' "For non Azure Container Registries, ensure you have run a docker login command before running build.\n" ) }, diff --git a/src/aosm/azext_aosm/custom.py b/src/aosm/azext_aosm/custom.py index 17d89aef878..34f2bf3e31e 100644 --- a/src/aosm/azext_aosm/custom.py +++ b/src/aosm/azext_aosm/custom.py @@ -31,7 +31,7 @@ def onboard_nfd_generate_config(definition_type: str, output_file: str | None): handler = OnboardingNexusVNFCLIHandler() else: raise UnrecognizedArgumentError( - "Invalid definition type, valid values are 'cnf', 'vnf' or 'vnfnexus'") + "Invalid definition type, valid values are 'cnf', 'vnf' or 'vnf-nexus'") handler.generate_config(output_file) @@ -49,7 +49,7 @@ def onboard_nfd_build( handler = OnboardingNexusVNFCLIHandler(config_file_path=Path(config_file)) else: raise UnrecognizedArgumentError( - "Invalid definition type, valid values are 'cnf', 'vnf' or 'vnfnexus'") + "Invalid definition type, valid values are 'cnf', 'vnf' or 'vnf-nexus'") handler.build() @@ -80,7 +80,7 @@ def onboard_nfd_publish( all_deploy_params_file_path=Path(build_output_folder, ALL_PARAMETERS_FILE_NAME)) else: raise UnrecognizedArgumentError( - "Invalid definition type, valid values are 'cnf', 'vnf' or 'vnfnexus'") + "Invalid definition type, valid values are 'cnf', 'vnf' or 'vnf-nexus'") handler.publish(command_context=command_context) diff --git a/src/aosm/azext_aosm/definition_folder/reader/bicep_definition.py b/src/aosm/azext_aosm/definition_folder/reader/bicep_definition.py index f3078d2595f..1f483457fe8 100644 --- a/src/aosm/azext_aosm/definition_folder/reader/bicep_definition.py +++ b/src/aosm/azext_aosm/definition_folder/reader/bicep_definition.py @@ -15,11 +15,17 @@ from knack.log import get_logger from azext_aosm.common.command_context import CommandContext from azext_aosm.common.utils import convert_bicep_to_arm -from azext_aosm.configuration_models.common_parameters_config import \ - BaseCommonParametersConfig, CoreVNFCommonParametersConfig +from azext_aosm.configuration_models.common_parameters_config import ( + BaseCommonParametersConfig, + CoreVNFCommonParametersConfig, + NFDCommonParametersConfig, + NSDCommonParametersConfig +) from azext_aosm.definition_folder.reader.base_definition import \ BaseDefinitionElement -from azext_aosm.common.constants import ManifestsExist +from azext_aosm.common.constants import ( + ManifestsExist, +) logger = get_logger(__name__) @@ -153,21 +159,83 @@ def _artifact_manifests_exist( return ManifestsExist.NONE + @staticmethod + def _base_resources_exist( + config: BaseCommonParametersConfig, command_context: CommandContext + ) -> bool: + """ + + Returns True if all base resources exist, False if even one does not. + + Current code only allows one manifest for ACR, and one manifest for SA (if applicable), + so that's all we check for. + """ + try: + command_context.aosm_client.publishers.get( + resource_group_name=config.publisherResourceGroupName, + publisher_name=config.publisherName, + ) + except azure_exceptions.ResourceNotFoundError: + return False + + try: + command_context.aosm_client.artifact_stores.get( + resource_group_name=config.publisherResourceGroupName, + publisher_name=config.publisherName, + artifact_store_name=config.acrArtifactStoreName, + ) + except azure_exceptions.ResourceNotFoundError: + return False + + if isinstance(config, NFDCommonParametersConfig): + try: + command_context.aosm_client.network_function_definition_groups.get( + resource_group_name=config.publisherResourceGroupName, + publisher_name=config.publisherName, + network_function_definition_group_name=config.nfDefinitionGroup, + ) + except azure_exceptions.ResourceNotFoundError: + return False + + if isinstance(config, CoreVNFCommonParametersConfig): + try: + command_context.aosm_client.storage_accounts.get( + resource_group_name=config.publisherResourceGroupName, + publisher_name=config.publisherName, + storgae_account_name=config.saArtifactStoreName, + ) + except azure_exceptions.ResourceNotFoundError: + return False + + if isinstance(config, NSDCommonParametersConfig): + try: + command_context.aosm_client.network_service_design_groups.get( + resource_group_name=config.publisherResourceGroupName, + publisher_name=config.publisherName, + network_service_design_group_name=config.nsDesignGroup, + ) + except azure_exceptions.ResourceNotFoundError: + return False + + return True + def deploy( self, config: BaseCommonParametersConfig, command_context: CommandContext ): """Deploy the element.""" # TODO: Deploying base takes about 4 minutes, even if everything is already deployed. - # We should have a check to see if it's already deployed and skip it if so. - # The following can be used to speed up testing by skipping base deploy: TODO: remove this - # if self.path.name == "base": - # print("Temporarily skip base for debugging") - # return - # artifact manifests return an error if it already exists, so they need special handling. # Currently, _only_ manifests are special, but if we need to add any more custom code, # breaking this into a separate class (like we do for artifacts) is probably the right # thing to do. + if self.path.name == "base": + base_resources_exist = self._base_resources_exist( + config=config, command_context=command_context + ) + if base_resources_exist: + logger.info("Base resources already exist; skipping deployment.") + return + if self.path.name == "artifactManifest": manifests_exist = self._artifact_manifests_exist( config=config, command_context=command_context diff --git a/src/aosm/azext_aosm/inputs/helm_chart_input.py b/src/aosm/azext_aosm/inputs/helm_chart_input.py index 0e5fc50c3cf..b69a350c482 100644 --- a/src/aosm/azext_aosm/inputs/helm_chart_input.py +++ b/src/aosm/azext_aosm/inputs/helm_chart_input.py @@ -136,7 +136,7 @@ def from_chart_path( unpacked_chart_path = extract_tarfile(chart_path, temp_dir) name, version = HelmChartInput._get_name_and_version(unpacked_chart_path) - + shutil.rmtree(temp_dir) logger.debug("Deleted temporary directory %s", temp_dir) diff --git a/src/aosm/azext_aosm/tests/latest/integration_tests/scenario_tests/recordings/test_cnf_nfd_build_and_publish.yaml b/src/aosm/azext_aosm/tests/latest/integration_tests/scenario_tests/recordings/test_cnf_nfd_build_and_publish.yaml index 214ba057352..5862ceba25b 100644 --- a/src/aosm/azext_aosm/tests/latest/integration_tests/scenario_tests/recordings/test_cnf_nfd_build_and_publish.yaml +++ b/src/aosm/azext_aosm/tests/latest/integration_tests/scenario_tests/recordings/test_cnf_nfd_build_and_publish.yaml @@ -13,8 +13,8 @@ interactions: ParameterSetName: - -b --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: HEAD uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001?api-version=2022-09-01 response: @@ -26,22 +26,75 @@ interactions: content-length: - '0' date: - - Tue, 16 Apr 2024 13:00:40 GMT + - Tue, 30 Apr 2024 10:33:22 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: D28638F68F3F43E2BFC00BA57AECB72F Ref B: CO6AA3150220029 Ref C: 2024-04-30T10:33:22Z' status: code: 204 message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aosm nfd publish + Connection: + - keep-alive + ParameterSetName: + - -b --definition-type + User-Agent: + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cnf_nfd_000001/providers/Microsoft.HybridNetwork/publishers/automated-cli-tests-nginx-publisher?api-version=2023-09-01 + response: + body: + string: '{"error": {"code": "ResourceNotFound", "message": "The Resource ''Microsoft.HybridNetwork/publishers/automated-cli-tests-nginx-publisher'' + under resource group ''cli_test_cnf_nfd_000001'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '269' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 30 Apr 2024 10:33:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + x-msedge-ref: + - 'Ref A: EC0636FFAB1F410E9E78655787223217 Ref B: CO6AA3150219027 Ref C: 2024-04-30T10:33:22Z' + status: + code: 404 + message: Not Found - request: body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "metadata": {"_generator": {"name": "bicep", "version": - "0.26.54.24096", "templateHash": "15628236071821911085"}}, "parameters": {"location": + "0.26.170.59819", "templateHash": "10367121729954115364"}}, "parameters": {"location": {"type": "string"}, "publisherName": {"type": "string", "metadata": {"description": "Name of a publisher, expected to be in the resource group where you deploy the template"}}, "acrArtifactStoreName": {"type": "string", "metadata": {"description": @@ -70,26 +123,26 @@ interactions: Connection: - keep-alive Content-Length: - - '1890' + - '1891' Content-Type: - application/json ParameterSetName: - -b --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2022-09-01 response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713272445", - "name": "AOSM_CLI_deployment_1713272445", "type": "Microsoft.Resources/deployments", - "properties": {"templateHash": "15628236071821911085", "parameters": {"location": + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714473205", + "name": "AOSM_CLI_deployment_1714473205", "type": "Microsoft.Resources/deployments", + "properties": {"templateHash": "10367121729954115364", "parameters": {"location": {"type": "String", "value": "uksouth"}, "publisherName": {"type": "String", "value": "automated-cli-tests-nginx-publisher"}, "acrArtifactStoreName": {"type": "String", "value": "nginx-acr"}, "nfDefinitionGroup": {"type": "String", "value": "nginx"}}, "mode": "Incremental", "provisioningState": "Succeeded", "timestamp": - "0001-01-01T00:00:00Z", "duration": "PT0S", "correlationId": "494dfe8c-15d2-4a98-a99a-137a523a1c25", + "0001-01-01T00:00:00Z", "duration": "PT0S", "correlationId": "28df1bdb-0625-40d6-9040-6a31051f246c", "providers": [{"namespace": "Microsoft.HybridNetwork", "resourceTypes": [{"resourceType": "publishers", "locations": ["uksouth"]}, {"resourceType": "publishers/artifactStores", "locations": ["uksouth"]}, {"resourceType": "publishers/networkFunctionDefinitionGroups", @@ -113,24 +166,28 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:00:44 GMT + - Tue, 30 Apr 2024 10:33:27 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - '1199' + x-msedge-ref: + - 'Ref A: 9EEF720222B94338A55B28A731B7863B Ref B: CO6AA3150218037 Ref C: 2024-04-30T10:33:25Z' status: code: 200 message: OK - request: body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "metadata": {"_generator": {"name": "bicep", "version": - "0.26.54.24096", "templateHash": "15628236071821911085"}}, "parameters": {"location": + "0.26.170.59819", "templateHash": "10367121729954115364"}}, "parameters": {"location": {"type": "string"}, "publisherName": {"type": "string", "metadata": {"description": "Name of a publisher, expected to be in the resource group where you deploy the template"}}, "acrArtifactStoreName": {"type": "string", "metadata": {"description": @@ -159,27 +216,27 @@ interactions: Connection: - keep-alive Content-Length: - - '1890' + - '1891' Content-Type: - application/json ParameterSetName: - -b --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01 response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713272445", - "name": "AOSM_CLI_deployment_1713272445", "type": "Microsoft.Resources/deployments", - "properties": {"templateHash": "15628236071821911085", "parameters": {"location": + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714473205", + "name": "AOSM_CLI_deployment_1714473205", "type": "Microsoft.Resources/deployments", + "properties": {"templateHash": "10367121729954115364", "parameters": {"location": {"type": "String", "value": "uksouth"}, "publisherName": {"type": "String", "value": "automated-cli-tests-nginx-publisher"}, "acrArtifactStoreName": {"type": "String", "value": "nginx-acr"}, "nfDefinitionGroup": {"type": "String", "value": "nginx"}}, "mode": "Incremental", "provisioningState": "Accepted", "timestamp": - "2024-04-16T13:00:45.5609042Z", "duration": "PT0.0008285S", "correlationId": - "982295a5-7b5c-463b-8d28-52f53624ef6c", "providers": [{"namespace": "Microsoft.HybridNetwork", + "2024-04-30T10:33:33.4267894Z", "duration": "PT0.0002751S", "correlationId": + "be845226-1fdc-4827-baba-0485962c9bb8", "providers": [{"namespace": "Microsoft.HybridNetwork", "resourceTypes": [{"resourceType": "publishers", "locations": ["uksouth"]}, {"resourceType": "publishers/artifactStores", "locations": ["uksouth"]}, {"resourceType": "publishers/networkFunctionDefinitionGroups", "locations": ["uksouth"]}]}], @@ -194,7 +251,7 @@ interactions: "resourceName": "automated-cli-tests-nginx-publisher/nginx"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713272445/operationStatuses/08584883344401524198?api-version=2022-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714473205/operationStatuses/08584871336743247621?api-version=2022-09-01 cache-control: - no-cache content-length: @@ -202,17 +259,21 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:00:44 GMT + - Tue, 30 Apr 2024 10:33:33 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - '1199' + x-msedge-ref: + - 'Ref A: 27777AB7E467463A98FB531E1449C23E Ref B: CO6AA3150218039 Ref C: 2024-04-30T10:33:28Z' status: code: 201 message: Created @@ -230,10 +291,10 @@ interactions: ParameterSetName: - -b --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883344401524198?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871336743247621?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -245,15 +306,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:00:44 GMT + - Tue, 30 Apr 2024 10:33:35 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 329853AD7D9B4EF89594470AC52ABC26 Ref B: CO6AA3150219021 Ref C: 2024-04-30T10:33:34Z' status: code: 200 message: OK @@ -271,10 +336,10 @@ interactions: ParameterSetName: - -b --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883344401524198?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871336743247621?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -286,15 +351,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:01:15 GMT + - Tue, 30 Apr 2024 10:34:05 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 791756FC29FE45A4A5EB878B6390AF0C Ref B: CO6AA3150219027 Ref C: 2024-04-30T10:34:05Z' status: code: 200 message: OK @@ -312,10 +381,10 @@ interactions: ParameterSetName: - -b --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883344401524198?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871336743247621?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -327,15 +396,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:01:45 GMT + - Tue, 30 Apr 2024 10:34:35 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 794BA12B227E487297C72437EDA20BB9 Ref B: CO6AA3150219045 Ref C: 2024-04-30T10:34:36Z' status: code: 200 message: OK @@ -353,10 +426,10 @@ interactions: ParameterSetName: - -b --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883344401524198?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871336743247621?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -368,15 +441,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:02:15 GMT + - Tue, 30 Apr 2024 10:35:07 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 196FEBCCB1524F2B917788E5664A6EC4 Ref B: CO6AA3150219035 Ref C: 2024-04-30T10:35:06Z' status: code: 200 message: OK @@ -394,10 +471,10 @@ interactions: ParameterSetName: - -b --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883344401524198?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871336743247621?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -409,15 +486,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:02:44 GMT + - Tue, 30 Apr 2024 10:35:37 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: BD7B7B00CC2E4D6580E6A5EB37D24056 Ref B: CO6AA3150220037 Ref C: 2024-04-30T10:35:37Z' status: code: 200 message: OK @@ -435,10 +516,10 @@ interactions: ParameterSetName: - -b --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883344401524198?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871336743247621?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -450,15 +531,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:03:12 GMT + - Tue, 30 Apr 2024 10:36:08 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 740FD761516140A49759BFC665C92347 Ref B: CO6AA3150218019 Ref C: 2024-04-30T10:36:08Z' status: code: 200 message: OK @@ -476,10 +561,10 @@ interactions: ParameterSetName: - -b --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883344401524198?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871336743247621?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -491,15 +576,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:03:42 GMT + - Tue, 30 Apr 2024 10:36:38 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 44CD05BC36AF41C187533D1CE61B0FCE Ref B: CO6AA3150219019 Ref C: 2024-04-30T10:36:39Z' status: code: 200 message: OK @@ -517,10 +606,10 @@ interactions: ParameterSetName: - -b --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883344401524198?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871336743247621?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -532,15 +621,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:04:13 GMT + - Tue, 30 Apr 2024 10:37:10 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 648DB4148F004AEB88612483624E32A5 Ref B: CO6AA3150218027 Ref C: 2024-04-30T10:37:09Z' status: code: 200 message: OK @@ -558,10 +651,10 @@ interactions: ParameterSetName: - -b --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883344401524198?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871336743247621?api-version=2022-09-01 response: body: string: '{"status": "Succeeded"}' @@ -573,15 +666,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:04:43 GMT + - Tue, 30 Apr 2024 10:37:41 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: B203D446009A4AD996FD0F712ECF8D89 Ref B: CO6AA3150217019 Ref C: 2024-04-30T10:37:40Z' status: code: 200 message: OK @@ -599,21 +696,21 @@ interactions: ParameterSetName: - -b --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01 response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713272445", - "name": "AOSM_CLI_deployment_1713272445", "type": "Microsoft.Resources/deployments", - "properties": {"templateHash": "15628236071821911085", "parameters": {"location": + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714473205", + "name": "AOSM_CLI_deployment_1714473205", "type": "Microsoft.Resources/deployments", + "properties": {"templateHash": "10367121729954115364", "parameters": {"location": {"type": "String", "value": "uksouth"}, "publisherName": {"type": "String", "value": "automated-cli-tests-nginx-publisher"}, "acrArtifactStoreName": {"type": "String", "value": "nginx-acr"}, "nfDefinitionGroup": {"type": "String", "value": "nginx"}}, "mode": "Incremental", "provisioningState": "Succeeded", "timestamp": - "2024-04-16T13:04:32.594907Z", "duration": "PT3M47.0348313S", "correlationId": - "982295a5-7b5c-463b-8d28-52f53624ef6c", "providers": [{"namespace": "Microsoft.HybridNetwork", + "2024-04-30T10:37:27.7733078Z", "duration": "PT3M54.3467935S", "correlationId": + "be845226-1fdc-4827-baba-0485962c9bb8", "providers": [{"namespace": "Microsoft.HybridNetwork", "resourceTypes": [{"resourceType": "publishers", "locations": ["uksouth"]}, {"resourceType": "publishers/artifactStores", "locations": ["uksouth"]}, {"resourceType": "publishers/networkFunctionDefinitionGroups", "locations": ["uksouth"]}]}], @@ -633,19 +730,23 @@ interactions: cache-control: - no-cache content-length: - - '3053' + - '3054' content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:04:43 GMT + - Tue, 30 Apr 2024 10:37:41 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 501055DE78014574AE513C09915C7A18 Ref B: CO6AA3150218047 Ref C: 2024-04-30T10:37:41Z' status: code: 200 message: OK @@ -663,8 +764,8 @@ interactions: ParameterSetName: - -b --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cnf_nfd_000001/providers/Microsoft.HybridNetwork/publishers/automated-cli-tests-nginx-publisher/artifactStores/nginx-acr/artifactManifests/nginx-acr-manifest-1-0-0?api-version=2023-09-01 response: @@ -680,24 +781,28 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:04:43 GMT + - Tue, 30 Apr 2024 10:37:41 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-failure-cause: - gateway + x-msedge-ref: + - 'Ref A: AD689F6750384965B1309267B909DD46 Ref B: CO6AA3150218021 Ref C: 2024-04-30T10:37:42Z' status: code: 404 message: Not Found - request: body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "metadata": {"_generator": {"name": "bicep", "version": - "0.26.54.24096", "templateHash": "14797403328055843136"}}, "parameters": {"location": + "0.26.170.59819", "templateHash": "12600420176313960646"}}, "parameters": {"location": {"type": "string"}, "publisherName": {"type": "string", "metadata": {"description": "Name of an existing publisher, expected to be in the resource group where you deploy the template"}}, "acrArtifactStoreName": {"type": "string", "metadata": @@ -723,27 +828,27 @@ interactions: Connection: - keep-alive Content-Length: - - '1521' + - '1522' Content-Type: - application/json ParameterSetName: - -b --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2022-09-01 response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713272688", - "name": "AOSM_CLI_deployment_1713272688", "type": "Microsoft.Resources/deployments", - "properties": {"templateHash": "14797403328055843136", "parameters": {"location": + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714473465", + "name": "AOSM_CLI_deployment_1714473465", "type": "Microsoft.Resources/deployments", + "properties": {"templateHash": "12600420176313960646", "parameters": {"location": {"type": "String", "value": "uksouth"}, "publisherName": {"type": "String", "value": "automated-cli-tests-nginx-publisher"}, "acrArtifactStoreName": {"type": "String", "value": "nginx-acr"}, "acrManifestName": {"type": "String", "value": "nginx-acr-manifest-1-0-0"}}, "mode": "Incremental", "provisioningState": "Succeeded", "timestamp": "0001-01-01T00:00:00Z", "duration": "PT0S", "correlationId": - "41bfd32f-0640-436c-aa3c-2f164faadd1c", "providers": [{"namespace": "Microsoft.HybridNetwork", + "b93e7b98-ed16-43e1-a360-ed961567847b", "providers": [{"namespace": "Microsoft.HybridNetwork", "resourceTypes": [{"resourceType": "publishers/artifactStores/artifactManifests", "locations": ["uksouth"]}]}], "dependencies": [], "validatedResources": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cnf_nfd_000001/providers/Microsoft.HybridNetwork/publishers/automated-cli-tests-nginx-publisher/artifactStores/nginx-acr/artifactManifests/nginx-acr-manifest-1-0-0"}]}}' @@ -755,24 +860,28 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:04:48 GMT + - Tue, 30 Apr 2024 10:37:47 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' + x-msedge-ref: + - 'Ref A: 78915204D3944E6CB8F964D08E46D1B5 Ref B: CO6AA3150220027 Ref C: 2024-04-30T10:37:44Z' status: code: 200 message: OK - request: body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "metadata": {"_generator": {"name": "bicep", "version": - "0.26.54.24096", "templateHash": "14797403328055843136"}}, "parameters": {"location": + "0.26.170.59819", "templateHash": "12600420176313960646"}}, "parameters": {"location": {"type": "string"}, "publisherName": {"type": "string", "metadata": {"description": "Name of an existing publisher, expected to be in the resource group where you deploy the template"}}, "acrArtifactStoreName": {"type": "string", "metadata": @@ -798,50 +907,54 @@ interactions: Connection: - keep-alive Content-Length: - - '1521' + - '1522' Content-Type: - application/json ParameterSetName: - -b --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01 response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713272688", - "name": "AOSM_CLI_deployment_1713272688", "type": "Microsoft.Resources/deployments", - "properties": {"templateHash": "14797403328055843136", "parameters": {"location": + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714473465", + "name": "AOSM_CLI_deployment_1714473465", "type": "Microsoft.Resources/deployments", + "properties": {"templateHash": "12600420176313960646", "parameters": {"location": {"type": "String", "value": "uksouth"}, "publisherName": {"type": "String", "value": "automated-cli-tests-nginx-publisher"}, "acrArtifactStoreName": {"type": "String", "value": "nginx-acr"}, "acrManifestName": {"type": "String", "value": "nginx-acr-manifest-1-0-0"}}, "mode": "Incremental", "provisioningState": - "Accepted", "timestamp": "2024-04-16T13:04:49.5854159Z", "duration": "PT0.0008638S", - "correlationId": "b9f98d1b-8ccb-41a6-9fb2-e0969f882f6a", "providers": [{"namespace": + "Accepted", "timestamp": "2024-04-30T10:37:52.4334892Z", "duration": "PT0.0007971S", + "correlationId": "5dc45d5c-733b-4adc-9582-d450a9641663", "providers": [{"namespace": "Microsoft.HybridNetwork", "resourceTypes": [{"resourceType": "publishers/artifactStores/artifactManifests", "locations": ["uksouth"]}]}], "dependencies": []}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713272688/operationStatuses/08584883341960697191?api-version=2022-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714473465/operationStatuses/08584871334152176343?api-version=2022-09-01 cache-control: - no-cache content-length: - - '980' + - '982' content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:04:48 GMT + - Tue, 30 Apr 2024 10:37:52 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' + x-msedge-ref: + - 'Ref A: 7C528FBD90D342C585709FED2F83CE89 Ref B: CO6AA3150220045 Ref C: 2024-04-30T10:37:48Z' status: code: 201 message: Created @@ -859,10 +972,10 @@ interactions: ParameterSetName: - -b --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883341960697191?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871334152176343?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -874,15 +987,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:04:48 GMT + - Tue, 30 Apr 2024 10:37:53 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 1697E45CE8874440BB474FE44B116D50 Ref B: CO6AA3150220025 Ref C: 2024-04-30T10:37:53Z' status: code: 200 message: OK @@ -900,10 +1017,10 @@ interactions: ParameterSetName: - -b --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883341960697191?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871334152176343?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -915,15 +1032,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:05:17 GMT + - Tue, 30 Apr 2024 10:38:24 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: B5BE6FDB2CBE4F399BABE2629A3271BD Ref B: CO6AA3150220017 Ref C: 2024-04-30T10:38:24Z' status: code: 200 message: OK @@ -941,10 +1062,10 @@ interactions: ParameterSetName: - -b --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883341960697191?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871334152176343?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -956,15 +1077,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:05:47 GMT + - Tue, 30 Apr 2024 10:38:55 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: F86AB9A586E34487AB4750AFD8304126 Ref B: CO6AA3150219027 Ref C: 2024-04-30T10:38:55Z' status: code: 200 message: OK @@ -982,10 +1107,10 @@ interactions: ParameterSetName: - -b --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883341960697191?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871334152176343?api-version=2022-09-01 response: body: string: '{"status": "Succeeded"}' @@ -997,15 +1122,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:06:17 GMT + - Tue, 30 Apr 2024 10:39:26 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 2F830F8A760549F387384FAE05E468B8 Ref B: CO6AA3150219029 Ref C: 2024-04-30T10:39:25Z' status: code: 200 message: OK @@ -1023,21 +1152,21 @@ interactions: ParameterSetName: - -b --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01 response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713272688", - "name": "AOSM_CLI_deployment_1713272688", "type": "Microsoft.Resources/deployments", - "properties": {"templateHash": "14797403328055843136", "parameters": {"location": + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714473465", + "name": "AOSM_CLI_deployment_1714473465", "type": "Microsoft.Resources/deployments", + "properties": {"templateHash": "12600420176313960646", "parameters": {"location": {"type": "String", "value": "uksouth"}, "publisherName": {"type": "String", "value": "automated-cli-tests-nginx-publisher"}, "acrArtifactStoreName": {"type": "String", "value": "nginx-acr"}, "acrManifestName": {"type": "String", "value": "nginx-acr-manifest-1-0-0"}}, "mode": "Incremental", "provisioningState": - "Succeeded", "timestamp": "2024-04-16T13:06:10.9595899Z", "duration": "PT1M21.3750378S", - "correlationId": "b9f98d1b-8ccb-41a6-9fb2-e0969f882f6a", "providers": [{"namespace": + "Succeeded", "timestamp": "2024-04-30T10:39:17.0774806Z", "duration": "PT1M24.6447885S", + "correlationId": "5dc45d5c-733b-4adc-9582-d450a9641663", "providers": [{"namespace": "Microsoft.HybridNetwork", "resourceTypes": [{"resourceType": "publishers/artifactStores/artifactManifests", "locations": ["uksouth"]}]}], "dependencies": [], "outputResources": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cnf_nfd_000001/providers/Microsoft.HybridNetwork/publishers/automated-cli-tests-nginx-publisher/artifactStores/nginx-acr/artifactManifests/nginx-acr-manifest-1-0-0"}]}}' @@ -1049,15 +1178,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:06:17 GMT + - Tue, 30 Apr 2024 10:39:26 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 8666BF8825B445238F03AB435EDCEB2F Ref B: CO6AA3150219039 Ref C: 2024-04-30T10:39:26Z' status: code: 200 message: OK @@ -1077,15 +1210,15 @@ interactions: ParameterSetName: - -b --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cnf_nfd_000001/providers/Microsoft.HybridNetwork/publishers/automated-cli-tests-nginx-publisher/artifactStores/nginx-acr/artifactManifests/nginx-acr-manifest-1-0-0/listCredential?api-version=2023-09-01 response: body: string: '{"username": "nginx-acr-manifest-1-0-0", "acrToken": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "acrServerUrl": "https://automatedclitestsnginxpublishernginxacr72dc38a622.azurecr.io", - "repositories": ["nginxdemo", "nginx"], "expiry": "2024-04-17T13:06:20.2909529+00:00", + "acrServerUrl": "https://automatedclitestsnginxpublishernginxacr192431245e.azurecr.io", + "repositories": ["nginxdemo", "nginx"], "expiry": "2024-05-01T10:39:30.3885457+00:00", "credentialType": "AzureContainerRegistryScopedToken"}' headers: cache-control: @@ -1095,13 +1228,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:06:19 GMT + - Tue, 30 Apr 2024 10:39:30 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-build-version: @@ -1110,13 +1245,15 @@ interactions: - 'True' x-ms-ratelimit-remaining-subscription-writes: - '1199' + x-msedge-ref: + - 'Ref A: 17968283A3C44269B0C66FF9F4621872 Ref B: CO6AA3150219035 Ref C: 2024-04-30T10:39:27Z' status: code: 200 message: OK - request: body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "metadata": {"_generator": {"name": "bicep", "version": - "0.26.54.24096", "templateHash": "13894353345379066482"}}, "parameters": {"location": + "0.26.170.59819", "templateHash": "8222130002561750249"}}, "parameters": {"location": {"type": "string"}, "publisherName": {"type": "string", "metadata": {"description": "Name of an existing publisher, expected to be in the resource group where you deploy the template"}}, "acrArtifactStoreName": {"type": "string", "metadata": @@ -1166,21 +1303,21 @@ interactions: ParameterSetName: - -b --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2022-09-01 response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713272806", - "name": "AOSM_CLI_deployment_1713272806", "type": "Microsoft.Resources/deployments", - "properties": {"templateHash": "13894353345379066482", "parameters": {"location": + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714473609", + "name": "AOSM_CLI_deployment_1714473609", "type": "Microsoft.Resources/deployments", + "properties": {"templateHash": "8222130002561750249", "parameters": {"location": {"type": "String", "value": "uksouth"}, "publisherName": {"type": "String", "value": "automated-cli-tests-nginx-publisher"}, "acrArtifactStoreName": {"type": "String", "value": "nginx-acr"}, "nfDefinitionGroup": {"type": "String", "value": "nginx"}, "nfDefinitionVersion": {"type": "String", "value": "1.0.0"}}, "mode": "Incremental", "provisioningState": "Succeeded", "timestamp": "0001-01-01T00:00:00Z", - "duration": "PT0S", "correlationId": "7c85e7d3-2f12-4532-8c6e-4a21869726f0", + "duration": "PT0S", "correlationId": "a4831cef-d960-4fad-a7a2-c75f7b1622e0", "providers": [{"namespace": "Microsoft.HybridNetwork", "resourceTypes": [{"resourceType": "publishers/networkFunctionDefinitionGroups/networkFunctionDefinitionVersions", "locations": ["uksouth"]}]}], "dependencies": [], "validatedResources": [{"id": @@ -1189,28 +1326,32 @@ interactions: cache-control: - no-cache content-length: - - '1329' + - '1328' content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:06:44 GMT + - Tue, 30 Apr 2024 10:40:10 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' + x-msedge-ref: + - 'Ref A: 9B9F6DFF2291462496ADFB5C241124DC Ref B: CO6AA3150217049 Ref C: 2024-04-30T10:40:08Z' status: code: 200 message: OK - request: body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "metadata": {"_generator": {"name": "bicep", "version": - "0.26.54.24096", "templateHash": "13894353345379066482"}}, "parameters": {"location": + "0.26.170.59819", "templateHash": "8222130002561750249"}}, "parameters": {"location": {"type": "string"}, "publisherName": {"type": "string", "metadata": {"description": "Name of an existing publisher, expected to be in the resource group where you deploy the template"}}, "acrArtifactStoreName": {"type": "string", "metadata": @@ -1260,45 +1401,49 @@ interactions: ParameterSetName: - -b --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01 response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713272806", - "name": "AOSM_CLI_deployment_1713272806", "type": "Microsoft.Resources/deployments", - "properties": {"templateHash": "13894353345379066482", "parameters": {"location": + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714473609", + "name": "AOSM_CLI_deployment_1714473609", "type": "Microsoft.Resources/deployments", + "properties": {"templateHash": "8222130002561750249", "parameters": {"location": {"type": "String", "value": "uksouth"}, "publisherName": {"type": "String", "value": "automated-cli-tests-nginx-publisher"}, "acrArtifactStoreName": {"type": "String", "value": "nginx-acr"}, "nfDefinitionGroup": {"type": "String", "value": "nginx"}, "nfDefinitionVersion": {"type": "String", "value": "1.0.0"}}, "mode": - "Incremental", "provisioningState": "Accepted", "timestamp": "2024-04-16T13:06:45.8173784Z", - "duration": "PT0.0008056S", "correlationId": "be87c359-0934-48ea-bc12-fa9aa4197fde", + "Incremental", "provisioningState": "Accepted", "timestamp": "2024-04-30T10:40:15.693914Z", + "duration": "PT0.0009238S", "correlationId": "4cb4c8dc-2860-42c2-9676-f89573b50a33", "providers": [{"namespace": "Microsoft.HybridNetwork", "resourceTypes": [{"resourceType": "publishers/networkFunctionDefinitionGroups/networkFunctionDefinitionVersions", "locations": ["uksouth"]}]}], "dependencies": []}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713272806/operationStatuses/08584883340798271292?api-version=2022-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714473609/operationStatuses/08584871332719068779?api-version=2022-09-01 cache-control: - no-cache content-length: - - '1059' + - '1057' content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:06:45 GMT + - Tue, 30 Apr 2024 10:40:16 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' + x-msedge-ref: + - 'Ref A: F980E35883C44FD281A4E6B1B65FEE6B Ref B: CO6AA3150219037 Ref C: 2024-04-30T10:40:11Z' status: code: 201 message: Created @@ -1316,30 +1461,34 @@ interactions: ParameterSetName: - -b --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883340798271292?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871332719068779?api-version=2022-09-01 response: body: - string: '{"status": "Accepted"}' + string: '{"status": "Running"}' headers: cache-control: - no-cache content-length: - - '22' + - '21' content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:06:45 GMT + - Tue, 30 Apr 2024 10:40:17 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: FA6A94470D6C423B8650C8DA4E7A5FAD Ref B: CO6AA3150219045 Ref C: 2024-04-30T10:40:16Z' status: code: 200 message: OK @@ -1357,10 +1506,10 @@ interactions: ParameterSetName: - -b --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883340798271292?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871332719068779?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -1372,15 +1521,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:07:14 GMT + - Tue, 30 Apr 2024 10:40:48 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 1DD159F539B2491BA05494E90BA10442 Ref B: CO6AA3150219027 Ref C: 2024-04-30T10:40:47Z' status: code: 200 message: OK @@ -1398,10 +1551,10 @@ interactions: ParameterSetName: - -b --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883340798271292?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871332719068779?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -1413,15 +1566,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:07:44 GMT + - Tue, 30 Apr 2024 10:41:19 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 1BD4CB5D5BC549F59D5AE6D12A9E5DD7 Ref B: CO6AA3150219017 Ref C: 2024-04-30T10:41:18Z' status: code: 200 message: OK @@ -1439,10 +1596,10 @@ interactions: ParameterSetName: - -b --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883340798271292?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871332719068779?api-version=2022-09-01 response: body: string: '{"status": "Succeeded"}' @@ -1454,15 +1611,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:08:14 GMT + - Tue, 30 Apr 2024 10:41:49 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 002C8801D70547409B8B375D0C1911DF Ref B: CO6AA3150219011 Ref C: 2024-04-30T10:41:49Z' status: code: 200 message: OK @@ -1480,21 +1641,21 @@ interactions: ParameterSetName: - -b --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01 response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713272806", - "name": "AOSM_CLI_deployment_1713272806", "type": "Microsoft.Resources/deployments", - "properties": {"templateHash": "13894353345379066482", "parameters": {"location": + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_cnf_nfd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714473609", + "name": "AOSM_CLI_deployment_1714473609", "type": "Microsoft.Resources/deployments", + "properties": {"templateHash": "8222130002561750249", "parameters": {"location": {"type": "String", "value": "uksouth"}, "publisherName": {"type": "String", "value": "automated-cli-tests-nginx-publisher"}, "acrArtifactStoreName": {"type": "String", "value": "nginx-acr"}, "nfDefinitionGroup": {"type": "String", "value": "nginx"}, "nfDefinitionVersion": {"type": "String", "value": "1.0.0"}}, "mode": - "Incremental", "provisioningState": "Succeeded", "timestamp": "2024-04-16T13:08:06.9694954Z", - "duration": "PT1M21.1529226S", "correlationId": "be87c359-0934-48ea-bc12-fa9aa4197fde", + "Incremental", "provisioningState": "Succeeded", "timestamp": "2024-04-30T10:41:41.072492Z", + "duration": "PT1M25.3795018S", "correlationId": "4cb4c8dc-2860-42c2-9676-f89573b50a33", "providers": [{"namespace": "Microsoft.HybridNetwork", "resourceTypes": [{"resourceType": "publishers/networkFunctionDefinitionGroups/networkFunctionDefinitionVersions", "locations": ["uksouth"]}]}], "dependencies": [], "outputResources": [{"id": @@ -1503,19 +1664,23 @@ interactions: cache-control: - no-cache content-length: - - '1345' + - '1343' content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:08:14 GMT + - Tue, 30 Apr 2024 10:41:49 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: B3A83603B8514BF48AE3912D53B67863 Ref B: CO6AA3150217021 Ref C: 2024-04-30T10:41:49Z' status: code: 200 message: OK diff --git a/src/aosm/azext_aosm/tests/latest/integration_tests/scenario_tests/recordings/test_vnf_nsd_build_and_publish.yaml b/src/aosm/azext_aosm/tests/latest/integration_tests/scenario_tests/recordings/test_vnf_nsd_build_and_publish.yaml index 8ee5ff4c185..74a801fe915 100644 --- a/src/aosm/azext_aosm/tests/latest/integration_tests/scenario_tests/recordings/test_vnf_nsd_build_and_publish.yaml +++ b/src/aosm/azext_aosm/tests/latest/integration_tests/scenario_tests/recordings/test_vnf_nsd_build_and_publish.yaml @@ -13,8 +13,8 @@ interactions: ParameterSetName: - --build-output-folder --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: HEAD uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001?api-version=2022-09-01 response: @@ -26,22 +26,75 @@ interactions: content-length: - '0' date: - - Tue, 16 Apr 2024 13:08:15 GMT + - Tue, 30 Apr 2024 10:41:56 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 5BCF7B57167D4B5D906463389AE5F38F Ref B: CO6AA3150218047 Ref C: 2024-04-30T10:41:56Z' status: code: 204 message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aosm nfd publish + Connection: + - keep-alive + ParameterSetName: + - --build-output-folder --definition-type + User-Agent: + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.HybridNetwork/publishers/automated-cli-tests-ubuntu-publisher?api-version=2023-09-01 + response: + body: + string: '{"error": {"code": "ResourceNotFound", "message": "The Resource ''Microsoft.HybridNetwork/publishers/automated-cli-tests-ubuntu-publisher'' + under resource group ''cli_test_vnf_nsd_000001'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '270' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 30 Apr 2024 10:41:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + x-msedge-ref: + - 'Ref A: E73A779F4A044E7592C08D74C92D410E Ref B: CO6AA3150220021 Ref C: 2024-04-30T10:41:56Z' + status: + code: 404 + message: Not Found - request: body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "metadata": {"_generator": {"name": "bicep", "version": - "0.26.54.24096", "templateHash": "4595863518953475042"}}, "parameters": {"location": + "0.26.170.59819", "templateHash": "330068761100729304"}}, "parameters": {"location": {"type": "string"}, "publisherName": {"type": "string", "metadata": {"description": "Name of a publisher, expected to be in the resource group where you deploy the template"}}, "acrArtifactStoreName": {"type": "string", "metadata": {"description": @@ -83,22 +136,22 @@ interactions: ParameterSetName: - --build-output-folder --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2022-09-01 response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713272902", - "name": "AOSM_CLI_deployment_1713272902", "type": "Microsoft.Resources/deployments", - "properties": {"templateHash": "4595863518953475042", "parameters": {"location": + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714473719", + "name": "AOSM_CLI_deployment_1714473719", "type": "Microsoft.Resources/deployments", + "properties": {"templateHash": "330068761100729304", "parameters": {"location": {"type": "String", "value": "uksouth"}, "publisherName": {"type": "String", "value": "automated-cli-tests-ubuntu-publisher"}, "acrArtifactStoreName": {"type": "String", "value": "ubuntu-acr"}, "saArtifactStoreName": {"type": "String", "value": "ubuntu-blob-store"}, "nfDefinitionGroup": {"type": "String", "value": "ubuntu-vm"}}, "mode": "Incremental", "provisioningState": "Succeeded", "timestamp": "0001-01-01T00:00:00Z", "duration": "PT0S", "correlationId": - "e8de01a9-8158-4e6a-bc0e-4668ec1c7fda", "providers": [{"namespace": "Microsoft.HybridNetwork", + "5418e68e-84ea-4f25-a66d-088eabfb61dc", "providers": [{"namespace": "Microsoft.HybridNetwork", "resourceTypes": [{"resourceType": "publishers", "locations": ["uksouth"]}, {"resourceType": "publishers/artifactStores", "locations": ["uksouth"]}, {"resourceType": "publishers/networkFunctionDefinitionGroups", "locations": ["uksouth"]}]}], @@ -125,28 +178,32 @@ interactions: cache-control: - no-cache content-length: - - '4028' + - '4027' content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:08:21 GMT + - Tue, 30 Apr 2024 10:42:01 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - '1199' + x-msedge-ref: + - 'Ref A: AA0296A4F50B43C387172827A2E2E126 Ref B: CO6AA3150219047 Ref C: 2024-04-30T10:41:59Z' status: code: 200 message: OK - request: body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "metadata": {"_generator": {"name": "bicep", "version": - "0.26.54.24096", "templateHash": "4595863518953475042"}}, "parameters": {"location": + "0.26.170.59819", "templateHash": "330068761100729304"}}, "parameters": {"location": {"type": "string"}, "publisherName": {"type": "string", "metadata": {"description": "Name of a publisher, expected to be in the resource group where you deploy the template"}}, "acrArtifactStoreName": {"type": "string", "metadata": {"description": @@ -188,22 +245,22 @@ interactions: ParameterSetName: - --build-output-folder --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01 response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713272902", - "name": "AOSM_CLI_deployment_1713272902", "type": "Microsoft.Resources/deployments", - "properties": {"templateHash": "4595863518953475042", "parameters": {"location": + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714473719", + "name": "AOSM_CLI_deployment_1714473719", "type": "Microsoft.Resources/deployments", + "properties": {"templateHash": "330068761100729304", "parameters": {"location": {"type": "String", "value": "uksouth"}, "publisherName": {"type": "String", "value": "automated-cli-tests-ubuntu-publisher"}, "acrArtifactStoreName": {"type": "String", "value": "ubuntu-acr"}, "saArtifactStoreName": {"type": "String", "value": "ubuntu-blob-store"}, "nfDefinitionGroup": {"type": "String", "value": "ubuntu-vm"}}, "mode": "Incremental", "provisioningState": "Accepted", - "timestamp": "2024-04-16T13:08:22.2836921Z", "duration": "PT0.0007337S", "correlationId": - "35e60e41-0ac9-49a7-97a1-b6a7962f68e8", "providers": [{"namespace": "Microsoft.HybridNetwork", + "timestamp": "2024-04-30T10:42:05.862138Z", "duration": "PT0.0001441S", "correlationId": + "2d443977-c768-457f-8e98-032c6eb4d4d3", "providers": [{"namespace": "Microsoft.HybridNetwork", "resourceTypes": [{"resourceType": "publishers", "locations": ["uksouth"]}, {"resourceType": "publishers/artifactStores", "locations": ["uksouth"]}, {"resourceType": "publishers/networkFunctionDefinitionGroups", "locations": ["uksouth"]}]}], @@ -224,25 +281,29 @@ interactions: "resourceName": "automated-cli-tests-ubuntu-publisher/ubuntu-vm"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713272902/operationStatuses/08584883339833700466?api-version=2022-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714473719/operationStatuses/08584871331619186378?api-version=2022-09-01 cache-control: - no-cache content-length: - - '3182' + - '3180' content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:08:22 GMT + - Tue, 30 Apr 2024 10:42:06 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' + x-msedge-ref: + - 'Ref A: F4AC603D329F474682CF86E5ADADC5EC Ref B: CO6AA3150220031 Ref C: 2024-04-30T10:42:01Z' status: code: 201 message: Created @@ -260,30 +321,34 @@ interactions: ParameterSetName: - --build-output-folder --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883339833700466?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871331619186378?api-version=2022-09-01 response: body: - string: '{"status": "Accepted"}' + string: '{"status": "Running"}' headers: cache-control: - no-cache content-length: - - '22' + - '21' content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:08:22 GMT + - Tue, 30 Apr 2024 10:42:06 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: B9C8D1D2892D407595441016CFADA469 Ref B: CO6AA3150220045 Ref C: 2024-04-30T10:42:07Z' status: code: 200 message: OK @@ -301,10 +366,10 @@ interactions: ParameterSetName: - --build-output-folder --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883339833700466?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871331619186378?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -316,15 +381,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:08:51 GMT + - Tue, 30 Apr 2024 10:42:37 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: FEBA34FD3F724A4D89133D50E86BA095 Ref B: CO6AA3150219021 Ref C: 2024-04-30T10:42:37Z' status: code: 200 message: OK @@ -342,10 +411,10 @@ interactions: ParameterSetName: - --build-output-folder --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883339833700466?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871331619186378?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -357,15 +426,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:09:22 GMT + - Tue, 30 Apr 2024 10:43:08 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: AABD9156386348B380BF010ADA0145D5 Ref B: CO6AA3150220027 Ref C: 2024-04-30T10:43:08Z' status: code: 200 message: OK @@ -383,10 +456,10 @@ interactions: ParameterSetName: - --build-output-folder --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883339833700466?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871331619186378?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -398,15 +471,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:09:51 GMT + - Tue, 30 Apr 2024 10:43:39 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 39FCE9B0018C42278F0371D510A4918B Ref B: CO6AA3150218037 Ref C: 2024-04-30T10:43:39Z' status: code: 200 message: OK @@ -424,10 +501,10 @@ interactions: ParameterSetName: - --build-output-folder --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883339833700466?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871331619186378?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -439,15 +516,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:10:20 GMT + - Tue, 30 Apr 2024 10:44:10 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 1387CFE01CDF41F2A62CE144F2224D6B Ref B: CO6AA3150220051 Ref C: 2024-04-30T10:44:10Z' status: code: 200 message: OK @@ -465,10 +546,10 @@ interactions: ParameterSetName: - --build-output-folder --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883339833700466?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871331619186378?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -480,15 +561,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:10:50 GMT + - Tue, 30 Apr 2024 10:44:41 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: D3C0A5ECD5314B3F8DC6289007F26BA9 Ref B: CO6AA3150217049 Ref C: 2024-04-30T10:44:41Z' status: code: 200 message: OK @@ -506,10 +591,10 @@ interactions: ParameterSetName: - --build-output-folder --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883339833700466?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871331619186378?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -521,15 +606,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:11:21 GMT + - Tue, 30 Apr 2024 10:45:12 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 2FCCAE29449D4A55AC9CCF5BD0EA680E Ref B: CO6AA3150217033 Ref C: 2024-04-30T10:45:11Z' status: code: 200 message: OK @@ -547,10 +636,10 @@ interactions: ParameterSetName: - --build-output-folder --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883339833700466?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871331619186378?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -562,15 +651,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:11:49 GMT + - Tue, 30 Apr 2024 10:45:42 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 368068A9B3CD466090055E2D4AFB55E4 Ref B: CO6AA3150219027 Ref C: 2024-04-30T10:45:42Z' status: code: 200 message: OK @@ -588,10 +681,10 @@ interactions: ParameterSetName: - --build-output-folder --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883339833700466?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871331619186378?api-version=2022-09-01 response: body: string: '{"status": "Succeeded"}' @@ -603,15 +696,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:12:19 GMT + - Tue, 30 Apr 2024 10:46:12 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: E5AF4857C172445B9DAE2F9647DA51B2 Ref B: CO6AA3150219027 Ref C: 2024-04-30T10:46:13Z' status: code: 200 message: OK @@ -629,22 +726,22 @@ interactions: ParameterSetName: - --build-output-folder --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01 response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713272902", - "name": "AOSM_CLI_deployment_1713272902", "type": "Microsoft.Resources/deployments", - "properties": {"templateHash": "4595863518953475042", "parameters": {"location": + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714473719", + "name": "AOSM_CLI_deployment_1714473719", "type": "Microsoft.Resources/deployments", + "properties": {"templateHash": "330068761100729304", "parameters": {"location": {"type": "String", "value": "uksouth"}, "publisherName": {"type": "String", "value": "automated-cli-tests-ubuntu-publisher"}, "acrArtifactStoreName": {"type": "String", "value": "ubuntu-acr"}, "saArtifactStoreName": {"type": "String", "value": "ubuntu-blob-store"}, "nfDefinitionGroup": {"type": "String", "value": "ubuntu-vm"}}, "mode": "Incremental", "provisioningState": "Succeeded", - "timestamp": "2024-04-16T13:12:07.5717024Z", "duration": "PT3M45.288744S", - "correlationId": "35e60e41-0ac9-49a7-97a1-b6a7962f68e8", "providers": [{"namespace": + "timestamp": "2024-04-30T10:45:58.2094649Z", "duration": "PT3M52.347471S", + "correlationId": "2d443977-c768-457f-8e98-032c6eb4d4d3", "providers": [{"namespace": "Microsoft.HybridNetwork", "resourceTypes": [{"resourceType": "publishers", "locations": ["uksouth"]}, {"resourceType": "publishers/artifactStores", "locations": ["uksouth"]}, {"resourceType": "publishers/networkFunctionDefinitionGroups", @@ -671,19 +768,23 @@ interactions: cache-control: - no-cache content-length: - - '4043' + - '4042' content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:12:19 GMT + - Tue, 30 Apr 2024 10:46:13 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 67A921A7B06D43E094FF5217C2B573DC Ref B: CO6AA3150220023 Ref C: 2024-04-30T10:46:13Z' status: code: 200 message: OK @@ -701,8 +802,8 @@ interactions: ParameterSetName: - --build-output-folder --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.HybridNetwork/publishers/automated-cli-tests-ubuntu-publisher/artifactStores/ubuntu-acr/artifactManifests/ubuntu-vm-acr-manifest-1-0-0?api-version=2023-09-01 response: @@ -718,17 +819,21 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:12:19 GMT + - Tue, 30 Apr 2024 10:46:14 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-failure-cause: - gateway + x-msedge-ref: + - 'Ref A: D9F3A602D6E845C3BD311EDD9F2BD754 Ref B: CO6AA3150218019 Ref C: 2024-04-30T10:46:14Z' status: code: 404 message: Not Found @@ -746,8 +851,8 @@ interactions: ParameterSetName: - --build-output-folder --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.HybridNetwork/publishers/automated-cli-tests-ubuntu-publisher/artifactStores/ubuntu-blob-store/artifactManifests/ubuntu-vm-sa-manifest-1-0-0?api-version=2023-09-01 response: @@ -763,24 +868,28 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:12:19 GMT + - Tue, 30 Apr 2024 10:46:14 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-failure-cause: - gateway + x-msedge-ref: + - 'Ref A: 1807CDC61DC246D6BA67A25B34BAC1AA Ref B: CO6AA3150217019 Ref C: 2024-04-30T10:46:14Z' status: code: 404 message: Not Found - request: body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "metadata": {"_generator": {"name": "bicep", "version": - "0.26.54.24096", "templateHash": "14347213902282880649"}}, "parameters": {"location": + "0.26.170.59819", "templateHash": "13033189923379786498"}}, "parameters": {"location": {"type": "string"}, "publisherName": {"type": "string", "metadata": {"description": "Name of an existing publisher, expected to be in the resource group where you deploy the template"}}, "acrArtifactStoreName": {"type": "string", "metadata": @@ -815,21 +924,21 @@ interactions: Connection: - keep-alive Content-Length: - - '2299' + - '2300' Content-Type: - application/json ParameterSetName: - --build-output-folder --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2022-09-01 response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713273146", - "name": "AOSM_CLI_deployment_1713273146", "type": "Microsoft.Resources/deployments", - "properties": {"templateHash": "14347213902282880649", "parameters": {"location": + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714473977", + "name": "AOSM_CLI_deployment_1714473977", "type": "Microsoft.Resources/deployments", + "properties": {"templateHash": "13033189923379786498", "parameters": {"location": {"type": "String", "value": "uksouth"}, "publisherName": {"type": "String", "value": "automated-cli-tests-ubuntu-publisher"}, "acrArtifactStoreName": {"type": "String", "value": "ubuntu-acr"}, "saArtifactStoreName": {"type": @@ -837,7 +946,7 @@ interactions: "value": "ubuntu-vm-acr-manifest-1-0-0"}, "saManifestName": {"type": "String", "value": "ubuntu-vm-sa-manifest-1-0-0"}}, "mode": "Incremental", "provisioningState": "Succeeded", "timestamp": "0001-01-01T00:00:00Z", "duration": "PT0S", "correlationId": - "4b5d463f-3938-4a10-9a5d-056483a45be3", "providers": [{"namespace": "Microsoft.HybridNetwork", + "1ba09ea8-9402-4418-98e2-34ff62a6a4a4", "providers": [{"namespace": "Microsoft.HybridNetwork", "resourceTypes": [{"resourceType": "publishers/artifactStores/artifactManifests", "locations": ["uksouth"]}]}], "dependencies": [], "validatedResources": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.HybridNetwork/publishers/automated-cli-tests-ubuntu-publisher/artifactStores/ubuntu-acr/artifactManifests/ubuntu-vm-acr-manifest-1-0-0"}, @@ -850,24 +959,28 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:12:24 GMT + - Tue, 30 Apr 2024 10:46:19 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' + x-msedge-ref: + - 'Ref A: DC95BAD2CAD1436A8223DFE41D3C85B3 Ref B: CO6AA3150218047 Ref C: 2024-04-30T10:46:17Z' status: code: 200 message: OK - request: body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "metadata": {"_generator": {"name": "bicep", "version": - "0.26.54.24096", "templateHash": "14347213902282880649"}}, "parameters": {"location": + "0.26.170.59819", "templateHash": "13033189923379786498"}}, "parameters": {"location": {"type": "string"}, "publisherName": {"type": "string", "metadata": {"description": "Name of an existing publisher, expected to be in the resource group where you deploy the template"}}, "acrArtifactStoreName": {"type": "string", "metadata": @@ -902,34 +1015,34 @@ interactions: Connection: - keep-alive Content-Length: - - '2299' + - '2300' Content-Type: - application/json ParameterSetName: - --build-output-folder --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01 response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713273146", - "name": "AOSM_CLI_deployment_1713273146", "type": "Microsoft.Resources/deployments", - "properties": {"templateHash": "14347213902282880649", "parameters": {"location": + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714473977", + "name": "AOSM_CLI_deployment_1714473977", "type": "Microsoft.Resources/deployments", + "properties": {"templateHash": "13033189923379786498", "parameters": {"location": {"type": "String", "value": "uksouth"}, "publisherName": {"type": "String", "value": "automated-cli-tests-ubuntu-publisher"}, "acrArtifactStoreName": {"type": "String", "value": "ubuntu-acr"}, "saArtifactStoreName": {"type": "String", "value": "ubuntu-blob-store"}, "acrManifestName": {"type": "String", "value": "ubuntu-vm-acr-manifest-1-0-0"}, "saManifestName": {"type": "String", "value": "ubuntu-vm-sa-manifest-1-0-0"}}, "mode": "Incremental", "provisioningState": - "Accepted", "timestamp": "2024-04-16T13:12:25.5594541Z", "duration": "PT0.0006074S", - "correlationId": "f9c7ecbe-d587-4f86-ba84-49d9780f4ecf", "providers": [{"namespace": + "Accepted", "timestamp": "2024-04-30T10:46:24.7759539Z", "duration": "PT0.0001206S", + "correlationId": "75b6429d-1feb-4e13-bb18-e2ede7c2a62c", "providers": [{"namespace": "Microsoft.HybridNetwork", "resourceTypes": [{"resourceType": "publishers/artifactStores/artifactManifests", "locations": ["uksouth"]}]}], "dependencies": []}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713273146/operationStatuses/08584883337401066204?api-version=2022-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714473977/operationStatuses/08584871329030480553?api-version=2022-09-01 cache-control: - no-cache content-length: @@ -937,17 +1050,21 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:12:25 GMT + - Tue, 30 Apr 2024 10:46:24 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' + x-msedge-ref: + - 'Ref A: 2A586BDD72F74E4A92ED4A24AECD0B94 Ref B: CO6AA3150217025 Ref C: 2024-04-30T10:46:20Z' status: code: 201 message: Created @@ -965,30 +1082,34 @@ interactions: ParameterSetName: - --build-output-folder --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883337401066204?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871329030480553?api-version=2022-09-01 response: body: - string: '{"status": "Accepted"}' + string: '{"status": "Running"}' headers: cache-control: - no-cache content-length: - - '22' + - '21' content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:12:25 GMT + - Tue, 30 Apr 2024 10:46:25 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 9DF61D560A38447CBC4E783A4FBCE22B Ref B: CO6AA3150220027 Ref C: 2024-04-30T10:46:25Z' status: code: 200 message: OK @@ -1006,10 +1127,10 @@ interactions: ParameterSetName: - --build-output-folder --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883337401066204?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871329030480553?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -1021,15 +1142,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:12:55 GMT + - Tue, 30 Apr 2024 10:46:56 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: A5C57996BED74BEAB2B416A6383803E7 Ref B: CO6AA3150220031 Ref C: 2024-04-30T10:46:56Z' status: code: 200 message: OK @@ -1047,10 +1172,10 @@ interactions: ParameterSetName: - --build-output-folder --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883337401066204?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871329030480553?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -1062,15 +1187,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:13:24 GMT + - Tue, 30 Apr 2024 10:47:27 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: B8F6CA07B8E443059749D1D19E5228F2 Ref B: CO6AA3150219037 Ref C: 2024-04-30T10:47:26Z' status: code: 200 message: OK @@ -1088,10 +1217,10 @@ interactions: ParameterSetName: - --build-output-folder --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883337401066204?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871329030480553?api-version=2022-09-01 response: body: string: '{"status": "Succeeded"}' @@ -1103,15 +1232,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:13:54 GMT + - Tue, 30 Apr 2024 10:47:58 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 0BB9AB34A35D468985016CC2A6639F67 Ref B: CO6AA3150220017 Ref C: 2024-04-30T10:47:57Z' status: code: 200 message: OK @@ -1129,23 +1262,23 @@ interactions: ParameterSetName: - --build-output-folder --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01 response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713273146", - "name": "AOSM_CLI_deployment_1713273146", "type": "Microsoft.Resources/deployments", - "properties": {"templateHash": "14347213902282880649", "parameters": {"location": + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714473977", + "name": "AOSM_CLI_deployment_1714473977", "type": "Microsoft.Resources/deployments", + "properties": {"templateHash": "13033189923379786498", "parameters": {"location": {"type": "String", "value": "uksouth"}, "publisherName": {"type": "String", "value": "automated-cli-tests-ubuntu-publisher"}, "acrArtifactStoreName": {"type": "String", "value": "ubuntu-acr"}, "saArtifactStoreName": {"type": "String", "value": "ubuntu-blob-store"}, "acrManifestName": {"type": "String", "value": "ubuntu-vm-acr-manifest-1-0-0"}, "saManifestName": {"type": "String", "value": "ubuntu-vm-sa-manifest-1-0-0"}}, "mode": "Incremental", "provisioningState": - "Succeeded", "timestamp": "2024-04-16T13:13:47.3083141Z", "duration": "PT1M21.7494674S", - "correlationId": "f9c7ecbe-d587-4f86-ba84-49d9780f4ecf", "providers": [{"namespace": + "Succeeded", "timestamp": "2024-04-30T10:47:52.7353165Z", "duration": "PT1M27.9594832S", + "correlationId": "75b6429d-1feb-4e13-bb18-e2ede7c2a62c", "providers": [{"namespace": "Microsoft.HybridNetwork", "resourceTypes": [{"resourceType": "publishers/artifactStores/artifactManifests", "locations": ["uksouth"]}]}], "dependencies": [], "outputResources": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.HybridNetwork/publishers/automated-cli-tests-ubuntu-publisher/artifactStores/ubuntu-acr/artifactManifests/ubuntu-vm-acr-manifest-1-0-0"}, @@ -1158,15 +1291,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:13:54 GMT + - Tue, 30 Apr 2024 10:47:58 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: C9651A5DC244411D89CDB1F3CFC56EE0 Ref B: CO6AA3150220031 Ref C: 2024-04-30T10:47:58Z' status: code: 200 message: OK @@ -1186,15 +1323,15 @@ interactions: ParameterSetName: - --build-output-folder --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.HybridNetwork/publishers/automated-cli-tests-ubuntu-publisher/artifactStores/ubuntu-acr/artifactManifests/ubuntu-vm-acr-manifest-1-0-0/listCredential?api-version=2023-09-01 response: body: string: '{"username": "ubuntu-vm-acr-manifest-1-0-0", "acrToken": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "acrServerUrl": "https://automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io", - "repositories": ["automated-cli-tests-artifact"], "expiry": "2024-04-17T13:13:56.8427489+00:00", + "acrServerUrl": "https://automatedclitestsubuntupublisherubuntuace646428645.azurecr.io", + "repositories": ["automated-cli-tests-artifact"], "expiry": "2024-05-01T10:48:02.4890045+00:00", "credentialType": "AzureContainerRegistryScopedToken"}' headers: cache-control: @@ -1204,13 +1341,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:13:56 GMT + - Tue, 30 Apr 2024 10:48:02 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-build-version: @@ -1219,6 +1358,8 @@ interactions: - 'True' x-ms-ratelimit-remaining-subscription-writes: - '1199' + x-msedge-ref: + - 'Ref A: DC8D76D81D8943548CCB9913412F1FFD Ref B: CO6AA3150219047 Ref C: 2024-04-30T10:47:59Z' status: code: 200 message: OK @@ -1238,7 +1379,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: POST - uri: https://automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io/v2/automated-cli-tests-artifact/blobs/uploads/ + uri: https://automatedclitestsubuntupublisherubuntuace646428645.azurecr.io/v2/automated-cli-tests-artifact/blobs/uploads/ response: body: string: '{"errors": [{"code": "UNAUTHORIZED", "message": "authentication required, @@ -1258,7 +1399,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:13:57 GMT + - Tue, 30 Apr 2024 10:48:03 GMT docker-distribution-api-version: - registry/2.0 server: @@ -1267,7 +1408,7 @@ interactions: - max-age=31536000; includeSubDomains - max-age=31536000; includeSubDomains www-authenticate: - - Bearer realm="https://automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io/oauth2/token",service="automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io",scope="repository:automated-cli-tests-artifact:push,pull" + - Bearer realm="https://automatedclitestsubuntupublisherubuntuace646428645.azurecr.io/oauth2/token",service="automatedclitestsubuntupublisherubuntuace646428645.azurecr.io",scope="repository:automated-cli-tests-artifact:pull,push" x-content-type-options: - nosniff status: @@ -1283,11 +1424,11 @@ interactions: Connection: - keep-alive Service: - - automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io + - automatedclitestsubuntupublisherubuntuace646428645.azurecr.io User-Agent: - oras-py method: GET - uri: https://automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io/oauth2/token?service=automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io&scope=repository%3Aautomated-cli-tests-artifact%3Apush%2Cpull + uri: https://automatedclitestsubuntupublisherubuntuace646428645.azurecr.io/oauth2/token?service=automatedclitestsubuntupublisherubuntuace646428645.azurecr.io&scope=repository%3Aautomated-cli-tests-artifact%3Apull%2Cpush response: body: string: '{"access_token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}' @@ -1297,7 +1438,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:13:57 GMT + - Tue, 30 Apr 2024 10:48:03 GMT server: - AzureContainerRegistry strict-transport-security: @@ -1325,7 +1466,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: POST - uri: https://automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io/v2/automated-cli-tests-artifact/blobs/uploads/ + uri: https://automatedclitestsubuntupublisherubuntuace646428645.azurecr.io/v2/automated-cli-tests-artifact/blobs/uploads/ response: body: string: '' @@ -1340,13 +1481,13 @@ interactions: content-length: - '0' date: - - Tue, 16 Apr 2024 13:13:57 GMT + - Tue, 30 Apr 2024 10:48:04 GMT docker-distribution-api-version: - registry/2.0 docker-upload-uuid: - - 3810ed7f-fa42-420b-80b1-475159062fc5 + - 7aa6111e-ac06-4674-8fa0-2b8ef8f09c6e location: - - /v2/automated-cli-tests-artifact/blobs/uploads/3810ed7f-fa42-420b-80b1-475159062fc5?_nouploadcache=false&_state=N2nJsSCDg27SKRxPBSeZnhKeXGSrLvZ8fue2DZmlVoF7Ik5hbWUiOiJhdXRvbWF0ZWQtY2xpLXRlc3RzLWFydGlmYWN0IiwiVVVJRCI6IjM4MTBlZDdmLWZhNDItNDIwYi04MGIxLTQ3NTE1OTA2MmZjNSIsIk9mZnNldCI6MCwiU3RhcnRlZEF0IjoiMjAyNC0wNC0xNlQxMzoxMzo1Ny40OTE4MTg2MTFaIn0%3D + - /v2/automated-cli-tests-artifact/blobs/uploads/7aa6111e-ac06-4674-8fa0-2b8ef8f09c6e?_nouploadcache=false&_state=Mk_BkDmapdcG9N7b1poVWEyxwC_7j9w55MPWH9q1JJ97Ik5hbWUiOiJhdXRvbWF0ZWQtY2xpLXRlc3RzLWFydGlmYWN0IiwiVVVJRCI6IjdhYTYxMTFlLWFjMDYtNDY3NC04ZmEwLTJiOGVmOGYwOWM2ZSIsIk9mZnNldCI6MCwiU3RhcnRlZEF0IjoiMjAyNC0wNC0zMFQxMDo0ODowNC41NDMzNzY5NzRaIn0%3D range: - 0-0 server: @@ -1419,7 +1560,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: PUT - uri: https://automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io/v2/automated-cli-tests-artifact/blobs/uploads/3810ed7f-fa42-420b-80b1-475159062fc5?_nouploadcache=false&_state=N2nJsSCDg27SKRxPBSeZnhKeXGSrLvZ8fue2DZmlVoF7Ik5hbWUiOiJhdXRvbWF0ZWQtY2xpLXRlc3RzLWFydGlmYWN0IiwiVVVJRCI6IjM4MTBlZDdmLWZhNDItNDIwYi04MGIxLTQ3NTE1OTA2MmZjNSIsIk9mZnNldCI6MCwiU3RhcnRlZEF0IjoiMjAyNC0wNC0xNlQxMzoxMzo1Ny40OTE4MTg2MTFaIn0%3D&digest=sha256%3Ae71bf56543dc33dc8e550a0c574efe9a4875754a4ddf74347e448dec2462798b + uri: https://automatedclitestsubuntupublisherubuntuace646428645.azurecr.io/v2/automated-cli-tests-artifact/blobs/uploads/7aa6111e-ac06-4674-8fa0-2b8ef8f09c6e?_nouploadcache=false&_state=Mk_BkDmapdcG9N7b1poVWEyxwC_7j9w55MPWH9q1JJ97Ik5hbWUiOiJhdXRvbWF0ZWQtY2xpLXRlc3RzLWFydGlmYWN0IiwiVVVJRCI6IjdhYTYxMTFlLWFjMDYtNDY3NC04ZmEwLTJiOGVmOGYwOWM2ZSIsIk9mZnNldCI6MCwiU3RhcnRlZEF0IjoiMjAyNC0wNC0zMFQxMDo0ODowNC41NDMzNzY5NzRaIn0%3D&digest=sha256%3Ae71bf56543dc33dc8e550a0c574efe9a4875754a4ddf74347e448dec2462798b response: body: string: '' @@ -1434,7 +1575,7 @@ interactions: content-length: - '0' date: - - Tue, 16 Apr 2024 13:13:57 GMT + - Tue, 30 Apr 2024 10:48:05 GMT docker-content-digest: - sha256:e71bf56543dc33dc8e550a0c574efe9a4875754a4ddf74347e448dec2462798b docker-distribution-api-version: @@ -1467,7 +1608,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: POST - uri: https://automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io/v2/automated-cli-tests-artifact/blobs/uploads/ + uri: https://automatedclitestsubuntupublisherubuntuace646428645.azurecr.io/v2/automated-cli-tests-artifact/blobs/uploads/ response: body: string: '{"errors": [{"code": "UNAUTHORIZED", "message": "authentication required, @@ -1487,7 +1628,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:13:57 GMT + - Tue, 30 Apr 2024 10:48:05 GMT docker-distribution-api-version: - registry/2.0 server: @@ -1496,7 +1637,7 @@ interactions: - max-age=31536000; includeSubDomains - max-age=31536000; includeSubDomains www-authenticate: - - Bearer realm="https://automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io/oauth2/token",service="automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io",scope="repository:automated-cli-tests-artifact:pull,push" + - Bearer realm="https://automatedclitestsubuntupublisherubuntuace646428645.azurecr.io/oauth2/token",service="automatedclitestsubuntupublisherubuntuace646428645.azurecr.io",scope="repository:automated-cli-tests-artifact:pull,push" x-content-type-options: - nosniff status: @@ -1512,11 +1653,11 @@ interactions: Connection: - keep-alive Service: - - automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io + - automatedclitestsubuntupublisherubuntuace646428645.azurecr.io User-Agent: - oras-py method: GET - uri: https://automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io/oauth2/token?service=automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io&scope=repository%3Aautomated-cli-tests-artifact%3Apull%2Cpush + uri: https://automatedclitestsubuntupublisherubuntuace646428645.azurecr.io/oauth2/token?service=automatedclitestsubuntupublisherubuntuace646428645.azurecr.io&scope=repository%3Aautomated-cli-tests-artifact%3Apull%2Cpush response: body: string: '{"access_token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}' @@ -1526,7 +1667,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:13:57 GMT + - Tue, 30 Apr 2024 10:48:06 GMT server: - AzureContainerRegistry strict-transport-security: @@ -1534,7 +1675,7 @@ interactions: transfer-encoding: - chunked x-ms-ratelimit-remaining-calls-per-second: - - '333.3' + - '333.316667' status: code: 200 message: OK @@ -1554,7 +1695,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: POST - uri: https://automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io/v2/automated-cli-tests-artifact/blobs/uploads/ + uri: https://automatedclitestsubuntupublisherubuntuace646428645.azurecr.io/v2/automated-cli-tests-artifact/blobs/uploads/ response: body: string: '' @@ -1569,13 +1710,13 @@ interactions: content-length: - '0' date: - - Tue, 16 Apr 2024 13:13:57 GMT + - Tue, 30 Apr 2024 10:48:06 GMT docker-distribution-api-version: - registry/2.0 docker-upload-uuid: - - ec08a746-9100-4f0a-ab71-cf252af14449 + - e8452c4d-fcba-49e3-a79e-e518c92c294e location: - - /v2/automated-cli-tests-artifact/blobs/uploads/ec08a746-9100-4f0a-ab71-cf252af14449?_nouploadcache=false&_state=U4PxEc7ZPjmDH5Lum_jeOTz2aZvBYD-p67_QIYJkLiF7Ik5hbWUiOiJhdXRvbWF0ZWQtY2xpLXRlc3RzLWFydGlmYWN0IiwiVVVJRCI6ImVjMDhhNzQ2LTkxMDAtNGYwYS1hYjcxLWNmMjUyYWYxNDQ0OSIsIk9mZnNldCI6MCwiU3RhcnRlZEF0IjoiMjAyNC0wNC0xNlQxMzoxMzo1Ny44MjAzOTI5ODFaIn0%3D + - /v2/automated-cli-tests-artifact/blobs/uploads/e8452c4d-fcba-49e3-a79e-e518c92c294e?_nouploadcache=false&_state=Ey7Eb7ix9BY76xW1bBaiWN5ybKdZajfs-TuONOCIRnl7Ik5hbWUiOiJhdXRvbWF0ZWQtY2xpLXRlc3RzLWFydGlmYWN0IiwiVVVJRCI6ImU4NDUyYzRkLWZjYmEtNDllMy1hNzllLWU1MThjOTJjMjk0ZSIsIk9mZnNldCI6MCwiU3RhcnRlZEF0IjoiMjAyNC0wNC0zMFQxMDo0ODowNi45MjA5NDM1ODdaIn0%3D range: - 0-0 server: @@ -1604,7 +1745,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: PUT - uri: https://automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io/v2/automated-cli-tests-artifact/blobs/uploads/ec08a746-9100-4f0a-ab71-cf252af14449?_nouploadcache=false&_state=U4PxEc7ZPjmDH5Lum_jeOTz2aZvBYD-p67_QIYJkLiF7Ik5hbWUiOiJhdXRvbWF0ZWQtY2xpLXRlc3RzLWFydGlmYWN0IiwiVVVJRCI6ImVjMDhhNzQ2LTkxMDAtNGYwYS1hYjcxLWNmMjUyYWYxNDQ0OSIsIk9mZnNldCI6MCwiU3RhcnRlZEF0IjoiMjAyNC0wNC0xNlQxMzoxMzo1Ny44MjAzOTI5ODFaIn0%3D&digest=sha256%3A44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a + uri: https://automatedclitestsubuntupublisherubuntuace646428645.azurecr.io/v2/automated-cli-tests-artifact/blobs/uploads/e8452c4d-fcba-49e3-a79e-e518c92c294e?_nouploadcache=false&_state=Ey7Eb7ix9BY76xW1bBaiWN5ybKdZajfs-TuONOCIRnl7Ik5hbWUiOiJhdXRvbWF0ZWQtY2xpLXRlc3RzLWFydGlmYWN0IiwiVVVJRCI6ImU4NDUyYzRkLWZjYmEtNDllMy1hNzllLWU1MThjOTJjMjk0ZSIsIk9mZnNldCI6MCwiU3RhcnRlZEF0IjoiMjAyNC0wNC0zMFQxMDo0ODowNi45MjA5NDM1ODdaIn0%3D&digest=sha256%3A44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a response: body: string: '' @@ -1619,7 +1760,7 @@ interactions: content-length: - '0' date: - - Tue, 16 Apr 2024 13:13:57 GMT + - Tue, 30 Apr 2024 10:48:07 GMT docker-content-digest: - sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a docker-distribution-api-version: @@ -1658,7 +1799,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: PUT - uri: https://automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io/v2/automated-cli-tests-artifact/manifests/1.0.0 + uri: https://automatedclitestsubuntupublisherubuntuace646428645.azurecr.io/v2/automated-cli-tests-artifact/manifests/1.0.0 response: body: string: '{"errors": [{"code": "UNAUTHORIZED", "message": "authentication required, @@ -1678,7 +1819,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:13:58 GMT + - Tue, 30 Apr 2024 10:48:08 GMT docker-distribution-api-version: - registry/2.0 server: @@ -1687,7 +1828,7 @@ interactions: - max-age=31536000; includeSubDomains - max-age=31536000; includeSubDomains www-authenticate: - - Bearer realm="https://automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io/oauth2/token",service="automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io",scope="repository:automated-cli-tests-artifact:pull,push" + - Bearer realm="https://automatedclitestsubuntupublisherubuntuace646428645.azurecr.io/oauth2/token",service="automatedclitestsubuntupublisherubuntuace646428645.azurecr.io",scope="repository:automated-cli-tests-artifact:push,pull" x-content-type-options: - nosniff status: @@ -1703,11 +1844,11 @@ interactions: Connection: - keep-alive Service: - - automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io + - automatedclitestsubuntupublisherubuntuace646428645.azurecr.io User-Agent: - oras-py method: GET - uri: https://automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io/oauth2/token?service=automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io&scope=repository%3Aautomated-cli-tests-artifact%3Apull%2Cpush + uri: https://automatedclitestsubuntupublisherubuntuace646428645.azurecr.io/oauth2/token?service=automatedclitestsubuntupublisherubuntuace646428645.azurecr.io&scope=repository%3Aautomated-cli-tests-artifact%3Apush%2Cpull response: body: string: '{"access_token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}' @@ -1717,7 +1858,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:13:58 GMT + - Tue, 30 Apr 2024 10:48:08 GMT server: - AzureContainerRegistry strict-transport-security: @@ -1725,7 +1866,7 @@ interactions: transfer-encoding: - chunked x-ms-ratelimit-remaining-calls-per-second: - - '333.283333' + - '333.3' status: code: 200 message: OK @@ -1751,7 +1892,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: PUT - uri: https://automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io/v2/automated-cli-tests-artifact/manifests/1.0.0 + uri: https://automatedclitestsubuntupublisherubuntuace646428645.azurecr.io/v2/automated-cli-tests-artifact/manifests/1.0.0 response: body: string: '' @@ -1766,7 +1907,7 @@ interactions: content-length: - '0' date: - - Tue, 16 Apr 2024 13:13:58 GMT + - Tue, 30 Apr 2024 10:48:09 GMT docker-content-digest: - sha256:17d25d33c38f40fda4c9e45a0cec218b3f7f75e9c680ed8dd2a12ed0abdbc36b docker-distribution-api-version: @@ -1799,16 +1940,16 @@ interactions: ParameterSetName: - --build-output-folder --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.HybridNetwork/publishers/automated-cli-tests-ubuntu-publisher/artifactStores/ubuntu-blob-store/artifactManifests/ubuntu-vm-sa-manifest-1-0-0/listCredential?api-version=2023-09-01 response: body: - string: '{"storageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/ubuntu-blob-store-HostedResources-0441DCA7/providers/Microsoft.Storage/storageAccounts/0441dca7ubuntublobstore5", + string: '{"storageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/ubuntu-blob-store-HostedResources-5521A0FA/providers/Microsoft.Storage/storageAccounts/5521a0faubuntublobstore6", "containerCredentials": [{"containerName": "automatedclitestsvhd-1-0-0", "containerSasUri": "https://xxxxxxxxxxxxxxx.blob.core.windows.net/automatedclitestsvhd-1-0-0?sv=2021-08-06&si=StorageAccountAccessPolicy&sr=xxxxxxxxxxxxxxxxxxxx"}], - "expiry": "2024-04-17T13:14:00.1536208+00:00", "credentialType": "AzureStorageAccountToken"}' + "expiry": "2024-05-01T10:48:12.2429288+00:00", "credentialType": "AzureStorageAccountToken"}' headers: cache-control: - no-cache @@ -1817,13 +1958,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:14:00 GMT + - Tue, 30 Apr 2024 10:48:11 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-build-version: @@ -1831,7 +1974,9 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' + x-msedge-ref: + - 'Ref A: 5E21081F919E4586A465B6797A20DCAD Ref B: CO6AA3150219045 Ref C: 2024-04-30T10:48:09Z' status: code: 200 message: OK @@ -1847,13 +1992,13 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-storage-blob/12.16.0 Python/3.8.10 (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - azsdk-python-storage-blob/12.16.0 Python/3.10.12 (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) x-ms-blob-content-length: - '512' x-ms-blob-type: - PageBlob x-ms-date: - - Tue, 16 Apr 2024 13:14:02 GMT + - Tue, 30 Apr 2024 10:48:13 GMT x-ms-version: - '2022-11-02' method: PUT @@ -1865,11 +2010,11 @@ interactions: content-length: - '0' date: - - Tue, 16 Apr 2024 13:14:00 GMT + - Tue, 30 Apr 2024 10:48:12 GMT etag: - - '"0x8DC5E1714AAF5C2"' + - '"0x8DC6903089B15FB"' last-modified: - - Tue, 16 Apr 2024 13:14:00 GMT + - Tue, 30 Apr 2024 10:48:12 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-request-server-encrypted: @@ -1899,11 +2044,11 @@ interactions: Content-Type: - application/octet-stream If-Match: - - '"0x8DC5E1714AAF5C2"' + - '"0x8DC6903089B15FB"' User-Agent: - - azsdk-python-storage-blob/12.16.0 Python/3.8.10 (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - azsdk-python-storage-blob/12.16.0 Python/3.10.12 (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) x-ms-date: - - Tue, 16 Apr 2024 13:14:02 GMT + - Tue, 30 Apr 2024 10:48:13 GMT x-ms-page-write: - update x-ms-range: @@ -1919,11 +2064,11 @@ interactions: content-length: - '0' date: - - Tue, 16 Apr 2024 13:14:00 GMT + - Tue, 30 Apr 2024 10:48:13 GMT etag: - - '"0x8DC5E1714EEB767"' + - '"0x8DC690309034D96"' last-modified: - - Tue, 16 Apr 2024 13:14:00 GMT + - Tue, 30 Apr 2024 10:48:13 GMT server: - Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-blob-sequence-number: @@ -1940,7 +2085,7 @@ interactions: - request: body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "metadata": {"_generator": {"name": "bicep", "version": - "0.26.54.24096", "templateHash": "12072405825285278441"}}, "parameters": {"location": + "0.26.170.59819", "templateHash": "15824080055511440865"}}, "parameters": {"location": {"type": "string"}, "publisherName": {"type": "string", "metadata": {"description": "Name of an existing publisher, expected to be in the resource group where you deploy the template"}}, "acrArtifactStoreName": {"type": "string", "metadata": @@ -1991,28 +2136,28 @@ interactions: Connection: - keep-alive Content-Length: - - '3771' + - '3772' Content-Type: - application/json ParameterSetName: - --build-output-folder --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2022-09-01 response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713273247", - "name": "AOSM_CLI_deployment_1713273247", "type": "Microsoft.Resources/deployments", - "properties": {"templateHash": "12072405825285278441", "parameters": {"location": + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714474096", + "name": "AOSM_CLI_deployment_1714474096", "type": "Microsoft.Resources/deployments", + "properties": {"templateHash": "15824080055511440865", "parameters": {"location": {"type": "String", "value": "uksouth"}, "publisherName": {"type": "String", "value": "automated-cli-tests-ubuntu-publisher"}, "acrArtifactStoreName": {"type": "String", "value": "ubuntu-acr"}, "saArtifactStoreName": {"type": "String", "value": "ubuntu-blob-store"}, "nfDefinitionGroup": {"type": "String", "value": "ubuntu-vm"}, "nfDefinitionVersion": {"type": "String", "value": "1.0.0"}}, "mode": "Incremental", "provisioningState": "Succeeded", "timestamp": - "0001-01-01T00:00:00Z", "duration": "PT0S", "correlationId": "dd629976-3e9a-495b-86da-73a6b63e9baa", + "0001-01-01T00:00:00Z", "duration": "PT0S", "correlationId": "b8000687-d085-405b-9b85-8cad64a4d9a8", "providers": [{"namespace": "Microsoft.HybridNetwork", "resourceTypes": [{"resourceType": "publishers/networkFunctionDefinitionGroups/networkFunctionDefinitionVersions", "locations": ["uksouth"]}]}], "dependencies": [], "validatedResources": [{"id": @@ -2025,24 +2170,28 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:14:05 GMT + - Tue, 30 Apr 2024 10:48:18 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' + x-msedge-ref: + - 'Ref A: 2CFA25649ECF4D83872323BECCF139C9 Ref B: CO6AA3150217035 Ref C: 2024-04-30T10:48:15Z' status: code: 200 message: OK - request: body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "metadata": {"_generator": {"name": "bicep", "version": - "0.26.54.24096", "templateHash": "12072405825285278441"}}, "parameters": {"location": + "0.26.170.59819", "templateHash": "15824080055511440865"}}, "parameters": {"location": {"type": "string"}, "publisherName": {"type": "string", "metadata": {"description": "Name of an existing publisher, expected to be in the resource group where you deploy the template"}}, "acrArtifactStoreName": {"type": "string", "metadata": @@ -2093,34 +2242,34 @@ interactions: Connection: - keep-alive Content-Length: - - '3771' + - '3772' Content-Type: - application/json ParameterSetName: - --build-output-folder --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01 response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713273247", - "name": "AOSM_CLI_deployment_1713273247", "type": "Microsoft.Resources/deployments", - "properties": {"templateHash": "12072405825285278441", "parameters": {"location": + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714474096", + "name": "AOSM_CLI_deployment_1714474096", "type": "Microsoft.Resources/deployments", + "properties": {"templateHash": "15824080055511440865", "parameters": {"location": {"type": "String", "value": "uksouth"}, "publisherName": {"type": "String", "value": "automated-cli-tests-ubuntu-publisher"}, "acrArtifactStoreName": {"type": "String", "value": "ubuntu-acr"}, "saArtifactStoreName": {"type": "String", "value": "ubuntu-blob-store"}, "nfDefinitionGroup": {"type": "String", "value": "ubuntu-vm"}, "nfDefinitionVersion": {"type": "String", "value": "1.0.0"}}, "mode": "Incremental", "provisioningState": "Accepted", "timestamp": - "2024-04-16T13:14:06.5182362Z", "duration": "PT0.0000744S", "correlationId": - "aa229535-f8a6-40e5-b706-c5d368c0cb27", "providers": [{"namespace": "Microsoft.HybridNetwork", + "2024-04-30T10:48:23.6732701Z", "duration": "PT0.0002781S", "correlationId": + "3ad6ad79-9242-4ea4-9832-9ef8b39fca72", "providers": [{"namespace": "Microsoft.HybridNetwork", "resourceTypes": [{"resourceType": "publishers/networkFunctionDefinitionGroups/networkFunctionDefinitionVersions", "locations": ["uksouth"]}]}], "dependencies": []}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713273247/operationStatuses/08584883336391176441?api-version=2022-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714474096/operationStatuses/08584871327839943196?api-version=2022-09-01 cache-control: - no-cache content-length: @@ -2128,17 +2277,21 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:14:06 GMT + - Tue, 30 Apr 2024 10:48:24 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' + x-msedge-ref: + - 'Ref A: 4D904F2F931B40E8AB3629ECED8C4062 Ref B: CO6AA3150218029 Ref C: 2024-04-30T10:48:19Z' status: code: 201 message: Created @@ -2156,10 +2309,10 @@ interactions: ParameterSetName: - --build-output-folder --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883336391176441?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871327839943196?api-version=2022-09-01 response: body: string: '{"status": "Accepted"}' @@ -2171,15 +2324,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:14:06 GMT + - Tue, 30 Apr 2024 10:48:25 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 1971A1D65B1A4C63A9968E30B56EAB81 Ref B: CO6AA3150219039 Ref C: 2024-04-30T10:48:24Z' status: code: 200 message: OK @@ -2197,10 +2354,10 @@ interactions: ParameterSetName: - --build-output-folder --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883336391176441?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871327839943196?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -2212,15 +2369,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:14:36 GMT + - Tue, 30 Apr 2024 10:48:55 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 1F98D2987C184BFB9429D0B4EF394605 Ref B: CO6AA3150218037 Ref C: 2024-04-30T10:48:55Z' status: code: 200 message: OK @@ -2238,10 +2399,10 @@ interactions: ParameterSetName: - --build-output-folder --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883336391176441?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871327839943196?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -2253,15 +2414,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:15:06 GMT + - Tue, 30 Apr 2024 10:49:26 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: D0CEAB26FCA44DB89A49A61291C4BF3D Ref B: CO6AA3150219021 Ref C: 2024-04-30T10:49:26Z' status: code: 200 message: OK @@ -2279,10 +2444,10 @@ interactions: ParameterSetName: - --build-output-folder --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883336391176441?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871327839943196?api-version=2022-09-01 response: body: string: '{"status": "Succeeded"}' @@ -2294,15 +2459,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:15:36 GMT + - Tue, 30 Apr 2024 10:49:57 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 8E34FF9ACC664C53856F6AD7417BD389 Ref B: CO6AA3150219051 Ref C: 2024-04-30T10:49:56Z' status: code: 200 message: OK @@ -2320,23 +2489,23 @@ interactions: ParameterSetName: - --build-output-folder --definition-type User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01 response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713273247", - "name": "AOSM_CLI_deployment_1713273247", "type": "Microsoft.Resources/deployments", - "properties": {"templateHash": "12072405825285278441", "parameters": {"location": + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714474096", + "name": "AOSM_CLI_deployment_1714474096", "type": "Microsoft.Resources/deployments", + "properties": {"templateHash": "15824080055511440865", "parameters": {"location": {"type": "String", "value": "uksouth"}, "publisherName": {"type": "String", "value": "automated-cli-tests-ubuntu-publisher"}, "acrArtifactStoreName": {"type": "String", "value": "ubuntu-acr"}, "saArtifactStoreName": {"type": "String", "value": "ubuntu-blob-store"}, "nfDefinitionGroup": {"type": "String", "value": "ubuntu-vm"}, "nfDefinitionVersion": {"type": "String", "value": "1.0.0"}}, "mode": "Incremental", "provisioningState": "Succeeded", "timestamp": - "2024-04-16T13:15:26.4916326Z", "duration": "PT1M19.9734708S", "correlationId": - "aa229535-f8a6-40e5-b706-c5d368c0cb27", "providers": [{"namespace": "Microsoft.HybridNetwork", + "2024-04-30T10:49:51.2952889Z", "duration": "PT1M27.6222969S", "correlationId": + "3ad6ad79-9242-4ea4-9832-9ef8b39fca72", "providers": [{"namespace": "Microsoft.HybridNetwork", "resourceTypes": [{"resourceType": "publishers/networkFunctionDefinitionGroups/networkFunctionDefinitionVersions", "locations": ["uksouth"]}]}], "dependencies": [], "outputResources": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.HybridNetwork/publishers/automated-cli-tests-ubuntu-publisher/networkFunctionDefinitionGroups/ubuntu-vm/networkFunctionDefinitionVersions/1.0.0"}]}}' @@ -2348,15 +2517,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:15:36 GMT + - Tue, 30 Apr 2024 10:49:57 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 833132E39F86497486F4DE6C1CA98F9F Ref B: CO6AA3150219031 Ref C: 2024-04-30T10:49:57Z' status: code: 200 message: OK @@ -2374,8 +2547,8 @@ interactions: ParameterSetName: - -f User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.HybridNetwork/publishers/automated-cli-tests-ubuntu-publisher/networkFunctionDefinitionGroups/ubuntu-vm/networkFunctionDefinitionVersions/1.0.0?api-version=2023-09-01 response: @@ -2383,9 +2556,9 @@ interactions: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.HybridNetwork/publishers/automated-cli-tests-ubuntu-publisher/networkFunctionDefinitionGroups/ubuntu-vm/networkFunctionDefinitionVersions/1.0.0", "name": "1.0.0", "type": "microsoft.hybridnetwork/publishers/networkfunctiondefinitiongroups/networkfunctiondefinitionversions", "location": "uksouth", "systemData": {"createdBy": "xxxxxxxxxxx@microsoft.com", - "createdByType": "User", "createdAt": "2024-04-16T13:14:06.9513421Z", "lastModifiedBy": + "createdByType": "User", "createdAt": "2024-04-30T10:48:27.6500396Z", "lastModifiedBy": "xxxxxxxxxxx@microsoft.com", "lastModifiedByType": "User", "lastModifiedAt": - "2024-04-16T13:14:06.9513421Z"}, "properties": {"networkFunctionTemplate": + "2024-04-30T10:48:27.6500396Z"}, "properties": {"networkFunctionTemplate": {"networkFunctionApplications": [{"artifactProfile": {"vhdArtifactProfile": {"vhdName": "automated-cli-tests-vhd", "vhdVersion": "1-0-0"}, "artifactStore": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.HybridNetwork/publishers/automated-cli-tests-ubuntu-publisher/artifactStores/ubuntu-blob-store"}}, @@ -2409,19 +2582,23 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:15:37 GMT + - Tue, 30 Apr 2024 10:49:58 GMT etag: - - '"1f001e4f-0000-1100-0000-661e79b20000"' + - '"0702f3e5-0000-1100-0000-6630cc8a0000"' expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-providerhub-traffic: - 'True' + x-msedge-ref: + - 'Ref A: FF3DFE03C8E146CBABF2C36B339A5FF2 Ref B: CO6AA3150219029 Ref C: 2024-04-30T10:49:58Z' status: code: 200 message: OK @@ -2439,8 +2616,8 @@ interactions: ParameterSetName: - --build-output-folder User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: HEAD uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001?api-version=2022-09-01 response: @@ -2452,22 +2629,187 @@ interactions: content-length: - '0' date: - - Tue, 16 Apr 2024 13:15:37 GMT + - Tue, 30 Apr 2024 10:49:58 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 47ABC7B435B545E39D4C2CA4F01CA60A Ref B: CO6AA3150220027 Ref C: 2024-04-30T10:49:58Z' status: code: 204 message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aosm nsd publish + Connection: + - keep-alive + ParameterSetName: + - --build-output-folder + User-Agent: + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.HybridNetwork/publishers/automated-cli-tests-ubuntu-publisher?api-version=2023-09-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.HybridNetwork/publishers/automated-cli-tests-ubuntu-publisher", + "name": "automated-cli-tests-ubuntu-publisher", "type": "microsoft.hybridnetwork/publishers", + "location": "uksouth", "systemData": {"createdBy": "xxxxxxxxxxx@microsoft.com", + "createdByType": "User", "createdAt": "2024-04-30T10:42:09.4557548Z", "lastModifiedBy": + "xxxxxxxxxxx@microsoft.com", "lastModifiedByType": "User", "lastModifiedAt": + "2024-04-30T10:42:09.4557548Z"}, "properties": {"scope": "Private", "provisioningState": + "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '624' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 30 Apr 2024 10:49:59 GMT + etag: + - '"e5018e19-0000-1100-0000-6630cb160000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-msedge-ref: + - 'Ref A: 081B28C59D3643778BE09E4868DF28AC Ref B: CO6AA3150220029 Ref C: 2024-04-30T10:49:58Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aosm nsd publish + Connection: + - keep-alive + ParameterSetName: + - --build-output-folder + User-Agent: + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.HybridNetwork/publishers/automated-cli-tests-ubuntu-publisher/artifactStores/ubuntu-acr?api-version=2023-09-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.HybridNetwork/publishers/automated-cli-tests-ubuntu-publisher/artifactStores/ubuntu-acr", + "name": "ubuntu-acr", "type": "microsoft.hybridnetwork/publishers/artifactstores", + "location": "uksouth", "systemData": {"createdBy": "xxxxxxxxxxx@microsoft.com", + "createdByType": "User", "createdAt": "2024-04-30T10:43:33.4436326Z", "lastModifiedBy": + "xxxxxxxxxxx@microsoft.com", "lastModifiedByType": "Application", "lastModifiedAt": + "2024-04-30T10:48:42.5007488Z"}, "properties": {"storeType": "AzureContainerRegistry", + "replicationStrategy": "SingleReplication", "managedResourceGroupConfiguration": + {"name": "ubuntu-acr-HostedResources-040F988D", "location": "uksouth"}, "provisioningState": + "Succeeded", "storageResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/ubuntu-acr-HostedResources-040F988D/providers/Microsoft.ContainerRegistry/registries/AutomatedCliTestsUbuntuPublisherUbuntuAce646428645"}}' + headers: + cache-control: + - no-cache + content-length: + - '1045' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 30 Apr 2024 10:49:59 GMT + etag: + - '"0e0096c7-0000-1000-0000-6630cc8a0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-msedge-ref: + - 'Ref A: 05A415ACE1574517A0199C0E1F1DC1B8 Ref B: CO6AA3150217019 Ref C: 2024-04-30T10:49:59Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - aosm nsd publish + Connection: + - keep-alive + ParameterSetName: + - --build-output-folder + User-Agent: + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.HybridNetwork/publishers/automated-cli-tests-ubuntu-publisher/networkServiceDesignGroups/ubuntu?api-version=2023-09-01 + response: + body: + string: '{"error": {"code": "ResourceNotFound", "message": "The Resource ''Microsoft.HybridNetwork/publishers/automated-cli-tests-ubuntu-publisher/networkServiceDesignGroups/ubuntu'' + under resource group ''cli_test_vnf_nsd_000001'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '304' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 30 Apr 2024 10:49:59 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + x-msedge-ref: + - 'Ref A: D0A69113355449619263FD57DFA3733D Ref B: CO6AA3150219027 Ref C: 2024-04-30T10:50:00Z' + status: + code: 404 + message: Not Found - request: body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "metadata": {"_generator": {"name": "bicep", "version": - "0.26.54.24096", "templateHash": "14743947880900953734"}}, "parameters": {"location": + "0.26.170.59819", "templateHash": "7209447708351625668"}}, "parameters": {"location": {"type": "string"}, "publisherName": {"type": "string", "metadata": {"description": "Name of a publisher, expected to be in the resource group where you deploy the template"}}, "acrArtifactStoreName": {"type": "string", "metadata": {"description": @@ -2502,21 +2844,21 @@ interactions: ParameterSetName: - --build-output-folder User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2022-09-01 response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713273343", - "name": "AOSM_CLI_deployment_1713273343", "type": "Microsoft.Resources/deployments", - "properties": {"templateHash": "14743947880900953734", "parameters": {"location": + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714474203", + "name": "AOSM_CLI_deployment_1714474203", "type": "Microsoft.Resources/deployments", + "properties": {"templateHash": "7209447708351625668", "parameters": {"location": {"type": "String", "value": "uksouth"}, "publisherName": {"type": "String", "value": "automated-cli-tests-ubuntu-publisher"}, "acrArtifactStoreName": {"type": "String", "value": "ubuntu-acr"}, "nsDesignGroup": {"type": "String", "value": "ubuntu"}}, "mode": "Incremental", "provisioningState": "Succeeded", "timestamp": "0001-01-01T00:00:00Z", "duration": "PT0S", "correlationId": - "6cd4b820-c985-4d40-9084-b1b2539dd937", "providers": [{"namespace": "Microsoft.HybridNetwork", + "b3acf619-3e71-4729-87d9-ba524a409041", "providers": [{"namespace": "Microsoft.HybridNetwork", "resourceTypes": [{"resourceType": "publishers", "locations": ["uksouth"]}, {"resourceType": "publishers/artifactStores", "locations": ["uksouth"]}, {"resourceType": "publishers/networkServiceDesignGroups", "locations": ["uksouth"]}]}], "dependencies": @@ -2537,28 +2879,32 @@ interactions: cache-control: - no-cache content-length: - - '3034' + - '3033' content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:15:41 GMT + - Tue, 30 Apr 2024 10:50:05 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' + x-msedge-ref: + - 'Ref A: F408323127F641618578A25B7F2D427F Ref B: CO6AA3150217033 Ref C: 2024-04-30T10:50:02Z' status: code: 200 message: OK - request: body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "metadata": {"_generator": {"name": "bicep", "version": - "0.26.54.24096", "templateHash": "14743947880900953734"}}, "parameters": {"location": + "0.26.170.59819", "templateHash": "7209447708351625668"}}, "parameters": {"location": {"type": "string"}, "publisherName": {"type": "string", "metadata": {"description": "Name of a publisher, expected to be in the resource group where you deploy the template"}}, "acrArtifactStoreName": {"type": "string", "metadata": {"description": @@ -2593,21 +2939,21 @@ interactions: ParameterSetName: - --build-output-folder User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01 response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713273343", - "name": "AOSM_CLI_deployment_1713273343", "type": "Microsoft.Resources/deployments", - "properties": {"templateHash": "14743947880900953734", "parameters": {"location": + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714474203", + "name": "AOSM_CLI_deployment_1714474203", "type": "Microsoft.Resources/deployments", + "properties": {"templateHash": "7209447708351625668", "parameters": {"location": {"type": "String", "value": "uksouth"}, "publisherName": {"type": "String", "value": "automated-cli-tests-ubuntu-publisher"}, "acrArtifactStoreName": {"type": "String", "value": "ubuntu-acr"}, "nsDesignGroup": {"type": "String", "value": "ubuntu"}}, "mode": "Incremental", "provisioningState": "Accepted", - "timestamp": "2024-04-16T13:15:42.6486828Z", "duration": "PT0.0003317S", "correlationId": - "ff0f5875-e8c2-431a-a2ae-791397b949b5", "providers": [{"namespace": "Microsoft.HybridNetwork", + "timestamp": "2024-04-30T10:50:10.6883452Z", "duration": "PT0.0009884S", "correlationId": + "7ac9eb50-52b0-4cce-8b7c-caa0ddc61cbd", "providers": [{"namespace": "Microsoft.HybridNetwork", "resourceTypes": [{"resourceType": "publishers", "locations": ["uksouth"]}, {"resourceType": "publishers/artifactStores", "locations": ["uksouth"]}, {"resourceType": "publishers/networkServiceDesignGroups", "locations": ["uksouth"]}]}], "dependencies": @@ -2623,25 +2969,29 @@ interactions: "resourceName": "automated-cli-tests-ubuntu-publisher/ubuntu"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713273343/operationStatuses/08584883335430249127?api-version=2022-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714474203/operationStatuses/08584871326770317531?api-version=2022-09-01 cache-control: - no-cache content-length: - - '2413' + - '2412' content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:15:42 GMT + - Tue, 30 Apr 2024 10:50:10 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' + x-msedge-ref: + - 'Ref A: 27F9B50DD03945AE90B93511F40FE4D5 Ref B: CO6AA3150220023 Ref C: 2024-04-30T10:50:06Z' status: code: 201 message: Created @@ -2659,30 +3009,34 @@ interactions: ParameterSetName: - --build-output-folder User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883335430249127?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871326770317531?api-version=2022-09-01 response: body: - string: '{"status": "Accepted"}' + string: '{"status": "Running"}' headers: cache-control: - no-cache content-length: - - '22' + - '21' content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:15:42 GMT + - Tue, 30 Apr 2024 10:50:12 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 07DE1F9757914EC2B8B3237A8E0AE950 Ref B: CO6AA3150218019 Ref C: 2024-04-30T10:50:11Z' status: code: 200 message: OK @@ -2700,10 +3054,10 @@ interactions: ParameterSetName: - --build-output-folder User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883335430249127?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871326770317531?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -2715,15 +3069,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:16:12 GMT + - Tue, 30 Apr 2024 10:50:42 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 515C429B6F564026BAC1C9F373746FE9 Ref B: CO6AA3150218047 Ref C: 2024-04-30T10:50:42Z' status: code: 200 message: OK @@ -2741,10 +3099,10 @@ interactions: ParameterSetName: - --build-output-folder User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883335430249127?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871326770317531?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -2756,15 +3114,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:16:42 GMT + - Tue, 30 Apr 2024 10:51:13 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 577876E1CBFE4796B81E036A640BD6CC Ref B: CO6AA3150220027 Ref C: 2024-04-30T10:51:13Z' status: code: 200 message: OK @@ -2782,10 +3144,10 @@ interactions: ParameterSetName: - --build-output-folder User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883335430249127?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871326770317531?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -2797,15 +3159,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:17:12 GMT + - Tue, 30 Apr 2024 10:51:43 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 3BF6F0F046164AD0AED4E28DA0AAEEF1 Ref B: CO6AA3150219027 Ref C: 2024-04-30T10:51:44Z' status: code: 200 message: OK @@ -2823,10 +3189,10 @@ interactions: ParameterSetName: - --build-output-folder User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883335430249127?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871326770317531?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -2838,15 +3204,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:17:40 GMT + - Tue, 30 Apr 2024 10:52:14 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 39A5243F2E3E47D89CF48B4B3DE3368F Ref B: CO6AA3150220031 Ref C: 2024-04-30T10:52:14Z' status: code: 200 message: OK @@ -2864,10 +3234,10 @@ interactions: ParameterSetName: - --build-output-folder User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883335430249127?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871326770317531?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -2879,15 +3249,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:18:09 GMT + - Tue, 30 Apr 2024 10:52:46 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 490D2964B5D84FAF9048D1D2BB37B364 Ref B: CO6AA3150220021 Ref C: 2024-04-30T10:52:45Z' status: code: 200 message: OK @@ -2905,10 +3279,10 @@ interactions: ParameterSetName: - --build-output-folder User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883335430249127?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871326770317531?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -2920,15 +3294,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:18:39 GMT + - Tue, 30 Apr 2024 10:53:16 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 1E23B72EF28C4CFEB2FA097B65883102 Ref B: CO6AA3150218021 Ref C: 2024-04-30T10:53:16Z' status: code: 200 message: OK @@ -2946,10 +3324,10 @@ interactions: ParameterSetName: - --build-output-folder User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883335430249127?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871326770317531?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -2961,15 +3339,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:19:10 GMT + - Tue, 30 Apr 2024 10:53:47 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 3E7244F92BCD42678EF21792FE9C7EFB Ref B: CO6AA3150217033 Ref C: 2024-04-30T10:53:47Z' status: code: 200 message: OK @@ -2987,10 +3369,10 @@ interactions: ParameterSetName: - --build-output-folder User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883335430249127?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871326770317531?api-version=2022-09-01 response: body: string: '{"status": "Succeeded"}' @@ -3002,15 +3384,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:19:38 GMT + - Tue, 30 Apr 2024 10:54:17 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: C3600D2701AC428CB51B2EC286033419 Ref B: CO6AA3150218037 Ref C: 2024-04-30T10:54:18Z' status: code: 200 message: OK @@ -3028,21 +3414,21 @@ interactions: ParameterSetName: - --build-output-folder User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01 response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713273343", - "name": "AOSM_CLI_deployment_1713273343", "type": "Microsoft.Resources/deployments", - "properties": {"templateHash": "14743947880900953734", "parameters": {"location": + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714474203", + "name": "AOSM_CLI_deployment_1714474203", "type": "Microsoft.Resources/deployments", + "properties": {"templateHash": "7209447708351625668", "parameters": {"location": {"type": "String", "value": "uksouth"}, "publisherName": {"type": "String", "value": "automated-cli-tests-ubuntu-publisher"}, "acrArtifactStoreName": {"type": "String", "value": "ubuntu-acr"}, "nsDesignGroup": {"type": "String", "value": "ubuntu"}}, "mode": "Incremental", "provisioningState": "Succeeded", - "timestamp": "2024-04-16T13:19:27.3124125Z", "duration": "PT3M44.6640614S", - "correlationId": "ff0f5875-e8c2-431a-a2ae-791397b949b5", "providers": [{"namespace": + "timestamp": "2024-04-30T10:54:02.8864077Z", "duration": "PT3M52.1990509S", + "correlationId": "7ac9eb50-52b0-4cce-8b7c-caa0ddc61cbd", "providers": [{"namespace": "Microsoft.HybridNetwork", "resourceTypes": [{"resourceType": "publishers", "locations": ["uksouth"]}, {"resourceType": "publishers/artifactStores", "locations": ["uksouth"]}, {"resourceType": "publishers/networkServiceDesignGroups", "locations": @@ -3062,22 +3448,24 @@ interactions: headers: cache-control: - no-cache - connection: - - close content-length: - - '3050' + - '3049' content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:19:38 GMT + - Tue, 30 Apr 2024 10:54:19 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 9FD924A67F554B56A63F268E25224566 Ref B: CO6AA3150217035 Ref C: 2024-04-30T10:54:18Z' status: code: 200 message: OK @@ -3095,8 +3483,8 @@ interactions: ParameterSetName: - --build-output-folder User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.HybridNetwork/publishers/automated-cli-tests-ubuntu-publisher/artifactStores/ubuntu-acr/artifactManifests/ubuntu-nsd-manifest-1-0-0?api-version=2023-09-01 response: @@ -3112,24 +3500,28 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:19:39 GMT + - Tue, 30 Apr 2024 10:54:18 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-failure-cause: - gateway + x-msedge-ref: + - 'Ref A: 290C045AC8B04C1E88BF9B8774A5399F Ref B: CO6AA3150219039 Ref C: 2024-04-30T10:54:19Z' status: code: 404 message: Not Found - request: body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "metadata": {"_generator": {"name": "bicep", "version": - "0.26.54.24096", "templateHash": "4244437476724292391"}}, "parameters": {"location": + "0.26.170.59819", "templateHash": "2863414179742292638"}}, "parameters": {"location": {"type": "string"}, "publisherName": {"type": "string", "metadata": {"description": "Name of an existing publisher, expected to be in the resource group where you deploy the template"}}, "acrArtifactStoreName": {"type": "string", "metadata": @@ -3153,27 +3545,27 @@ interactions: Connection: - keep-alive Content-Length: - - '1408' + - '1409' Content-Type: - application/json ParameterSetName: - --build-output-folder User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2022-09-01 response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713273583", - "name": "AOSM_CLI_deployment_1713273583", "type": "Microsoft.Resources/deployments", - "properties": {"templateHash": "4244437476724292391", "parameters": {"location": + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714474462", + "name": "AOSM_CLI_deployment_1714474462", "type": "Microsoft.Resources/deployments", + "properties": {"templateHash": "2863414179742292638", "parameters": {"location": {"type": "String", "value": "uksouth"}, "publisherName": {"type": "String", "value": "automated-cli-tests-ubuntu-publisher"}, "acrArtifactStoreName": {"type": "String", "value": "ubuntu-acr"}, "acrManifestName": {"type": "String", "value": "ubuntu-nsd-manifest-1-0-0"}}, "mode": "Incremental", "provisioningState": "Succeeded", "timestamp": "0001-01-01T00:00:00Z", "duration": "PT0S", "correlationId": - "95221558-4498-45e2-9c09-0583afa64b10", "providers": [{"namespace": "Microsoft.HybridNetwork", + "92c855c3-3566-41ea-b358-16c2798aa321", "providers": [{"namespace": "Microsoft.HybridNetwork", "resourceTypes": [{"resourceType": "publishers/artifactStores/artifactManifests", "locations": ["uksouth"]}]}], "dependencies": [], "validatedResources": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.HybridNetwork/publishers/automated-cli-tests-ubuntu-publisher/artifactStores/ubuntu-acr/artifactManifests/ubuntu-nsd-manifest-1-0-0"}]}}' @@ -3185,24 +3577,28 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:19:42 GMT + - Tue, 30 Apr 2024 10:54:24 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - '1199' + x-msedge-ref: + - 'Ref A: F7839E90DF8B44889A01657EC6CE50A9 Ref B: CO6AA3150219031 Ref C: 2024-04-30T10:54:21Z' status: code: 200 message: OK - request: body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "metadata": {"_generator": {"name": "bicep", "version": - "0.26.54.24096", "templateHash": "4244437476724292391"}}, "parameters": {"location": + "0.26.170.59819", "templateHash": "2863414179742292638"}}, "parameters": {"location": {"type": "string"}, "publisherName": {"type": "string", "metadata": {"description": "Name of an existing publisher, expected to be in the resource group where you deploy the template"}}, "acrArtifactStoreName": {"type": "string", "metadata": @@ -3226,32 +3622,32 @@ interactions: Connection: - keep-alive Content-Length: - - '1408' + - '1409' Content-Type: - application/json ParameterSetName: - --build-output-folder User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01 response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713273583", - "name": "AOSM_CLI_deployment_1713273583", "type": "Microsoft.Resources/deployments", - "properties": {"templateHash": "4244437476724292391", "parameters": {"location": + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714474462", + "name": "AOSM_CLI_deployment_1714474462", "type": "Microsoft.Resources/deployments", + "properties": {"templateHash": "2863414179742292638", "parameters": {"location": {"type": "String", "value": "uksouth"}, "publisherName": {"type": "String", "value": "automated-cli-tests-ubuntu-publisher"}, "acrArtifactStoreName": {"type": "String", "value": "ubuntu-acr"}, "acrManifestName": {"type": "String", "value": "ubuntu-nsd-manifest-1-0-0"}}, "mode": "Incremental", "provisioningState": - "Accepted", "timestamp": "2024-04-16T13:19:42.9828172Z", "duration": "PT0.0006542S", - "correlationId": "ee5db3bd-1723-4e48-a1e5-f1e139b9fc53", "providers": [{"namespace": + "Accepted", "timestamp": "2024-04-30T10:54:28.7703717Z", "duration": "PT0.0008564S", + "correlationId": "a5e969ce-9a49-4831-b711-e1056a7ba74a", "providers": [{"namespace": "Microsoft.HybridNetwork", "resourceTypes": [{"resourceType": "publishers/artifactStores/artifactManifests", "locations": ["uksouth"]}]}], "dependencies": []}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713273583/operationStatuses/08584883333027222951?api-version=2022-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714474462/operationStatuses/08584871324188150889?api-version=2022-09-01 cache-control: - no-cache content-length: @@ -3259,17 +3655,21 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:19:42 GMT + - Tue, 30 Apr 2024 10:54:29 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - '1199' + x-msedge-ref: + - 'Ref A: 28989FF8C8074E3C9A88B81D4486CEB7 Ref B: CO6AA3150217025 Ref C: 2024-04-30T10:54:25Z' status: code: 201 message: Created @@ -3287,10 +3687,10 @@ interactions: ParameterSetName: - --build-output-folder User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883333027222951?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871324188150889?api-version=2022-09-01 response: body: string: '{"status": "Accepted"}' @@ -3302,15 +3702,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:19:42 GMT + - Tue, 30 Apr 2024 10:54:29 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 3A89491CC9A640E48D702E9D99B66992 Ref B: CO6AA3150219047 Ref C: 2024-04-30T10:54:29Z' status: code: 200 message: OK @@ -3328,10 +3732,10 @@ interactions: ParameterSetName: - --build-output-folder User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883333027222951?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871324188150889?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -3343,15 +3747,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:20:12 GMT + - Tue, 30 Apr 2024 10:55:00 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 0B5035ECAB0444C2839551D95B809AF1 Ref B: CO6AA3150217019 Ref C: 2024-04-30T10:55:00Z' status: code: 200 message: OK @@ -3369,10 +3777,10 @@ interactions: ParameterSetName: - --build-output-folder User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883333027222951?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871324188150889?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -3384,15 +3792,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:20:40 GMT + - Tue, 30 Apr 2024 10:55:31 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 18E941633E4D48C8849D98EC3D8FBAD0 Ref B: CO6AA3150220023 Ref C: 2024-04-30T10:55:31Z' status: code: 200 message: OK @@ -3410,10 +3822,10 @@ interactions: ParameterSetName: - --build-output-folder User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883333027222951?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871324188150889?api-version=2022-09-01 response: body: string: '{"status": "Succeeded"}' @@ -3425,15 +3837,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:21:10 GMT + - Tue, 30 Apr 2024 10:56:02 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: A1620ACF81DE4C8DB53C15A6FA74BA91 Ref B: CO6AA3150220031 Ref C: 2024-04-30T10:56:01Z' status: code: 200 message: OK @@ -3451,21 +3867,21 @@ interactions: ParameterSetName: - --build-output-folder User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01 response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713273583", - "name": "AOSM_CLI_deployment_1713273583", "type": "Microsoft.Resources/deployments", - "properties": {"templateHash": "4244437476724292391", "parameters": {"location": + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714474462", + "name": "AOSM_CLI_deployment_1714474462", "type": "Microsoft.Resources/deployments", + "properties": {"templateHash": "2863414179742292638", "parameters": {"location": {"type": "String", "value": "uksouth"}, "publisherName": {"type": "String", "value": "automated-cli-tests-ubuntu-publisher"}, "acrArtifactStoreName": {"type": "String", "value": "ubuntu-acr"}, "acrManifestName": {"type": "String", "value": "ubuntu-nsd-manifest-1-0-0"}}, "mode": "Incremental", "provisioningState": - "Succeeded", "timestamp": "2024-04-16T13:21:09.8419899Z", "duration": "PT1M26.8598269S", - "correlationId": "ee5db3bd-1723-4e48-a1e5-f1e139b9fc53", "providers": [{"namespace": + "Succeeded", "timestamp": "2024-04-30T10:55:56.519388Z", "duration": "PT1M27.7498727S", + "correlationId": "a5e969ce-9a49-4831-b711-e1056a7ba74a", "providers": [{"namespace": "Microsoft.HybridNetwork", "resourceTypes": [{"resourceType": "publishers/artifactStores/artifactManifests", "locations": ["uksouth"]}]}], "dependencies": [], "outputResources": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.HybridNetwork/publishers/automated-cli-tests-ubuntu-publisher/artifactStores/ubuntu-acr/artifactManifests/ubuntu-nsd-manifest-1-0-0"}]}}' @@ -3473,19 +3889,23 @@ interactions: cache-control: - no-cache content-length: - - '1263' + - '1262' content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:21:10 GMT + - Tue, 30 Apr 2024 10:56:02 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: EFAFED13222149209F3CD5E0CB59CCB3 Ref B: CO6AA3150220027 Ref C: 2024-04-30T10:56:02Z' status: code: 200 message: OK @@ -3505,15 +3925,15 @@ interactions: ParameterSetName: - --build-output-folder User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.HybridNetwork/publishers/automated-cli-tests-ubuntu-publisher/artifactStores/ubuntu-acr/artifactManifests/ubuntu-nsd-manifest-1-0-0/listCredential?api-version=2023-09-01 response: body: string: '{"username": "ubuntu-nsd-manifest-1-0-0", "acrToken": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", - "acrServerUrl": "https://automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io", - "repositories": ["ubuntu"], "expiry": "2024-04-17T13:21:16.8129886+00:00", + "acrServerUrl": "https://automatedclitestsubuntupublisherubuntuace646428645.azurecr.io", + "repositories": ["ubuntu"], "expiry": "2024-05-01T10:56:07.6055732+00:00", "credentialType": "AzureContainerRegistryScopedToken"}' headers: cache-control: @@ -3523,13 +3943,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:21:16 GMT + - Tue, 30 Apr 2024 10:56:08 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-build-version: @@ -3538,6 +3960,8 @@ interactions: - 'True' x-ms-ratelimit-remaining-subscription-writes: - '1199' + x-msedge-ref: + - 'Ref A: 56EF45F609B841649F0DC331095183E9 Ref B: CO6AA3150218047 Ref C: 2024-04-30T10:56:05Z' status: code: 200 message: OK @@ -3557,7 +3981,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: POST - uri: https://automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io/v2/ubuntu/blobs/uploads/ + uri: https://automatedclitestsubuntupublisherubuntuace646428645.azurecr.io/v2/ubuntu/blobs/uploads/ response: body: string: '{"errors": [{"code": "UNAUTHORIZED", "message": "authentication required, @@ -3577,7 +4001,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:21:17 GMT + - Tue, 30 Apr 2024 10:56:08 GMT docker-distribution-api-version: - registry/2.0 server: @@ -3586,7 +4010,7 @@ interactions: - max-age=31536000; includeSubDomains - max-age=31536000; includeSubDomains www-authenticate: - - Bearer realm="https://automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io/oauth2/token",service="automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io",scope="repository:ubuntu:pull,push" + - Bearer realm="https://automatedclitestsubuntupublisherubuntuace646428645.azurecr.io/oauth2/token",service="automatedclitestsubuntupublisherubuntuace646428645.azurecr.io",scope="repository:ubuntu:pull,push" x-content-type-options: - nosniff status: @@ -3602,11 +4026,11 @@ interactions: Connection: - keep-alive Service: - - automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io + - automatedclitestsubuntupublisherubuntuace646428645.azurecr.io User-Agent: - oras-py method: GET - uri: https://automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io/oauth2/token?service=automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io&scope=repository%3Aubuntu%3Apull%2Cpush + uri: https://automatedclitestsubuntupublisherubuntuace646428645.azurecr.io/oauth2/token?service=automatedclitestsubuntupublisherubuntuace646428645.azurecr.io&scope=repository%3Aubuntu%3Apull%2Cpush response: body: string: '{"access_token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}' @@ -3616,7 +4040,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:21:17 GMT + - Tue, 30 Apr 2024 10:56:09 GMT server: - AzureContainerRegistry strict-transport-security: @@ -3644,7 +4068,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: POST - uri: https://automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io/v2/ubuntu/blobs/uploads/ + uri: https://automatedclitestsubuntupublisherubuntuace646428645.azurecr.io/v2/ubuntu/blobs/uploads/ response: body: string: '' @@ -3659,13 +4083,13 @@ interactions: content-length: - '0' date: - - Tue, 16 Apr 2024 13:21:17 GMT + - Tue, 30 Apr 2024 10:56:09 GMT docker-distribution-api-version: - registry/2.0 docker-upload-uuid: - - a4b7f09e-12a9-4751-ae3a-4d05c72c7fa2 + - 976e1b74-c813-4fac-8c6b-2d17be2efeaa location: - - /v2/ubuntu/blobs/uploads/a4b7f09e-12a9-4751-ae3a-4d05c72c7fa2?_nouploadcache=false&_state=NdO6huBXH3TDSMe403U0pGZK0D4-7zs0vDHOXcecV0Z7Ik5hbWUiOiJ1YnVudHUiLCJVVUlEIjoiYTRiN2YwOWUtMTJhOS00NzUxLWFlM2EtNGQwNWM3MmM3ZmEyIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDI0LTA0LTE2VDEzOjIxOjE3LjMyMTQ0MDMzNFoifQ%3D%3D + - /v2/ubuntu/blobs/uploads/976e1b74-c813-4fac-8c6b-2d17be2efeaa?_nouploadcache=false&_state=WpwRnbUlLxTGmJ16Di39e-orU_dUXnXZX6xO94o37_V7Ik5hbWUiOiJ1YnVudHUiLCJVVUlEIjoiOTc2ZTFiNzQtYzgxMy00ZmFjLThjNmItMmQxN2JlMmVmZWFhIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDI0LTA0LTMwVDEwOjU2OjA5LjkwNjY0NDYzNVoifQ%3D%3D range: - 0-0 server: @@ -3681,7 +4105,7 @@ interactions: - request: body: '{"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "metadata": {"_generator": {"name": "bicep", "version": - "0.26.54.24096", "templateHash": "13997939921627854066"}}, "parameters": {"configObject": + "0.26.170.59819", "templateHash": "7518080251401560663"}}, "parameters": {"configObject": {"type": "secureObject"}}, "variables": {"resourceGroupId": "[resourceGroup().id]", "identityObject": "[if(equals(parameters(''configObject'').managedIdentityId, ''''), createObject(''type'', ''SystemAssigned''), createObject(''type'', ''UserAssigned'', @@ -3715,7 +4139,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: PUT - uri: https://automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io/v2/ubuntu/blobs/uploads/a4b7f09e-12a9-4751-ae3a-4d05c72c7fa2?_nouploadcache=false&_state=NdO6huBXH3TDSMe403U0pGZK0D4-7zs0vDHOXcecV0Z7Ik5hbWUiOiJ1YnVudHUiLCJVVUlEIjoiYTRiN2YwOWUtMTJhOS00NzUxLWFlM2EtNGQwNWM3MmM3ZmEyIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDI0LTA0LTE2VDEzOjIxOjE3LjMyMTQ0MDMzNFoifQ%3D%3D&digest=sha256%3A3ccb87556f82c72b4c80c83273d1ac390d77d09ef3504cce53e2c7dd78338bfe + uri: https://automatedclitestsubuntupublisherubuntuace646428645.azurecr.io/v2/ubuntu/blobs/uploads/976e1b74-c813-4fac-8c6b-2d17be2efeaa?_nouploadcache=false&_state=WpwRnbUlLxTGmJ16Di39e-orU_dUXnXZX6xO94o37_V7Ik5hbWUiOiJ1YnVudHUiLCJVVUlEIjoiOTc2ZTFiNzQtYzgxMy00ZmFjLThjNmItMmQxN2JlMmVmZWFhIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDI0LTA0LTMwVDEwOjU2OjA5LjkwNjY0NDYzNVoifQ%3D%3D&digest=sha256%3A5a70ffcd7cb26333cc6ce712458642da234a2da0605c202775b4400588ca4166 response: body: string: '' @@ -3730,13 +4154,13 @@ interactions: content-length: - '0' date: - - Tue, 16 Apr 2024 13:21:17 GMT + - Tue, 30 Apr 2024 10:56:10 GMT docker-content-digest: - - sha256:3ccb87556f82c72b4c80c83273d1ac390d77d09ef3504cce53e2c7dd78338bfe + - sha256:5a70ffcd7cb26333cc6ce712458642da234a2da0605c202775b4400588ca4166 docker-distribution-api-version: - registry/2.0 location: - - /v2/ubuntu/blobs/sha256:3ccb87556f82c72b4c80c83273d1ac390d77d09ef3504cce53e2c7dd78338bfe + - /v2/ubuntu/blobs/sha256:5a70ffcd7cb26333cc6ce712458642da234a2da0605c202775b4400588ca4166 server: - AzureContainerRegistry strict-transport-security: @@ -3763,7 +4187,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: POST - uri: https://automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io/v2/ubuntu/blobs/uploads/ + uri: https://automatedclitestsubuntupublisherubuntuace646428645.azurecr.io/v2/ubuntu/blobs/uploads/ response: body: string: '{"errors": [{"code": "UNAUTHORIZED", "message": "authentication required, @@ -3783,7 +4207,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:21:17 GMT + - Tue, 30 Apr 2024 10:56:11 GMT docker-distribution-api-version: - registry/2.0 server: @@ -3792,7 +4216,7 @@ interactions: - max-age=31536000; includeSubDomains - max-age=31536000; includeSubDomains www-authenticate: - - Bearer realm="https://automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io/oauth2/token",service="automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io",scope="repository:ubuntu:pull,push" + - Bearer realm="https://automatedclitestsubuntupublisherubuntuace646428645.azurecr.io/oauth2/token",service="automatedclitestsubuntupublisherubuntuace646428645.azurecr.io",scope="repository:ubuntu:pull,push" x-content-type-options: - nosniff status: @@ -3808,11 +4232,11 @@ interactions: Connection: - keep-alive Service: - - automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io + - automatedclitestsubuntupublisherubuntuace646428645.azurecr.io User-Agent: - oras-py method: GET - uri: https://automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io/oauth2/token?service=automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io&scope=repository%3Aubuntu%3Apull%2Cpush + uri: https://automatedclitestsubuntupublisherubuntuace646428645.azurecr.io/oauth2/token?service=automatedclitestsubuntupublisherubuntuace646428645.azurecr.io&scope=repository%3Aubuntu%3Apull%2Cpush response: body: string: '{"access_token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}' @@ -3822,7 +4246,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:21:17 GMT + - Tue, 30 Apr 2024 10:56:11 GMT server: - AzureContainerRegistry strict-transport-security: @@ -3850,7 +4274,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: POST - uri: https://automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io/v2/ubuntu/blobs/uploads/ + uri: https://automatedclitestsubuntupublisherubuntuace646428645.azurecr.io/v2/ubuntu/blobs/uploads/ response: body: string: '' @@ -3865,13 +4289,13 @@ interactions: content-length: - '0' date: - - Tue, 16 Apr 2024 13:21:17 GMT + - Tue, 30 Apr 2024 10:56:12 GMT docker-distribution-api-version: - registry/2.0 docker-upload-uuid: - - 34c4c8b8-d90d-4b0d-841d-59e2277e23a4 + - bf01e208-177e-4289-a3eb-15295a191c6a location: - - /v2/ubuntu/blobs/uploads/34c4c8b8-d90d-4b0d-841d-59e2277e23a4?_nouploadcache=false&_state=qwb7OExMjydwf5Tul-7GIBLyIGK9WLrukjrYhzIWXax7Ik5hbWUiOiJ1YnVudHUiLCJVVUlEIjoiMzRjNGM4YjgtZDkwZC00YjBkLTg0MWQtNTllMjI3N2UyM2E0IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDI0LTA0LTE2VDEzOjIxOjE3LjU4NjIzMzQzOVoifQ%3D%3D + - /v2/ubuntu/blobs/uploads/bf01e208-177e-4289-a3eb-15295a191c6a?_nouploadcache=false&_state=s2x_qJ1jW8KnO9MnVGo1-0mBaCPLeOru4U0ebtjhOmh7Ik5hbWUiOiJ1YnVudHUiLCJVVUlEIjoiYmYwMWUyMDgtMTc3ZS00Mjg5LWEzZWItMTUyOTVhMTkxYzZhIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDI0LTA0LTMwVDEwOjU2OjEyLjIyMjE5NzQ4MloifQ%3D%3D range: - 0-0 server: @@ -3900,7 +4324,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: PUT - uri: https://automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io/v2/ubuntu/blobs/uploads/34c4c8b8-d90d-4b0d-841d-59e2277e23a4?_nouploadcache=false&_state=qwb7OExMjydwf5Tul-7GIBLyIGK9WLrukjrYhzIWXax7Ik5hbWUiOiJ1YnVudHUiLCJVVUlEIjoiMzRjNGM4YjgtZDkwZC00YjBkLTg0MWQtNTllMjI3N2UyM2E0IiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDI0LTA0LTE2VDEzOjIxOjE3LjU4NjIzMzQzOVoifQ%3D%3D&digest=sha256%3A44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a + uri: https://automatedclitestsubuntupublisherubuntuace646428645.azurecr.io/v2/ubuntu/blobs/uploads/bf01e208-177e-4289-a3eb-15295a191c6a?_nouploadcache=false&_state=s2x_qJ1jW8KnO9MnVGo1-0mBaCPLeOru4U0ebtjhOmh7Ik5hbWUiOiJ1YnVudHUiLCJVVUlEIjoiYmYwMWUyMDgtMTc3ZS00Mjg5LWEzZWItMTUyOTVhMTkxYzZhIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDI0LTA0LTMwVDEwOjU2OjEyLjIyMjE5NzQ4MloifQ%3D%3D&digest=sha256%3A44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a response: body: string: '' @@ -3915,7 +4339,7 @@ interactions: content-length: - '0' date: - - Tue, 16 Apr 2024 13:21:17 GMT + - Tue, 30 Apr 2024 10:56:12 GMT docker-content-digest: - sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a docker-distribution-api-version: @@ -3937,7 +4361,7 @@ interactions: "config": {"mediaType": "application/vnd.unknown.config.v1+json", "size": 2, "digest": "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a"}, "layers": [{"mediaType": "application/vnd.oci.image.layer.v1.tar", "size": 1981, - "digest": "sha256:3ccb87556f82c72b4c80c83273d1ac390d77d09ef3504cce53e2c7dd78338bfe", + "digest": "sha256:5a70ffcd7cb26333cc6ce712458642da234a2da0605c202775b4400588ca4166", "annotations": {"org.opencontainers.image.title": "ubuntu-vm.json"}}], "annotations": {}}' headers: @@ -3954,7 +4378,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: PUT - uri: https://automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io/v2/ubuntu/manifests/1.0.0 + uri: https://automatedclitestsubuntupublisherubuntuace646428645.azurecr.io/v2/ubuntu/manifests/1.0.0 response: body: string: '{"errors": [{"code": "UNAUTHORIZED", "message": "authentication required, @@ -3974,7 +4398,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:21:17 GMT + - Tue, 30 Apr 2024 10:56:13 GMT docker-distribution-api-version: - registry/2.0 server: @@ -3983,7 +4407,7 @@ interactions: - max-age=31536000; includeSubDomains - max-age=31536000; includeSubDomains www-authenticate: - - Bearer realm="https://automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io/oauth2/token",service="automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io",scope="repository:ubuntu:pull,push" + - Bearer realm="https://automatedclitestsubuntupublisherubuntuace646428645.azurecr.io/oauth2/token",service="automatedclitestsubuntupublisherubuntuace646428645.azurecr.io",scope="repository:ubuntu:push,pull" x-content-type-options: - nosniff status: @@ -3999,11 +4423,11 @@ interactions: Connection: - keep-alive Service: - - automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io + - automatedclitestsubuntupublisherubuntuace646428645.azurecr.io User-Agent: - oras-py method: GET - uri: https://automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io/oauth2/token?service=automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io&scope=repository%3Aubuntu%3Apull%2Cpush + uri: https://automatedclitestsubuntupublisherubuntuace646428645.azurecr.io/oauth2/token?service=automatedclitestsubuntupublisherubuntuace646428645.azurecr.io&scope=repository%3Aubuntu%3Apush%2Cpull response: body: string: '{"access_token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}' @@ -4013,7 +4437,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:21:17 GMT + - Tue, 30 Apr 2024 10:56:13 GMT server: - AzureContainerRegistry strict-transport-security: @@ -4021,7 +4445,7 @@ interactions: transfer-encoding: - chunked x-ms-ratelimit-remaining-calls-per-second: - - '333.283333' + - '333.316667' status: code: 200 message: OK @@ -4030,7 +4454,7 @@ interactions: "config": {"mediaType": "application/vnd.unknown.config.v1+json", "size": 2, "digest": "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a"}, "layers": [{"mediaType": "application/vnd.oci.image.layer.v1.tar", "size": 1981, - "digest": "sha256:3ccb87556f82c72b4c80c83273d1ac390d77d09ef3504cce53e2c7dd78338bfe", + "digest": "sha256:5a70ffcd7cb26333cc6ce712458642da234a2da0605c202775b4400588ca4166", "annotations": {"org.opencontainers.image.title": "ubuntu-vm.json"}}], "annotations": {}}' headers: @@ -4047,7 +4471,7 @@ interactions: User-Agent: - python-requests/2.31.0 method: PUT - uri: https://automatedclitestsubuntupublisherubuntuaca3e684b70e.azurecr.io/v2/ubuntu/manifests/1.0.0 + uri: https://automatedclitestsubuntupublisherubuntuace646428645.azurecr.io/v2/ubuntu/manifests/1.0.0 response: body: string: '' @@ -4062,13 +4486,13 @@ interactions: content-length: - '0' date: - - Tue, 16 Apr 2024 13:21:18 GMT + - Tue, 30 Apr 2024 10:56:14 GMT docker-content-digest: - - sha256:7516e68c6e8b63fcbb428b1ac84e62da7af611846b0a395a546642d45bfe3141 + - sha256:af1388b6ce985243feeb696d1140b41318b4032856531d64cd1929e7e9131ffd docker-distribution-api-version: - registry/2.0 location: - - /v2/ubuntu/manifests/sha256:7516e68c6e8b63fcbb428b1ac84e62da7af611846b0a395a546642d45bfe3141 + - /v2/ubuntu/manifests/sha256:af1388b6ce985243feeb696d1140b41318b4032856531d64cd1929e7e9131ffd server: - AzureContainerRegistry strict-transport-security: @@ -4082,7 +4506,7 @@ interactions: - request: body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "metadata": {"_generator": {"name": "bicep", "version": - "0.26.54.24096", "templateHash": "7665769847335104070"}}, "parameters": {"location": + "0.26.170.59819", "templateHash": "9252910439095697196"}}, "parameters": {"location": {"type": "string"}, "publisherName": {"type": "string", "metadata": {"description": "Name of an existing publisher, expected to be in the resource group where you deploy the template"}}, "acrArtifactStoreName": {"type": "string", "metadata": @@ -4137,28 +4561,28 @@ interactions: Connection: - keep-alive Content-Length: - - '4147' + - '4148' Content-Type: - application/json ParameterSetName: - --build-output-folder User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2022-09-01 response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713273682", - "name": "AOSM_CLI_deployment_1713273682", "type": "Microsoft.Resources/deployments", - "properties": {"templateHash": "7665769847335104070", "parameters": {"location": + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714474577", + "name": "AOSM_CLI_deployment_1714474577", "type": "Microsoft.Resources/deployments", + "properties": {"templateHash": "9252910439095697196", "parameters": {"location": {"type": "String", "value": "uksouth"}, "publisherName": {"type": "String", "value": "automated-cli-tests-ubuntu-publisher"}, "acrArtifactStoreName": {"type": "String", "value": "ubuntu-acr"}, "nsDesignGroup": {"type": "String", "value": "ubuntu"}, "nsDesignVersion": {"type": "String", "value": "1.0.0"}, "nfviSiteName": {"type": "String", "value": "ubuntu_NFVI"}}, "mode": "Incremental", "provisioningState": "Succeeded", "timestamp": "0001-01-01T00:00:00Z", "duration": - "PT0S", "correlationId": "d1e292f0-5baa-4604-9806-521286a98be5", "providers": + "PT0S", "correlationId": "ddae97c8-4fde-475a-ae2e-be4d74053fd7", "providers": [{"namespace": "Microsoft.HybridNetwork", "resourceTypes": [{"resourceType": "publishers/configurationGroupSchemas", "locations": ["uksouth"]}, {"resourceType": "publishers/networkServiceDesignGroups/networkServiceDesignVersions", "locations": @@ -4178,24 +4602,28 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:21:20 GMT + - Tue, 30 Apr 2024 10:56:20 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' + x-msedge-ref: + - 'Ref A: 3DB651241E4447988F874EE699E80501 Ref B: CO6AA3150219027 Ref C: 2024-04-30T10:56:16Z' status: code: 200 message: OK - request: body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "metadata": {"_generator": {"name": "bicep", "version": - "0.26.54.24096", "templateHash": "7665769847335104070"}}, "parameters": {"location": + "0.26.170.59819", "templateHash": "9252910439095697196"}}, "parameters": {"location": {"type": "string"}, "publisherName": {"type": "string", "metadata": {"description": "Name of an existing publisher, expected to be in the resource group where you deploy the template"}}, "acrArtifactStoreName": {"type": "string", "metadata": @@ -4250,28 +4678,28 @@ interactions: Connection: - keep-alive Content-Length: - - '4147' + - '4148' Content-Type: - application/json ParameterSetName: - --build-output-folder User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01 response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713273682", - "name": "AOSM_CLI_deployment_1713273682", "type": "Microsoft.Resources/deployments", - "properties": {"templateHash": "7665769847335104070", "parameters": {"location": + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714474577", + "name": "AOSM_CLI_deployment_1714474577", "type": "Microsoft.Resources/deployments", + "properties": {"templateHash": "9252910439095697196", "parameters": {"location": {"type": "String", "value": "uksouth"}, "publisherName": {"type": "String", "value": "automated-cli-tests-ubuntu-publisher"}, "acrArtifactStoreName": {"type": "String", "value": "ubuntu-acr"}, "nsDesignGroup": {"type": "String", "value": "ubuntu"}, "nsDesignVersion": {"type": "String", "value": "1.0.0"}, "nfviSiteName": {"type": "String", "value": "ubuntu_NFVI"}}, "mode": "Incremental", - "provisioningState": "Accepted", "timestamp": "2024-04-16T13:21:21.7260107Z", - "duration": "PT0.000726S", "correlationId": "a61f081e-5a1e-46cf-8601-243a87ddf2f7", + "provisioningState": "Accepted", "timestamp": "2024-04-30T10:56:25.2098829Z", + "duration": "PT0.0005288S", "correlationId": "a7e6485a-34bf-40af-ace3-71df02d21f41", "providers": [{"namespace": "Microsoft.HybridNetwork", "resourceTypes": [{"resourceType": "publishers/configurationGroupSchemas", "locations": ["uksouth"]}, {"resourceType": "publishers/networkServiceDesignGroups/networkServiceDesignVersions", "locations": @@ -4283,25 +4711,29 @@ interactions: "resourceName": "automated-cli-tests-ubuntu-publisher/ubuntu/1.0.0"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713273682/operationStatuses/08584883332040032533?api-version=2022-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714474577/operationStatuses/08584871323025628943?api-version=2022-09-01 cache-control: - no-cache content-length: - - '2013' + - '2014' content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:21:21 GMT + - Tue, 30 Apr 2024 10:56:26 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' + x-msedge-ref: + - 'Ref A: D7351D613C1C48E09AE0D046A6E1F449 Ref B: CO6AA3150218037 Ref C: 2024-04-30T10:56:20Z' status: code: 201 message: Created @@ -4319,30 +4751,34 @@ interactions: ParameterSetName: - --build-output-folder User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883332040032533?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871323025628943?api-version=2022-09-01 response: body: - string: '{"status": "Running"}' + string: '{"status": "Accepted"}' headers: cache-control: - no-cache content-length: - - '21' + - '22' content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:21:21 GMT + - Tue, 30 Apr 2024 10:56:25 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 762F06C3989143D9AE9C5FD1A573FF9E Ref B: CO6AA3150218019 Ref C: 2024-04-30T10:56:26Z' status: code: 200 message: OK @@ -4360,10 +4796,10 @@ interactions: ParameterSetName: - --build-output-folder User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883332040032533?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871323025628943?api-version=2022-09-01 response: body: string: '{"status": "Running"}' @@ -4375,15 +4811,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:21:51 GMT + - Tue, 30 Apr 2024 10:56:56 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 26E97A2979144F859575C65BBC8DDD37 Ref B: CO6AA3150217021 Ref C: 2024-04-30T10:56:56Z' status: code: 200 message: OK @@ -4401,10 +4841,10 @@ interactions: ParameterSetName: - --build-output-folder User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584883332040032533?api-version=2022-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08584871323025628943?api-version=2022-09-01 response: body: string: '{"status": "Succeeded"}' @@ -4416,15 +4856,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:22:21 GMT + - Tue, 30 Apr 2024 10:57:27 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 78451BEB421042DDB15669EE93F0131E Ref B: CO6AA3150219021 Ref C: 2024-04-30T10:57:27Z' status: code: 200 message: OK @@ -4442,22 +4886,22 @@ interactions: ParameterSetName: - --build-output-folder User-Agent: - - AZURECLI/2.57.0.post20240219064455 azsdk-python-core/1.30.0 Python/3.8.10 - (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.29) + - AZURECLI/2.59.0.post20240417071921 azsdk-python-core/1.30.1 Python/3.10.12 + (Linux-5.15.146.1-microsoft-standard-WSL2-x86_64-with-glibc2.35) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2022-09-01 response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1713273682", - "name": "AOSM_CLI_deployment_1713273682", "type": "Microsoft.Resources/deployments", - "properties": {"templateHash": "7665769847335104070", "parameters": {"location": + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnf_nsd_000001/providers/Microsoft.Resources/deployments/AOSM_CLI_deployment_1714474577", + "name": "AOSM_CLI_deployment_1714474577", "type": "Microsoft.Resources/deployments", + "properties": {"templateHash": "9252910439095697196", "parameters": {"location": {"type": "String", "value": "uksouth"}, "publisherName": {"type": "String", "value": "automated-cli-tests-ubuntu-publisher"}, "acrArtifactStoreName": {"type": "String", "value": "ubuntu-acr"}, "nsDesignGroup": {"type": "String", "value": "ubuntu"}, "nsDesignVersion": {"type": "String", "value": "1.0.0"}, "nfviSiteName": {"type": "String", "value": "ubuntu_NFVI"}}, "mode": "Incremental", - "provisioningState": "Succeeded", "timestamp": "2024-04-16T13:22:05.2982239Z", - "duration": "PT43.5729392S", "correlationId": "a61f081e-5a1e-46cf-8601-243a87ddf2f7", + "provisioningState": "Succeeded", "timestamp": "2024-04-30T10:57:19.1231395Z", + "duration": "PT53.9137854S", "correlationId": "a7e6485a-34bf-40af-ace3-71df02d21f41", "providers": [{"namespace": "Microsoft.HybridNetwork", "resourceTypes": [{"resourceType": "publishers/configurationGroupSchemas", "locations": ["uksouth"]}, {"resourceType": "publishers/networkServiceDesignGroups/networkServiceDesignVersions", "locations": @@ -4477,15 +4921,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 16 Apr 2024 13:22:21 GMT + - Tue, 30 Apr 2024 10:57:28 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 886742CDFA0541E8A739193E01097A88 Ref B: CO6AA3150219037 Ref C: 2024-04-30T10:57:28Z' status: code: 200 message: OK diff --git a/src/aosm/azext_aosm/tests/latest/unit_test/test_definiton_folder_builder/test_bicep_definition.py b/src/aosm/azext_aosm/tests/latest/unit_test/test_definiton_folder_builder/test_bicep_definition.py new file mode 100644 index 00000000000..50b09be2229 --- /dev/null +++ b/src/aosm/azext_aosm/tests/latest/unit_test/test_definiton_folder_builder/test_bicep_definition.py @@ -0,0 +1,133 @@ +import unittest +from unittest.mock import Mock, patch +from azext_aosm.definition_folder.reader.bicep_definition import BicepDefinitionElement +from azure.core.exceptions import ResourceNotFoundError +from azext_aosm.configuration_models.common_parameters_config import ( + CoreVNFCommonParametersConfig, + CNFCommonParametersConfig, + NexusVNFCommonParametersConfig, + NSDCommonParametersConfig, +) + +class TestBicepDefinitionElement(unittest.TestCase): + @patch('azext_aosm.definition_folder.reader.bicep_definition.azure_exceptions.ResourceNotFoundError', new_callable=ResourceNotFoundError) + def setUp(self, mock_exception): + self.command_context = Mock() + self.config = Mock() + self.mock_exception = mock_exception + + self.resources = { + "cnf": CNFCommonParametersConfig( + location="test_location", + acrManifestName="test_acr_manifest", + nfDefinitionVersion="test_nf_version", + publisherResourceGroupName="test_resource_group", + publisherName="test_publisher", + acrArtifactStoreName="test_acr_store", + nfDefinitionGroup="test_nf_group", + ), + "vnf": CoreVNFCommonParametersConfig( + location="test_location", + publisherResourceGroupName="test_resource_group", + publisherName="test_publisher", + acrArtifactStoreName="test_acr_store", + acrManifestName="test_acr_manifest", + saArtifactStoreName="test_sa_store", + saManifestName="test_sa_manifest", + nfDefinitionGroup="test_nf_group", + nfDefinitionVersion="test_nf_version", + ), + "nexus_vnf": NexusVNFCommonParametersConfig( + location="test_location", + nfDefinitionVersion="test_nf_version", + acrManifestName="test_acr_manifest", + publisherResourceGroupName="test_resource_group", + publisherName="test_publisher", + acrArtifactStoreName="test_acr_store", + nfDefinitionGroup="test_nf_group", + ), + "nsd": NSDCommonParametersConfig( + location="test_location", + publisherResourceGroupName="test_resource_group", + publisherName="test_publisher", + acrArtifactStoreName="test_acr_store", + acrManifestName="test_acr_manifest", + nsDesignGroup="test_ns_group", + nsDesignVersion="test_ns_version", + nfviSiteName="test_nfvi_site", + ), + } + + def test_base_resources_exist_all_exist(self): + for resource_type, config in self.resources.items(): + with self.subTest(resource_type=resource_type): + self.command_context.reset_mock() + result = BicepDefinitionElement._base_resources_exist(config, self.command_context) + self.assertTrue(result) + + def test_base_resources_exist_publisher_missing(self): + for resource_type, config in self.resources.items(): + with self.subTest(resource_type=resource_type): + self.command_context.aosm_client.publishers.get.side_effect = self.mock_exception + result = BicepDefinitionElement._base_resources_exist(config, self.command_context) + self.assertFalse(result) + + def test_base_resources_exist_artifact_store_missing(self): + for resource_type, config in self.resources.items(): + with self.subTest(resource_type=resource_type): + self.command_context.aosm_client.artifact_stores.get.side_effect = self.mock_exception + result = BicepDefinitionElement._base_resources_exist(config, self.command_context) + self.assertFalse(result) + + def test_base_resources_exist_nfd_group_missing(self): + for resource_type, config in self.resources.items(): + if(resource_type != "nsd"): + with self.subTest(resource_type=resource_type): + self.command_context.aosm_client.network_function_definition_groups.get.side_effect = self.mock_exception + result = BicepDefinitionElement._base_resources_exist(config, self.command_context) + self.assertFalse(result) + + def test_base_resources_exist_sa_store_missing_vnf(self): + self.config = self.resources["vnf"] + self.command_context.aosm_client.storage_accounts.get.side_effect = self.mock_exception + result = BicepDefinitionElement._base_resources_exist(self.config, self.command_context) + self.assertFalse(result) + + def test_base_resources_exist_nsd_group_missing(self): + self.config = self.resources["nsd"] + self.command_context.aosm_client.network_service_design_groups.get.side_effect = self.mock_exception + result = BicepDefinitionElement._base_resources_exist(self.config, self.command_context) + self.assertFalse(result) + + def test_base_resources_exist_all_base_resources_missing_cnf(self): + self.config = self.resources["cnf"] + self.command_context.aosm_client.publishers.get.side_effect = self.mock_exception + self.command_context.aosm_client.artifact_stores.get.side_effect = self.mock_exception + self.command_context.aosm_client.network_function_definition_groups.get.side_effect = self.mock_exception + result = BicepDefinitionElement._base_resources_exist(self.config, self.command_context) + self.assertFalse(result) + + def test_base_resources_exist_all_base_resources_missing_vnf(self): + self.config = self.resources["vnf"] + self.command_context.aosm_client.publishers.get.side_effect = self.mock_exception + self.command_context.aosm_client.artifact_stores.get.side_effect = self.mock_exception + self.command_context.aosm_client.network_function_definition_groups.get.side_effect = self.mock_exception + self.command_context.aosm_client.storage_accounts.get.side_effect = self.mock_exception + result = BicepDefinitionElement._base_resources_exist(self.config, self.command_context) + self.assertFalse(result) + + def test_base_resources_exist_all_base_resources_missing_nexus_vnf(self): + self.config = self.resources["nexus_vnf"] + self.command_context.aosm_client.publishers.get.side_effect = self.mock_exception + self.command_context.aosm_client.artifact_stores.get.side_effect = self.mock_exception + self.command_context.aosm_client.network_function_definition_groups.get.side_effect = self.mock_exception + result = BicepDefinitionElement._base_resources_exist(self.config, self.command_context) + self.assertFalse(result) + + def test_base_resources_exist_all_base_resources_missing_nsd(self): + self.config = self.resources["nsd"] + self.command_context.aosm_client.publishers.get.side_effect = self.mock_exception + self.command_context.aosm_client.artifact_stores.get.side_effect = self.mock_exception + self.command_context.aosm_client.network_service_design_groups.get.side_effect = self.mock_exception + result = BicepDefinitionElement._base_resources_exist(self.config, self.command_context) + self.assertFalse(result) \ No newline at end of file