From d7839443b9ccf15b9b32ff3b43b22dc059cdee98 Mon Sep 17 00:00:00 2001 From: Bhupesh Bhatt Date: Mon, 24 Jun 2024 16:24:45 +0530 Subject: [PATCH 01/21] updated to 2023-08-01-preview swagger changes . perimeter access rule changes for servicetag based rule. --- src/nsp/azext_nsp/aaz/latest/__init__.py | 4 + .../aaz/latest/network/perimeter/__init__.py | 1 + .../aaz/latest/network/perimeter/_create.py | 10 +- .../aaz/latest/network/perimeter/_delete.py | 6 +- .../aaz/latest/network/perimeter/_list.py | 18 +- .../aaz/latest/network/perimeter/_show.py | 10 +- .../aaz/latest/network/perimeter/_update.py | 371 +++++++++++++++++ .../network/perimeter/association/_create.py | 12 +- .../network/perimeter/association/_delete.py | 6 +- .../network/perimeter/association/_list.py | 10 +- .../network/perimeter/association/_show.py | 10 +- .../network/perimeter/association/_update.py | 16 +- .../network/perimeter/association/_wait.py | 8 +- .../latest/network/perimeter/link/_create.py | 12 +- .../latest/network/perimeter/link/_delete.py | 6 +- .../latest/network/perimeter/link/_list.py | 10 +- .../latest/network/perimeter/link/_show.py | 10 +- .../latest/network/perimeter/link/_update.py | 14 +- .../latest/network/perimeter/link/_wait.py | 8 +- .../perimeter/link_reference/_delete.py | 6 +- .../network/perimeter/link_reference/_list.py | 10 +- .../network/perimeter/link_reference/_show.py | 10 +- .../network/perimeter/link_reference/_wait.py | 8 +- .../perimeter/onboarded_resources/_list.py | 10 +- .../network/perimeter/profile/__init__.py | 1 + .../network/perimeter/profile/_create.py | 10 +- .../network/perimeter/profile/_delete.py | 6 +- .../latest/network/perimeter/profile/_list.py | 10 +- .../latest/network/perimeter/profile/_show.py | 10 +- .../network/perimeter/profile/_update.py | 385 ++++++++++++++++++ .../perimeter/profile/access_rule/_create.py | 37 +- .../perimeter/profile/access_rule/_delete.py | 6 +- .../perimeter/profile/access_rule/_list.py | 16 +- .../perimeter/profile/access_rule/_show.py | 16 +- .../perimeter/profile/access_rule/_update.py | 38 +- src/nsp/azext_nsp/azext_metadata.json | 2 +- 36 files changed, 997 insertions(+), 126 deletions(-) create mode 100644 src/nsp/azext_nsp/aaz/latest/network/perimeter/_update.py create mode 100644 src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_update.py diff --git a/src/nsp/azext_nsp/aaz/latest/__init__.py b/src/nsp/azext_nsp/aaz/latest/__init__.py index 0992939b5ef..73afe73faa4 100644 --- a/src/nsp/azext_nsp/aaz/latest/__init__.py +++ b/src/nsp/azext_nsp/aaz/latest/__init__.py @@ -4,3 +4,7 @@ # # Code generated by aaz-dev-tools # -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/__init__.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/__init__.py index bca7976b1c6..1f78565855b 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/__init__.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/__init__.py @@ -13,3 +13,4 @@ from ._delete import * from ._list import * from ._show import * +from ._update import * diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_create.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_create.py index 8c093a6a384..02aa2ad4f5c 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_create.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_create.py @@ -22,9 +22,9 @@ class Create(AAZCommand): """ _aaz_info = { - "version": "2023-07-01-preview", + "version": "2023-08-01-preview", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}", "2023-07-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}", "2023-08-01-preview"], ] } @@ -138,7 +138,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } @@ -196,7 +196,9 @@ def _build_schema_on_200_201(cls): ) _schema_on_200_201.location = AAZStrType() _schema_on_200_201.name = AAZStrType() - _schema_on_200_201.properties = AAZObjectType() + _schema_on_200_201.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _schema_on_200_201.tags = AAZDictType() _schema_on_200_201.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_delete.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_delete.py index 2796cb46b26..4a1c53643b9 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_delete.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_delete.py @@ -23,9 +23,9 @@ class Delete(AAZCommand): """ _aaz_info = { - "version": "2023-07-01-preview", + "version": "2023-08-01-preview", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}", "2023-07-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}", "2023-08-01-preview"], ] } @@ -119,7 +119,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_list.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_list.py index 7879c2cb76a..832b3d01ea9 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_list.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_list.py @@ -22,10 +22,10 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-07-01-preview", + "version": "2023-08-01-preview", "resources": [ - ["mgmt-plane", "/subscriptions/{}/providers/microsoft.network/networksecurityperimeters", "2023-07-01-preview"], - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters", "2023-07-01-preview"], + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.network/networksecurityperimeters", "2023-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters", "2023-08-01-preview"], ] } @@ -134,7 +134,7 @@ def query_parameters(self): "$top", self.ctx.args.top, ), **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } @@ -181,7 +181,9 @@ def _build_schema_on_200(cls): ) _element.location = AAZStrType() _element.name = AAZStrType() - _element.properties = AAZObjectType() + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _element.tags = AAZDictType() _element.type = AAZStrType( flags={"read_only": True}, @@ -248,7 +250,7 @@ def query_parameters(self): "$top", self.ctx.args.top, ), **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } @@ -295,7 +297,9 @@ def _build_schema_on_200(cls): ) _element.location = AAZStrType() _element.name = AAZStrType() - _element.properties = AAZObjectType() + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _element.tags = AAZDictType() _element.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_show.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_show.py index 8a76fbfc2ee..29b6c726932 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_show.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_show.py @@ -22,9 +22,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2023-07-01-preview", + "version": "2023-08-01-preview", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}", "2023-07-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}", "2023-08-01-preview"], ] } @@ -120,7 +120,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } @@ -158,7 +158,9 @@ def _build_schema_on_200(cls): ) _schema_on_200.location = AAZStrType() _schema_on_200.name = AAZStrType() - _schema_on_200.properties = AAZObjectType() + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _schema_on_200.tags = AAZDictType() _schema_on_200.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_update.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_update.py new file mode 100644 index 00000000000..5e2d2fe96fa --- /dev/null +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_update.py @@ -0,0 +1,371 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "network perimeter update", +) +class Update(AAZCommand): + """Creates or updates a Network Security Perimeter. + """ + + _aaz_info = { + "version": "2023-08-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}", "2023-08-01-preview"], + ] + } + + AZ_SUPPORT_GENERIC_UPDATE = True + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.perimeter_name = AAZStrArg( + options=["-n", "--name", "--perimeter-name"], + help="The name of the network security perimeter.", + required=True, + id_part="name", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + + # define Arg Group "Parameters" + + _args_schema = cls._args_schema + _args_schema.location = AAZResourceLocationArg( + arg_group="Parameters", + help="The location in which NSP is created.", + nullable=True, + fmt=AAZResourceLocationArgFormat( + resource_group_arg="resource_group", + ), + ) + _args_schema.tags = AAZDictArg( + options=["--tags"], + arg_group="Parameters", + help="Resource tags.", + nullable=True, + ) + + tags = cls._args_schema.tags + tags.Element = AAZStrArg( + nullable=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.NetworkSecurityPerimetersGet(ctx=self.ctx)() + self.pre_instance_update(self.ctx.vars.instance) + self.InstanceUpdateByJson(ctx=self.ctx)() + self.InstanceUpdateByGeneric(ctx=self.ctx)() + self.post_instance_update(self.ctx.vars.instance) + self.NetworkSecurityPerimetersCreateOrUpdate(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + @register_callback + def pre_instance_update(self, instance): + pass + + @register_callback + def post_instance_update(self, instance): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class NetworkSecurityPerimetersGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "ODataV4Format" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkSecurityPerimeterName", self.ctx.args.perimeter_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-08-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + _UpdateHelper._build_schema_network_security_perimeter_read(cls._schema_on_200) + + return cls._schema_on_200 + + class NetworkSecurityPerimetersCreateOrUpdate(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200, 201]: + return self.on_200_201(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}", + **self.url_parameters + ) + + @property + def method(self): + return "PUT" + + @property + def error_format(self): + return "ODataV4Format" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkSecurityPerimeterName", self.ctx.args.perimeter_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-08-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Content-Type", "application/json", + ), + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + @property + def content(self): + _content_value, _builder = self.new_content_builder( + self.ctx.args, + value=self.ctx.vars.instance, + ) + + return self.serialize_content(_content_value) + + def on_200_201(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200_201 + ) + + _schema_on_200_201 = None + + @classmethod + def _build_schema_on_200_201(cls): + if cls._schema_on_200_201 is not None: + return cls._schema_on_200_201 + + cls._schema_on_200_201 = AAZObjectType() + _UpdateHelper._build_schema_network_security_perimeter_read(cls._schema_on_200_201) + + return cls._schema_on_200_201 + + class InstanceUpdateByJson(AAZJsonInstanceUpdateOperation): + + def __call__(self, *args, **kwargs): + self._update_instance(self.ctx.vars.instance) + + def _update_instance(self, instance): + _instance_value, _builder = self.new_content_builder( + self.ctx.args, + value=instance, + typ=AAZObjectType + ) + _builder.set_prop("location", AAZStrType, ".location") + _builder.set_prop("name", AAZStrType, ".perimeter_name") + _builder.set_prop("tags", AAZDictType, ".tags") + + tags = _builder.get(".tags") + if tags is not None: + tags.set_elements(AAZStrType, ".") + + return _instance_value + + class InstanceUpdateByGeneric(AAZGenericInstanceUpdateOperation): + + def __call__(self, *args, **kwargs): + self._update_instance_by_generic( + self.ctx.vars.instance, + self.ctx.generic_update_args + ) + + +class _UpdateHelper: + """Helper class for Update""" + + _schema_network_security_perimeter_read = None + + @classmethod + def _build_schema_network_security_perimeter_read(cls, _schema): + if cls._schema_network_security_perimeter_read is not None: + _schema.id = cls._schema_network_security_perimeter_read.id + _schema.location = cls._schema_network_security_perimeter_read.location + _schema.name = cls._schema_network_security_perimeter_read.name + _schema.properties = cls._schema_network_security_perimeter_read.properties + _schema.tags = cls._schema_network_security_perimeter_read.tags + _schema.type = cls._schema_network_security_perimeter_read.type + return + + cls._schema_network_security_perimeter_read = _schema_network_security_perimeter_read = AAZObjectType() + + network_security_perimeter_read = _schema_network_security_perimeter_read + network_security_perimeter_read.id = AAZStrType( + flags={"read_only": True}, + ) + network_security_perimeter_read.location = AAZStrType() + network_security_perimeter_read.name = AAZStrType() + network_security_perimeter_read.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + network_security_perimeter_read.tags = AAZDictType() + network_security_perimeter_read.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = _schema_network_security_perimeter_read.properties + properties.perimeter_guid = AAZStrType( + serialized_name="perimeterGuid", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + tags = _schema_network_security_perimeter_read.tags + tags.Element = AAZStrType() + + _schema.id = cls._schema_network_security_perimeter_read.id + _schema.location = cls._schema_network_security_perimeter_read.location + _schema.name = cls._schema_network_security_perimeter_read.name + _schema.properties = cls._schema_network_security_perimeter_read.properties + _schema.tags = cls._schema_network_security_perimeter_read.tags + _schema.type = cls._schema_network_security_perimeter_read.type + + +__all__ = ["Update"] diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_create.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_create.py index 232c2384d60..353ed1d8bfb 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_create.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_create.py @@ -22,9 +22,9 @@ class Create(AAZCommand): """ _aaz_info = { - "version": "2023-07-01-preview", + "version": "2023-08-01-preview", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/resourceassociations/{}", "2023-07-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/resourceassociations/{}", "2023-08-01-preview"], ] } @@ -187,7 +187,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } @@ -214,7 +214,7 @@ def content(self): ) _builder.set_prop("location", AAZStrType, ".location") _builder.set_prop("name", AAZStrType, ".association_name") - _builder.set_prop("properties", AAZObjectType) + _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) _builder.set_prop("tags", AAZDictType, ".tags") properties = _builder.get(".properties") @@ -252,7 +252,9 @@ def _build_schema_on_200_201(cls): ) _schema_on_200_201.location = AAZStrType() _schema_on_200_201.name = AAZStrType() - _schema_on_200_201.properties = AAZObjectType() + _schema_on_200_201.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _schema_on_200_201.tags = AAZDictType() _schema_on_200_201.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_delete.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_delete.py index 2b93c4fd47e..a515791ce83 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_delete.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_delete.py @@ -23,9 +23,9 @@ class Delete(AAZCommand): """ _aaz_info = { - "version": "2023-07-01-preview", + "version": "2023-08-01-preview", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/resourceassociations/{}", "2023-07-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/resourceassociations/{}", "2023-08-01-preview"], ] } @@ -153,7 +153,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_list.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_list.py index 1191f13650e..38b43f0baa4 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_list.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_list.py @@ -22,9 +22,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-07-01-preview", + "version": "2023-08-01-preview", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/resourceassociations", "2023-07-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/resourceassociations", "2023-08-01-preview"], ] } @@ -139,7 +139,7 @@ def query_parameters(self): "$top", self.ctx.args.top, ), **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } @@ -186,7 +186,9 @@ def _build_schema_on_200(cls): ) _element.location = AAZStrType() _element.name = AAZStrType() - _element.properties = AAZObjectType() + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _element.tags = AAZDictType() _element.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_show.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_show.py index c95b08e178f..cc035552bdb 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_show.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_show.py @@ -22,9 +22,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2023-07-01-preview", + "version": "2023-08-01-preview", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/resourceassociations/{}", "2023-07-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/resourceassociations/{}", "2023-08-01-preview"], ] } @@ -130,7 +130,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } @@ -168,7 +168,9 @@ def _build_schema_on_200(cls): ) _schema_on_200.location = AAZStrType() _schema_on_200.name = AAZStrType() - _schema_on_200.properties = AAZObjectType() + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _schema_on_200.tags = AAZDictType() _schema_on_200.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_update.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_update.py index df21e31c9ac..5458b9bd147 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_update.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_update.py @@ -15,16 +15,16 @@ "network perimeter association update", ) class Update(AAZCommand): - """Updates a NSP resource association. + """Creates or updates a NSP resource association. :example: Update NSP Association az network perimeter association update --name MyAssociation --perimeter-name MyPerimeter --resource-group MyResourceGroup --access-mode Enforced --private-link-resource id=" --profile id="ProfileArmID" """ _aaz_info = { - "version": "2023-07-01-preview", + "version": "2023-08-01-preview", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/resourceassociations/{}", "2023-07-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/resourceassociations/{}", "2023-08-01-preview"], ] } @@ -214,7 +214,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } @@ -301,7 +301,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } @@ -361,7 +361,7 @@ def _update_instance(self, instance): ) _builder.set_prop("location", AAZStrType, ".location") _builder.set_prop("name", AAZStrType, ".association_name") - _builder.set_prop("properties", AAZObjectType) + _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) _builder.set_prop("tags", AAZDictType, ".tags") properties = _builder.get(".properties") @@ -415,7 +415,9 @@ def _build_schema_nsp_association_read(cls, _schema): ) nsp_association_read.location = AAZStrType() nsp_association_read.name = AAZStrType() - nsp_association_read.properties = AAZObjectType() + nsp_association_read.properties = AAZObjectType( + flags={"client_flatten": True}, + ) nsp_association_read.tags = AAZDictType() nsp_association_read.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_wait.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_wait.py index dac055f67a3..84e368e2640 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_wait.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_wait.py @@ -20,7 +20,7 @@ class Wait(AAZWaitCommand): _aaz_info = { "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/resourceassociations/{}", "2023-07-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/resourceassociations/{}", "2023-08-01-preview"], ] } @@ -126,7 +126,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } @@ -164,7 +164,9 @@ def _build_schema_on_200(cls): ) _schema_on_200.location = AAZStrType() _schema_on_200.name = AAZStrType() - _schema_on_200.properties = AAZObjectType() + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _schema_on_200.tags = AAZDictType() _schema_on_200.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_create.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_create.py index 69a8d392204..b04f5b06e0a 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_create.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_create.py @@ -22,9 +22,9 @@ class Create(AAZCommand): """ _aaz_info = { - "version": "2023-07-01-preview", + "version": "2023-08-01-preview", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/links/{}", "2023-07-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/links/{}", "2023-08-01-preview"], ] } @@ -164,7 +164,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } @@ -189,7 +189,7 @@ def content(self): typ=AAZObjectType, typ_kwargs={"flags": {"required": True, "client_flatten": True}} ) - _builder.set_prop("properties", AAZObjectType) + _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) properties = _builder.get(".properties") if properties is not None: @@ -235,7 +235,9 @@ def _build_schema_on_200_201(cls): _schema_on_200_201.name = AAZStrType( flags={"read_only": True}, ) - _schema_on_200_201.properties = AAZObjectType() + _schema_on_200_201.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _schema_on_200_201.type = AAZStrType( flags={"read_only": True}, ) diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_delete.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_delete.py index a504f7e7a46..e45b1858db9 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_delete.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_delete.py @@ -23,9 +23,9 @@ class Delete(AAZCommand): """ _aaz_info = { - "version": "2023-07-01-preview", + "version": "2023-08-01-preview", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/links/{}", "2023-07-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/links/{}", "2023-08-01-preview"], ] } @@ -153,7 +153,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_list.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_list.py index c5ed6e847c1..8de295811ca 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_list.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_list.py @@ -22,9 +22,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-07-01-preview", + "version": "2023-08-01-preview", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/links", "2023-07-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/links", "2023-08-01-preview"], ] } @@ -139,7 +139,7 @@ def query_parameters(self): "$top", self.ctx.args.top, ), **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } @@ -190,7 +190,9 @@ def _build_schema_on_200(cls): _element.name = AAZStrType( flags={"read_only": True}, ) - _element.properties = AAZObjectType() + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _element.type = AAZStrType( flags={"read_only": True}, ) diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_show.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_show.py index 5efd39b556b..5eabdecddd6 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_show.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_show.py @@ -22,9 +22,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2023-07-01-preview", + "version": "2023-08-01-preview", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/links/{}", "2023-07-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/links/{}", "2023-08-01-preview"], ] } @@ -130,7 +130,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } @@ -172,7 +172,9 @@ def _build_schema_on_200(cls): _schema_on_200.name = AAZStrType( flags={"read_only": True}, ) - _schema_on_200.properties = AAZObjectType() + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _schema_on_200.type = AAZStrType( flags={"read_only": True}, ) diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_update.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_update.py index b175cb94010..339564b4abd 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_update.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_update.py @@ -22,9 +22,9 @@ class Update(AAZCommand): """ _aaz_info = { - "version": "2023-07-01-preview", + "version": "2023-08-01-preview", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/links/{}", "2023-07-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/links/{}", "2023-08-01-preview"], ] } @@ -183,7 +183,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } @@ -270,7 +270,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } @@ -328,7 +328,7 @@ def _update_instance(self, instance): value=instance, typ=AAZObjectType ) - _builder.set_prop("properties", AAZObjectType) + _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) properties = _builder.get(".properties") if properties is not None: @@ -382,7 +382,9 @@ def _build_schema_nsp_link_read(cls, _schema): nsp_link_read.name = AAZStrType( flags={"read_only": True}, ) - nsp_link_read.properties = AAZObjectType() + nsp_link_read.properties = AAZObjectType( + flags={"client_flatten": True}, + ) nsp_link_read.type = AAZStrType( flags={"read_only": True}, ) diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_wait.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_wait.py index c71df105ad4..72415f3af6e 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_wait.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_wait.py @@ -20,7 +20,7 @@ class Wait(AAZWaitCommand): _aaz_info = { "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/links/{}", "2023-07-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/links/{}", "2023-08-01-preview"], ] } @@ -126,7 +126,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } @@ -168,7 +168,9 @@ def _build_schema_on_200(cls): _schema_on_200.name = AAZStrType( flags={"read_only": True}, ) - _schema_on_200.properties = AAZObjectType() + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _schema_on_200.type = AAZStrType( flags={"read_only": True}, ) diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_delete.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_delete.py index e840e87e549..608824c4efb 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_delete.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_delete.py @@ -23,9 +23,9 @@ class Delete(AAZCommand): """ _aaz_info = { - "version": "2023-07-01-preview", + "version": "2023-08-01-preview", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/linkreferences/{}", "2023-07-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/linkreferences/{}", "2023-08-01-preview"], ] } @@ -153,7 +153,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_list.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_list.py index 38d5ef8b84b..d93c59b0d15 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_list.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_list.py @@ -22,9 +22,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-07-01-preview", + "version": "2023-08-01-preview", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/linkreferences", "2023-07-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/linkreferences", "2023-08-01-preview"], ] } @@ -139,7 +139,7 @@ def query_parameters(self): "$top", self.ctx.args.top, ), **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } @@ -190,7 +190,9 @@ def _build_schema_on_200(cls): _element.name = AAZStrType( flags={"read_only": True}, ) - _element.properties = AAZObjectType() + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _element.type = AAZStrType( flags={"read_only": True}, ) diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_show.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_show.py index 69addd31bc2..fa298e171de 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_show.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_show.py @@ -22,9 +22,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2023-07-01-preview", + "version": "2023-08-01-preview", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/linkreferences/{}", "2023-07-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/linkreferences/{}", "2023-08-01-preview"], ] } @@ -130,7 +130,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } @@ -172,7 +172,9 @@ def _build_schema_on_200(cls): _schema_on_200.name = AAZStrType( flags={"read_only": True}, ) - _schema_on_200.properties = AAZObjectType() + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _schema_on_200.type = AAZStrType( flags={"read_only": True}, ) diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_wait.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_wait.py index 0346f244c7b..97460837924 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_wait.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_wait.py @@ -20,7 +20,7 @@ class Wait(AAZWaitCommand): _aaz_info = { "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/linkreferences/{}", "2023-07-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/linkreferences/{}", "2023-08-01-preview"], ] } @@ -126,7 +126,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } @@ -168,7 +168,9 @@ def _build_schema_on_200(cls): _schema_on_200.name = AAZStrType( flags={"read_only": True}, ) - _schema_on_200.properties = AAZObjectType() + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _schema_on_200.type = AAZStrType( flags={"read_only": True}, ) diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/onboarded_resources/_list.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/onboarded_resources/_list.py index 52604c2ed69..abd296f7913 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/onboarded_resources/_list.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/onboarded_resources/_list.py @@ -22,9 +22,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-07-01-preview", + "version": "2023-08-01-preview", "resources": [ - ["mgmt-plane", "/subscriptions/{}/providers/microsoft.network/locations/{}/perimeterassociableresourcetypes", "2023-07-01-preview"], + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.network/locations/{}/perimeterassociableresourcetypes", "2023-08-01-preview"], ] } @@ -112,7 +112,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } @@ -159,7 +159,9 @@ def _build_schema_on_200(cls): ) _element.location = AAZStrType() _element.name = AAZStrType() - _element.properties = AAZObjectType() + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _element.tags = AAZDictType() _element.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/__init__.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/__init__.py index bca7976b1c6..1f78565855b 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/__init__.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/__init__.py @@ -13,3 +13,4 @@ from ._delete import * from ._list import * from ._show import * +from ._update import * diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_create.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_create.py index 62b2326622e..2d25dad8342 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_create.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_create.py @@ -22,9 +22,9 @@ class Create(AAZCommand): """ _aaz_info = { - "version": "2023-07-01-preview", + "version": "2023-08-01-preview", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}", "2023-07-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}", "2023-08-01-preview"], ] } @@ -147,7 +147,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } @@ -205,7 +205,9 @@ def _build_schema_on_200_201(cls): ) _schema_on_200_201.location = AAZStrType() _schema_on_200_201.name = AAZStrType() - _schema_on_200_201.properties = AAZObjectType() + _schema_on_200_201.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _schema_on_200_201.tags = AAZDictType() _schema_on_200_201.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_delete.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_delete.py index cd301853d2d..e60c1e9fbc8 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_delete.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_delete.py @@ -23,9 +23,9 @@ class Delete(AAZCommand): """ _aaz_info = { - "version": "2023-07-01-preview", + "version": "2023-08-01-preview", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}", "2023-07-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}", "2023-08-01-preview"], ] } @@ -129,7 +129,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_list.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_list.py index 215ce7da90c..b4871d84e8b 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_list.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_list.py @@ -22,9 +22,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-07-01-preview", + "version": "2023-08-01-preview", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles", "2023-07-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles", "2023-08-01-preview"], ] } @@ -139,7 +139,7 @@ def query_parameters(self): "$top", self.ctx.args.top, ), **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } @@ -186,7 +186,9 @@ def _build_schema_on_200(cls): ) _element.location = AAZStrType() _element.name = AAZStrType() - _element.properties = AAZObjectType() + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _element.tags = AAZDictType() _element.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_show.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_show.py index 20047d81d28..c732f5ca089 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_show.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_show.py @@ -22,9 +22,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2023-07-01-preview", + "version": "2023-08-01-preview", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}", "2023-07-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}", "2023-08-01-preview"], ] } @@ -130,7 +130,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } @@ -168,7 +168,9 @@ def _build_schema_on_200(cls): ) _schema_on_200.location = AAZStrType() _schema_on_200.name = AAZStrType() - _schema_on_200.properties = AAZObjectType() + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _schema_on_200.tags = AAZDictType() _schema_on_200.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_update.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_update.py new file mode 100644 index 00000000000..dc8fe7a1ee6 --- /dev/null +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_update.py @@ -0,0 +1,385 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# +# Code generated by aaz-dev-tools +# -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + +from azure.cli.core.aaz import * + + +@register_command( + "network perimeter profile update", +) +class Update(AAZCommand): + """Creates or updates a network profile. + """ + + _aaz_info = { + "version": "2023-08-01-preview", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}", "2023-08-01-preview"], + ] + } + + AZ_SUPPORT_GENERIC_UPDATE = True + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return self._output() + + _args_schema = None + + @classmethod + def _build_arguments_schema(cls, *args, **kwargs): + if cls._args_schema is not None: + return cls._args_schema + cls._args_schema = super()._build_arguments_schema(*args, **kwargs) + + # define Arg Group "" + + _args_schema = cls._args_schema + _args_schema.perimeter_name = AAZStrArg( + options=["--perimeter-name"], + help="The name of the network security perimeter.", + required=True, + id_part="name", + ) + _args_schema.profile_name = AAZStrArg( + options=["-n", "--name", "--profile-name"], + help="The name of the NSP profile.", + required=True, + id_part="child_name_1", + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + + # define Arg Group "Parameters" + + _args_schema = cls._args_schema + _args_schema.location = AAZResourceLocationArg( + arg_group="Parameters", + help="Resource location.", + nullable=True, + fmt=AAZResourceLocationArgFormat( + resource_group_arg="resource_group", + ), + ) + _args_schema.tags = AAZDictArg( + options=["--tags"], + arg_group="Parameters", + help="Resource tags.", + nullable=True, + ) + + tags = cls._args_schema.tags + tags.Element = AAZStrArg( + nullable=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.NspProfilesGet(ctx=self.ctx)() + self.pre_instance_update(self.ctx.vars.instance) + self.InstanceUpdateByJson(ctx=self.ctx)() + self.InstanceUpdateByGeneric(ctx=self.ctx)() + self.post_instance_update(self.ctx.vars.instance) + self.NspProfilesCreateOrUpdate(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + @register_callback + def pre_instance_update(self, instance): + pass + + @register_callback + def post_instance_update(self, instance): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + return result + + class NspProfilesGet(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200]: + return self.on_200(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles/{profileName}", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "ODataV4Format" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkSecurityPerimeterName", self.ctx.args.perimeter_name, + required=True, + ), + **self.serialize_url_param( + "profileName", self.ctx.args.profile_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-08-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) + + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 + + cls._schema_on_200 = AAZObjectType() + _UpdateHelper._build_schema_nsp_profile_read(cls._schema_on_200) + + return cls._schema_on_200 + + class NspProfilesCreateOrUpdate(AAZHttpOperation): + CLIENT_TYPE = "MgmtClient" + + def __call__(self, *args, **kwargs): + request = self.make_request() + session = self.client.send_request(request=request, stream=False, **kwargs) + if session.http_response.status_code in [200, 201]: + return self.on_200_201(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles/{profileName}", + **self.url_parameters + ) + + @property + def method(self): + return "PUT" + + @property + def error_format(self): + return "ODataV4Format" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "networkSecurityPerimeterName", self.ctx.args.perimeter_name, + required=True, + ), + **self.serialize_url_param( + "profileName", self.ctx.args.profile_name, + required=True, + ), + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), + **self.serialize_url_param( + "subscriptionId", self.ctx.subscription_id, + required=True, + ), + } + return parameters + + @property + def query_parameters(self): + parameters = { + **self.serialize_query_param( + "api-version", "2023-08-01-preview", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Content-Type", "application/json", + ), + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + @property + def content(self): + _content_value, _builder = self.new_content_builder( + self.ctx.args, + value=self.ctx.vars.instance, + ) + + return self.serialize_content(_content_value) + + def on_200_201(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200_201 + ) + + _schema_on_200_201 = None + + @classmethod + def _build_schema_on_200_201(cls): + if cls._schema_on_200_201 is not None: + return cls._schema_on_200_201 + + cls._schema_on_200_201 = AAZObjectType() + _UpdateHelper._build_schema_nsp_profile_read(cls._schema_on_200_201) + + return cls._schema_on_200_201 + + class InstanceUpdateByJson(AAZJsonInstanceUpdateOperation): + + def __call__(self, *args, **kwargs): + self._update_instance(self.ctx.vars.instance) + + def _update_instance(self, instance): + _instance_value, _builder = self.new_content_builder( + self.ctx.args, + value=instance, + typ=AAZObjectType + ) + _builder.set_prop("location", AAZStrType, ".location") + _builder.set_prop("name", AAZStrType, ".profile_name") + _builder.set_prop("tags", AAZDictType, ".tags") + + tags = _builder.get(".tags") + if tags is not None: + tags.set_elements(AAZStrType, ".") + + return _instance_value + + class InstanceUpdateByGeneric(AAZGenericInstanceUpdateOperation): + + def __call__(self, *args, **kwargs): + self._update_instance_by_generic( + self.ctx.vars.instance, + self.ctx.generic_update_args + ) + + +class _UpdateHelper: + """Helper class for Update""" + + _schema_nsp_profile_read = None + + @classmethod + def _build_schema_nsp_profile_read(cls, _schema): + if cls._schema_nsp_profile_read is not None: + _schema.id = cls._schema_nsp_profile_read.id + _schema.location = cls._schema_nsp_profile_read.location + _schema.name = cls._schema_nsp_profile_read.name + _schema.properties = cls._schema_nsp_profile_read.properties + _schema.tags = cls._schema_nsp_profile_read.tags + _schema.type = cls._schema_nsp_profile_read.type + return + + cls._schema_nsp_profile_read = _schema_nsp_profile_read = AAZObjectType() + + nsp_profile_read = _schema_nsp_profile_read + nsp_profile_read.id = AAZStrType( + flags={"read_only": True}, + ) + nsp_profile_read.location = AAZStrType() + nsp_profile_read.name = AAZStrType() + nsp_profile_read.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + nsp_profile_read.tags = AAZDictType() + nsp_profile_read.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = _schema_nsp_profile_read.properties + properties.access_rules_version = AAZStrType( + serialized_name="accessRulesVersion", + flags={"read_only": True}, + ) + properties.diagnostic_settings_version = AAZStrType( + serialized_name="diagnosticSettingsVersion", + flags={"read_only": True}, + ) + + tags = _schema_nsp_profile_read.tags + tags.Element = AAZStrType() + + _schema.id = cls._schema_nsp_profile_read.id + _schema.location = cls._schema_nsp_profile_read.location + _schema.name = cls._schema_nsp_profile_read.name + _schema.properties = cls._schema_nsp_profile_read.properties + _schema.tags = cls._schema_nsp_profile_read.tags + _schema.type = cls._schema_nsp_profile_read.type + + +__all__ = ["Update"] diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_create.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_create.py index 0d07181bcdd..c588bf9a09d 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_create.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_create.py @@ -20,17 +20,23 @@ class Create(AAZCommand): :example: Create IP based access rule az network perimeter profile access-rule create -n MyAccessRule --profile-name MyProfile --perimeter-name MyPerimeter -g MyResourceGroup --address-prefixes "[10.10.0.0/16]" + :example: Create NSP based access rule + az network perimeter profile access-rule create -n MyAccessRule --profile-name MyProfile --perimeter-name MyPerimeter -g MyResourceGroup --nsp "[{id:}]" + :example: Create FQDN based access rule az network perimeter profile access-rule create -n MyAccessRule --profile-name MyProfile --perimeter-name MyPerimeter -g MyResourceGroup --fqdn "['www.abc.com', 'www.google.com']" --direction "Outbound" :example: Create Subscription based access rule az network perimeter profile access-rule create -n MyAccessRule --profile-name MyProfile --perimeter-name MyPerimeter -g MyResourceGroup --subscriptions [0].id="" [1].id="" + + :example: Create ServiceTags based access rule + az network perimeter profile access-rule create -n MyAccessRule --profile-name MyProfile --perimeter-name MyPerimeter -g MyResourceGroup --service-tags "['st1'']" direction "Inbound" """ _aaz_info = { - "version": "2023-07-01-preview", + "version": "2023-08-01-preview", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}/accessrules/{}", "2023-07-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}/accessrules/{}", "2023-08-01-preview"], ] } @@ -117,6 +123,11 @@ def _build_arguments_schema(cls, *args, **kwargs): arg_group="Properties", help="Outbound rules phone number format.", ) + _args_schema.service_tags = AAZListArg( + options=["--service-tags"], + arg_group="Properties", + help="Inbound rules service tag names.", + ) _args_schema.subscriptions = AAZListArg( options=["--subscriptions"], arg_group="Properties", @@ -135,6 +146,9 @@ def _build_arguments_schema(cls, *args, **kwargs): phone_numbers = cls._args_schema.phone_numbers phone_numbers.Element = AAZStrArg() + service_tags = cls._args_schema.service_tags + service_tags.Element = AAZStrArg() + subscriptions = cls._args_schema.subscriptions subscriptions.Element = AAZObjectArg() @@ -218,7 +232,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } @@ -245,7 +259,7 @@ def content(self): ) _builder.set_prop("location", AAZStrType, ".location") _builder.set_prop("name", AAZStrType, ".access_rule_name") - _builder.set_prop("properties", AAZObjectType) + _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) _builder.set_prop("tags", AAZDictType, ".tags") properties = _builder.get(".properties") @@ -255,6 +269,7 @@ def content(self): properties.set_prop("emailAddresses", AAZListType, ".email_addresses") properties.set_prop("fullyQualifiedDomainNames", AAZListType, ".fqdn") properties.set_prop("phoneNumbers", AAZListType, ".phone_numbers") + properties.set_prop("serviceTags", AAZListType, ".service_tags") properties.set_prop("subscriptions", AAZListType, ".subscriptions") address_prefixes = _builder.get(".properties.addressPrefixes") @@ -273,6 +288,10 @@ def content(self): if phone_numbers is not None: phone_numbers.set_elements(AAZStrType, ".") + service_tags = _builder.get(".properties.serviceTags") + if service_tags is not None: + service_tags.set_elements(AAZStrType, ".") + subscriptions = _builder.get(".properties.subscriptions") if subscriptions is not None: subscriptions.set_elements(AAZObjectType, ".") @@ -310,7 +329,9 @@ def _build_schema_on_200_201(cls): ) _schema_on_200_201.location = AAZStrType() _schema_on_200_201.name = AAZStrType() - _schema_on_200_201.properties = AAZObjectType() + _schema_on_200_201.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _schema_on_200_201.tags = AAZDictType() _schema_on_200_201.type = AAZStrType( flags={"read_only": True}, @@ -338,6 +359,9 @@ def _build_schema_on_200_201(cls): serialized_name="provisioningState", flags={"read_only": True}, ) + properties.service_tags = AAZListType( + serialized_name="serviceTags", + ) properties.subscriptions = AAZListType() address_prefixes = cls._schema_on_200_201.properties.address_prefixes @@ -367,6 +391,9 @@ def _build_schema_on_200_201(cls): phone_numbers = cls._schema_on_200_201.properties.phone_numbers phone_numbers.Element = AAZStrType() + service_tags = cls._schema_on_200_201.properties.service_tags + service_tags.Element = AAZStrType() + subscriptions = cls._schema_on_200_201.properties.subscriptions subscriptions.Element = AAZObjectType() diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_delete.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_delete.py index aa784db63af..29a39bcc014 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_delete.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_delete.py @@ -23,9 +23,9 @@ class Delete(AAZCommand): """ _aaz_info = { - "version": "2023-07-01-preview", + "version": "2023-08-01-preview", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}/accessrules/{}", "2023-07-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}/accessrules/{}", "2023-08-01-preview"], ] } @@ -139,7 +139,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_list.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_list.py index 55d83f33dd7..d5f9d7a116d 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_list.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_list.py @@ -22,9 +22,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-07-01-preview", + "version": "2023-08-01-preview", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}/accessrules", "2023-07-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}/accessrules", "2023-08-01-preview"], ] } @@ -148,7 +148,7 @@ def query_parameters(self): "$top", self.ctx.args.top, ), **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } @@ -195,7 +195,9 @@ def _build_schema_on_200(cls): ) _element.location = AAZStrType() _element.name = AAZStrType() - _element.properties = AAZObjectType() + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _element.tags = AAZDictType() _element.type = AAZStrType( flags={"read_only": True}, @@ -223,6 +225,9 @@ def _build_schema_on_200(cls): serialized_name="provisioningState", flags={"read_only": True}, ) + properties.service_tags = AAZListType( + serialized_name="serviceTags", + ) properties.subscriptions = AAZListType() address_prefixes = cls._schema_on_200.value.Element.properties.address_prefixes @@ -252,6 +257,9 @@ def _build_schema_on_200(cls): phone_numbers = cls._schema_on_200.value.Element.properties.phone_numbers phone_numbers.Element = AAZStrType() + service_tags = cls._schema_on_200.value.Element.properties.service_tags + service_tags.Element = AAZStrType() + subscriptions = cls._schema_on_200.value.Element.properties.subscriptions subscriptions.Element = AAZObjectType() diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_show.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_show.py index 67640dae81c..ab0bbdc56f9 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_show.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_show.py @@ -22,9 +22,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2023-07-01-preview", + "version": "2023-08-01-preview", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}/accessrules/{}", "2023-07-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}/accessrules/{}", "2023-08-01-preview"], ] } @@ -140,7 +140,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } @@ -178,7 +178,9 @@ def _build_schema_on_200(cls): ) _schema_on_200.location = AAZStrType() _schema_on_200.name = AAZStrType() - _schema_on_200.properties = AAZObjectType() + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _schema_on_200.tags = AAZDictType() _schema_on_200.type = AAZStrType( flags={"read_only": True}, @@ -206,6 +208,9 @@ def _build_schema_on_200(cls): serialized_name="provisioningState", flags={"read_only": True}, ) + properties.service_tags = AAZListType( + serialized_name="serviceTags", + ) properties.subscriptions = AAZListType() address_prefixes = cls._schema_on_200.properties.address_prefixes @@ -235,6 +240,9 @@ def _build_schema_on_200(cls): phone_numbers = cls._schema_on_200.properties.phone_numbers phone_numbers.Element = AAZStrType() + service_tags = cls._schema_on_200.properties.service_tags + service_tags.Element = AAZStrType() + subscriptions = cls._schema_on_200.properties.subscriptions subscriptions.Element = AAZObjectType() diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_update.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_update.py index 8bb891c949b..bb441547ade 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_update.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_update.py @@ -15,16 +15,16 @@ "network perimeter profile access-rule update", ) class Update(AAZCommand): - """Updates a network access rule. + """Creates or updates a network access rule. :example: Update access rule az network perimeter profile access-rule update -n MyAccessRule --profile-name MyProfile --perimeter-name MyPerimeter -g MyResourceGroup --address-prefixes "[10.10.0.0/16]" """ _aaz_info = { - "version": "2023-07-01-preview", + "version": "2023-08-01-preview", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}/accessrules/{}", "2023-07-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}/accessrules/{}", "2023-08-01-preview"], ] } @@ -125,6 +125,12 @@ def _build_arguments_schema(cls, *args, **kwargs): help="Outbound rules phone number format.", nullable=True, ) + _args_schema.service_tags = AAZListArg( + options=["--service-tags"], + arg_group="Properties", + help="Inbound rules service tag names.", + nullable=True, + ) _args_schema.subscriptions = AAZListArg( options=["--subscriptions"], arg_group="Properties", @@ -152,6 +158,11 @@ def _build_arguments_schema(cls, *args, **kwargs): nullable=True, ) + service_tags = cls._args_schema.service_tags + service_tags.Element = AAZStrArg( + nullable=True, + ) + subscriptions = cls._args_schema.subscriptions subscriptions.Element = AAZObjectArg( nullable=True, @@ -251,7 +262,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } @@ -342,7 +353,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-07-01-preview", + "api-version", "2023-08-01-preview", required=True, ), } @@ -402,7 +413,7 @@ def _update_instance(self, instance): ) _builder.set_prop("location", AAZStrType, ".location") _builder.set_prop("name", AAZStrType, ".access_rule_name") - _builder.set_prop("properties", AAZObjectType) + _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) _builder.set_prop("tags", AAZDictType, ".tags") properties = _builder.get(".properties") @@ -412,6 +423,7 @@ def _update_instance(self, instance): properties.set_prop("emailAddresses", AAZListType, ".email_addresses") properties.set_prop("fullyQualifiedDomainNames", AAZListType, ".fqdn") properties.set_prop("phoneNumbers", AAZListType, ".phone_numbers") + properties.set_prop("serviceTags", AAZListType, ".service_tags") properties.set_prop("subscriptions", AAZListType, ".subscriptions") address_prefixes = _builder.get(".properties.addressPrefixes") @@ -430,6 +442,10 @@ def _update_instance(self, instance): if phone_numbers is not None: phone_numbers.set_elements(AAZStrType, ".") + service_tags = _builder.get(".properties.serviceTags") + if service_tags is not None: + service_tags.set_elements(AAZStrType, ".") + subscriptions = _builder.get(".properties.subscriptions") if subscriptions is not None: subscriptions.set_elements(AAZObjectType, ".") @@ -477,7 +493,9 @@ def _build_schema_nsp_access_rule_read(cls, _schema): ) nsp_access_rule_read.location = AAZStrType() nsp_access_rule_read.name = AAZStrType() - nsp_access_rule_read.properties = AAZObjectType() + nsp_access_rule_read.properties = AAZObjectType( + flags={"client_flatten": True}, + ) nsp_access_rule_read.tags = AAZDictType() nsp_access_rule_read.type = AAZStrType( flags={"read_only": True}, @@ -505,6 +523,9 @@ def _build_schema_nsp_access_rule_read(cls, _schema): serialized_name="provisioningState", flags={"read_only": True}, ) + properties.service_tags = AAZListType( + serialized_name="serviceTags", + ) properties.subscriptions = AAZListType() address_prefixes = _schema_nsp_access_rule_read.properties.address_prefixes @@ -534,6 +555,9 @@ def _build_schema_nsp_access_rule_read(cls, _schema): phone_numbers = _schema_nsp_access_rule_read.properties.phone_numbers phone_numbers.Element = AAZStrType() + service_tags = _schema_nsp_access_rule_read.properties.service_tags + service_tags.Element = AAZStrType() + subscriptions = _schema_nsp_access_rule_read.properties.subscriptions subscriptions.Element = AAZObjectType() diff --git a/src/nsp/azext_nsp/azext_metadata.json b/src/nsp/azext_nsp/azext_metadata.json index 99d261885df..1ac9e16133a 100644 --- a/src/nsp/azext_nsp/azext_metadata.json +++ b/src/nsp/azext_nsp/azext_metadata.json @@ -1,4 +1,4 @@ { "azext.isExperimental": true, - "azext.minCliCoreVersion": "2.54.0" + "azext.minCliCoreVersion": "2.57.0" } \ No newline at end of file From 8a0b64523f723ef04caea60023eef24276e662e5 Mon Sep 17 00:00:00 2001 From: Bhupesh Bhatt Date: Tue, 25 Jun 2024 11:48:31 +0530 Subject: [PATCH 02/21] removed the updated commands for perimeter and profile and updated history --- src/nsp/HISTORY.rst | 7 + .../aaz/latest/network/perimeter/__init__.py | 1 - .../aaz/latest/network/perimeter/_update.py | 371 ----------------- .../network/perimeter/profile/__init__.py | 1 - .../network/perimeter/profile/_update.py | 385 ------------------ 5 files changed, 7 insertions(+), 758 deletions(-) delete mode 100644 src/nsp/azext_nsp/aaz/latest/network/perimeter/_update.py delete mode 100644 src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_update.py diff --git a/src/nsp/HISTORY.rst b/src/nsp/HISTORY.rst index c356530dbd2..e752634bf59 100644 --- a/src/nsp/HISTORY.rst +++ b/src/nsp/HISTORY.rst @@ -4,6 +4,13 @@ Release History =============== =============== +##### 0.3.1 +++++++ +No new commands added. + +Existing commands updated: +* perimeter profile access-rule: create (added servicetag based rules). + ##### 0.3.0 ++++++ No new commands added or updated. diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/__init__.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/__init__.py index 1f78565855b..bca7976b1c6 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/__init__.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/__init__.py @@ -13,4 +13,3 @@ from ._delete import * from ._list import * from ._show import * -from ._update import * diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_update.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_update.py deleted file mode 100644 index 5e2d2fe96fa..00000000000 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_update.py +++ /dev/null @@ -1,371 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -# Code generated by aaz-dev-tools -# -------------------------------------------------------------------------------------------- - -# pylint: skip-file -# flake8: noqa - -from azure.cli.core.aaz import * - - -@register_command( - "network perimeter update", -) -class Update(AAZCommand): - """Creates or updates a Network Security Perimeter. - """ - - _aaz_info = { - "version": "2023-08-01-preview", - "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}", "2023-08-01-preview"], - ] - } - - AZ_SUPPORT_GENERIC_UPDATE = True - - def _handler(self, command_args): - super()._handler(command_args) - self._execute_operations() - return self._output() - - _args_schema = None - - @classmethod - def _build_arguments_schema(cls, *args, **kwargs): - if cls._args_schema is not None: - return cls._args_schema - cls._args_schema = super()._build_arguments_schema(*args, **kwargs) - - # define Arg Group "" - - _args_schema = cls._args_schema - _args_schema.perimeter_name = AAZStrArg( - options=["-n", "--name", "--perimeter-name"], - help="The name of the network security perimeter.", - required=True, - id_part="name", - ) - _args_schema.resource_group = AAZResourceGroupNameArg( - required=True, - ) - - # define Arg Group "Parameters" - - _args_schema = cls._args_schema - _args_schema.location = AAZResourceLocationArg( - arg_group="Parameters", - help="The location in which NSP is created.", - nullable=True, - fmt=AAZResourceLocationArgFormat( - resource_group_arg="resource_group", - ), - ) - _args_schema.tags = AAZDictArg( - options=["--tags"], - arg_group="Parameters", - help="Resource tags.", - nullable=True, - ) - - tags = cls._args_schema.tags - tags.Element = AAZStrArg( - nullable=True, - ) - return cls._args_schema - - def _execute_operations(self): - self.pre_operations() - self.NetworkSecurityPerimetersGet(ctx=self.ctx)() - self.pre_instance_update(self.ctx.vars.instance) - self.InstanceUpdateByJson(ctx=self.ctx)() - self.InstanceUpdateByGeneric(ctx=self.ctx)() - self.post_instance_update(self.ctx.vars.instance) - self.NetworkSecurityPerimetersCreateOrUpdate(ctx=self.ctx)() - self.post_operations() - - @register_callback - def pre_operations(self): - pass - - @register_callback - def post_operations(self): - pass - - @register_callback - def pre_instance_update(self, instance): - pass - - @register_callback - def post_instance_update(self, instance): - pass - - def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) - return result - - class NetworkSecurityPerimetersGet(AAZHttpOperation): - CLIENT_TYPE = "MgmtClient" - - def __call__(self, *args, **kwargs): - request = self.make_request() - session = self.client.send_request(request=request, stream=False, **kwargs) - if session.http_response.status_code in [200]: - return self.on_200(session) - - return self.on_error(session.http_response) - - @property - def url(self): - return self.client.format_url( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}", - **self.url_parameters - ) - - @property - def method(self): - return "GET" - - @property - def error_format(self): - return "ODataV4Format" - - @property - def url_parameters(self): - parameters = { - **self.serialize_url_param( - "networkSecurityPerimeterName", self.ctx.args.perimeter_name, - required=True, - ), - **self.serialize_url_param( - "resourceGroupName", self.ctx.args.resource_group, - required=True, - ), - **self.serialize_url_param( - "subscriptionId", self.ctx.subscription_id, - required=True, - ), - } - return parameters - - @property - def query_parameters(self): - parameters = { - **self.serialize_query_param( - "api-version", "2023-08-01-preview", - required=True, - ), - } - return parameters - - @property - def header_parameters(self): - parameters = { - **self.serialize_header_param( - "Accept", "application/json", - ), - } - return parameters - - def on_200(self, session): - data = self.deserialize_http_content(session) - self.ctx.set_var( - "instance", - data, - schema_builder=self._build_schema_on_200 - ) - - _schema_on_200 = None - - @classmethod - def _build_schema_on_200(cls): - if cls._schema_on_200 is not None: - return cls._schema_on_200 - - cls._schema_on_200 = AAZObjectType() - _UpdateHelper._build_schema_network_security_perimeter_read(cls._schema_on_200) - - return cls._schema_on_200 - - class NetworkSecurityPerimetersCreateOrUpdate(AAZHttpOperation): - CLIENT_TYPE = "MgmtClient" - - def __call__(self, *args, **kwargs): - request = self.make_request() - session = self.client.send_request(request=request, stream=False, **kwargs) - if session.http_response.status_code in [200, 201]: - return self.on_200_201(session) - - return self.on_error(session.http_response) - - @property - def url(self): - return self.client.format_url( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}", - **self.url_parameters - ) - - @property - def method(self): - return "PUT" - - @property - def error_format(self): - return "ODataV4Format" - - @property - def url_parameters(self): - parameters = { - **self.serialize_url_param( - "networkSecurityPerimeterName", self.ctx.args.perimeter_name, - required=True, - ), - **self.serialize_url_param( - "resourceGroupName", self.ctx.args.resource_group, - required=True, - ), - **self.serialize_url_param( - "subscriptionId", self.ctx.subscription_id, - required=True, - ), - } - return parameters - - @property - def query_parameters(self): - parameters = { - **self.serialize_query_param( - "api-version", "2023-08-01-preview", - required=True, - ), - } - return parameters - - @property - def header_parameters(self): - parameters = { - **self.serialize_header_param( - "Content-Type", "application/json", - ), - **self.serialize_header_param( - "Accept", "application/json", - ), - } - return parameters - - @property - def content(self): - _content_value, _builder = self.new_content_builder( - self.ctx.args, - value=self.ctx.vars.instance, - ) - - return self.serialize_content(_content_value) - - def on_200_201(self, session): - data = self.deserialize_http_content(session) - self.ctx.set_var( - "instance", - data, - schema_builder=self._build_schema_on_200_201 - ) - - _schema_on_200_201 = None - - @classmethod - def _build_schema_on_200_201(cls): - if cls._schema_on_200_201 is not None: - return cls._schema_on_200_201 - - cls._schema_on_200_201 = AAZObjectType() - _UpdateHelper._build_schema_network_security_perimeter_read(cls._schema_on_200_201) - - return cls._schema_on_200_201 - - class InstanceUpdateByJson(AAZJsonInstanceUpdateOperation): - - def __call__(self, *args, **kwargs): - self._update_instance(self.ctx.vars.instance) - - def _update_instance(self, instance): - _instance_value, _builder = self.new_content_builder( - self.ctx.args, - value=instance, - typ=AAZObjectType - ) - _builder.set_prop("location", AAZStrType, ".location") - _builder.set_prop("name", AAZStrType, ".perimeter_name") - _builder.set_prop("tags", AAZDictType, ".tags") - - tags = _builder.get(".tags") - if tags is not None: - tags.set_elements(AAZStrType, ".") - - return _instance_value - - class InstanceUpdateByGeneric(AAZGenericInstanceUpdateOperation): - - def __call__(self, *args, **kwargs): - self._update_instance_by_generic( - self.ctx.vars.instance, - self.ctx.generic_update_args - ) - - -class _UpdateHelper: - """Helper class for Update""" - - _schema_network_security_perimeter_read = None - - @classmethod - def _build_schema_network_security_perimeter_read(cls, _schema): - if cls._schema_network_security_perimeter_read is not None: - _schema.id = cls._schema_network_security_perimeter_read.id - _schema.location = cls._schema_network_security_perimeter_read.location - _schema.name = cls._schema_network_security_perimeter_read.name - _schema.properties = cls._schema_network_security_perimeter_read.properties - _schema.tags = cls._schema_network_security_perimeter_read.tags - _schema.type = cls._schema_network_security_perimeter_read.type - return - - cls._schema_network_security_perimeter_read = _schema_network_security_perimeter_read = AAZObjectType() - - network_security_perimeter_read = _schema_network_security_perimeter_read - network_security_perimeter_read.id = AAZStrType( - flags={"read_only": True}, - ) - network_security_perimeter_read.location = AAZStrType() - network_security_perimeter_read.name = AAZStrType() - network_security_perimeter_read.properties = AAZObjectType( - flags={"client_flatten": True}, - ) - network_security_perimeter_read.tags = AAZDictType() - network_security_perimeter_read.type = AAZStrType( - flags={"read_only": True}, - ) - - properties = _schema_network_security_perimeter_read.properties - properties.perimeter_guid = AAZStrType( - serialized_name="perimeterGuid", - flags={"read_only": True}, - ) - properties.provisioning_state = AAZStrType( - serialized_name="provisioningState", - flags={"read_only": True}, - ) - - tags = _schema_network_security_perimeter_read.tags - tags.Element = AAZStrType() - - _schema.id = cls._schema_network_security_perimeter_read.id - _schema.location = cls._schema_network_security_perimeter_read.location - _schema.name = cls._schema_network_security_perimeter_read.name - _schema.properties = cls._schema_network_security_perimeter_read.properties - _schema.tags = cls._schema_network_security_perimeter_read.tags - _schema.type = cls._schema_network_security_perimeter_read.type - - -__all__ = ["Update"] diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/__init__.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/__init__.py index 1f78565855b..bca7976b1c6 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/__init__.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/__init__.py @@ -13,4 +13,3 @@ from ._delete import * from ._list import * from ._show import * -from ._update import * diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_update.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_update.py deleted file mode 100644 index dc8fe7a1ee6..00000000000 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_update.py +++ /dev/null @@ -1,385 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -# Code generated by aaz-dev-tools -# -------------------------------------------------------------------------------------------- - -# pylint: skip-file -# flake8: noqa - -from azure.cli.core.aaz import * - - -@register_command( - "network perimeter profile update", -) -class Update(AAZCommand): - """Creates or updates a network profile. - """ - - _aaz_info = { - "version": "2023-08-01-preview", - "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}", "2023-08-01-preview"], - ] - } - - AZ_SUPPORT_GENERIC_UPDATE = True - - def _handler(self, command_args): - super()._handler(command_args) - self._execute_operations() - return self._output() - - _args_schema = None - - @classmethod - def _build_arguments_schema(cls, *args, **kwargs): - if cls._args_schema is not None: - return cls._args_schema - cls._args_schema = super()._build_arguments_schema(*args, **kwargs) - - # define Arg Group "" - - _args_schema = cls._args_schema - _args_schema.perimeter_name = AAZStrArg( - options=["--perimeter-name"], - help="The name of the network security perimeter.", - required=True, - id_part="name", - ) - _args_schema.profile_name = AAZStrArg( - options=["-n", "--name", "--profile-name"], - help="The name of the NSP profile.", - required=True, - id_part="child_name_1", - ) - _args_schema.resource_group = AAZResourceGroupNameArg( - required=True, - ) - - # define Arg Group "Parameters" - - _args_schema = cls._args_schema - _args_schema.location = AAZResourceLocationArg( - arg_group="Parameters", - help="Resource location.", - nullable=True, - fmt=AAZResourceLocationArgFormat( - resource_group_arg="resource_group", - ), - ) - _args_schema.tags = AAZDictArg( - options=["--tags"], - arg_group="Parameters", - help="Resource tags.", - nullable=True, - ) - - tags = cls._args_schema.tags - tags.Element = AAZStrArg( - nullable=True, - ) - return cls._args_schema - - def _execute_operations(self): - self.pre_operations() - self.NspProfilesGet(ctx=self.ctx)() - self.pre_instance_update(self.ctx.vars.instance) - self.InstanceUpdateByJson(ctx=self.ctx)() - self.InstanceUpdateByGeneric(ctx=self.ctx)() - self.post_instance_update(self.ctx.vars.instance) - self.NspProfilesCreateOrUpdate(ctx=self.ctx)() - self.post_operations() - - @register_callback - def pre_operations(self): - pass - - @register_callback - def post_operations(self): - pass - - @register_callback - def pre_instance_update(self, instance): - pass - - @register_callback - def post_instance_update(self, instance): - pass - - def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) - return result - - class NspProfilesGet(AAZHttpOperation): - CLIENT_TYPE = "MgmtClient" - - def __call__(self, *args, **kwargs): - request = self.make_request() - session = self.client.send_request(request=request, stream=False, **kwargs) - if session.http_response.status_code in [200]: - return self.on_200(session) - - return self.on_error(session.http_response) - - @property - def url(self): - return self.client.format_url( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles/{profileName}", - **self.url_parameters - ) - - @property - def method(self): - return "GET" - - @property - def error_format(self): - return "ODataV4Format" - - @property - def url_parameters(self): - parameters = { - **self.serialize_url_param( - "networkSecurityPerimeterName", self.ctx.args.perimeter_name, - required=True, - ), - **self.serialize_url_param( - "profileName", self.ctx.args.profile_name, - required=True, - ), - **self.serialize_url_param( - "resourceGroupName", self.ctx.args.resource_group, - required=True, - ), - **self.serialize_url_param( - "subscriptionId", self.ctx.subscription_id, - required=True, - ), - } - return parameters - - @property - def query_parameters(self): - parameters = { - **self.serialize_query_param( - "api-version", "2023-08-01-preview", - required=True, - ), - } - return parameters - - @property - def header_parameters(self): - parameters = { - **self.serialize_header_param( - "Accept", "application/json", - ), - } - return parameters - - def on_200(self, session): - data = self.deserialize_http_content(session) - self.ctx.set_var( - "instance", - data, - schema_builder=self._build_schema_on_200 - ) - - _schema_on_200 = None - - @classmethod - def _build_schema_on_200(cls): - if cls._schema_on_200 is not None: - return cls._schema_on_200 - - cls._schema_on_200 = AAZObjectType() - _UpdateHelper._build_schema_nsp_profile_read(cls._schema_on_200) - - return cls._schema_on_200 - - class NspProfilesCreateOrUpdate(AAZHttpOperation): - CLIENT_TYPE = "MgmtClient" - - def __call__(self, *args, **kwargs): - request = self.make_request() - session = self.client.send_request(request=request, stream=False, **kwargs) - if session.http_response.status_code in [200, 201]: - return self.on_200_201(session) - - return self.on_error(session.http_response) - - @property - def url(self): - return self.client.format_url( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles/{profileName}", - **self.url_parameters - ) - - @property - def method(self): - return "PUT" - - @property - def error_format(self): - return "ODataV4Format" - - @property - def url_parameters(self): - parameters = { - **self.serialize_url_param( - "networkSecurityPerimeterName", self.ctx.args.perimeter_name, - required=True, - ), - **self.serialize_url_param( - "profileName", self.ctx.args.profile_name, - required=True, - ), - **self.serialize_url_param( - "resourceGroupName", self.ctx.args.resource_group, - required=True, - ), - **self.serialize_url_param( - "subscriptionId", self.ctx.subscription_id, - required=True, - ), - } - return parameters - - @property - def query_parameters(self): - parameters = { - **self.serialize_query_param( - "api-version", "2023-08-01-preview", - required=True, - ), - } - return parameters - - @property - def header_parameters(self): - parameters = { - **self.serialize_header_param( - "Content-Type", "application/json", - ), - **self.serialize_header_param( - "Accept", "application/json", - ), - } - return parameters - - @property - def content(self): - _content_value, _builder = self.new_content_builder( - self.ctx.args, - value=self.ctx.vars.instance, - ) - - return self.serialize_content(_content_value) - - def on_200_201(self, session): - data = self.deserialize_http_content(session) - self.ctx.set_var( - "instance", - data, - schema_builder=self._build_schema_on_200_201 - ) - - _schema_on_200_201 = None - - @classmethod - def _build_schema_on_200_201(cls): - if cls._schema_on_200_201 is not None: - return cls._schema_on_200_201 - - cls._schema_on_200_201 = AAZObjectType() - _UpdateHelper._build_schema_nsp_profile_read(cls._schema_on_200_201) - - return cls._schema_on_200_201 - - class InstanceUpdateByJson(AAZJsonInstanceUpdateOperation): - - def __call__(self, *args, **kwargs): - self._update_instance(self.ctx.vars.instance) - - def _update_instance(self, instance): - _instance_value, _builder = self.new_content_builder( - self.ctx.args, - value=instance, - typ=AAZObjectType - ) - _builder.set_prop("location", AAZStrType, ".location") - _builder.set_prop("name", AAZStrType, ".profile_name") - _builder.set_prop("tags", AAZDictType, ".tags") - - tags = _builder.get(".tags") - if tags is not None: - tags.set_elements(AAZStrType, ".") - - return _instance_value - - class InstanceUpdateByGeneric(AAZGenericInstanceUpdateOperation): - - def __call__(self, *args, **kwargs): - self._update_instance_by_generic( - self.ctx.vars.instance, - self.ctx.generic_update_args - ) - - -class _UpdateHelper: - """Helper class for Update""" - - _schema_nsp_profile_read = None - - @classmethod - def _build_schema_nsp_profile_read(cls, _schema): - if cls._schema_nsp_profile_read is not None: - _schema.id = cls._schema_nsp_profile_read.id - _schema.location = cls._schema_nsp_profile_read.location - _schema.name = cls._schema_nsp_profile_read.name - _schema.properties = cls._schema_nsp_profile_read.properties - _schema.tags = cls._schema_nsp_profile_read.tags - _schema.type = cls._schema_nsp_profile_read.type - return - - cls._schema_nsp_profile_read = _schema_nsp_profile_read = AAZObjectType() - - nsp_profile_read = _schema_nsp_profile_read - nsp_profile_read.id = AAZStrType( - flags={"read_only": True}, - ) - nsp_profile_read.location = AAZStrType() - nsp_profile_read.name = AAZStrType() - nsp_profile_read.properties = AAZObjectType( - flags={"client_flatten": True}, - ) - nsp_profile_read.tags = AAZDictType() - nsp_profile_read.type = AAZStrType( - flags={"read_only": True}, - ) - - properties = _schema_nsp_profile_read.properties - properties.access_rules_version = AAZStrType( - serialized_name="accessRulesVersion", - flags={"read_only": True}, - ) - properties.diagnostic_settings_version = AAZStrType( - serialized_name="diagnosticSettingsVersion", - flags={"read_only": True}, - ) - - tags = _schema_nsp_profile_read.tags - tags.Element = AAZStrType() - - _schema.id = cls._schema_nsp_profile_read.id - _schema.location = cls._schema_nsp_profile_read.location - _schema.name = cls._schema_nsp_profile_read.name - _schema.properties = cls._schema_nsp_profile_read.properties - _schema.tags = cls._schema_nsp_profile_read.tags - _schema.type = cls._schema_nsp_profile_read.type - - -__all__ = ["Update"] From 207fc95d12eb31f12200ef40094cd418f540f699 Mon Sep 17 00:00:00 2001 From: Bhupesh Bhatt Date: Tue, 25 Jun 2024 11:59:09 +0530 Subject: [PATCH 03/21] removed NSP based rule example --- .../latest/network/perimeter/profile/access_rule/_create.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_create.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_create.py index c588bf9a09d..283c99d8459 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_create.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_create.py @@ -20,9 +20,6 @@ class Create(AAZCommand): :example: Create IP based access rule az network perimeter profile access-rule create -n MyAccessRule --profile-name MyProfile --perimeter-name MyPerimeter -g MyResourceGroup --address-prefixes "[10.10.0.0/16]" - :example: Create NSP based access rule - az network perimeter profile access-rule create -n MyAccessRule --profile-name MyProfile --perimeter-name MyPerimeter -g MyResourceGroup --nsp "[{id:}]" - :example: Create FQDN based access rule az network perimeter profile access-rule create -n MyAccessRule --profile-name MyProfile --perimeter-name MyPerimeter -g MyResourceGroup --fqdn "['www.abc.com', 'www.google.com']" --direction "Outbound" From bd0bf1f2f94081b67e53b8b240350dcdcc7e2cbc Mon Sep 17 00:00:00 2001 From: Bhupesh Bhatt Date: Tue, 25 Jun 2024 12:05:10 +0530 Subject: [PATCH 04/21] fixed message --- .../aaz/latest/network/perimeter/association/_update.py | 2 +- .../aaz/latest/network/perimeter/profile/access_rule/_update.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_update.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_update.py index 5458b9bd147..39e873b5ccf 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_update.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_update.py @@ -15,7 +15,7 @@ "network perimeter association update", ) class Update(AAZCommand): - """Creates or updates a NSP resource association. + """Updates a NSP resource association. :example: Update NSP Association az network perimeter association update --name MyAssociation --perimeter-name MyPerimeter --resource-group MyResourceGroup --access-mode Enforced --private-link-resource id=" --profile id="ProfileArmID" diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_update.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_update.py index bb441547ade..bac95741451 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_update.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_update.py @@ -15,7 +15,7 @@ "network perimeter profile access-rule update", ) class Update(AAZCommand): - """Creates or updates a network access rule. + """Updates a network access rule. :example: Update access rule az network perimeter profile access-rule update -n MyAccessRule --profile-name MyProfile --perimeter-name MyPerimeter -g MyResourceGroup --address-prefixes "[10.10.0.0/16]" From 6441a77841ae06aaeccfb9334012d3e13b033851 Mon Sep 17 00:00:00 2001 From: Bhupesh Bhatt Date: Tue, 25 Jun 2024 14:41:11 +0530 Subject: [PATCH 05/21] fixed servicetag example --- .../latest/network/perimeter/profile/access_rule/_create.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_create.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_create.py index 283c99d8459..3a6690d57eb 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_create.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_create.py @@ -20,6 +20,9 @@ class Create(AAZCommand): :example: Create IP based access rule az network perimeter profile access-rule create -n MyAccessRule --profile-name MyProfile --perimeter-name MyPerimeter -g MyResourceGroup --address-prefixes "[10.10.0.0/16]" + :example: Create NSP based access rule + az network perimeter profile access-rule create -n MyAccessRule --profile-name MyProfile --perimeter-name MyPerimeter -g MyResourceGroup --nsp "[{id:}]" + :example: Create FQDN based access rule az network perimeter profile access-rule create -n MyAccessRule --profile-name MyProfile --perimeter-name MyPerimeter -g MyResourceGroup --fqdn "['www.abc.com', 'www.google.com']" --direction "Outbound" @@ -27,7 +30,7 @@ class Create(AAZCommand): az network perimeter profile access-rule create -n MyAccessRule --profile-name MyProfile --perimeter-name MyPerimeter -g MyResourceGroup --subscriptions [0].id="" [1].id="" :example: Create ServiceTags based access rule - az network perimeter profile access-rule create -n MyAccessRule --profile-name MyProfile --perimeter-name MyPerimeter -g MyResourceGroup --service-tags "['st1'']" direction "Inbound" + az network perimeter profile access-rule create -n MyAccessRule --profile-name MyProfile --perimeter-name MyPerimeter -g MyResourceGroup --service-tags [st1,st2] """ _aaz_info = { From 249e07cd9f7b2fe491413da4b05d7b648507e596 Mon Sep 17 00:00:00 2001 From: Bhupesh Bhatt Date: Tue, 25 Jun 2024 19:13:52 +0530 Subject: [PATCH 06/21] update test recordings --- .../recordings/test_nsp_accessrule_crud.yaml | 14 +++++++------- .../recordings/test_nsp_accessrule_inbound.yaml | 8 ++++---- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_accessrule_crud.yaml b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_accessrule_crud.yaml index 2f93fb3cecb..81521dee0e5 100644 --- a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_accessrule_crud.yaml +++ b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_accessrule_crud.yaml @@ -207,7 +207,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule?api-version=2023-07-01-preview response: body: - string: '{"name":"TestNspAccessRule","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"fullyQualifiedDomainNames":["www.abc.com","www.google.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' + string: '{"name":"TestNspAccessRule","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"serviceTags": [],"fullyQualifiedDomainNames":["www.abc.com","www.google.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' headers: cache-control: - no-cache @@ -253,7 +253,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule?api-version=2023-07-01-preview response: body: - string: '{"name":"TestNspAccessRule","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"fullyQualifiedDomainNames":["www.abc.com","www.google.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' + string: '{"name":"TestNspAccessRule","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"serviceTags": [],"fullyQualifiedDomainNames":["www.abc.com","www.google.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' headers: cache-control: - no-cache @@ -339,7 +339,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule?api-version=2023-07-01-preview response: body: - string: '{"name":"TestNspAccessRule","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"fullyQualifiedDomainNames":["www.abc.com","www.google.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' + string: '{"name":"TestNspAccessRule","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"serviceTags": [],"fullyQualifiedDomainNames":["www.abc.com","www.google.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' headers: cache-control: - no-cache @@ -366,7 +366,7 @@ interactions: message: OK - request: body: '{"location": "eastus2euap", "name": "TestNspAccessRule", "properties": - {"addressPrefixes": [], "direction": "Outbound", "emailAddresses": [], "fullyQualifiedDomainNames": + {"addressPrefixes": [], "direction": "Outbound", "emailAddresses": [],"serviceTags": [], "fullyQualifiedDomainNames": ["www.abc.com"], "phoneNumbers": [], "subscriptions": []}}' headers: Accept: @@ -389,7 +389,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule?api-version=2023-07-01-preview response: body: - string: '{"name":"TestNspAccessRule","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"fullyQualifiedDomainNames":["www.abc.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' + string: '{"name":"TestNspAccessRule","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"serviceTags": [], "serviceTags": [],"serviceTags": [],"serviceTags": [],"fullyQualifiedDomainNames":["www.abc.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' headers: cache-control: - no-cache @@ -435,7 +435,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule?api-version=2023-07-01-preview response: body: - string: '{"name":"TestNspAccessRule","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"fullyQualifiedDomainNames":["www.abc.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' + string: '{"name":"TestNspAccessRule","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"serviceTags": [],"fullyQualifiedDomainNames":["www.abc.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' headers: cache-control: - no-cache @@ -479,7 +479,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules?api-version=2023-07-01-preview response: body: - string: '{"nextLink":"","value":[{"name":"TestNspAccessRule","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"fullyQualifiedDomainNames":["www.abc.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}]}' + string: '{"nextLink":"","value":[{"name":"TestNspAccessRule","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"serviceTags": [],"fullyQualifiedDomainNames":["www.abc.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}]}' headers: cache-control: - no-cache diff --git a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_accessrule_inbound.yaml b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_accessrule_inbound.yaml index 0648c77cfd7..52174f6c66a 100644 --- a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_accessrule_inbound.yaml +++ b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_accessrule_inbound.yaml @@ -207,7 +207,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule_ip?api-version=2023-07-01-preview response: body: - string: '{"name":"TestNspAccessRule_ip","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule_ip","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Inbound","addressPrefixes":["10.10.0.0/16"],"fullyQualifiedDomainNames":[],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' + string: '{"name":"TestNspAccessRule_ip","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule_ip","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Inbound","addressPrefixes":["10.10.0.0/16"],"serviceTags": [],"fullyQualifiedDomainNames":[],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' headers: cache-control: - no-cache @@ -300,7 +300,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule_subscription?api-version=2023-07-01-preview response: body: - string: '{"name":"TestNspAccessRule_subscription","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule_subscription","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Inbound","addressPrefixes":[],"fullyQualifiedDomainNames":[],"subscriptions":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000"}],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' + string: '{"name":"TestNspAccessRule_subscription","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule_subscription","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Inbound","addressPrefixes":[],"serviceTags": [],"fullyQualifiedDomainNames":[],"subscriptions":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000"}],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' headers: cache-control: - no-cache @@ -395,7 +395,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule_email?api-version=2023-07-01-preview response: body: - string: '{"name":"TestNspAccessRule_email","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule_email","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"fullyQualifiedDomainNames":[],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":["abc@microsoft.com","bcd@microsoft.com"],"phoneNumbers":[]}}' + string: '{"name":"TestNspAccessRule_email","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule_email","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"serviceTags": [],"fullyQualifiedDomainNames":[],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":["abc@microsoft.com","bcd@microsoft.com"],"phoneNumbers":[]}}' headers: cache-control: - no-cache @@ -488,7 +488,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule_sms?api-version=2023-07-01-preview response: body: - string: '{"name":"TestNspAccessRule_sms","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule_sms","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"fullyQualifiedDomainNames":[],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":["+91 + string: '{"name":"TestNspAccessRule_sms","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule_sms","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"serviceTags": [],"fullyQualifiedDomainNames":[],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":["+91 9898989898","+92 9898989898"]}}' headers: cache-control: From b10ffce460a48191ee226aae266c0b11ea4e34e4 Mon Sep 17 00:00:00 2001 From: Bhupesh Bhatt Date: Tue, 25 Jun 2024 19:27:36 +0530 Subject: [PATCH 07/21] update api version --- .../recordings/test_nsp_accessrule_crud.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_accessrule_crud.yaml b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_accessrule_crud.yaml index 81521dee0e5..b15cbbf134d 100644 --- a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_accessrule_crud.yaml +++ b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_accessrule_crud.yaml @@ -19,7 +19,7 @@ interactions: User-Agent: - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter?api-version=2023-08-01-preview response: body: string: '{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"4c6bbe2d-85b1-4f5c-9e7f-0baf604c0312","provisioningState":"Succeeded"}}' @@ -111,7 +111,7 @@ interactions: User-Agent: - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile?api-version=2023-08-01-preview response: body: string: '{"name":"TestNspProfile","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile","type":"Microsoft.Network/networkSecurityPerimeters/profiles","properties":{"accessRulesVersion":"0","diagnosticSettingsVersion":"0"},"location":"eastus2euap"}' @@ -204,7 +204,7 @@ interactions: User-Agent: - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule?api-version=2023-08-01-preview response: body: string: '{"name":"TestNspAccessRule","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"serviceTags": [],"fullyQualifiedDomainNames":["www.abc.com","www.google.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' @@ -250,7 +250,7 @@ interactions: User-Agent: - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule?api-version=2023-08-01-preview response: body: string: '{"name":"TestNspAccessRule","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"serviceTags": [],"fullyQualifiedDomainNames":["www.abc.com","www.google.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' @@ -336,7 +336,7 @@ interactions: User-Agent: - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule?api-version=2023-08-01-preview response: body: string: '{"name":"TestNspAccessRule","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"serviceTags": [],"fullyQualifiedDomainNames":["www.abc.com","www.google.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' @@ -386,7 +386,7 @@ interactions: User-Agent: - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule?api-version=2023-08-01-preview response: body: string: '{"name":"TestNspAccessRule","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"serviceTags": [], "serviceTags": [],"serviceTags": [],"serviceTags": [],"fullyQualifiedDomainNames":["www.abc.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' @@ -432,7 +432,7 @@ interactions: User-Agent: - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule?api-version=2023-08-01-preview response: body: string: '{"name":"TestNspAccessRule","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"serviceTags": [],"fullyQualifiedDomainNames":["www.abc.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' @@ -476,7 +476,7 @@ interactions: User-Agent: - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules?api-version=2023-08-01-preview response: body: string: '{"nextLink":"","value":[{"name":"TestNspAccessRule","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"serviceTags": [],"fullyQualifiedDomainNames":["www.abc.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}]}' @@ -522,7 +522,7 @@ interactions: User-Agent: - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule?api-version=2023-08-01-preview response: body: string: '' From 2053b4d86fbb5ddca246cac9edb26ebb97a9cf7a Mon Sep 17 00:00:00 2001 From: Bhupesh Bhatt Date: Wed, 26 Jun 2024 00:51:54 +0530 Subject: [PATCH 08/21] fixed failing tests --- .../recordings/test_nsp_accessrule_crud.yaml | 168 ++++---- .../test_nsp_accessrule_inbound.yaml | 172 ++++---- .../recordings/test_nsp_association_crud.yaml | 390 ++++++++---------- .../latest/recordings/test_nsp_crud.yaml | 108 ++--- .../test_nsp_link_linkreference_crud.yaml | 232 ++++++----- .../recordings/test_nsp_profile_crud.yaml | 86 ++-- src/nsp/azext_nsp/tests/latest/test_nsp.py | 16 +- 7 files changed, 597 insertions(+), 575 deletions(-) diff --git a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_accessrule_crud.yaml b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_accessrule_crud.yaml index b15cbbf134d..ba7eb570175 100644 --- a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_accessrule_crud.yaml +++ b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_accessrule_crud.yaml @@ -17,12 +17,12 @@ interactions: ParameterSetName: - --name -l --resource-group User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"4c6bbe2d-85b1-4f5c-9e7f-0baf604c0312","provisioningState":"Succeeded"}}' + string: '{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"0c6b7fdc-c1bc-4904-9530-9d0acfc2929c","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -31,21 +31,21 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:28:50 GMT + - Tue, 25 Jun 2024 19:17:00 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - '1199' + x-msedge-ref: + - 'Ref A: 01BF0F2876C94235B372334D7484B2F3 Ref B: MAA201060516053 Ref C: 2024-06-25T19:16:54Z' status: code: 200 message: OK @@ -63,31 +63,33 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group User-Agent: - - AZURECLI/2.55.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_nsp_accessrule_crud000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001","name":"test_nsp_accessrule_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_crud","date":"2023-12-12T13:28:37Z","module":"nsp","Created":"2023-12-12T13:28:39.4792207Z","skipNRMSNSG":"true"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001","name":"test_nsp_accessrule_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_crud","date":"2024-06-25T19:16:48Z","module":"nsp","Created":"2024-06-25T19:16:50.3735450Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '454' + - '433' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:28:49 GMT + - Tue, 25 Jun 2024 19:17:01 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: D54184BE3E1A447EA6640E826B26ACD7 Ref B: MAA201060513039 Ref C: 2024-06-25T19:17:01Z' status: code: 200 message: OK @@ -109,7 +111,7 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile?api-version=2023-08-01-preview response: @@ -123,21 +125,21 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:28:53 GMT + - Tue, 25 Jun 2024 19:17:02 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' + x-msedge-ref: + - 'Ref A: D53FFE4EB4A740F39C81887E34E040DD Ref B: MAA201060515053 Ref C: 2024-06-25T19:17:01Z' status: code: 200 message: OK @@ -155,31 +157,33 @@ interactions: ParameterSetName: - --name --profile-name --perimeter-name --resource-group --fqdn --direction User-Agent: - - AZURECLI/2.55.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_nsp_accessrule_crud000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001","name":"test_nsp_accessrule_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_crud","date":"2023-12-12T13:28:37Z","module":"nsp","Created":"2023-12-12T13:28:39.4792207Z","skipNRMSNSG":"true"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001","name":"test_nsp_accessrule_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_crud","date":"2024-06-25T19:16:48Z","module":"nsp","Created":"2024-06-25T19:16:50.3735450Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '454' + - '433' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:28:53 GMT + - Tue, 25 Jun 2024 19:17:02 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 2710B01992E243C3B613F44BBA39BC13 Ref B: MAA201060516051 Ref C: 2024-06-25T19:17:03Z' status: code: 200 message: OK @@ -202,12 +206,12 @@ interactions: ParameterSetName: - --name --profile-name --perimeter-name --resource-group --fqdn --direction User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNspAccessRule","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"serviceTags": [],"fullyQualifiedDomainNames":["www.abc.com","www.google.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' + string: '{"name":"TestNspAccessRule","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"fullyQualifiedDomainNames":["www.abc.com","www.google.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' headers: cache-control: - no-cache @@ -216,21 +220,21 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:28:56 GMT + - Tue, 25 Jun 2024 19:17:04 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' + x-msedge-ref: + - 'Ref A: 1937AC4C5C1E498EA9B9E34B5B0EE40F Ref B: MAA201060513039 Ref C: 2024-06-25T19:17:03Z' status: code: 200 message: OK @@ -248,12 +252,12 @@ interactions: ParameterSetName: - --name --profile-name --perimeter-name --resource-group User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNspAccessRule","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"serviceTags": [],"fullyQualifiedDomainNames":["www.abc.com","www.google.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' + string: '{"name":"TestNspAccessRule","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"fullyQualifiedDomainNames":["www.abc.com","www.google.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' headers: cache-control: - no-cache @@ -262,19 +266,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:28:59 GMT + - Tue, 25 Jun 2024 19:17:05 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: F3DFD7FFD4B6445DB80FE08271990B73 Ref B: MAA201060515025 Ref C: 2024-06-25T19:17:04Z' status: code: 200 message: OK @@ -292,31 +296,33 @@ interactions: ParameterSetName: - --name --profile-name --perimeter-name --resource-group --fqdn --direction User-Agent: - - AZURECLI/2.55.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_nsp_accessrule_crud000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001","name":"test_nsp_accessrule_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_crud","date":"2023-12-12T13:28:37Z","module":"nsp","Created":"2023-12-12T13:28:39.4792207Z","skipNRMSNSG":"true"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001","name":"test_nsp_accessrule_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_crud","date":"2024-06-25T19:16:48Z","module":"nsp","Created":"2024-06-25T19:16:50.3735450Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '454' + - '433' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:28:59 GMT + - Tue, 25 Jun 2024 19:17:06 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 300EC73E8E2948A8BF1F318940A3BF9A Ref B: MAA201060514045 Ref C: 2024-06-25T19:17:06Z' status: code: 200 message: OK @@ -334,12 +340,12 @@ interactions: ParameterSetName: - --name --profile-name --perimeter-name --resource-group --fqdn --direction User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNspAccessRule","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"serviceTags": [],"fullyQualifiedDomainNames":["www.abc.com","www.google.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' + string: '{"name":"TestNspAccessRule","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"fullyQualifiedDomainNames":["www.abc.com","www.google.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' headers: cache-control: - no-cache @@ -348,25 +354,25 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:01 GMT + - Tue, 25 Jun 2024 19:17:08 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 411684992014474AA7CD81D3FE1640B3 Ref B: MAA201060516031 Ref C: 2024-06-25T19:17:06Z' status: code: 200 message: OK - request: body: '{"location": "eastus2euap", "name": "TestNspAccessRule", "properties": - {"addressPrefixes": [], "direction": "Outbound", "emailAddresses": [],"serviceTags": [], "fullyQualifiedDomainNames": + {"addressPrefixes": [], "direction": "Outbound", "emailAddresses": [], "fullyQualifiedDomainNames": ["www.abc.com"], "phoneNumbers": [], "subscriptions": []}}' headers: Accept: @@ -384,12 +390,12 @@ interactions: ParameterSetName: - --name --profile-name --perimeter-name --resource-group --fqdn --direction User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNspAccessRule","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"serviceTags": [], "serviceTags": [],"serviceTags": [],"serviceTags": [],"fullyQualifiedDomainNames":["www.abc.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' + string: '{"name":"TestNspAccessRule","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"fullyQualifiedDomainNames":["www.abc.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' headers: cache-control: - no-cache @@ -398,21 +404,21 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:02 GMT + - Tue, 25 Jun 2024 19:17:10 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' + x-msedge-ref: + - 'Ref A: AA471E8D8BF04759A8A310AD8B01F758 Ref B: MAA201060516031 Ref C: 2024-06-25T19:17:08Z' status: code: 200 message: OK @@ -430,12 +436,12 @@ interactions: ParameterSetName: - --name --profile-name --perimeter-name --resource-group User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNspAccessRule","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"serviceTags": [],"fullyQualifiedDomainNames":["www.abc.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' + string: '{"name":"TestNspAccessRule","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"fullyQualifiedDomainNames":["www.abc.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' headers: cache-control: - no-cache @@ -444,19 +450,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:04 GMT + - Tue, 25 Jun 2024 19:17:12 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 8BA3A52E402E4FEEB416B5A27A8FA47B Ref B: MAA201060513053 Ref C: 2024-06-25T19:17:11Z' status: code: 200 message: OK @@ -474,12 +480,12 @@ interactions: ParameterSetName: - --perimeter-name --profile-name --resource-group User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules?api-version=2023-08-01-preview response: body: - string: '{"nextLink":"","value":[{"name":"TestNspAccessRule","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"serviceTags": [],"fullyQualifiedDomainNames":["www.abc.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}]}' + string: '{"nextLink":"","value":[{"name":"TestNspAccessRule","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"fullyQualifiedDomainNames":["www.abc.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}]}' headers: cache-control: - no-cache @@ -488,19 +494,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:06 GMT + - Tue, 25 Jun 2024 19:17:13 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 8BD26926FDA3470292405055FA6CABE7 Ref B: MAA201060513031 Ref C: 2024-06-25T19:17:13Z' status: code: 200 message: OK @@ -520,7 +526,7 @@ interactions: ParameterSetName: - --name --perimeter-name --profile-name --resource-group --yes User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule?api-version=2023-08-01-preview response: @@ -532,17 +538,21 @@ interactions: content-length: - '0' date: - - Tue, 12 Dec 2023 13:29:08 GMT + - Tue, 25 Jun 2024 19:17: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-deletes: - '14999' + x-msedge-ref: + - 'Ref A: 3DC76D94109743A29A73732208F682F5 Ref B: MAA201060516049 Ref C: 2024-06-25T19:17:14Z' status: code: 200 message: OK diff --git a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_accessrule_inbound.yaml b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_accessrule_inbound.yaml index 52174f6c66a..55ab43b7283 100644 --- a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_accessrule_inbound.yaml +++ b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_accessrule_inbound.yaml @@ -17,12 +17,12 @@ interactions: ParameterSetName: - --name -l --resource-group User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"ac035f59-88bf-47c2-821f-619b809c1cfe","provisioningState":"Succeeded"}}' + string: '{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"10fc6bfc-bdba-42e7-8339-9c77467f86df","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -31,21 +31,21 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:28:49 GMT + - Tue, 25 Jun 2024 19:16:58 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' + x-msedge-ref: + - 'Ref A: 4BA0917CEB484D67A77ED301EF1A0905 Ref B: MAA201060515021 Ref C: 2024-06-25T19:16:54Z' status: code: 200 message: OK @@ -63,31 +63,33 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group User-Agent: - - AZURECLI/2.55.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_nsp_accessrule_inbound000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001","name":"test_nsp_accessrule_inbound000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_inbound","date":"2023-12-12T13:28:37Z","module":"nsp","Created":"2023-12-12T13:28:39.4508556Z","skipNRMSNSG":"true"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001","name":"test_nsp_accessrule_inbound000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_inbound","date":"2024-06-25T19:16:48Z","module":"nsp","Created":"2024-06-25T19:16:50.6237042Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '463' + - '442' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:28:50 GMT + - Tue, 25 Jun 2024 19:16:58 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 084D7853CDBF418DB313EA2537382904 Ref B: MAA201060515031 Ref C: 2024-06-25T19:16:58Z' status: code: 200 message: OK @@ -109,9 +111,9 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile?api-version=2023-08-01-preview response: body: string: '{"name":"TestNspProfile","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile","type":"Microsoft.Network/networkSecurityPerimeters/profiles","properties":{"accessRulesVersion":"0","diagnosticSettingsVersion":"0"},"location":"eastus2euap"}' @@ -123,21 +125,21 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:28:53 GMT + - Tue, 25 Jun 2024 19:16:59 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - '1199' + x-msedge-ref: + - 'Ref A: 4080255350DA4838A5A8C207599BCAA8 Ref B: MAA201060513031 Ref C: 2024-06-25T19:16:59Z' status: code: 200 message: OK @@ -155,31 +157,33 @@ interactions: ParameterSetName: - --name --profile-name --perimeter-name --resource-group --address-prefixes User-Agent: - - AZURECLI/2.55.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_nsp_accessrule_inbound000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001","name":"test_nsp_accessrule_inbound000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_inbound","date":"2023-12-12T13:28:37Z","module":"nsp","Created":"2023-12-12T13:28:39.4508556Z","skipNRMSNSG":"true"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001","name":"test_nsp_accessrule_inbound000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_inbound","date":"2024-06-25T19:16:48Z","module":"nsp","Created":"2024-06-25T19:16:50.6237042Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '463' + - '442' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:28:54 GMT + - Tue, 25 Jun 2024 19:17:00 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: D2D83B7159E1466B9B758B0DEEA0BE74 Ref B: MAA201060515019 Ref C: 2024-06-25T19:17:01Z' status: code: 200 message: OK @@ -202,12 +206,12 @@ interactions: ParameterSetName: - --name --profile-name --perimeter-name --resource-group --address-prefixes User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule_ip?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule_ip?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNspAccessRule_ip","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule_ip","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Inbound","addressPrefixes":["10.10.0.0/16"],"serviceTags": [],"fullyQualifiedDomainNames":[],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' + string: '{"name":"TestNspAccessRule_ip","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule_ip","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Inbound","addressPrefixes":["10.10.0.0/16"],"fullyQualifiedDomainNames":[],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' headers: cache-control: - no-cache @@ -216,21 +220,21 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:01 GMT + - Tue, 25 Jun 2024 19:17:03 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' + x-msedge-ref: + - 'Ref A: 8433FC48D2D3479C9EB39BD90EB7FBCD Ref B: MAA201060514023 Ref C: 2024-06-25T19:17:01Z' status: code: 200 message: OK @@ -248,31 +252,33 @@ interactions: ParameterSetName: - --name --profile-name --perimeter-name --resource-group --subscriptions User-Agent: - - AZURECLI/2.55.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_nsp_accessrule_inbound000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001","name":"test_nsp_accessrule_inbound000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_inbound","date":"2023-12-12T13:28:37Z","module":"nsp","Created":"2023-12-12T13:28:39.4508556Z","skipNRMSNSG":"true"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001","name":"test_nsp_accessrule_inbound000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_inbound","date":"2024-06-25T19:16:48Z","module":"nsp","Created":"2024-06-25T19:16:50.6237042Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '463' + - '442' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:02 GMT + - Tue, 25 Jun 2024 19:17:02 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 8904EB47B478433E9DF096AC00FF9260 Ref B: MAA201060514049 Ref C: 2024-06-25T19:17:03Z' status: code: 200 message: OK @@ -295,12 +301,12 @@ interactions: ParameterSetName: - --name --profile-name --perimeter-name --resource-group --subscriptions User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule_subscription?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule_subscription?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNspAccessRule_subscription","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule_subscription","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Inbound","addressPrefixes":[],"serviceTags": [],"fullyQualifiedDomainNames":[],"subscriptions":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000"}],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' + string: '{"name":"TestNspAccessRule_subscription","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule_subscription","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Inbound","addressPrefixes":[],"fullyQualifiedDomainNames":[],"subscriptions":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000"}],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[]}}' headers: cache-control: - no-cache @@ -309,21 +315,21 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:04 GMT + - Tue, 25 Jun 2024 19:17:05 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' + x-msedge-ref: + - 'Ref A: 5ABA60958883403B90744C587922531A Ref B: MAA201060514047 Ref C: 2024-06-25T19:17:03Z' status: code: 200 message: OK @@ -342,31 +348,33 @@ interactions: - --name --profile-name --perimeter-name --resource-group --email-addresses --direction User-Agent: - - AZURECLI/2.55.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_nsp_accessrule_inbound000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001","name":"test_nsp_accessrule_inbound000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_inbound","date":"2023-12-12T13:28:37Z","module":"nsp","Created":"2023-12-12T13:28:39.4508556Z","skipNRMSNSG":"true"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001","name":"test_nsp_accessrule_inbound000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_inbound","date":"2024-06-25T19:16:48Z","module":"nsp","Created":"2024-06-25T19:16:50.6237042Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '463' + - '442' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:05 GMT + - Tue, 25 Jun 2024 19:17:05 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 7BD28D382C7F4F13A884137C53C9D4E3 Ref B: MAA201060513027 Ref C: 2024-06-25T19:17:05Z' status: code: 200 message: OK @@ -390,12 +398,12 @@ interactions: - --name --profile-name --perimeter-name --resource-group --email-addresses --direction User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule_email?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule_email?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNspAccessRule_email","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule_email","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"serviceTags": [],"fullyQualifiedDomainNames":[],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":["abc@microsoft.com","bcd@microsoft.com"],"phoneNumbers":[]}}' + string: '{"name":"TestNspAccessRule_email","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule_email","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"fullyQualifiedDomainNames":[],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":["abc@microsoft.com","bcd@microsoft.com"],"phoneNumbers":[]}}' headers: cache-control: - no-cache @@ -404,21 +412,21 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:14 GMT + - Tue, 25 Jun 2024 19:17:07 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - '1198' + x-msedge-ref: + - 'Ref A: 0878E215639747FF96C87DCD42B6A62C Ref B: MAA201060514031 Ref C: 2024-06-25T19:17:06Z' status: code: 200 message: OK @@ -436,31 +444,33 @@ interactions: ParameterSetName: - --name --profile-name --perimeter-name --resource-group --phone-numbers --direction User-Agent: - - AZURECLI/2.55.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_nsp_accessrule_inbound000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001","name":"test_nsp_accessrule_inbound000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_inbound","date":"2023-12-12T13:28:37Z","module":"nsp","Created":"2023-12-12T13:28:39.4508556Z","skipNRMSNSG":"true"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001","name":"test_nsp_accessrule_inbound000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_inbound","date":"2024-06-25T19:16:48Z","module":"nsp","Created":"2024-06-25T19:16:50.6237042Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '463' + - '442' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:14 GMT + - Tue, 25 Jun 2024 19:17:07 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 00F85D451F0140528A23780CA6F9B0DD Ref B: MAA201060516025 Ref C: 2024-06-25T19:17:08Z' status: code: 200 message: OK @@ -483,12 +493,12 @@ interactions: ParameterSetName: - --name --profile-name --perimeter-name --resource-group --phone-numbers --direction User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule_sms?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule_sms?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNspAccessRule_sms","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule_sms","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"serviceTags": [],"fullyQualifiedDomainNames":[],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":["+91 + string: '{"name":"TestNspAccessRule_sms","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule_sms","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Outbound","addressPrefixes":[],"fullyQualifiedDomainNames":[],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":["+91 9898989898","+92 9898989898"]}}' headers: cache-control: @@ -498,21 +508,21 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:16 GMT + - Tue, 25 Jun 2024 19:17:10 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' + x-msedge-ref: + - 'Ref A: 6955DE80EFC34FBAA02D7543E774346D Ref B: MAA201060515021 Ref C: 2024-06-25T19:17:08Z' status: code: 200 message: OK diff --git a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_association_crud.yaml b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_association_crud.yaml index 2ebf85de98f..164b3045abc 100644 --- a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_association_crud.yaml +++ b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_association_crud.yaml @@ -17,12 +17,12 @@ interactions: ParameterSetName: - --name -l --resource-group User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"82a93e54-4145-4c0a-91e9-f854b090b198","provisioningState":"Succeeded"}}' + string: '{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"d08d9407-135b-45d6-80b7-32e39aa37dd2","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -31,21 +31,21 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:28:50 GMT + - Tue, 25 Jun 2024 19:19:20 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' + x-msedge-ref: + - 'Ref A: 82731FD99F844F15869C15EB6577CE75 Ref B: MAA201060514009 Ref C: 2024-06-25T19:19:15Z' status: code: 200 message: OK @@ -63,31 +63,33 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group User-Agent: - - AZURECLI/2.55.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_nsp_association_crud000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001","name":"test_nsp_association_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_association_crud","date":"2023-12-12T13:28:37Z","module":"nsp","Created":"2023-12-12T13:28:39.2401271Z","skipNRMSNSG":"true"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001","name":"test_nsp_association_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_association_crud","date":"2024-06-25T19:19:12Z","module":"nsp","Created":"2024-06-25T19:19:13.3921696Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '457' + - '436' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:28:49 GMT + - Tue, 25 Jun 2024 19:19:20 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: C1DDCA14DEC84F6FA4D72558DB1A5996 Ref B: MAA201060516047 Ref C: 2024-06-25T19:19:20Z' status: code: 200 message: OK @@ -109,9 +111,9 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile?api-version=2023-08-01-preview response: body: string: '{"name":"TestNspProfile","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile","type":"Microsoft.Network/networkSecurityPerimeters/profiles","properties":{"accessRulesVersion":"0","diagnosticSettingsVersion":"0"},"location":"eastus2euap"}' @@ -123,21 +125,21 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:28:53 GMT + - Tue, 25 Jun 2024 19:19:21 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' + x-msedge-ref: + - 'Ref A: BED5F2D9DD4C42E09A6784DAF5D32777 Ref B: MAA201060513045 Ref C: 2024-06-25T19:19:20Z' status: code: 200 message: OK @@ -155,12 +157,12 @@ interactions: ParameterSetName: - --name -l --resource-group User-Agent: - - AZURECLI/2.55.0 azsdk-python-azure-mgmt-keyvault/10.3.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp17?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp18?api-version=2023-02-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.KeyVault/vaults/kvclinsp17'' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.KeyVault/vaults/kvclinsp18'' under resource group ''test_nsp_association_crud000001'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: @@ -171,75 +173,29 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:28:55 GMT + - Tue, 25 Jun 2024 19:19: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: 5A800A4377A64018ADDCA8B806C272AA Ref B: MAA201060513021 Ref C: 2024-06-25T19:19:22Z' status: code: 404 message: Not Found -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - keyvault create - Connection: - - keep-alive - ParameterSetName: - - --name -l --resource-group - User-Agent: - - python/3.9.7 (Windows-10-10.0.22621-SP0) AZURECLI/2.55.0 - method: GET - uri: https://graph.microsoft.com/v1.0/me - response: - body: - string: '{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#users/$entity","businessPhones":[],"displayName":"Kaushal - Kumar","givenName":"Kaushal","jobTitle":"SOFTWARE ENGINEER II","mail":"kumarkaushal@microsoft.com","mobilePhone":null,"officeLocation":"BENGALURU - LUXOR-MIRPL/Mobile","preferredLanguage":null,"surname":"Kumar","userPrincipalName":"kumarkaushal@microsoft.com","id":"57bfe214-9fdd-4732-bc3d-410323de367f"}' - headers: - cache-control: - - no-cache - content-length: - - '422' - content-type: - - application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8 - date: - - Tue, 12 Dec 2023 13:28:56 GMT - odata-version: - - '4.0' - request-id: - - 38d631b2-5ea7-47fa-930e-c4ccf74c547d - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-ms-ags-diagnostic: - - '{"ServerInfo":{"DataCenter":"South India","Slice":"E","Ring":"2","ScaleUnit":"001","RoleInstance":"MA1PEPF00004971"}}' - x-ms-resource-unit: - - '1' - status: - code: 200 - message: OK - request: body: '{"location": "eastus2euap", "properties": {"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "sku": {"family": "A", "name": "standard"}, "accessPolicies": [{"tenantId": - "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "57bfe214-9fdd-4732-bc3d-410323de367f", - "permissions": {"keys": ["all"], "secrets": ["all"], "certificates": ["all"], - "storage": ["all"]}}], "enableSoftDelete": true, "softDeleteRetentionInDays": - 90, "networkAcls": {"bypass": "AzureServices", "defaultAction": "Allow"}}}' + "sku": {"family": "A", "name": "standard"}, "accessPolicies": [], "enableSoftDelete": + true, "softDeleteRetentionInDays": 90, "enableRbacAuthorization": true, "networkAcls": + {"bypass": "AzureServices", "defaultAction": "Allow"}}}' headers: Accept: - application/json @@ -250,47 +206,45 @@ interactions: Connection: - keep-alive Content-Length: - - '493' + - '323' Content-Type: - application/json ParameterSetName: - --name -l --resource-group User-Agent: - - AZURECLI/2.55.0 azsdk-python-azure-mgmt-keyvault/10.3.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp17?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp18?api-version=2023-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp17","name":"kvclinsp17","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{},"systemData":{"createdBy":"kumarkaushal@microsoft.com","createdByType":"User","createdAt":"2023-12-12T13:28:58.664Z","lastModifiedBy":"kumarkaushal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-12-12T13:28:58.664Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"57bfe214-9fdd-4732-bc3d-410323de367f","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"vaultUri":"https://kvclinsp17.vault.azure.net","provisioningState":"RegisteringDns","publicNetworkAccess":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp18","name":"kvclinsp18","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{},"systemData":{"createdBy":"bhupeshbhatt@microsoft.com","createdByType":"User","createdAt":"2024-06-25T19:19:26.913Z","lastModifiedBy":"bhupeshbhatt@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-06-25T19:19:26.913Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":true,"vaultUri":"https://kvclinsp18.vault.azure.net","provisioningState":"RegisteringDns","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache content-length: - - '996' + - '836' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:01 GMT + - Tue, 25 Jun 2024 19:19:28 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-aspnet-version: - 4.0.30319 + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.1018.0 + - 1.5.1232.0 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' + x-msedge-ref: + - 'Ref A: 4B037C9504BD4C3A8585D56D08232E7F Ref B: MAA201060513021 Ref C: 2024-06-25T19:19:22Z' status: code: 200 message: OK @@ -308,39 +262,37 @@ interactions: ParameterSetName: - --name -l --resource-group User-Agent: - - AZURECLI/2.55.0 azsdk-python-azure-mgmt-keyvault/10.3.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp17?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp18?api-version=2023-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp17","name":"kvclinsp17","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{},"systemData":{"createdBy":"kumarkaushal@microsoft.com","createdByType":"User","createdAt":"2023-12-12T13:28:58.664Z","lastModifiedBy":"kumarkaushal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-12-12T13:28:58.664Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"57bfe214-9fdd-4732-bc3d-410323de367f","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"vaultUri":"https://kvclinsp17.vault.azure.net/","provisioningState":"RegisteringDns","publicNetworkAccess":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp18","name":"kvclinsp18","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{},"systemData":{"createdBy":"bhupeshbhatt@microsoft.com","createdByType":"User","createdAt":"2024-06-25T19:19:26.913Z","lastModifiedBy":"bhupeshbhatt@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-06-25T19:19:26.913Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":true,"vaultUri":"https://kvclinsp18.vault.azure.net/","provisioningState":"RegisteringDns","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache content-length: - - '997' + - '837' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:01 GMT + - Tue, 25 Jun 2024 19:19:29 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-aspnet-version: - 4.0.30319 + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.1018.0 + - 1.5.1232.0 + x-msedge-ref: + - 'Ref A: 9B4BCFDDBD594121842B0DFCB11F003E Ref B: MAA201060513021 Ref C: 2024-06-25T19:19:29Z' status: code: 200 message: OK @@ -358,39 +310,37 @@ interactions: ParameterSetName: - --name -l --resource-group User-Agent: - - AZURECLI/2.55.0 azsdk-python-azure-mgmt-keyvault/10.3.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp17?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp18?api-version=2023-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp17","name":"kvclinsp17","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{},"systemData":{"createdBy":"kumarkaushal@microsoft.com","createdByType":"User","createdAt":"2023-12-12T13:28:58.664Z","lastModifiedBy":"kumarkaushal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-12-12T13:28:58.664Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"57bfe214-9fdd-4732-bc3d-410323de367f","permissions":{"keys":["all"],"secrets":["all"],"certificates":["all"],"storage":["all"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"vaultUri":"https://kvclinsp17.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp18","name":"kvclinsp18","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{},"systemData":{"createdBy":"bhupeshbhatt@microsoft.com","createdByType":"User","createdAt":"2024-06-25T19:19:26.913Z","lastModifiedBy":"bhupeshbhatt@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-06-25T19:19:26.913Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":true,"vaultUri":"https://kvclinsp18.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache content-length: - - '992' + - '832' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:32 GMT + - Tue, 25 Jun 2024 19:20:00 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-aspnet-version: - 4.0.30319 + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.1018.0 + - 1.5.1232.0 + x-msedge-ref: + - 'Ref A: 6F91D33832314038ABA8E80BC940F5B0 Ref B: MAA201060513021 Ref C: 2024-06-25T19:20:00Z' status: code: 200 message: OK @@ -409,37 +359,39 @@ interactions: - --name --perimeter-name --resource-group --access-mode --private-link-resource --profile User-Agent: - - AZURECLI/2.55.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_nsp_association_crud000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001","name":"test_nsp_association_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_association_crud","date":"2023-12-12T13:28:37Z","module":"nsp","Created":"2023-12-12T13:28:39.2401271Z","skipNRMSNSG":"true"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001","name":"test_nsp_association_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_association_crud","date":"2024-06-25T19:19:12Z","module":"nsp","Created":"2024-06-25T19:19:13.3921696Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '457' + - '436' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:32 GMT + - Tue, 25 Jun 2024 19:20:01 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 116C4BE23EE54882A424FBBD098C02F0 Ref B: MAA201060514033 Ref C: 2024-06-25T19:20:01Z' status: code: 200 message: OK - request: body: '{"location": "eastus2euap", "name": "TestNspAssociation", "properties": - {"accessMode": "Learning", "privateLinkResource": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp17"}, + {"accessMode": "Learning", "privateLinkResource": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp18"}, "profile": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile"}}}' headers: Accept: @@ -458,12 +410,12 @@ interactions: - --name --perimeter-name --resource-group --access-mode --private-link-resource --profile User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNspAssociation","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation","type":"Microsoft.Network/networkSecurityPerimeters/resourceAssociations","properties":{"privateLinkResource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp17"},"profile":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile"},"accessMode":"Learning","provisioningState":"Succeeded","hasProvisioningIssues":"no"}}' + string: '{"name":"TestNspAssociation","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation","type":"Microsoft.Network/networkSecurityPerimeters/resourceAssociations","properties":{"privateLinkResource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp18"},"profile":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile"},"accessMode":"Learning","provisioningState":"Succeeded","hasProvisioningIssues":"no"}}' headers: cache-control: - no-cache @@ -472,19 +424,23 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:45 GMT + - Tue, 25 Jun 2024 19:20:07 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation?api-version=2023-07-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation?api-version=2023-08-01-preview 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: 04B468D2EB0F464693A7AA9D2ACA1EFF Ref B: MAA201060514025 Ref C: 2024-06-25T19:20:02Z' status: code: 201 message: Created @@ -502,12 +458,12 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNspAssociation","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation","type":"Microsoft.Network/networkSecurityPerimeters/resourceAssociations","properties":{"privateLinkResource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp17"},"profile":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile"},"accessMode":"Learning","provisioningState":"Succeeded","hasProvisioningIssues":"no"}}' + string: '{"name":"TestNspAssociation","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation","type":"Microsoft.Network/networkSecurityPerimeters/resourceAssociations","properties":{"privateLinkResource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp18"},"profile":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile"},"accessMode":"Learning","provisioningState":"Succeeded","hasProvisioningIssues":"no"}}' headers: cache-control: - no-cache @@ -516,19 +472,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:47 GMT + - Tue, 25 Jun 2024 19:20:08 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 288CFEAE7E3C485AB39AB50F002C87D5 Ref B: MAA201060514047 Ref C: 2024-06-25T19:20:08Z' status: code: 200 message: OK @@ -547,31 +503,33 @@ interactions: - --name --perimeter-name --resource-group --access-mode --private-link-resource --profile User-Agent: - - AZURECLI/2.55.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_nsp_association_crud000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001","name":"test_nsp_association_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_association_crud","date":"2023-12-12T13:28:37Z","module":"nsp","Created":"2023-12-12T13:28:39.2401271Z","skipNRMSNSG":"true"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001","name":"test_nsp_association_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_association_crud","date":"2024-06-25T19:19:12Z","module":"nsp","Created":"2024-06-25T19:19:13.3921696Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '457' + - '436' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:47 GMT + - Tue, 25 Jun 2024 19:20:09 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 0518F4620C784C46BFB4E06CC52DCEC5 Ref B: MAA201060515049 Ref C: 2024-06-25T19:20:09Z' status: code: 200 message: OK @@ -590,12 +548,12 @@ interactions: - --name --perimeter-name --resource-group --access-mode --private-link-resource --profile User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNspAssociation","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation","type":"Microsoft.Network/networkSecurityPerimeters/resourceAssociations","properties":{"privateLinkResource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp17"},"profile":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile"},"accessMode":"Learning","provisioningState":"Succeeded","hasProvisioningIssues":"no"}}' + string: '{"name":"TestNspAssociation","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation","type":"Microsoft.Network/networkSecurityPerimeters/resourceAssociations","properties":{"privateLinkResource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp18"},"profile":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile"},"accessMode":"Learning","provisioningState":"Succeeded","hasProvisioningIssues":"no"}}' headers: cache-control: - no-cache @@ -604,25 +562,25 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:48 GMT + - Tue, 25 Jun 2024 19:20:10 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: EA938FA67C264AB7B6B9DDBD3F01CC40 Ref B: MAA201060515049 Ref C: 2024-06-25T19:20:09Z' status: code: 200 message: OK - request: body: '{"location": "eastus2euap", "name": "TestNspAssociation", "properties": - {"accessMode": "Enforced", "privateLinkResource": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp17"}, + {"accessMode": "Enforced", "privateLinkResource": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp18"}, "profile": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile"}}}' headers: Accept: @@ -641,12 +599,12 @@ interactions: - --name --perimeter-name --resource-group --access-mode --private-link-resource --profile User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNspAssociation","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation","type":"Microsoft.Network/networkSecurityPerimeters/resourceAssociations","properties":{"privateLinkResource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp17"},"profile":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile"},"accessMode":"Enforced","provisioningState":"Succeeded","hasProvisioningIssues":"no"}}' + string: '{"name":"TestNspAssociation","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation","type":"Microsoft.Network/networkSecurityPerimeters/resourceAssociations","properties":{"privateLinkResource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp18"},"profile":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile"},"accessMode":"Enforced","provisioningState":"Succeeded","hasProvisioningIssues":"no"}}' headers: cache-control: - no-cache @@ -655,21 +613,21 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:52 GMT + - Tue, 25 Jun 2024 19:20:13 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' + x-msedge-ref: + - 'Ref A: 2E35E5365D5E4D108E259EDBA8BC16D2 Ref B: MAA201060515049 Ref C: 2024-06-25T19:20:10Z' status: code: 200 message: OK @@ -687,12 +645,12 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNspAssociation","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation","type":"Microsoft.Network/networkSecurityPerimeters/resourceAssociations","properties":{"privateLinkResource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp17"},"profile":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile"},"accessMode":"Enforced","provisioningState":"Succeeded","hasProvisioningIssues":"no"}}' + string: '{"name":"TestNspAssociation","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation","type":"Microsoft.Network/networkSecurityPerimeters/resourceAssociations","properties":{"privateLinkResource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp18"},"profile":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile"},"accessMode":"Enforced","provisioningState":"Succeeded","hasProvisioningIssues":"no"}}' headers: cache-control: - no-cache @@ -701,19 +659,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:55 GMT + - Tue, 25 Jun 2024 19:20:17 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: FF7C6BC1F4B145A6B1449FAE5C5DA7C0 Ref B: MAA201060515035 Ref C: 2024-06-25T19:20:14Z' status: code: 200 message: OK @@ -731,12 +689,12 @@ interactions: ParameterSetName: - --perimeter-name --resource-group User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations?api-version=2023-08-01-preview response: body: - string: '{"nextLink":"","value":[{"name":"TestNspAssociation","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation","type":"Microsoft.Network/networkSecurityPerimeters/resourceAssociations","properties":{"privateLinkResource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp17"},"profile":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile"},"accessMode":"Enforced","provisioningState":"Succeeded","hasProvisioningIssues":"no"}}]}' + string: '{"nextLink":"","value":[{"name":"TestNspAssociation","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation","type":"Microsoft.Network/networkSecurityPerimeters/resourceAssociations","properties":{"privateLinkResource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp18"},"profile":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile"},"accessMode":"Enforced","provisioningState":"Succeeded","hasProvisioningIssues":"no"}}]}' headers: cache-control: - no-cache @@ -745,19 +703,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:58 GMT + - Tue, 25 Jun 2024 19:20:19 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 317D95D313CC41BE9D450902696CBC08 Ref B: MAA201060516009 Ref C: 2024-06-25T19:20:17Z' status: code: 200 message: OK @@ -777,9 +735,9 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group --yes User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation?api-version=2023-08-01-preview response: body: string: '' @@ -787,17 +745,21 @@ interactions: cache-control: - no-cache date: - - Tue, 12 Dec 2023 13:30:01 GMT + - Tue, 25 Jun 2024 19:20: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-ratelimit-remaining-subscription-deletes: - - '14999' + - '14998' + x-msedge-ref: + - 'Ref A: 3C51657B4B044D5881AD2E84064BB6CE Ref B: MAA201060516027 Ref C: 2024-06-25T19:20:21Z' status: code: 204 message: No Content @@ -815,9 +777,9 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation?api-version=2023-08-01-preview response: body: string: '{"error":{"message":"Resource [/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation] @@ -830,15 +792,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:30:04 GMT + - Tue, 25 Jun 2024 19:20: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: 50D3ED620973498ABE5BBF61DB06CE08 Ref B: MAA201060515011 Ref C: 2024-06-25T19:20:23Z' status: code: 404 message: Not Found @@ -858,9 +824,9 @@ interactions: ParameterSetName: - --name --resource-group --no-wait User-Agent: - - AZURECLI/2.55.0 azsdk-python-azure-mgmt-keyvault/10.3.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp17?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp18?api-version=2023-02-01 response: body: string: '' @@ -870,23 +836,25 @@ interactions: content-length: - '0' date: - - Tue, 12 Dec 2023 13:30:13 GMT + - Tue, 25 Jun 2024 19:20:34 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains x-aspnet-version: - 4.0.30319 + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.1018.0 + - 1.5.1232.0 x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14998' + x-msedge-ref: + - 'Ref A: A7353FF5299C4826992DD2CDE0CDC036 Ref B: MAA201060516049 Ref C: 2024-06-25T19:20:24Z' status: code: 200 message: OK @@ -904,12 +872,12 @@ interactions: ParameterSetName: - --name -l --no-wait User-Agent: - - AZURECLI/2.55.0 azsdk-python-azure-mgmt-keyvault/10.3.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2euap/deletedVaults/kvclinsp17?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2euap/deletedVaults/kvclinsp18?api-version=2023-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2euap/deletedVaults/kvclinsp17","name":"kvclinsp17","type":"Microsoft.KeyVault/deletedVaults","properties":{"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp17","location":"eastus2euap","tags":{},"deletionDate":"2023-12-12T13:30:06Z","scheduledPurgeDate":"2024-03-11T13:30:06Z"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2euap/deletedVaults/kvclinsp18","name":"kvclinsp18","type":"Microsoft.KeyVault/deletedVaults","properties":{"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp18","location":"eastus2euap","tags":{},"deletionDate":"2024-06-25T19:20:27Z","scheduledPurgeDate":"2024-09-23T19:20:27Z"}}' headers: cache-control: - no-cache @@ -918,25 +886,23 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:30:15 GMT + - Tue, 25 Jun 2024 19:20:35 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-aspnet-version: - 4.0.30319 + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.1018.0 + - 1.5.1232.0 + x-msedge-ref: + - 'Ref A: 2A7A1D5F5EA24304875DB17328E9C284 Ref B: MAA201060514025 Ref C: 2024-06-25T19:20:35Z' status: code: 200 message: OK @@ -956,9 +922,9 @@ interactions: ParameterSetName: - --name -l --no-wait User-Agent: - - AZURECLI/2.55.0 azsdk-python-azure-mgmt-keyvault/10.3.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2euap/deletedVaults/kvclinsp17/purge?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2euap/deletedVaults/kvclinsp18/purge?api-version=2023-02-01 response: body: string: '' @@ -968,25 +934,27 @@ interactions: content-length: - '0' date: - - Tue, 12 Dec 2023 13:30:16 GMT + - Tue, 25 Jun 2024 19:20:36 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2euap/operationResults/VVR8MDYzODM3OTg0NjE3Nzk5OTg1NHxFNUUyQjMyQzYwMUI0RDY3OEY1RjNGQkNCMkRFNzc3MQ?api-version=2023-02-01&t=638379846169702513&c=MIIHHjCCBgagAwIBAgITfwI79y9UzaNyX0UmiQAEAjv3LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjMxMTAxMDUyMjE5WhcNMjQxMDI2MDUyMjE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKXMFJL_8J5ldCv07mjWennKl4L2TaZeF4qu-yFTJofcV2PiadIWfYDzE3BLw5xqtreNxqKpB7VLQT0SjrilRZsNhTCQMHkk9fC1pgRYnG0y0Y3hVw9toRskt4RDzm9dDn0-jjotCfMZRa5PwpmNIUwpujzi0eldwbaiK9l-lhCMb0pwcyLNVktT4ZhvAN00iPqXOIqHjZvefJgikL7C5JL6BDGxqZR7OYnipf0cPd7Rotq-Z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nz_WMjWhRC5ZaWgwshuRyZ08sSQjwJtvGjMqXtTb15IxowPKzV7Y388rsw0j_bbBDNYw&h=JZgYDtdMkxR0Bp3XpMYFbG2WfvEEw2-lOtXrwuCnrLE + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2euap/operationResults/VVR8MDYzODU0OTQwMDM4MDExNjM3OHxFMzZBRUM4NDFDNDI0REI3OTNBRTZDN0NFODE1MEIxRQ?api-version=2023-02-01&t=638549400371575584&c=MIIHpTCCBo2gAwIBAgITOgMJv4NI248BpRyCkQAEAwm_gzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNTEzMTg0NjEyWhcNMjUwNTA4MTg0NjEyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANM7sh1dTQ2AdkFHAuyltl2T-1kWKGjxWhy8uikgfDiO8VLCKHdmKXbqVV0WSCWok1t0TM74xsOvPH4BZTWtcKfgRoIxaPkqFbV9YcbbiZiekIRFG-9QyriJhn76tLY5GvcqSF--T9GFkoK43ApcnwPAZuQSXYF428gsQUzUNXiF9leBz2bsde3LktLeDA1uf41hKUz7hsBPGwHx1rhVW2RVOPoPTMNG88rDGIKAK7ogfPEbWkGVb6UxmY_YMTZ--0jaubxXvh9jteuwj76o_bVUFg4dV4JQOyrvF-01fUNhUqigGQ82Ix3Ls1pv0LU7ji4kbyLunvNtn-FCvLW5cmECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhp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RaDiXVWdYbIzrbrCP96VXp6r3duesqk1cg&h=WL6Mn6KAtHe2k1TxP-Fs2H92a7Zba3fSOm_v0_4Ndf4 pragma: - no-cache - server: - - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains x-aspnet-version: - 4.0.30319 + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.1018.0 + - 1.5.1232.0 x-ms-ratelimit-remaining-subscription-writes: - '1199' + x-msedge-ref: + - 'Ref A: 6E20779F2EE14CD09B1C827C4A998D79 Ref B: MAA201060516025 Ref C: 2024-06-25T19:20:36Z' status: code: 202 message: Accepted diff --git a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_crud.yaml b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_crud.yaml index 9f10ab0bd06..72a30e88386 100644 --- a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_crud.yaml +++ b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_crud.yaml @@ -17,12 +17,12 @@ interactions: ParameterSetName: - --name -l --resource-group User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"fbc61ba8-d325-4f63-9982-21cf8552cfec","provisioningState":"Succeeded"}}' + string: '{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"575ff36e-503e-47c8-9577-8dd38109210e","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -31,21 +31,21 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:28:49 GMT + - Tue, 25 Jun 2024 19:16:56 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - '1199' + x-msedge-ref: + - 'Ref A: 661727084BAB4B0D8D0EA384D291115D Ref B: MAA201060515019 Ref C: 2024-06-25T19:16:53Z' status: code: 200 message: OK @@ -63,12 +63,12 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"fbc61ba8-d325-4f63-9982-21cf8552cfec","provisioningState":"Succeeded"}}' + string: '{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"575ff36e-503e-47c8-9577-8dd38109210e","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -77,19 +77,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:28:52 GMT + - Tue, 25 Jun 2024 19:16:59 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 3F51565166224645B6AF2077970609D3 Ref B: MAA201060513019 Ref C: 2024-06-25T19:16:57Z' status: code: 200 message: OK @@ -107,12 +107,12 @@ interactions: ParameterSetName: - --resource-group User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_crud000001/providers/Microsoft.Network/networkSecurityPerimeters?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_crud000001/providers/Microsoft.Network/networkSecurityPerimeters?api-version=2023-08-01-preview response: body: - string: '{"nextLink":"","value":[{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"fbc61ba8-d325-4f63-9982-21cf8552cfec","provisioningState":"Succeeded"}}]}' + string: '{"nextLink":"","value":[{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"575ff36e-503e-47c8-9577-8dd38109210e","provisioningState":"Succeeded"}}]}' headers: cache-control: - no-cache @@ -121,19 +121,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:28:54 GMT + - Tue, 25 Jun 2024 19:17:00 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 3EE743B6BAAC465293D73658204E91FA Ref B: MAA201060516049 Ref C: 2024-06-25T19:16:59Z' status: code: 200 message: OK @@ -153,9 +153,9 @@ interactions: ParameterSetName: - -g --name --yes User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter?api-version=2023-08-01-preview response: body: string: '' @@ -165,17 +165,21 @@ interactions: content-length: - '0' date: - - Tue, 12 Dec 2023 13:29:00 GMT + - Tue, 25 Jun 2024 19:17: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-deletes: - '14999' + x-msedge-ref: + - 'Ref A: 692C65A37A9B41CABBF0F0B5EFC8CAAA Ref B: MAA201060515035 Ref C: 2024-06-25T19:17:01Z' status: code: 200 message: OK @@ -193,12 +197,12 @@ interactions: ParameterSetName: - -l User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/perimeterAssociableResourceTypes?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/perimeterAssociableResourceTypes?api-version=2023-08-01-preview response: body: - string: '{"type":"","nextLink":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/perimeterAssociableResourceTypes?api-version=2023-07-01-preview&firstIndex=10&pageSize=10","value":[{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Sql.servers","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Sql.servers","properties":{"providerNamespace":"Microsoft.Sql","resourceType":"servers","displayName":"Microsoft.Sql/servers","apiVersion":"2021-02-01-preview","publicDnsZones":["database.windows.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Storage.storageAccounts","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Storage.storageAccounts","properties":{"providerNamespace":"Microsoft.Storage","resourceType":"storageAccounts","displayName":"Microsoft.Storage/storageAccounts","apiVersion":"2021-09-01","publicDnsZones":["blob.core.windows.net","table.core.windows.net","queue.core.windows.net","file.core.windows.net","web.core.windows.net","dfs.core.windows.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.EventHub.namespaces","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.EventHub.namespaces","properties":{"providerNamespace":"Microsoft.EventHub","resourceType":"namespaces","displayName":"Microsoft.EventHub/namespaces","apiVersion":"2022-01-01-preview","publicDnsZones":["servicebus.windows.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.CognitiveServices.accounts","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.CognitiveServices.accounts","properties":{"providerNamespace":"Microsoft.CognitiveServices","resourceType":"accounts","displayName":"Microsoft.CognitiveServices/accounts","apiVersion":"2021-10-01","publicDnsZones":["cognitiveservices.azure.com"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Search.searchServices","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Search.searchServices","properties":{"providerNamespace":"Microsoft.Search","resourceType":"searchServices","displayName":"Microsoft.Search/searchServices","apiVersion":"2021-06-06-Preview","publicDnsZones":["search.windows.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Purview.accounts","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Purview.accounts","properties":{"providerNamespace":"Microsoft.Purview","resourceType":"accounts","displayName":"Microsoft.Purview/accounts","apiVersion":"2022-02-01-preview","publicDnsZones":["purview.azure.com"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.ContainerService.managedClusters","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.ContainerService.managedClusters","properties":{"providerNamespace":"Microsoft.ContainerService","resourceType":"managedClusters","displayName":"Microsoft.ContainerService/managedClusters","apiVersion":"2022-03-01","publicDnsZones":["azmk8s.io"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.KeyVault.vaults","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.KeyVault.vaults","properties":{"providerNamespace":"Microsoft.KeyVault","resourceType":"vaults","displayName":"Microsoft.KeyVault/vaults","apiVersion":"2022-02-01-preview","publicDnsZones":["vault.azure.net","vaultcore.azure.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.OperationalInsights.workspaces","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.OperationalInsights.workspaces","properties":{"providerNamespace":"Microsoft.OperationalInsights","resourceType":"workspaces","displayName":"Microsoft.OperationalInsights/workspaces","apiVersion":"2021-10-01","publicDnsZones":["monitor.azure.com","oms.opinsights.azure.com","ods.opinsights.azure.com","agentsvc.azure-automation.net","blob.core.windows.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Insights.dataCollectionEndpoints","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Insights.dataCollectionEndpoints","properties":{"providerNamespace":"Microsoft.Insights","resourceType":"dataCollectionEndpoints","displayName":"Microsoft.Insights/dataCollectionEndpoints","apiVersion":"2021-10-01","publicDnsZones":["monitor.azure.com"]}}]}' + string: '{"type":"","nextLink":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/perimeterAssociableResourceTypes?api-version=2023-08-01-preview&firstIndex=10&pageSize=10","value":[{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Sql.servers","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Sql.servers","properties":{"providerNamespace":"Microsoft.Sql","resourceType":"servers","displayName":"Microsoft.Sql/servers","apiVersion":"2021-02-01-preview","publicDnsZones":["database.windows.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Storage.storageAccounts","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Storage.storageAccounts","properties":{"providerNamespace":"Microsoft.Storage","resourceType":"storageAccounts","displayName":"Microsoft.Storage/storageAccounts","apiVersion":"2021-09-01","publicDnsZones":["blob.core.windows.net","table.core.windows.net","queue.core.windows.net","file.core.windows.net","web.core.windows.net","dfs.core.windows.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.EventHub.namespaces","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.EventHub.namespaces","properties":{"providerNamespace":"Microsoft.EventHub","resourceType":"namespaces","displayName":"Microsoft.EventHub/namespaces","apiVersion":"2022-01-01-preview","publicDnsZones":["servicebus.windows.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.CognitiveServices.accounts","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.CognitiveServices.accounts","properties":{"providerNamespace":"Microsoft.CognitiveServices","resourceType":"accounts","displayName":"Microsoft.CognitiveServices/accounts","apiVersion":"2021-10-01","publicDnsZones":["cognitiveservices.azure.com"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Search.searchServices","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Search.searchServices","properties":{"providerNamespace":"Microsoft.Search","resourceType":"searchServices","displayName":"Microsoft.Search/searchServices","apiVersion":"2021-06-06-Preview","publicDnsZones":["search.windows.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Purview.accounts","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Purview.accounts","properties":{"providerNamespace":"Microsoft.Purview","resourceType":"accounts","displayName":"Microsoft.Purview/accounts","apiVersion":"2022-02-01-preview","publicDnsZones":["purview.azure.com"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.ContainerService.managedClusters","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.ContainerService.managedClusters","properties":{"providerNamespace":"Microsoft.ContainerService","resourceType":"managedClusters","displayName":"Microsoft.ContainerService/managedClusters","apiVersion":"2022-03-01","publicDnsZones":["azmk8s.io"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.KeyVault.vaults","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.KeyVault.vaults","properties":{"providerNamespace":"Microsoft.KeyVault","resourceType":"vaults","displayName":"Microsoft.KeyVault/vaults","apiVersion":"2022-02-01-preview","publicDnsZones":["vault.azure.net","vaultcore.azure.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.OperationalInsights.workspaces","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.OperationalInsights.workspaces","properties":{"providerNamespace":"Microsoft.OperationalInsights","resourceType":"workspaces","displayName":"Microsoft.OperationalInsights/workspaces","apiVersion":"2021-10-01","publicDnsZones":["monitor.azure.com","oms.opinsights.azure.com","ods.opinsights.azure.com","agentsvc.azure-automation.net","blob.core.windows.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Insights.dataCollectionEndpoints","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Insights.dataCollectionEndpoints","properties":{"providerNamespace":"Microsoft.Insights","resourceType":"dataCollectionEndpoints","displayName":"Microsoft.Insights/dataCollectionEndpoints","apiVersion":"2021-10-01","publicDnsZones":["monitor.azure.com"]}}]}' headers: cache-control: - no-cache @@ -207,19 +211,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:02 GMT + - Tue, 25 Jun 2024 19:17:13 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 6665A4460EB94C569977C65F316D410E Ref B: MAA201060516017 Ref C: 2024-06-25T19:17:11Z' status: code: 200 message: OK @@ -237,12 +241,12 @@ interactions: ParameterSetName: - -l User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/perimeterAssociableResourceTypes?api-version=2023-07-01-preview&firstIndex=10&pageSize=10 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/perimeterAssociableResourceTypes?api-version=2023-08-01-preview&firstIndex=10&pageSize=10 response: body: - string: '{"type":"","nextLink":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/perimeterAssociableResourceTypes?api-version=2023-07-01-preview&firstIndex=20&pageSize=10","value":[{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.ServiceBus.namespaces","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.ServiceBus.namespaces","properties":{"providerNamespace":"Microsoft.ServiceBus","resourceType":"namespaces","displayName":"Microsoft.ServiceBus/namespaces","apiVersion":"2022-01-01-preview","publicDnsZones":["servicebus.windows.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Insights.ScheduledQueryRules","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Insights.ScheduledQueryRules","properties":{"providerNamespace":"Microsoft.Insights","resourceType":"ScheduledQueryRules","displayName":"Microsoft.Insights/ScheduledQueryRules","apiVersion":"2021-10-01","publicDnsZones":[]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Insights.actionGroups","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Insights.actionGroups","properties":{"providerNamespace":"Microsoft.Insights","resourceType":"actionGroups","displayName":"Microsoft.Insights/actionGroups","apiVersion":"2021-10-01","publicDnsZones":["azns.azure.com","azns.azure.net","azns.azure.cn","azns.microsofticm.com","azurenotifications.msftcloudes.cn","azurenotifications.msftcloudes.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.DocumentDB.databaseAccounts","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.DocumentDB.databaseAccounts","properties":{"providerNamespace":"Microsoft.DocumentDB","resourceType":"databaseAccounts","displayName":"Microsoft.DocumentDB/databaseAccounts","apiVersion":"2022-08-15-preview","publicDnsZones":["documents.azure.com","mongo.cosmos.azure.com","cassandra.cosmos.azure.com","gremlin.cosmos.azure.com","table.cosmos.azure.com"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Devices.IotHubs","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Devices.IotHubs","properties":{"providerNamespace":"Microsoft.Devices","resourceType":"IotHubs","displayName":"Microsoft.Devices/IotHubs","apiVersion":"2023-07-15-preview","publicDnsZones":["servicebus.windows.net","azure-devices.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.DigitalTwins.digitalTwinsInstances","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.DigitalTwins.digitalTwinsInstances","properties":{"providerNamespace":"Microsoft.DigitalTwins","resourceType":"digitalTwinsInstances","displayName":"Microsoft.DigitalTwins/digitalTwinsInstances","apiVersion":"2023-06-30-preview","publicDnsZones":["digitaltwins.azure.net","digitaltwins.azure.cn","azuredigitaltwins-ppe.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Attestation.attestationProviders","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Attestation.attestationProviders","properties":{"providerNamespace":"Microsoft.Attestation","resourceType":"attestationProviders","displayName":"Microsoft.Attestation/attestationProviders","apiVersion":"2023-03-01-preview","publicDnsZones":["attest.azure.net","attest.azure.us"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.BotService.botServices","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.BotService.botServices","properties":{"providerNamespace":"Microsoft.BotService","resourceType":"botServices","displayName":"Microsoft.BotService/botServices","apiVersion":"2022-06-15-preview","publicDnsZones":["botframework.com"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.ContainerRegistry.registries","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.ContainerRegistry.registries","properties":{"providerNamespace":"Microsoft.ContainerRegistry","resourceType":"registries","displayName":"Microsoft.ContainerRegistry/registries","apiVersion":"2023-05-31-preview","publicDnsZones":["azurecr.io"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.DeviceUpdate.accounts","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.DeviceUpdate.accounts","properties":{"providerNamespace":"Microsoft.DeviceUpdate","resourceType":"accounts","displayName":"Microsoft.DeviceUpdate/accounts","apiVersion":"2023-09-01-preview","publicDnsZones":["adu.microsoft.com"]}}]}' + string: '{"type":"","nextLink":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/perimeterAssociableResourceTypes?api-version=2023-08-01-preview&firstIndex=20&pageSize=10","value":[{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.ServiceBus.namespaces","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.ServiceBus.namespaces","properties":{"providerNamespace":"Microsoft.ServiceBus","resourceType":"namespaces","displayName":"Microsoft.ServiceBus/namespaces","apiVersion":"2022-01-01-preview","publicDnsZones":["servicebus.windows.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Insights.ScheduledQueryRules","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Insights.ScheduledQueryRules","properties":{"providerNamespace":"Microsoft.Insights","resourceType":"ScheduledQueryRules","displayName":"Microsoft.Insights/ScheduledQueryRules","apiVersion":"2021-10-01","publicDnsZones":[]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Insights.actionGroups","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Insights.actionGroups","properties":{"providerNamespace":"Microsoft.Insights","resourceType":"actionGroups","displayName":"Microsoft.Insights/actionGroups","apiVersion":"2021-10-01","publicDnsZones":["azns.azure.com","azns.azure.net","azns.azure.cn","azns.microsofticm.com","azurenotifications.msftcloudes.cn","azurenotifications.msftcloudes.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.DocumentDB.databaseAccounts","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.DocumentDB.databaseAccounts","properties":{"providerNamespace":"Microsoft.DocumentDB","resourceType":"databaseAccounts","displayName":"Microsoft.DocumentDB/databaseAccounts","apiVersion":"2022-08-15-preview","publicDnsZones":["documents.azure.com","mongo.cosmos.azure.com","cassandra.cosmos.azure.com","gremlin.cosmos.azure.com","table.cosmos.azure.com"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Devices.IotHubs","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Devices.IotHubs","properties":{"providerNamespace":"Microsoft.Devices","resourceType":"IotHubs","displayName":"Microsoft.Devices/IotHubs","apiVersion":"2023-07-15-preview","publicDnsZones":["servicebus.windows.net","azure-devices.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.DigitalTwins.digitalTwinsInstances","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.DigitalTwins.digitalTwinsInstances","properties":{"providerNamespace":"Microsoft.DigitalTwins","resourceType":"digitalTwinsInstances","displayName":"Microsoft.DigitalTwins/digitalTwinsInstances","apiVersion":"2023-06-30-preview","publicDnsZones":["digitaltwins.azure.net","digitaltwins.azure.cn","azuredigitaltwins-ppe.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Attestation.attestationProviders","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Attestation.attestationProviders","properties":{"providerNamespace":"Microsoft.Attestation","resourceType":"attestationProviders","displayName":"Microsoft.Attestation/attestationProviders","apiVersion":"2023-03-01-preview","publicDnsZones":["attest.azure.net","attest.azure.us"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.BotService.botServices","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.BotService.botServices","properties":{"providerNamespace":"Microsoft.BotService","resourceType":"botServices","displayName":"Microsoft.BotService/botServices","apiVersion":"2022-06-15-preview","publicDnsZones":["botframework.com"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.ContainerRegistry.registries","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.ContainerRegistry.registries","properties":{"providerNamespace":"Microsoft.ContainerRegistry","resourceType":"registries","displayName":"Microsoft.ContainerRegistry/registries","apiVersion":"2023-05-31-preview","publicDnsZones":["azurecr.io"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.DeviceUpdate.accounts","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.DeviceUpdate.accounts","properties":{"providerNamespace":"Microsoft.DeviceUpdate","resourceType":"accounts","displayName":"Microsoft.DeviceUpdate/accounts","apiVersion":"2023-09-01-preview","publicDnsZones":["adu.microsoft.com"]}}]}' headers: cache-control: - no-cache @@ -251,19 +255,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:02 GMT + - Tue, 25 Jun 2024 19:17:14 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 8E474127B7F44014BDEC341A9D0FBB84 Ref B: MAA201060516017 Ref C: 2024-06-25T19:17:13Z' status: code: 200 message: OK @@ -281,33 +285,33 @@ interactions: ParameterSetName: - -l User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/perimeterAssociableResourceTypes?api-version=2023-07-01-preview&firstIndex=20&pageSize=10 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/perimeterAssociableResourceTypes?api-version=2023-08-01-preview&firstIndex=20&pageSize=10 response: body: - string: '{"type":"","nextLink":"","value":[{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.EventGrid.topics","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.EventGrid.topics","properties":{"providerNamespace":"Microsoft.EventGrid","resourceType":"topics","displayName":"Microsoft.EventGrid/topics","apiVersion":"2023-06-01-preview","publicDnsZones":["eventgrid.azure.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.EventGrid.domains","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.EventGrid.domains","properties":{"providerNamespace":"Microsoft.EventGrid","resourceType":"domains","displayName":"Microsoft.EventGrid/domains","apiVersion":"2023-06-01-preview","publicDnsZones":["eventgrid.azure.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.AppConfiguration.configurationStores","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.AppConfiguration.configurationStores","properties":{"providerNamespace":"Microsoft.AppConfiguration","resourceType":"configurationStores","displayName":"Microsoft.AppConfiguration/configurationStores","apiVersion":"2023-10-01-preview","publicDnsZones":["azconfig.io","azconfig.azure.us","azconfig.azure.cn"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Batch.batchAccounts","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Batch.batchAccounts","properties":{"providerNamespace":"Microsoft.Batch","resourceType":"batchAccounts","displayName":"Microsoft.Batch/batchAccounts","apiVersion":"2023-11-01-preview","publicDnsZones":["batch.azure.com","batch.chinacloudapi.cn","batch.eaglex.ic.gov","batch.microsoft.scloud","batch-test.windows-int.net","batch.usgovcloudapi.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Web.sites","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Web.sites","properties":{"providerNamespace":"Microsoft.Web","resourceType":"sites","displayName":"Microsoft.Web/sites","apiVersion":"2022-03-01","publicDnsZones":["azurewebsites.net"]}}]}' + string: '{"type":"","nextLink":"","value":[{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.EventGrid.topics","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.EventGrid.topics","properties":{"providerNamespace":"Microsoft.EventGrid","resourceType":"topics","displayName":"Microsoft.EventGrid/topics","apiVersion":"2023-06-01-preview","publicDnsZones":["eventgrid.azure.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.EventGrid.domains","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.EventGrid.domains","properties":{"providerNamespace":"Microsoft.EventGrid","resourceType":"domains","displayName":"Microsoft.EventGrid/domains","apiVersion":"2023-06-01-preview","publicDnsZones":["eventgrid.azure.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.AppConfiguration.configurationStores","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.AppConfiguration.configurationStores","properties":{"providerNamespace":"Microsoft.AppConfiguration","resourceType":"configurationStores","displayName":"Microsoft.AppConfiguration/configurationStores","apiVersion":"2023-10-01-preview","publicDnsZones":["azconfig.io","azconfig.azure.us","azconfig.azure.cn"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Batch.batchAccounts","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Batch.batchAccounts","properties":{"providerNamespace":"Microsoft.Batch","resourceType":"batchAccounts","displayName":"Microsoft.Batch/batchAccounts","apiVersion":"2024-03-01-privatepreview","publicDnsZones":["batch.azure.com","batch.chinacloudapi.cn","batch.eaglex.ic.gov","batch.microsoft.scloud","batch-test.windows-int.net","batch.usgovcloudapi.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Web.sites","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Web.sites","properties":{"providerNamespace":"Microsoft.Web","resourceType":"sites","displayName":"Microsoft.Web/sites","apiVersion":"2022-03-01","publicDnsZones":["azurewebsites.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.HybridCompute.privateLinkScopes","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.HybridCompute","properties":{"providerNamespace":"Microsoft.HybridCompute","resourceType":"privateLinkScopes","displayName":"Microsoft.HybridCompute.privateLinkScopes","apiVersion":"2023-10-03-preview","publicDnsZones":["his.arc.azure.com","guestconfiguration.azure.com","dp.kubernetesconfiguration.azure.com"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Communication.CommunicationServices","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Communication.CommunicationServices","properties":{"providerNamespace":"Microsoft.Communication","resourceType":"CommunicationServices","displayName":"Microsoft.Communication/CommunicationServices","apiVersion":"2023-12-25-preview","publicDnsZones":["communication.azure.com","communication.azure.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Network.networkWatchers","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Network.networkWatchers","properties":{"providerNamespace":"Microsoft.Network","resourceType":"networkWatchers","displayName":"Microsoft.Network/networkWatchers","apiVersion":"2024-01-01","publicDnsZones":["networkwatcher.azure.com"]}}]}' headers: cache-control: - no-cache content-length: - - '2368' + - '3888' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:03 GMT + - Tue, 25 Jun 2024 19:17:16 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 6585E1C547E64D26969E5419285B739C Ref B: MAA201060516017 Ref C: 2024-06-25T19:17:14Z' status: code: 200 message: OK diff --git a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_link_linkreference_crud.yaml b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_link_linkreference_crud.yaml index 652d7ff5c9f..1eea9b2b02e 100644 --- a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_link_linkreference_crud.yaml +++ b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_link_linkreference_crud.yaml @@ -17,12 +17,12 @@ interactions: ParameterSetName: - --name -l --resource-group User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNetworkSecurityPerimeter1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"2443a2a0-a958-4528-a549-42c292ed330a","provisioningState":"Succeeded"}}' + string: '{"name":"TestNetworkSecurityPerimeter1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"e982b052-1597-4b3b-9b25-eaaaa7a2b679","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -31,21 +31,21 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:20 GMT + - Tue, 25 Jun 2024 19:17:27 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - '1199' + x-msedge-ref: + - 'Ref A: 6E886A22364F4C398508F8053B933ED5 Ref B: MAA201060515045 Ref C: 2024-06-25T19:17:23Z' status: code: 200 message: OK @@ -67,12 +67,12 @@ interactions: ParameterSetName: - --name -l --resource-group User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNetworkSecurityPerimeter2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"6d7749c8-6ad0-4dae-98d3-e4dc5529c755","provisioningState":"Succeeded"}}' + string: '{"name":"TestNetworkSecurityPerimeter2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"3c5f5bf0-9bc6-4832-92ad-163309a5e3bd","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -81,21 +81,21 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:23 GMT + - Tue, 25 Jun 2024 19:17:33 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' + x-msedge-ref: + - 'Ref A: 8B460A69E1CF445AB13FA698F0EDE9AD Ref B: MAA201060515039 Ref C: 2024-06-25T19:17:27Z' status: code: 200 message: OK @@ -119,12 +119,12 @@ interactions: - --name --perimeter-name --resource-group --auto-remote-nsp-id --local-inbound-profile --remote-inbound-profile User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNspLink1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1","type":"Microsoft.Network/networkSecurityPerimeters/links","properties":{"provisioningState":"Accepted","autoApprovedRemotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2","remotePerimeterGuid":"6d7749c8-6ad0-4dae-98d3-e4dc5529c755","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Approved","description":"Auto + string: '{"name":"TestNspLink1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1","type":"Microsoft.Network/networkSecurityPerimeters/links","properties":{"provisioningState":"Accepted","autoApprovedRemotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2","remotePerimeterGuid":"3c5f5bf0-9bc6-4832-92ad-163309a5e3bd","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Approved","description":"Auto Approved."}}' headers: cache-control: @@ -134,21 +134,21 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:27 GMT + - Tue, 25 Jun 2024 19:17:35 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - '1199' + x-msedge-ref: + - 'Ref A: CBAF1D50E59A4E299AD6CC12BFC10355 Ref B: MAA201060513051 Ref C: 2024-06-25T19:17:33Z' status: code: 200 message: OK @@ -166,12 +166,12 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNspLink1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1","type":"Microsoft.Network/networkSecurityPerimeters/links","properties":{"provisioningState":"Accepted","autoApprovedRemotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2","remotePerimeterGuid":"6d7749c8-6ad0-4dae-98d3-e4dc5529c755","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Approved","description":"Auto + string: '{"name":"TestNspLink1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1","type":"Microsoft.Network/networkSecurityPerimeters/links","properties":{"provisioningState":"Accepted","autoApprovedRemotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2","remotePerimeterGuid":"3c5f5bf0-9bc6-4832-92ad-163309a5e3bd","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Approved","description":"Auto Approved."}}' headers: cache-control: @@ -181,19 +181,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:28 GMT + - Tue, 25 Jun 2024 19:17:37 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 1CADCE40C22A4459B03285E15D6DDA35 Ref B: MAA201060514009 Ref C: 2024-06-25T19:17:37Z' status: code: 200 message: OK @@ -211,34 +211,34 @@ interactions: ParameterSetName: - --perimeter-name --resource-group User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links?api-version=2023-08-01-preview response: body: - string: '{"nextLink":"","value":[{"name":"TestNspLink1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1","type":"Microsoft.Network/networkSecurityPerimeters/links","properties":{"provisioningState":"Accepted","autoApprovedRemotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2","remotePerimeterGuid":"6d7749c8-6ad0-4dae-98d3-e4dc5529c755","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Approved","description":"Auto + string: '{"nextLink":"","value":[{"name":"TestNspLink1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1","type":"Microsoft.Network/networkSecurityPerimeters/links","properties":{"provisioningState":"Succeeded","autoApprovedRemotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2","remotePerimeterGuid":"3c5f5bf0-9bc6-4832-92ad-163309a5e3bd","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Approved","description":"Auto Approved."}}]}' headers: cache-control: - no-cache content-length: - - '846' + - '847' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:29 GMT + - Tue, 25 Jun 2024 19:17:39 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 50162EAEAF8248CDAB0E8DD59FAA4A81 Ref B: MAA201060515047 Ref C: 2024-06-25T19:17:38Z' status: code: 200 message: OK @@ -256,12 +256,12 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group --local-inbound-profile User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNspLink1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1","type":"Microsoft.Network/networkSecurityPerimeters/links","properties":{"provisioningState":"Succeeded","autoApprovedRemotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2","remotePerimeterGuid":"6d7749c8-6ad0-4dae-98d3-e4dc5529c755","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Approved","description":"Auto + string: '{"name":"TestNspLink1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1","type":"Microsoft.Network/networkSecurityPerimeters/links","properties":{"provisioningState":"Succeeded","autoApprovedRemotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2","remotePerimeterGuid":"3c5f5bf0-9bc6-4832-92ad-163309a5e3bd","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Approved","description":"Auto Approved."}}' headers: cache-control: @@ -271,19 +271,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:31 GMT + - Tue, 25 Jun 2024 19:17:40 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: B0849168958240F9B9D4B00639167F61 Ref B: MAA201060513017 Ref C: 2024-06-25T19:17:40Z' status: code: 200 message: OK @@ -307,12 +307,12 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group --local-inbound-profile User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNspLink1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1","type":"Microsoft.Network/networkSecurityPerimeters/links","properties":{"provisioningState":"Accepted","autoApprovedRemotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2","remotePerimeterGuid":"6d7749c8-6ad0-4dae-98d3-e4dc5529c755","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Approved","description":"Auto + string: '{"name":"TestNspLink1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1","type":"Microsoft.Network/networkSecurityPerimeters/links","properties":{"provisioningState":"Accepted","autoApprovedRemotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2","remotePerimeterGuid":"3c5f5bf0-9bc6-4832-92ad-163309a5e3bd","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Approved","description":"Auto Approved."}}' headers: cache-control: @@ -322,21 +322,21 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:35 GMT + - Tue, 25 Jun 2024 19:17:43 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - '1198' + x-msedge-ref: + - 'Ref A: 41F49B592CE443798EEB885EEA6D8B3A Ref B: MAA201060513017 Ref C: 2024-06-25T19:17:41Z' status: code: 200 message: OK @@ -356,9 +356,9 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group --yes User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1?api-version=2023-08-01-preview response: body: string: '' @@ -368,19 +368,23 @@ interactions: content-length: - '0' date: - - Tue, 12 Dec 2023 13:29:39 GMT + - Tue, 25 Jun 2024 19:17:45 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1/operationResults/f41c1459-348e-4695-970b-69c1fdd247e8?api-version=2023-07-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1/operationResults/012dc94c-8c20-484c-837c-88b6719db7cf?api-version=2023-08-01-preview&t=638549398664813415&c=MIIHpTCCBo2gAwIBAgITfwNAzkFewm_NciphkAAEA0DOQTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNTE3MTkyMjQwWhcNMjUwNTEyMTkyMjQwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJuJT5HwtZYeMETB2FErJ9p7P7i0j5K1z_6Q8ubSfyaHW5BXsFmRWgdTUjKJeDSJeyiDXrTUG_vHsfl5LFuBUd0wRJdi6qPSdJBdjtQBJeEuHnufrh29AhuQ3GWJDrfdtarbHmIM-iXChLaLDQRvAyrn53r4TLJtSXo-E1Nrko3diGh5O-pU8z8JNR1eM_KSRpMlbaKuCB6O4iL0UDcKoYasw64KhNhDeBWLNuZeFBOZlFiurb2p7OZLyPrCVo9R7w5IOOIJ1by-Z8xXliKu4y8En6XZW4zydhykuZhlt1QXtLV_wQlqMBqHzqniOg0cFlPxbHSUfAw3EPoQWdvzZzUCAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBz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-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' + x-msedge-ref: + - 'Ref A: 33E107106F2B4168B2A157810F00D4E4 Ref B: MAA201060515051 Ref C: 2024-06-25T19:17:44Z' status: code: 202 message: Accepted @@ -398,32 +402,36 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group --yes User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1/operationResults/f41c1459-348e-4695-970b-69c1fdd247e8?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1/operationResults/012dc94c-8c20-484c-837c-88b6719db7cf?api-version=2023-08-01-preview&t=638549398664813415&c=MIIHpTCCBo2gAwIBAgITfwNAzkFewm_NciphkAAEA0DOQTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNTE3MTkyMjQwWhcNMjUwNTEyMTkyMjQwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJuJT5HwtZYeMETB2FErJ9p7P7i0j5K1z_6Q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BRFy8vSDa9vBXfWHw3S2-ZvYKpnaklc8_16F4aVu2cPRlAXwaG6XJGkkwl1ClCALQlYxeUWeobHFi0RpMZDprs7h6rHmFARmjrWRf_3vnxqg&s=M22lVEPONzrAdhVU7-Ybdxq6mpzP_SDRLuamTH4t0WS5ZW1dN_YbD8vmQI3p2rvEhLvpVqOHaa7WzULgE7ihTT1XxIksf27jU-imsy0at65jSj1afmZDssaGUkhDrsScGxqqpc0wyA_9Q7gBcpXWbcIKB3Si2DntpN8jcrf3D4oPesJIkGiQH11A7kRN0JLgiA9DBlJO0XTDSvJFVF5TFQ3xOaQZZUH8oKaZEi41hp7laQ89upX45F9WPZtC9a5rD2oz7ThdGy_UK6oGlVxeNA3aqyhPfoIyhSXvSSuy9pcLeV2Su5NAp_fevsNCgzj4pVY3sCwR6RKvioa2liPrmw&h=oQHqOyxKeAqYfZnCYJfVxU5pRaFMzZ02nXmL1ZoEj8o response: body: - string: '{"properties":{"provisioningState":"Deleting","autoApprovedRemotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2","remotePerimeterLocation":"eastus2euap","remotePerimeterGuid":"6d7749c8-6ad0-4dae-98d3-e4dc5529c755","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Approved","description":"Auto - Approved.","version":"3"},"name":"TestNspLink1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1","version":0,"apiVersion":"","publishingStates":{},"systemData":{"createdBy":"","createdByType":"User","lastModifiedBy":"","lastModifiedByType":"User"}}' + string: '{"properties":{"provisioningState":"Deleting","autoApprovedRemotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2","remotePerimeterLocation":"eastus2euap","remotePerimeterGuid":"3c5f5bf0-9bc6-4832-92ad-163309a5e3bd","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Approved","description":"Auto + Approved.","version":"3"},"name":"TestNspLink1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1","version":0,"apiVersion":"","publishingStates":{}}' headers: cache-control: - no-cache content-length: - - '926' + - '825' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:40 GMT + - Tue, 25 Jun 2024 19:17:47 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1/operationResults/f41c1459-348e-4695-970b-69c1fdd247e8?api-version=2023-07-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1/operationResults/012dc94c-8c20-484c-837c-88b6719db7cf?api-version=2023-08-01-preview&t=638549398681059824&c=MIIHpTCCBo2gAwIBAgITOgMJv4NI248BpRyCkQAEAwm_gzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNTEzMTg0NjEyWhcNMjUwNTA4MTg0NjEyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbT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qIzaK9Wc6kvHeZdleYPq5lD59aV-IABqrRIoFu0eN10T1Dw6uwlo15U_Z5M08puNqoV-D92L8aciHUSPp4VV8SgU52Bbt5haV8y16F34M_BCzjjQLhrnAoEL1g3TWceDwlkCe3i-3DDKb52iUv9FTopclO2tcoBcQvhEt1PnTVySa-zNva_bAxjXM&s=KhlsNfvJ85kq_OUsFEjjbpnKJFhK5KoxiQSKF3awUW02_4el3v1myt1oG3TqG5CiEPj-IFNim3BsSGq28pIVPAc8OdCMi3yAiTZI1PDQIJ1EUBpdeqOc9FpbqU02v3IKHOWmG3DzZQsmRMdXfZMs-cUNQqbg5_hE0RAYU3GlwGjy1zE2g5FXSU0UKWcF3t7IN17NRlFLCI7qXp6uWlyGxAyRHvDTG8mzDw-RRzkiPWxbi-6GTrxaV8258b80qyxc6haNOfDMuBcWflhXDYWLEjBL52G8A8m1nDXTMnV5aI73avZDjQOtKQDH9vQMksyiTh4OIT8h_-n7Zef9XI5YYw&h=KH2b6McnbyrCuuIu2YiS97oPbEfXq5blsNXQayuEVD4 pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: D8987A0279F14A1F91A3424DFE109893 Ref B: MAA201060515051 Ref C: 2024-06-25T19:17:46Z' status: code: 202 message: Accepted @@ -441,9 +449,9 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group --yes User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1/operationResults/f41c1459-348e-4695-970b-69c1fdd247e8?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1/operationResults/012dc94c-8c20-484c-837c-88b6719db7cf?api-version=2023-08-01-preview&t=638549398681059824&c=MIIHpTCCBo2gAwIBAgITOgMJv4NI248BpRyCkQAEAwm_gzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNTEzMTg0NjEyWhcNMjUwNTA4MTg0NjEyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANM7sh1dTQ2AdkFHAuyltl2T-1kWKGjxWhy8uikgfDiO8VLCKHdmKXbqVV0WSCWok1t0TM74xsOvPH4BZTWtcKfgRoIxaPkqFbV9YcbbiZiekIRFG-9QyriJhn76tLY5GvcqSF--T9GFkoK43ApcnwPAZuQSXYF428gsQUzUNXiF9leBz2bsde3LktLeDA1uf41hKUz7hsBPGwHx1rhVW2RVOPoPTMNG88rDGIKAK7ogfPEbWkGVb6UxmY_YMTZ--0jaubxXvh9jteuwj76o_bVUFg4dV4JQOyrvF-01fUNhUqigGQ82Ix3Ls1pv0LU7ji4kbyLunvNtn-FCvLW5cmECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29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UwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAIVyHaZ9dCZFtpDLCQrGAFlm-_xAAMmC3Am1kMZgjdL7zKtF9-RDiP5lh-8QEMjaaDQGvc2xR0LL3WyOFZo7am9ZX53wiwDdcZ9x0k1a00Wyx1w6FWcV8UP36SUgSkvuGRoBUDMI4q6BIAEeiQxJi0OrKKrWJjqIzaK9Wc6kvHeZdleYPq5lD59aV-IABqrRIoFu0eN10T1Dw6uwlo15U_Z5M08puNqoV-D92L8aciHUSPp4VV8SgU52Bbt5haV8y16F34M_BCzjjQLhrnAoEL1g3TWceDwlkCe3i-3DDKb52iUv9FTopclO2tcoBcQvhEt1PnTVySa-zNva_bAxjXM&s=KhlsNfvJ85kq_OUsFEjjbpnKJFhK5KoxiQSKF3awUW02_4el3v1myt1oG3TqG5CiEPj-IFNim3BsSGq28pIVPAc8OdCMi3yAiTZI1PDQIJ1EUBpdeqOc9FpbqU02v3IKHOWmG3DzZQsmRMdXfZMs-cUNQqbg5_hE0RAYU3GlwGjy1zE2g5FXSU0UKWcF3t7IN17NRlFLCI7qXp6uWlyGxAyRHvDTG8mzDw-RRzkiPWxbi-6GTrxaV8258b80qyxc6haNOfDMuBcWflhXDYWLEjBL52G8A8m1nDXTMnV5aI73avZDjQOtKQDH9vQMksyiTh4OIT8h_-n7Zef9XI5YYw&h=KH2b6McnbyrCuuIu2YiS97oPbEfXq5blsNXQayuEVD4 response: body: string: '' @@ -451,15 +459,19 @@ interactions: cache-control: - no-cache date: - - Tue, 12 Dec 2023 13:30:10 GMT + - Tue, 25 Jun 2024 19:18:18 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: D821946F6ABD4E1FBBA0099DC0FE595A Ref B: MAA201060515051 Ref C: 2024-06-25T19:18:18Z' status: code: 204 message: No Content @@ -477,12 +489,12 @@ interactions: ParameterSetName: - --perimeter-name --resource-group User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences?api-version=2023-08-01-preview response: body: - string: '{"nextLink":"","value":[{"name":"Ref-from-TestNspLink1-2443a2a0-a958-4528-a549-42c292ed330a","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-2443a2a0-a958-4528-a549-42c292ed330a","type":"Microsoft.Network/networkSecurityPerimeters/linkReferences","properties":{"provisioningState":"Accepted","remotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1","remotePerimeterGuid":"2443a2a0-a958-4528-a549-42c292ed330a","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Disconnected","description":"Auto + string: '{"nextLink":"","value":[{"name":"Ref-from-TestNspLink1-e982b052-1597-4b3b-9b25-eaaaa7a2b679","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-e982b052-1597-4b3b-9b25-eaaaa7a2b679","type":"Microsoft.Network/networkSecurityPerimeters/linkReferences","properties":{"provisioningState":"Accepted","remotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1","remotePerimeterGuid":"e982b052-1597-4b3b-9b25-eaaaa7a2b679","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Disconnected","description":"Auto Approved."}}]}' headers: cache-control: @@ -492,19 +504,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:30:14 GMT + - Tue, 25 Jun 2024 19:18:21 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 4E78913052344DB99BDD74D7D381162D Ref B: MAA201060515011 Ref C: 2024-06-25T19:18:20Z' status: code: 200 message: OK @@ -522,12 +534,12 @@ interactions: ParameterSetName: - --perimeter-name --resource-group --name User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-2443a2a0-a958-4528-a549-42c292ed330a?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-e982b052-1597-4b3b-9b25-eaaaa7a2b679?api-version=2023-08-01-preview response: body: - string: '{"name":"Ref-from-TestNspLink1-2443a2a0-a958-4528-a549-42c292ed330a","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-2443a2a0-a958-4528-a549-42c292ed330a","type":"Microsoft.Network/networkSecurityPerimeters/linkReferences","properties":{"provisioningState":"Accepted","remotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1","remotePerimeterGuid":"2443a2a0-a958-4528-a549-42c292ed330a","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Disconnected","description":"Auto + string: '{"name":"Ref-from-TestNspLink1-e982b052-1597-4b3b-9b25-eaaaa7a2b679","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-e982b052-1597-4b3b-9b25-eaaaa7a2b679","type":"Microsoft.Network/networkSecurityPerimeters/linkReferences","properties":{"provisioningState":"Accepted","remotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1","remotePerimeterGuid":"e982b052-1597-4b3b-9b25-eaaaa7a2b679","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Disconnected","description":"Auto Approved."}}' headers: cache-control: @@ -537,19 +549,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:30:17 GMT + - Tue, 25 Jun 2024 19:18:23 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: ED1B71FD46684D4FB304B1F0E89FCF06 Ref B: MAA201060513049 Ref C: 2024-06-25T19:18:21Z' status: code: 200 message: OK @@ -569,9 +581,9 @@ interactions: ParameterSetName: - --perimeter-name --resource-group --name --yes User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-2443a2a0-a958-4528-a549-42c292ed330a?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-e982b052-1597-4b3b-9b25-eaaaa7a2b679?api-version=2023-08-01-preview response: body: string: '' @@ -581,19 +593,23 @@ interactions: content-length: - '0' date: - - Tue, 12 Dec 2023 13:30:21 GMT + - Tue, 25 Jun 2024 19:18:24 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-2443a2a0-a958-4528-a549-42c292ed330a/operationResults/8ce20aa5-a82a-4969-b615-e294d34bd1fd?api-version=2023-07-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-e982b052-1597-4b3b-9b25-eaaaa7a2b679/operationResults/6baa5e60-1584-45dc-a5e8-6bc59163a02b?api-version=2023-08-01-preview&t=638549399046775100&c=MIIHpTCCBo2gAwIBAgITfwNG4ZeD5k5i3v_jpQAEA0bhlzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNTIwMjMwODIzWhcNMjUwNTE1MjMwODIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJwiNvhGW_0dpQ5rbD7q8Lu0A6U9gWRFYyjyDnUnQa5Lp1m8pau25URfvTepPkos0FkMC2QIQRWMW4Rm_rZajhjQVw1j7eLS2X2ca6kd9B6tMzjQfrb5xixBdFQNxM_gWyx3m5NZDRmm_zRzhVrhg-tjB16aZQdgt1gx6v8KyMQaa7qkvbsEuTqCp1h6k76OS63lmt64gTD7Xo6GFo_doO4BjG1ORDhwIch3_8kvd0GVlG7Es8zAu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40VpibwcKy-OBVq_9JnkF6mArBaP8D_GJYm120KfzupPh_xpld4w1xJYQ6dJURWNuXbLBmPkrfOwH02IrHDlxmlEspoucbuViocBl9KsBPRmEhdJs7n8P0M9BevIFWPlq0gFP4drFvPCh8Fegri8HkeJvymkogSfKau5hmKKH-1UxlXvdZaY6JRGrDEmLZPqci2GiwSpdd7zViXciFjhh-6EmuzRNkhVOHy9SzHA2Q&h=W72_Ro58aF-e4ks2JuyCKVkTRIglHpQAXOCConDQK8g pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14998' + x-msedge-ref: + - 'Ref A: F102AF92219D4929B62FD1D9461D3612 Ref B: MAA201060513027 Ref C: 2024-06-25T19:18:23Z' status: code: 202 message: Accepted @@ -611,32 +627,36 @@ interactions: ParameterSetName: - --perimeter-name --resource-group --name --yes User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-2443a2a0-a958-4528-a549-42c292ed330a/operationResults/8ce20aa5-a82a-4969-b615-e294d34bd1fd?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-e982b052-1597-4b3b-9b25-eaaaa7a2b679/operationResults/6baa5e60-1584-45dc-a5e8-6bc59163a02b?api-version=2023-08-01-preview&t=638549399046775100&c=MIIHpTCCBo2g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7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHOGeuHCVrtTmbxHoLWeGKZOuChJQx5VMj0aW5mYlP_QjWbXuINO4C645z063P3wopXDl6V1VxhTC4gTjkF_bhmIIC6l8BcoNV_1iqHrNx0nwUG2q41zrybwgdNRsA7-ccYvK0xz7JFIa4d4egDyILpk3z0k_xKgtozp7-x2npBjQMcFiK69gl5P7wPC-ykC8gGTLHQywZmRBtxom8atHOF-2WIZCyPIEZktnLhcht-EHmbKuuCyAl-2esrLHY03yJVtqeiqx6SPDiuH47Kwwi2-dZaWWXakpHtoTIpf4ksPuyLSlzL-9RTYxNbCuSwROFS0QSKzwQeCYu_lQncj36U&s=EzExWNF5dcaos4gTnP5zpcOneAsaMOlUKE50oHi-KRfElcrbbeZdDYeI5frdt0uEscoV4PEEPxTwrq_549uWJvaq1Qpi0NrUoBBOr3Q68R0y40VpibwcKy-OBVq_9JnkF6mArBaP8D_GJYm120KfzupPh_xpld4w1xJYQ6dJURWNuXbLBmPkrfOwH02IrHDlxmlEspoucbuViocBl9KsBPRmEhdJs7n8P0M9BevIFWPlq0gFP4drFvPCh8Fegri8HkeJvymkogSfKau5hmKKH-1UxlXvdZaY6JRGrDEmLZPqci2GiwSpdd7zViXciFjhh-6EmuzRNkhVOHy9SzHA2Q&h=W72_Ro58aF-e4ks2JuyCKVkTRIglHpQAXOCConDQK8g response: body: - string: '{"name":"Ref-from-TestNspLink1-2443a2a0-a958-4528-a549-42c292ed330a","properties":{"provisioningState":"Deleting","remotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1","remotePerimeterLocation":"eastus2euap","remotePerimeterGuid":"2443a2a0-a958-4528-a549-42c292ed330a","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Disconnected","description":"Auto - Approved.","version":"4","approvalType":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-2443a2a0-a958-4528-a549-42c292ed330a","version":0,"apiVersion":"","publishingStates":{},"systemData":{"createdBy":"","createdByType":"User","lastModifiedBy":"","lastModifiedByType":"User"}}' + string: '{"name":"Ref-from-TestNspLink1-e982b052-1597-4b3b-9b25-eaaaa7a2b679","properties":{"provisioningState":"Deleting","remotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1","remotePerimeterLocation":"eastus2euap","remotePerimeterGuid":"e982b052-1597-4b3b-9b25-eaaaa7a2b679","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Disconnected","description":"Auto + Approved.","version":"4","approvalType":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-e982b052-1597-4b3b-9b25-eaaaa7a2b679","version":0,"apiVersion":"","publishingStates":{}}' headers: cache-control: - no-cache content-length: - - '1036' + - '935' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:30:22 GMT + - Tue, 25 Jun 2024 19:18:25 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-2443a2a0-a958-4528-a549-42c292ed330a/operationResults/8ce20aa5-a82a-4969-b615-e294d34bd1fd?api-version=2023-07-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-e982b052-1597-4b3b-9b25-eaaaa7a2b679/operationResults/6baa5e60-1584-45dc-a5e8-6bc59163a02b?api-version=2023-08-01-preview&t=638549399056951817&c=MIIHpTCCBo2gAwIBAgITOgMJv4NI248BpRyCkQAEAwm_gzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNTEzMTg0NjEyWhcNMjUwNTA4MTg0NjEyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANM7sh1dTQ2AdkFHAuyltl2T-1kWKGjxWhy8uikgfDiO8VLCKHdmKXbqVV0WSCWok1t0TM74xsOvPH4BZTWtcKfgRoIxaPkqFbV9YcbbiZiekIRFG-9QyriJhn76tLY5GvcqSF--T9GFkoK43ApcnwPAZuQSXYF428gsQUzUNXiF9leBz2bsde3LktLeDA1uf41hKUz7hsBPGwHx1rhVW2RVOPoPTMNG88rDGIKAK7ogfPEbWkGVb6UxmY_YMTZ--0jaubxXvh9jteuwj76o_bVUFg4dV4JQOyrvF-01fUNhUqigGQ82Ix3Ls1pv0LU7ji4kbyLunvNtn-FCvLW5cmECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvd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O6uqq2lKQ&h=d9IhGuNigXanR6rbHKtRrYV8svyYtKL2iZxb7nlhenQ pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 1FA1ED50733F4664AB8A1C5BA635B1FE Ref B: MAA201060513027 Ref C: 2024-06-25T19:18:24Z' status: code: 202 message: Accepted @@ -654,9 +674,9 @@ interactions: ParameterSetName: - --perimeter-name --resource-group --name --yes User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-2443a2a0-a958-4528-a549-42c292ed330a/operationResults/8ce20aa5-a82a-4969-b615-e294d34bd1fd?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-e982b052-1597-4b3b-9b25-eaaaa7a2b679/operationResults/6baa5e60-1584-45dc-a5e8-6bc59163a02b?api-version=2023-08-01-preview&t=638549399056951817&c=MIIHpTCCBo2gAwIBAgITOgMJv4NI248BpRyCkQAEAwm_gzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNTEzMTg0NjEyWhcNMjUwNTA4MTg0NjEyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0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P36SUgSkvuGRoBUDMI4q6BIAEeiQxJi0OrKKrWJjqIzaK9Wc6kvHeZdleYPq5lD59aV-IABqrRIoFu0eN10T1Dw6uwlo15U_Z5M08puNqoV-D92L8aciHUSPp4VV8SgU52Bbt5haV8y16F34M_BCzjjQLhrnAoEL1g3TWceDwlkCe3i-3DDKb52iUv9FTopclO2tcoBcQvhEt1PnTVySa-zNva_bAxjXM&s=oSOI4ASd_8QGF7DCecrS4qXsFOA27LR2ujWTCtX01IeHQyXbC8kIENPh84njEonePXuxIma5qs1vHTaJRDjw3IV62kNFuE4XoSfP7D1lcxAx1H7wUHGr8uSbOeW6NrgxSmPZEtcjXOxm43mWqjmR1F0EBqKR80R4Wy-MBxBcx1WwmlBFguKdW62NB5FCxuvtqQ7qwds-t02f5uVjSJ7k6pj6vP1a0a07K3-AI82oRJudb5cTGPObEy3CvrNVFc4nWgyXkMLTRsXNbMU6VEI34GdqrJ-qgSzgcNuhQ5wr6ydkZLpPdSBjItoLbSh1NdKFrOJdu9ktHt62VO6uqq2lKQ&h=d9IhGuNigXanR6rbHKtRrYV8svyYtKL2iZxb7nlhenQ response: body: string: '' @@ -664,15 +684,19 @@ interactions: cache-control: - no-cache date: - - Tue, 12 Dec 2023 13:30:53 GMT + - Tue, 25 Jun 2024 19:18: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: 6322D626932B4BF2AC0F6CEFA61C7CC5 Ref B: MAA201060513027 Ref C: 2024-06-25T19:18:55Z' status: code: 204 message: No Content diff --git a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_profile_crud.yaml b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_profile_crud.yaml index adf79ff371c..19032af7f7d 100644 --- a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_profile_crud.yaml +++ b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_profile_crud.yaml @@ -17,12 +17,12 @@ interactions: ParameterSetName: - --name -l --resource-group User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_profile_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_profile_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_profile_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"f8bd2025-acaa-4da6-8034-ebf7bb385996","provisioningState":"Succeeded"}}' + string: '{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_profile_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"6c6d12f9-cc4b-458d-bc3f-217670611ec2","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -31,21 +31,21 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:27 GMT + - Tue, 25 Jun 2024 19:17:23 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - '1199' + x-msedge-ref: + - 'Ref A: 2A3185F69F11464E94C36CE168043558 Ref B: MAA201060513047 Ref C: 2024-06-25T19:17:19Z' status: code: 200 message: OK @@ -63,31 +63,33 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group User-Agent: - - AZURECLI/2.55.0 azsdk-python-azure-mgmt-resource/23.1.0b2 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_nsp_profile_crud000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_profile_crud000001","name":"test_nsp_profile_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_profile_crud","date":"2023-12-12T13:29:23Z","module":"nsp","Created":"2023-12-12T13:29:23.5559446Z","skipNRMSNSG":"true"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_profile_crud000001","name":"test_nsp_profile_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_profile_crud","date":"2024-06-25T19:17:15Z","module":"nsp","Created":"2024-06-25T19:17:15.9196110Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '445' + - '424' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:28 GMT + - Tue, 25 Jun 2024 19:17:23 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 8F9C86BA7B2A429DB57E5BB298965D17 Ref B: MAA201060515025 Ref C: 2024-06-25T19:17:24Z' status: code: 200 message: OK @@ -109,9 +111,9 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_profile_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_profile_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile?api-version=2023-08-01-preview response: body: string: '{"name":"TestNspProfile","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_profile_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile","type":"Microsoft.Network/networkSecurityPerimeters/profiles","properties":{"accessRulesVersion":"0","diagnosticSettingsVersion":"0"},"location":"eastus2euap"}' @@ -123,21 +125,21 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:28 GMT + - Tue, 25 Jun 2024 19:17:25 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' + x-msedge-ref: + - 'Ref A: E25879BAB4D340C1A3553CA467DAB192 Ref B: MAA201060513053 Ref C: 2024-06-25T19:17:24Z' status: code: 200 message: OK @@ -155,9 +157,9 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_profile_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_profile_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile?api-version=2023-08-01-preview response: body: string: '{"name":"TestNspProfile","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_profile_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile","type":"Microsoft.Network/networkSecurityPerimeters/profiles","properties":{"accessRulesVersion":"0","diagnosticSettingsVersion":"0"},"location":"eastus2euap"}' @@ -169,19 +171,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:30 GMT + - Tue, 25 Jun 2024 19:17:27 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: 6646ED73FF0B4D5DBDD8322FFA826716 Ref B: MAA201060513017 Ref C: 2024-06-25T19:17:26Z' status: code: 200 message: OK @@ -199,9 +201,9 @@ interactions: ParameterSetName: - --perimeter-name --resource-group User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_profile_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_profile_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles?api-version=2023-08-01-preview response: body: string: '{"nextLink":"","value":[{"name":"TestNspProfile","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_profile_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile","type":"Microsoft.Network/networkSecurityPerimeters/profiles","properties":{"accessRulesVersion":"0","diagnosticSettingsVersion":"0"},"location":"eastus2euap"}]}' @@ -213,19 +215,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Dec 2023 13:29:34 GMT + - Tue, 25 Jun 2024 19:17:29 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding + x-cache: + - CONFIG_NOCACHE x-content-type-options: - nosniff + x-msedge-ref: + - 'Ref A: DAF0B63C173E47A4A7BAFB734B6B7721 Ref B: MAA201060516017 Ref C: 2024-06-25T19:17:28Z' status: code: 200 message: OK @@ -245,9 +247,9 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group --yes User-Agent: - - AZURECLI/2.55.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.7 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_profile_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile?api-version=2023-07-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_profile_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile?api-version=2023-08-01-preview response: body: string: '' @@ -257,17 +259,21 @@ interactions: content-length: - '0' date: - - Tue, 12 Dec 2023 13:29:34 GMT + - Tue, 25 Jun 2024 19:17:31 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-deletes: - - '14998' + - '14999' + x-msedge-ref: + - 'Ref A: 1FC8B2C3DC2D44A08F5D2C3B9CD9A476 Ref B: MAA201060513011 Ref C: 2024-06-25T19:17:31Z' status: code: 200 message: OK diff --git a/src/nsp/azext_nsp/tests/latest/test_nsp.py b/src/nsp/azext_nsp/tests/latest/test_nsp.py index 7d6945ea446..eba87500dad 100644 --- a/src/nsp/azext_nsp/tests/latest/test_nsp.py +++ b/src/nsp/azext_nsp/tests/latest/test_nsp.py @@ -60,13 +60,13 @@ def test_nsp_accessrule_crud(self, resource_group): self.cmd('az network perimeter profile access-rule create --name {accessrule_name} --profile-name {profile_name} --perimeter-name {nsp_name} --resource-group {rg} --fqdn "[\'www.abc.com\', \'www.google.com\']" --direction "Outbound"') self.cmd('az network perimeter profile access-rule show --name {accessrule_name} --profile-name {profile_name} --perimeter-name {nsp_name} --resource-group {rg}', checks=[ - self.check('properties.fullyQualifiedDomainNames', "[\'www.abc.com\', \'www.google.com\']") + self.check('fullyQualifiedDomainNames', "[\'www.abc.com\', \'www.google.com\']") ]) self.cmd('az network perimeter profile access-rule update --name {accessrule_name} --profile-name {profile_name} --perimeter-name {nsp_name} --resource-group {rg} --fqdn "[\'www.abc.com\']" --direction "Outbound"') self.cmd('az network perimeter profile access-rule show --name {accessrule_name} --profile-name {profile_name} --perimeter-name {nsp_name} --resource-group {rg}', checks=[ - self.check('properties.fullyQualifiedDomainNames', "[\'www.abc.com\']") + self.check('fullyQualifiedDomainNames', "[\'www.abc.com\']") ]) self.cmd('network perimeter profile access-rule list --perimeter-name {nsp_name} --profile-name {profile_name} --resource-group {rg}') @@ -91,12 +91,12 @@ def test_nsp_accessrule_inbound(self, resource_group): # IP based access rule self.cmd('az network perimeter profile access-rule create --name {ip_accessrule_name} --profile-name {profile_name} --perimeter-name {nsp_name} --resource-group {rg} --address-prefixes "[10.10.0.0/16]"', checks=[ - self.check('properties.addressPrefixes', "['10.10.0.0/16']") + self.check('addressPrefixes', "['10.10.0.0/16']") ]) # Subscription based access rule self.cmd('az network perimeter profile access-rule create --name {sub_accessrule_name} --profile-name {profile_name} --perimeter-name {nsp_name} --resource-group {rg} --subscriptions [0].id="/subscriptions/{sub}"', checks=[ - self.check('properties.subscriptions[0].id', "/subscriptions/{sub}") + self.check('subscriptions[0].id', "/subscriptions/{sub}") ]) """ @@ -104,7 +104,7 @@ def test_nsp_accessrule_inbound(self, resource_group): self.cmd('network perimeter create --name nsp_for_rule -l eastus2euap --resource-group {rg}') self.cmd('az network perimeter profile access-rule create --name {nsp_accessrule_name} --profile-name {profile_name} --perimeter-name {nsp_name} --resource-group {rg} --nsp [0].id="/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Network/networkSecurityPerimeters/nsp_for_rule"', checks=[ - self.check('properties.networkSecurityPerimeters[0].id', "/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Network/networkSecurityPerimeters/nsp_for_rule") + self.check('networkSecurityPerimeters[0].id', "/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Network/networkSecurityPerimeters/nsp_for_rule") ]) """ @@ -121,7 +121,7 @@ def test_nsp_association_crud(self, resource_group): 'nsp_name': 'TestNetworkSecurityPerimeter', 'profile_name': 'TestNspProfile', 'association_name': 'TestNspAssociation', - 'resource_name': 'kvclinsp17', + 'resource_name': 'kvclinsp18', 'sub': self.get_subscription_id() }) @@ -135,7 +135,7 @@ def test_nsp_association_crud(self, resource_group): '--profile id="/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Network/networkSecurityPerimeters/{nsp_name}/profiles/{profile_name}"') self.cmd('network perimeter association show --name {association_name} --perimeter-name {nsp_name} --resource-group {rg}', checks=[ - self.check('properties.accessMode', 'Learning') + self.check('accessMode', 'Learning') ]) self.cmd('network perimeter association update --name {association_name} --perimeter-name {nsp_name} --resource-group {rg} --access-mode Enforced ' @@ -143,7 +143,7 @@ def test_nsp_association_crud(self, resource_group): '--profile id="/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Network/networkSecurityPerimeters/{nsp_name}/profiles/{profile_name}"') self.cmd('network perimeter association show --name {association_name} --perimeter-name {nsp_name} --resource-group {rg}', checks=[ - self.check('properties.accessMode', 'Enforced') + self.check('accessMode', 'Enforced') ]) self.cmd('network perimeter association list --perimeter-name {nsp_name} --resource-group {rg}') From 91483e85f47d8252c905cc97e2d47cdb1484b919 Mon Sep 17 00:00:00 2001 From: Bhupesh Bhatt Date: Wed, 26 Jun 2024 11:21:07 +0530 Subject: [PATCH 09/21] added tests for service tag --- .../recordings/test_nsp_accessrule_crud.yaml | 60 +++---- .../test_nsp_accessrule_inbound.yaml | 157 ++++++++++++++---- .../recordings/test_nsp_association_crud.yaml | 106 ++++++------ .../latest/recordings/test_nsp_crud.yaml | 36 ++-- .../test_nsp_link_linkreference_crud.yaml | 108 ++++++------ .../recordings/test_nsp_profile_crud.yaml | 30 ++-- src/nsp/azext_nsp/tests/latest/test_nsp.py | 6 + 7 files changed, 302 insertions(+), 201 deletions(-) diff --git a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_accessrule_crud.yaml b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_accessrule_crud.yaml index ba7eb570175..77002962592 100644 --- a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_accessrule_crud.yaml +++ b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_accessrule_crud.yaml @@ -22,7 +22,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"0c6b7fdc-c1bc-4904-9530-9d0acfc2929c","provisioningState":"Succeeded"}}' + string: '{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"d0437cdb-849f-4ac6-beca-f6350e2b6140","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -31,7 +31,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:00 GMT + - Wed, 26 Jun 2024 05:47:54 GMT expires: - '-1' pragma: @@ -45,7 +45,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '1199' x-msedge-ref: - - 'Ref A: 01BF0F2876C94235B372334D7484B2F3 Ref B: MAA201060516053 Ref C: 2024-06-25T19:16:54Z' + - 'Ref A: 423494EE551442BE9648EA58890475D9 Ref B: MAA201060514027 Ref C: 2024-06-26T05:47:50Z' status: code: 200 message: OK @@ -68,7 +68,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_nsp_accessrule_crud000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001","name":"test_nsp_accessrule_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_crud","date":"2024-06-25T19:16:48Z","module":"nsp","Created":"2024-06-25T19:16:50.3735450Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001","name":"test_nsp_accessrule_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_crud","date":"2024-06-26T05:47:43Z","module":"nsp","Created":"2024-06-26T05:47:45.3332754Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -77,7 +77,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:01 GMT + - Wed, 26 Jun 2024 05:47:55 GMT expires: - '-1' pragma: @@ -89,7 +89,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: D54184BE3E1A447EA6640E826B26ACD7 Ref B: MAA201060513039 Ref C: 2024-06-25T19:17:01Z' + - 'Ref A: 0852AB865DE341079FF339E32F315907 Ref B: MAA201060516011 Ref C: 2024-06-26T05:47:55Z' status: code: 200 message: OK @@ -125,7 +125,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:02 GMT + - Wed, 26 Jun 2024 05:47:56 GMT expires: - '-1' pragma: @@ -137,9 +137,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' x-msedge-ref: - - 'Ref A: D53FFE4EB4A740F39C81887E34E040DD Ref B: MAA201060515053 Ref C: 2024-06-25T19:17:01Z' + - 'Ref A: B3BD3625B77F4F4C96C79B500DD43ADA Ref B: MAA201060516031 Ref C: 2024-06-26T05:47:56Z' status: code: 200 message: OK @@ -162,7 +162,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_nsp_accessrule_crud000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001","name":"test_nsp_accessrule_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_crud","date":"2024-06-25T19:16:48Z","module":"nsp","Created":"2024-06-25T19:16:50.3735450Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001","name":"test_nsp_accessrule_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_crud","date":"2024-06-26T05:47:43Z","module":"nsp","Created":"2024-06-26T05:47:45.3332754Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -171,7 +171,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:02 GMT + - Wed, 26 Jun 2024 05:47:56 GMT expires: - '-1' pragma: @@ -183,7 +183,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: 2710B01992E243C3B613F44BBA39BC13 Ref B: MAA201060516051 Ref C: 2024-06-25T19:17:03Z' + - 'Ref A: C401206DAEBB4F418B92C727E03C071B Ref B: MAA201060514023 Ref C: 2024-06-26T05:47:57Z' status: code: 200 message: OK @@ -220,7 +220,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:04 GMT + - Wed, 26 Jun 2024 05:48:00 GMT expires: - '-1' pragma: @@ -232,9 +232,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' x-msedge-ref: - - 'Ref A: 1937AC4C5C1E498EA9B9E34B5B0EE40F Ref B: MAA201060513039 Ref C: 2024-06-25T19:17:03Z' + - 'Ref A: F8DF56E120FC45D69815A512C8050993 Ref B: MAA201060515039 Ref C: 2024-06-26T05:47:57Z' status: code: 200 message: OK @@ -266,7 +266,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:05 GMT + - Wed, 26 Jun 2024 05:48:02 GMT expires: - '-1' pragma: @@ -278,7 +278,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: F3DFD7FFD4B6445DB80FE08271990B73 Ref B: MAA201060515025 Ref C: 2024-06-25T19:17:04Z' + - 'Ref A: 83871548EB6A4710A5E5AD6DFAD56D76 Ref B: MAA201060514011 Ref C: 2024-06-26T05:48:00Z' status: code: 200 message: OK @@ -301,7 +301,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_nsp_accessrule_crud000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001","name":"test_nsp_accessrule_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_crud","date":"2024-06-25T19:16:48Z","module":"nsp","Created":"2024-06-25T19:16:50.3735450Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001","name":"test_nsp_accessrule_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_crud","date":"2024-06-26T05:47:43Z","module":"nsp","Created":"2024-06-26T05:47:45.3332754Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -310,7 +310,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:06 GMT + - Wed, 26 Jun 2024 05:48:02 GMT expires: - '-1' pragma: @@ -322,7 +322,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: 300EC73E8E2948A8BF1F318940A3BF9A Ref B: MAA201060514045 Ref C: 2024-06-25T19:17:06Z' + - 'Ref A: CE89C934FDA34367AF4F9F9236194A8B Ref B: MAA201060515019 Ref C: 2024-06-26T05:48:03Z' status: code: 200 message: OK @@ -354,7 +354,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:08 GMT + - Wed, 26 Jun 2024 05:48:03 GMT expires: - '-1' pragma: @@ -366,7 +366,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: 411684992014474AA7CD81D3FE1640B3 Ref B: MAA201060516031 Ref C: 2024-06-25T19:17:06Z' + - 'Ref A: CDFD8D5436CE46C7B84ADB40F56C27F3 Ref B: MAA201060514051 Ref C: 2024-06-26T05:48:03Z' status: code: 200 message: OK @@ -404,7 +404,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:10 GMT + - Wed, 26 Jun 2024 05:48:05 GMT expires: - '-1' pragma: @@ -418,7 +418,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '1199' x-msedge-ref: - - 'Ref A: AA471E8D8BF04759A8A310AD8B01F758 Ref B: MAA201060516031 Ref C: 2024-06-25T19:17:08Z' + - 'Ref A: FADE2037A4D24BA3A9D36D328F6D2ACF Ref B: MAA201060514051 Ref C: 2024-06-26T05:48:04Z' status: code: 200 message: OK @@ -450,7 +450,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:12 GMT + - Wed, 26 Jun 2024 05:48:07 GMT expires: - '-1' pragma: @@ -462,7 +462,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: 8BA3A52E402E4FEEB416B5A27A8FA47B Ref B: MAA201060513053 Ref C: 2024-06-25T19:17:11Z' + - 'Ref A: 40544317B5DD4FCF9B9A6FC79CE24E1B Ref B: MAA201060515029 Ref C: 2024-06-26T05:48:06Z' status: code: 200 message: OK @@ -494,7 +494,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:13 GMT + - Wed, 26 Jun 2024 05:48:09 GMT expires: - '-1' pragma: @@ -506,7 +506,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: 8BD26926FDA3470292405055FA6CABE7 Ref B: MAA201060513031 Ref C: 2024-06-25T19:17:13Z' + - 'Ref A: BA254DED199C412080D5783F9575A5D5 Ref B: MAA201060515027 Ref C: 2024-06-26T05:48:08Z' status: code: 200 message: OK @@ -538,7 +538,7 @@ interactions: content-length: - '0' date: - - Tue, 25 Jun 2024 19:17:16 GMT + - Wed, 26 Jun 2024 05:48:11 GMT expires: - '-1' pragma: @@ -552,7 +552,7 @@ interactions: x-ms-ratelimit-remaining-subscription-deletes: - '14999' x-msedge-ref: - - 'Ref A: 3DC76D94109743A29A73732208F682F5 Ref B: MAA201060516049 Ref C: 2024-06-25T19:17:14Z' + - 'Ref A: 57353C376C684444BC23F25BC5ADAA13 Ref B: MAA201060513011 Ref C: 2024-06-26T05:48:11Z' status: code: 200 message: OK diff --git a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_accessrule_inbound.yaml b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_accessrule_inbound.yaml index 55ab43b7283..e2e503de910 100644 --- a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_accessrule_inbound.yaml +++ b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_accessrule_inbound.yaml @@ -22,7 +22,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"10fc6bfc-bdba-42e7-8339-9c77467f86df","provisioningState":"Succeeded"}}' + string: '{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"a73eac15-73de-443c-b15f-b2bb9ec795a0","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -31,7 +31,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:16:58 GMT + - Wed, 26 Jun 2024 05:47:54 GMT expires: - '-1' pragma: @@ -43,9 +43,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' x-msedge-ref: - - 'Ref A: 4BA0917CEB484D67A77ED301EF1A0905 Ref B: MAA201060515021 Ref C: 2024-06-25T19:16:54Z' + - 'Ref A: B98AE3BB5A624F95AEB65EBE6A12CA73 Ref B: MAA201060513025 Ref C: 2024-06-26T05:47:50Z' status: code: 200 message: OK @@ -68,7 +68,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_nsp_accessrule_inbound000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001","name":"test_nsp_accessrule_inbound000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_inbound","date":"2024-06-25T19:16:48Z","module":"nsp","Created":"2024-06-25T19:16:50.6237042Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001","name":"test_nsp_accessrule_inbound000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_inbound","date":"2024-06-26T05:47:43Z","module":"nsp","Created":"2024-06-26T05:47:45.3492823Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -77,7 +77,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:16:58 GMT + - Wed, 26 Jun 2024 05:47:55 GMT expires: - '-1' pragma: @@ -89,7 +89,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: 084D7853CDBF418DB313EA2537382904 Ref B: MAA201060515031 Ref C: 2024-06-25T19:16:58Z' + - 'Ref A: C77E3C815C4D42308C7FFAB8215BDD97 Ref B: MAA201060514035 Ref C: 2024-06-26T05:47:55Z' status: code: 200 message: OK @@ -125,7 +125,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:16:59 GMT + - Wed, 26 Jun 2024 05:47:58 GMT expires: - '-1' pragma: @@ -139,7 +139,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '1199' x-msedge-ref: - - 'Ref A: 4080255350DA4838A5A8C207599BCAA8 Ref B: MAA201060513031 Ref C: 2024-06-25T19:16:59Z' + - 'Ref A: 114F458428F942938C13E540CAB7D27E Ref B: MAA201060514039 Ref C: 2024-06-26T05:47:55Z' status: code: 200 message: OK @@ -162,7 +162,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_nsp_accessrule_inbound000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001","name":"test_nsp_accessrule_inbound000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_inbound","date":"2024-06-25T19:16:48Z","module":"nsp","Created":"2024-06-25T19:16:50.6237042Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001","name":"test_nsp_accessrule_inbound000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_inbound","date":"2024-06-26T05:47:43Z","module":"nsp","Created":"2024-06-26T05:47:45.3492823Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -171,7 +171,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:00 GMT + - Wed, 26 Jun 2024 05:47:58 GMT expires: - '-1' pragma: @@ -183,7 +183,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: D2D83B7159E1466B9B758B0DEEA0BE74 Ref B: MAA201060515019 Ref C: 2024-06-25T19:17:01Z' + - 'Ref A: 49A49C003B524A0FA7196F987FCC9097 Ref B: MAA201060514023 Ref C: 2024-06-26T05:47:58Z' status: code: 200 message: OK @@ -220,7 +220,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:03 GMT + - Wed, 26 Jun 2024 05:48:01 GMT expires: - '-1' pragma: @@ -232,9 +232,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-msedge-ref: - - 'Ref A: 8433FC48D2D3479C9EB39BD90EB7FBCD Ref B: MAA201060514023 Ref C: 2024-06-25T19:17:01Z' + - 'Ref A: DDD4A94E1BF34131A0F20FD4AD1548E1 Ref B: MAA201060513027 Ref C: 2024-06-26T05:47:59Z' status: code: 200 message: OK @@ -257,7 +257,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_nsp_accessrule_inbound000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001","name":"test_nsp_accessrule_inbound000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_inbound","date":"2024-06-25T19:16:48Z","module":"nsp","Created":"2024-06-25T19:16:50.6237042Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001","name":"test_nsp_accessrule_inbound000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_inbound","date":"2024-06-26T05:47:43Z","module":"nsp","Created":"2024-06-26T05:47:45.3492823Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -266,7 +266,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:02 GMT + - Wed, 26 Jun 2024 05:48:01 GMT expires: - '-1' pragma: @@ -278,7 +278,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: 8904EB47B478433E9DF096AC00FF9260 Ref B: MAA201060514049 Ref C: 2024-06-25T19:17:03Z' + - 'Ref A: 27F1947FCFEF4CDFA4602BADD9A06AC9 Ref B: MAA201060514025 Ref C: 2024-06-26T05:48:02Z' status: code: 200 message: OK @@ -315,7 +315,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:05 GMT + - Wed, 26 Jun 2024 05:48:04 GMT expires: - '-1' pragma: @@ -329,7 +329,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '1199' x-msedge-ref: - - 'Ref A: 5ABA60958883403B90744C587922531A Ref B: MAA201060514047 Ref C: 2024-06-25T19:17:03Z' + - 'Ref A: 758BB6A311E645CC8C6E530ECFE58643 Ref B: MAA201060514045 Ref C: 2024-06-26T05:48:02Z' status: code: 200 message: OK @@ -353,7 +353,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_nsp_accessrule_inbound000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001","name":"test_nsp_accessrule_inbound000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_inbound","date":"2024-06-25T19:16:48Z","module":"nsp","Created":"2024-06-25T19:16:50.6237042Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001","name":"test_nsp_accessrule_inbound000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_inbound","date":"2024-06-26T05:47:43Z","module":"nsp","Created":"2024-06-26T05:47:45.3492823Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -362,7 +362,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:05 GMT + - Wed, 26 Jun 2024 05:48:05 GMT expires: - '-1' pragma: @@ -374,7 +374,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: 7BD28D382C7F4F13A884137C53C9D4E3 Ref B: MAA201060513027 Ref C: 2024-06-25T19:17:05Z' + - 'Ref A: 6024081DB2F049329809D65A6E7B4A0A Ref B: MAA201060515039 Ref C: 2024-06-26T05:48:04Z' status: code: 200 message: OK @@ -412,7 +412,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:07 GMT + - Wed, 26 Jun 2024 05:48:08 GMT expires: - '-1' pragma: @@ -424,9 +424,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-msedge-ref: - - 'Ref A: 0878E215639747FF96C87DCD42B6A62C Ref B: MAA201060514031 Ref C: 2024-06-25T19:17:06Z' + - 'Ref A: 18C8E3ACD45F4552B9D70212870C280E Ref B: MAA201060514037 Ref C: 2024-06-26T05:48:05Z' status: code: 200 message: OK @@ -449,7 +449,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_nsp_accessrule_inbound000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001","name":"test_nsp_accessrule_inbound000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_inbound","date":"2024-06-25T19:16:48Z","module":"nsp","Created":"2024-06-25T19:16:50.6237042Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001","name":"test_nsp_accessrule_inbound000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_inbound","date":"2024-06-26T05:47:43Z","module":"nsp","Created":"2024-06-26T05:47:45.3492823Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -458,7 +458,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:07 GMT + - Wed, 26 Jun 2024 05:48:08 GMT expires: - '-1' pragma: @@ -470,7 +470,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: 00F85D451F0140528A23780CA6F9B0DD Ref B: MAA201060516025 Ref C: 2024-06-25T19:17:08Z' + - 'Ref A: 5AC59970226F4FE9B06995208614E38E Ref B: MAA201060513039 Ref C: 2024-06-26T05:48:08Z' status: code: 200 message: OK @@ -508,7 +508,102 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:10 GMT + - Wed, 26 Jun 2024 05:48:09 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' + x-msedge-ref: + - 'Ref A: 5381F3AB3CA347028D1DC3E127197AED Ref B: MAA201060516049 Ref C: 2024-06-26T05:48:08Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network perimeter profile access-rule create + Connection: + - keep-alive + ParameterSetName: + - --name --profile-name --perimeter-name --resource-group --service-tags + User-Agent: + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_nsp_accessrule_inbound000001?api-version=2022-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001","name":"test_nsp_accessrule_inbound000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_accessrule_inbound","date":"2024-06-26T05:47:43Z","module":"nsp","Created":"2024-06-26T05:47:45.3492823Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '442' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jun 2024 05:48: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: 0FEF71B46B8346EE9238BAC8A3121A22 Ref B: MAA201060515011 Ref C: 2024-06-26T05:48:11Z' + status: + code: 200 + message: OK +- request: + body: '{"location": "eastus2euap", "name": "TestNspAccessRule_servicetag", "properties": + {"serviceTags": ["MicrosoftPublicIPSpace"]}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network perimeter profile access-rule create + Connection: + - keep-alive + Content-Length: + - '126' + Content-Type: + - application/json + ParameterSetName: + - --name --profile-name --perimeter-name --resource-group --service-tags + User-Agent: + - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule_servicetag?api-version=2023-08-01-preview + response: + body: + string: '{"name":"TestNspAccessRule_servicetag","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_inbound000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile/accessRules/TestNspAccessRule_servicetag","type":"Microsoft.Network/networkSecurityPerimeters/profiles/accessRules","properties":{"provisioningState":"Succeeded","direction":"Inbound","addressPrefixes":[],"fullyQualifiedDomainNames":[],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[],"serviceTags":["MicrosoftPublicIPSpace"]}}' + headers: + cache-control: + - no-cache + content-length: + - '619' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 Jun 2024 05:48:16 GMT expires: - '-1' pragma: @@ -522,7 +617,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '1199' x-msedge-ref: - - 'Ref A: 6955DE80EFC34FBAA02D7543E774346D Ref B: MAA201060515021 Ref C: 2024-06-25T19:17:08Z' + - 'Ref A: C0F58E8B6FEF47E8A5FDE0C9B5A6B189 Ref B: MAA201060513047 Ref C: 2024-06-26T05:48:11Z' status: code: 200 message: OK diff --git a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_association_crud.yaml b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_association_crud.yaml index 164b3045abc..648dea99f3b 100644 --- a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_association_crud.yaml +++ b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_association_crud.yaml @@ -22,7 +22,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"d08d9407-135b-45d6-80b7-32e39aa37dd2","provisioningState":"Succeeded"}}' + string: '{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"2452a2d9-be7a-416c-916f-d5ee7b67dff8","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -31,7 +31,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:19:20 GMT + - Wed, 26 Jun 2024 05:45:39 GMT expires: - '-1' pragma: @@ -45,7 +45,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '1199' x-msedge-ref: - - 'Ref A: 82731FD99F844F15869C15EB6577CE75 Ref B: MAA201060514009 Ref C: 2024-06-25T19:19:15Z' + - 'Ref A: 80F88BC93A5D495E9FB3EFF035D90ECF Ref B: MAA201060514045 Ref C: 2024-06-26T05:45:35Z' status: code: 200 message: OK @@ -68,7 +68,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_nsp_association_crud000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001","name":"test_nsp_association_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_association_crud","date":"2024-06-25T19:19:12Z","module":"nsp","Created":"2024-06-25T19:19:13.3921696Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001","name":"test_nsp_association_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_association_crud","date":"2024-06-26T05:45:28Z","module":"nsp","Created":"2024-06-26T05:45:29.9330613Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -77,7 +77,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:19:20 GMT + - Wed, 26 Jun 2024 05:45:39 GMT expires: - '-1' pragma: @@ -89,7 +89,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: C1DDCA14DEC84F6FA4D72558DB1A5996 Ref B: MAA201060516047 Ref C: 2024-06-25T19:19:20Z' + - 'Ref A: 6D67DE8FFF8B4DC39383163D4FBEC237 Ref B: MAA201060515027 Ref C: 2024-06-26T05:45:39Z' status: code: 200 message: OK @@ -125,7 +125,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:19:21 GMT + - Wed, 26 Jun 2024 05:45:43 GMT expires: - '-1' pragma: @@ -137,9 +137,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-msedge-ref: - - 'Ref A: BED5F2D9DD4C42E09A6784DAF5D32777 Ref B: MAA201060513045 Ref C: 2024-06-25T19:19:20Z' + - 'Ref A: 8E461FD9C02044A19A35F562D3DB9153 Ref B: MAA201060513031 Ref C: 2024-06-26T05:45:40Z' status: code: 200 message: OK @@ -173,7 +173,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:19:22 GMT + - Wed, 26 Jun 2024 05:45:44 GMT expires: - '-1' pragma: @@ -187,7 +187,7 @@ interactions: x-ms-failure-cause: - gateway x-msedge-ref: - - 'Ref A: 5A800A4377A64018ADDCA8B806C272AA Ref B: MAA201060513021 Ref C: 2024-06-25T19:19:22Z' + - 'Ref A: D051D3CB79FD423D812A4942A63411E2 Ref B: MAA201060514051 Ref C: 2024-06-26T05:45:44Z' status: code: 404 message: Not Found @@ -217,7 +217,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp18?api-version=2023-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp18","name":"kvclinsp18","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{},"systemData":{"createdBy":"bhupeshbhatt@microsoft.com","createdByType":"User","createdAt":"2024-06-25T19:19:26.913Z","lastModifiedBy":"bhupeshbhatt@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-06-25T19:19:26.913Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":true,"vaultUri":"https://kvclinsp18.vault.azure.net","provisioningState":"RegisteringDns","publicNetworkAccess":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp18","name":"kvclinsp18","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{},"systemData":{"createdBy":"bhupeshbhatt@microsoft.com","createdByType":"User","createdAt":"2024-06-26T05:45:51.503Z","lastModifiedBy":"bhupeshbhatt@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-06-26T05:45:51.503Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":true,"vaultUri":"https://kvclinsp18.vault.azure.net","provisioningState":"RegisteringDns","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache @@ -226,7 +226,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:19:28 GMT + - Wed, 26 Jun 2024 05:45:53 GMT expires: - '-1' pragma: @@ -242,9 +242,9 @@ interactions: x-ms-keyvault-service-version: - 1.5.1232.0 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-msedge-ref: - - 'Ref A: 4B037C9504BD4C3A8585D56D08232E7F Ref B: MAA201060513021 Ref C: 2024-06-25T19:19:22Z' + - 'Ref A: 527FE5729B3248A9AE2260D948756221 Ref B: MAA201060514051 Ref C: 2024-06-26T05:45:44Z' status: code: 200 message: OK @@ -267,7 +267,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp18?api-version=2023-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp18","name":"kvclinsp18","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{},"systemData":{"createdBy":"bhupeshbhatt@microsoft.com","createdByType":"User","createdAt":"2024-06-25T19:19:26.913Z","lastModifiedBy":"bhupeshbhatt@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-06-25T19:19:26.913Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":true,"vaultUri":"https://kvclinsp18.vault.azure.net/","provisioningState":"RegisteringDns","publicNetworkAccess":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp18","name":"kvclinsp18","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{},"systemData":{"createdBy":"bhupeshbhatt@microsoft.com","createdByType":"User","createdAt":"2024-06-26T05:45:51.503Z","lastModifiedBy":"bhupeshbhatt@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-06-26T05:45:51.503Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":true,"vaultUri":"https://kvclinsp18.vault.azure.net/","provisioningState":"RegisteringDns","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache @@ -276,7 +276,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:19:29 GMT + - Wed, 26 Jun 2024 05:45:55 GMT expires: - '-1' pragma: @@ -292,7 +292,7 @@ interactions: x-ms-keyvault-service-version: - 1.5.1232.0 x-msedge-ref: - - 'Ref A: 9B4BCFDDBD594121842B0DFCB11F003E Ref B: MAA201060513021 Ref C: 2024-06-25T19:19:29Z' + - 'Ref A: 181DF25541504660BF3B1F660DE7B2F7 Ref B: MAA201060514051 Ref C: 2024-06-26T05:45:53Z' status: code: 200 message: OK @@ -315,7 +315,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp18?api-version=2023-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp18","name":"kvclinsp18","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{},"systemData":{"createdBy":"bhupeshbhatt@microsoft.com","createdByType":"User","createdAt":"2024-06-25T19:19:26.913Z","lastModifiedBy":"bhupeshbhatt@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-06-25T19:19:26.913Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":true,"vaultUri":"https://kvclinsp18.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp18","name":"kvclinsp18","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{},"systemData":{"createdBy":"bhupeshbhatt@microsoft.com","createdByType":"User","createdAt":"2024-06-26T05:45:51.503Z","lastModifiedBy":"bhupeshbhatt@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-06-26T05:45:51.503Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":true,"vaultUri":"https://kvclinsp18.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache @@ -324,7 +324,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:20:00 GMT + - Wed, 26 Jun 2024 05:46:26 GMT expires: - '-1' pragma: @@ -340,7 +340,7 @@ interactions: x-ms-keyvault-service-version: - 1.5.1232.0 x-msedge-ref: - - 'Ref A: 6F91D33832314038ABA8E80BC940F5B0 Ref B: MAA201060513021 Ref C: 2024-06-25T19:20:00Z' + - 'Ref A: 82E1DCA1F14F451C8C3CCD42D0066733 Ref B: MAA201060514051 Ref C: 2024-06-26T05:46:25Z' status: code: 200 message: OK @@ -364,7 +364,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_nsp_association_crud000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001","name":"test_nsp_association_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_association_crud","date":"2024-06-25T19:19:12Z","module":"nsp","Created":"2024-06-25T19:19:13.3921696Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001","name":"test_nsp_association_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_association_crud","date":"2024-06-26T05:45:28Z","module":"nsp","Created":"2024-06-26T05:45:29.9330613Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -373,7 +373,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:20:01 GMT + - Wed, 26 Jun 2024 05:46:26 GMT expires: - '-1' pragma: @@ -385,7 +385,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: 116C4BE23EE54882A424FBBD098C02F0 Ref B: MAA201060514033 Ref C: 2024-06-25T19:20:01Z' + - 'Ref A: AE67C491B04545CDB76895762129985A Ref B: MAA201060516019 Ref C: 2024-06-26T05:46:27Z' status: code: 200 message: OK @@ -424,7 +424,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:20:07 GMT + - Wed, 26 Jun 2024 05:46:32 GMT expires: - '-1' location: @@ -440,7 +440,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '1199' x-msedge-ref: - - 'Ref A: 04B468D2EB0F464693A7AA9D2ACA1EFF Ref B: MAA201060514025 Ref C: 2024-06-25T19:20:02Z' + - 'Ref A: BB5164764676400F89864CFA7EA43562 Ref B: MAA201060514045 Ref C: 2024-06-26T05:46:27Z' status: code: 201 message: Created @@ -472,7 +472,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:20:08 GMT + - Wed, 26 Jun 2024 05:46:35 GMT expires: - '-1' pragma: @@ -484,7 +484,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: 288CFEAE7E3C485AB39AB50F002C87D5 Ref B: MAA201060514047 Ref C: 2024-06-25T19:20:08Z' + - 'Ref A: 57BC979A6AF841E9940C11665ACFC1FA Ref B: MAA201060515047 Ref C: 2024-06-26T05:46:33Z' status: code: 200 message: OK @@ -508,7 +508,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_nsp_association_crud000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001","name":"test_nsp_association_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_association_crud","date":"2024-06-25T19:19:12Z","module":"nsp","Created":"2024-06-25T19:19:13.3921696Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001","name":"test_nsp_association_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_association_crud","date":"2024-06-26T05:45:28Z","module":"nsp","Created":"2024-06-26T05:45:29.9330613Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -517,7 +517,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:20:09 GMT + - Wed, 26 Jun 2024 05:46:35 GMT expires: - '-1' pragma: @@ -529,7 +529,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: 0518F4620C784C46BFB4E06CC52DCEC5 Ref B: MAA201060515049 Ref C: 2024-06-25T19:20:09Z' + - 'Ref A: 4D7B1D0A2C7B47D69C5597FBE1FE4F96 Ref B: MAA201060513037 Ref C: 2024-06-26T05:46:35Z' status: code: 200 message: OK @@ -562,7 +562,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:20:10 GMT + - Wed, 26 Jun 2024 05:46:38 GMT expires: - '-1' pragma: @@ -574,7 +574,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: EA938FA67C264AB7B6B9DDBD3F01CC40 Ref B: MAA201060515049 Ref C: 2024-06-25T19:20:09Z' + - 'Ref A: 3CD01F21D50F490EB19DB383C290F38F Ref B: MAA201060514037 Ref C: 2024-06-26T05:46:36Z' status: code: 200 message: OK @@ -613,7 +613,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:20:13 GMT + - Wed, 26 Jun 2024 05:46:40 GMT expires: - '-1' pragma: @@ -627,7 +627,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '1199' x-msedge-ref: - - 'Ref A: 2E35E5365D5E4D108E259EDBA8BC16D2 Ref B: MAA201060515049 Ref C: 2024-06-25T19:20:10Z' + - 'Ref A: 38ED1AF5500F45BA9925F9530204DA93 Ref B: MAA201060514037 Ref C: 2024-06-26T05:46:38Z' status: code: 200 message: OK @@ -659,7 +659,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:20:17 GMT + - Wed, 26 Jun 2024 05:46:42 GMT expires: - '-1' pragma: @@ -671,7 +671,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: FF7C6BC1F4B145A6B1449FAE5C5DA7C0 Ref B: MAA201060515035 Ref C: 2024-06-25T19:20:14Z' + - 'Ref A: BCC7A3E640744007BEFEADB074D33141 Ref B: MAA201060513033 Ref C: 2024-06-26T05:46:41Z' status: code: 200 message: OK @@ -703,7 +703,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:20:19 GMT + - Wed, 26 Jun 2024 05:46:44 GMT expires: - '-1' pragma: @@ -715,7 +715,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: 317D95D313CC41BE9D450902696CBC08 Ref B: MAA201060516009 Ref C: 2024-06-25T19:20:17Z' + - 'Ref A: 404F7DB293414103BBCC7AF8C243F684 Ref B: MAA201060514047 Ref C: 2024-06-26T05:46:43Z' status: code: 200 message: OK @@ -745,7 +745,7 @@ interactions: cache-control: - no-cache date: - - Tue, 25 Jun 2024 19:20:22 GMT + - Wed, 26 Jun 2024 05:46:47 GMT expires: - '-1' pragma: @@ -757,9 +757,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' x-msedge-ref: - - 'Ref A: 3C51657B4B044D5881AD2E84064BB6CE Ref B: MAA201060516027 Ref C: 2024-06-25T19:20:21Z' + - 'Ref A: 912458A466224276B7756D414B7F022D Ref B: MAA201060514039 Ref C: 2024-06-26T05:46:45Z' status: code: 204 message: No Content @@ -792,7 +792,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:20:24 GMT + - Wed, 26 Jun 2024 05:46:48 GMT expires: - '-1' pragma: @@ -804,7 +804,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: 50D3ED620973498ABE5BBF61DB06CE08 Ref B: MAA201060515011 Ref C: 2024-06-25T19:20:23Z' + - 'Ref A: DA6B3DE1393D4253ADE9403417C54C6D Ref B: MAA201060515053 Ref C: 2024-06-26T05:46:48Z' status: code: 404 message: Not Found @@ -836,7 +836,7 @@ interactions: content-length: - '0' date: - - Tue, 25 Jun 2024 19:20:34 GMT + - Wed, 26 Jun 2024 05:47:01 GMT expires: - '-1' pragma: @@ -852,9 +852,9 @@ interactions: x-ms-keyvault-service-version: - 1.5.1232.0 x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' x-msedge-ref: - - 'Ref A: A7353FF5299C4826992DD2CDE0CDC036 Ref B: MAA201060516049 Ref C: 2024-06-25T19:20:24Z' + - 'Ref A: 2233D36DB85A4760B1DC5B62770BC84E Ref B: MAA201060513029 Ref C: 2024-06-26T05:46:49Z' status: code: 200 message: OK @@ -877,7 +877,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2euap/deletedVaults/kvclinsp18?api-version=2023-02-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2euap/deletedVaults/kvclinsp18","name":"kvclinsp18","type":"Microsoft.KeyVault/deletedVaults","properties":{"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp18","location":"eastus2euap","tags":{},"deletionDate":"2024-06-25T19:20:27Z","scheduledPurgeDate":"2024-09-23T19:20:27Z"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2euap/deletedVaults/kvclinsp18","name":"kvclinsp18","type":"Microsoft.KeyVault/deletedVaults","properties":{"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp18","location":"eastus2euap","tags":{},"deletionDate":"2024-06-26T05:46:53Z","scheduledPurgeDate":"2024-09-24T05:46:53Z"}}' headers: cache-control: - no-cache @@ -886,7 +886,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:20:35 GMT + - Wed, 26 Jun 2024 05:47:01 GMT expires: - '-1' pragma: @@ -902,7 +902,7 @@ interactions: x-ms-keyvault-service-version: - 1.5.1232.0 x-msedge-ref: - - 'Ref A: 2A7A1D5F5EA24304875DB17328E9C284 Ref B: MAA201060514025 Ref C: 2024-06-25T19:20:35Z' + - 'Ref A: E8D8A78F3587401899BC5E53DFFCB725 Ref B: MAA201060514027 Ref C: 2024-06-26T05:47:01Z' status: code: 200 message: OK @@ -934,11 +934,11 @@ interactions: content-length: - '0' date: - - Tue, 25 Jun 2024 19:20:36 GMT + - Wed, 26 Jun 2024 05:47:03 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2euap/operationResults/VVR8MDYzODU0OTQwMDM4MDExNjM3OHxFMzZBRUM4NDFDNDI0REI3OTNBRTZDN0NFODE1MEIxRQ?api-version=2023-02-01&t=638549400371575584&c=MIIHpTCCBo2gAwIBAgITOgMJv4NI248BpRyCkQAEAwm_gzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNTEzMTg0NjEyWhcNMjUwNTA4MTg0NjEyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANM7sh1dTQ2AdkFHAuyltl2T-1kWKGjxWhy8uikgfDiO8VLCKHdmKXbqVV0WSCWok1t0TM74xsOvPH4BZTWtcKfgRoIxaPkqFbV9YcbbiZiekIRFG-9QyriJhn76tLY5GvcqSF--T9GFkoK43ApcnwPAZuQSXYF428gsQUzUNXiF9leBz2bsde3LktLeDA1uf41hKUz7hsBPGwHx1rhVW2RVOPoPTMNG88rDGIKAK7ogfPEbWkGVb6UxmY_YMTZ--0jaub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KRXTZNuW49uVuEWyXmxpIjTUdGhFjEAJ7WXe7Z2sCnQwR-2SR9sr9eqFvHvW6okfW4kwCX8h0Fpkv9NLbqgr6E3oC1OYEogCB8F48sS3eSLj4vT_6Kdz4hNnIzrj37jGeXCurIZrjsTXIuJUGhzSIsdRmOu8tjDQ7AJht6C9rm-UEdcDfQHJoodRUxmdp1RaDiXVWdYbIzrbrCP96VXp6r3duesqk1cg&h=WL6Mn6KAtHe2k1TxP-Fs2H92a7Zba3fSOm_v0_4Ndf4 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2euap/operationResults/VVR8MDYzODU0OTc3NjI0NjYwODQwN3wyOERBMDFDN0IzMzI0NTUyODg0MUE3Nzg4MDcyNTU3NQ?api-version=2023-02-01&t=638549776238347320&c=MIIHpTCCBo2gAwIBAgITfwNG4ZeD5k5i3v_jpQAEA0bhlzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNTIwMjMwODIzWhcNMjUwNTE1MjMwODIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJwiNvhGW_0dpQ5rbD7q8Lu0A6U9gWRFYyjyDnUnQa5Lp1m8pau25URfvTepPkos0FkMC2QIQRWMW4Rm_rZajhjQVw1j7eLS2X2ca6kd9B6tMzjQfrb5xixBdFQNxM_gWyx3m5NZDRmm_zRzhVrhg-tjB16aZQdgt1gx6v8KyMQaa7qkvbsEuTqCp1h6k76OS63lmt64gTD7Xo6GFo_doO4BjG1ORDhwIch3_8kvd0GVlG7Es8zAuSaLEBKR7bLGCQWa38L37aNRck85TOFkB1l6m0iojrvY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uup6ju7j5cfbIfmnUDuAmgMeU_1ck7XAxiPwTmDpwb9DrP2--fq3ImY4t3N18sJw2VgPGi_lFAp8mEVV4wEWYDwdfUYKPhdSXeSUjcgRJev_RKoYHUjXDC7zhXg3h-2QDToFjUsXGScL4Zp4LmrJXTLsD3EqBVAWXC9TKzcK5PG_aiqf4-6_uvjK7a4sY98geJpQ&h=TgVW5uXfAoiE56hf41YWqJ7k1-eVQxwswUrLkL4u9bs pragma: - no-cache strict-transport-security: @@ -954,7 +954,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '1199' x-msedge-ref: - - 'Ref A: 6E20779F2EE14CD09B1C827C4A998D79 Ref B: MAA201060516025 Ref C: 2024-06-25T19:20:36Z' + - 'Ref A: 1CB6741616354E949F2E17A2D10B54CF Ref B: MAA201060513021 Ref C: 2024-06-26T05:47:02Z' status: code: 202 message: Accepted diff --git a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_crud.yaml b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_crud.yaml index 72a30e88386..6b2a47b2f73 100644 --- a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_crud.yaml +++ b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_crud.yaml @@ -22,7 +22,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"575ff36e-503e-47c8-9577-8dd38109210e","provisioningState":"Succeeded"}}' + string: '{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"e3d8ef3f-d500-4836-aa34-84df16728f9f","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -31,7 +31,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:16:56 GMT + - Wed, 26 Jun 2024 05:47:53 GMT expires: - '-1' pragma: @@ -45,7 +45,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '1199' x-msedge-ref: - - 'Ref A: 661727084BAB4B0D8D0EA384D291115D Ref B: MAA201060515019 Ref C: 2024-06-25T19:16:53Z' + - 'Ref A: 24D7F5C51E7742D89F2E344EF8B88A3A Ref B: MAA201060515049 Ref C: 2024-06-26T05:47:48Z' status: code: 200 message: OK @@ -68,7 +68,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"575ff36e-503e-47c8-9577-8dd38109210e","provisioningState":"Succeeded"}}' + string: '{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"e3d8ef3f-d500-4836-aa34-84df16728f9f","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -77,7 +77,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:16:59 GMT + - Wed, 26 Jun 2024 05:47:55 GMT expires: - '-1' pragma: @@ -89,7 +89,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: 3F51565166224645B6AF2077970609D3 Ref B: MAA201060513019 Ref C: 2024-06-25T19:16:57Z' + - 'Ref A: 60620255261D4DEA804E11CD78C78D34 Ref B: MAA201060513037 Ref C: 2024-06-26T05:47:54Z' status: code: 200 message: OK @@ -112,7 +112,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_crud000001/providers/Microsoft.Network/networkSecurityPerimeters?api-version=2023-08-01-preview response: body: - string: '{"nextLink":"","value":[{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"575ff36e-503e-47c8-9577-8dd38109210e","provisioningState":"Succeeded"}}]}' + string: '{"nextLink":"","value":[{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"e3d8ef3f-d500-4836-aa34-84df16728f9f","provisioningState":"Succeeded"}}]}' headers: cache-control: - no-cache @@ -121,7 +121,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:00 GMT + - Wed, 26 Jun 2024 05:47:57 GMT expires: - '-1' pragma: @@ -133,7 +133,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: 3EE743B6BAAC465293D73658204E91FA Ref B: MAA201060516049 Ref C: 2024-06-25T19:16:59Z' + - 'Ref A: EF77CFE810694F8491B2E01C80EA50E7 Ref B: MAA201060514009 Ref C: 2024-06-26T05:47:56Z' status: code: 200 message: OK @@ -165,7 +165,7 @@ interactions: content-length: - '0' date: - - Tue, 25 Jun 2024 19:17:10 GMT + - Wed, 26 Jun 2024 05:48:09 GMT expires: - '-1' pragma: @@ -179,7 +179,7 @@ interactions: x-ms-ratelimit-remaining-subscription-deletes: - '14999' x-msedge-ref: - - 'Ref A: 692C65A37A9B41CABBF0F0B5EFC8CAAA Ref B: MAA201060515035 Ref C: 2024-06-25T19:17:01Z' + - 'Ref A: 7D14D413BD344FE29B6164C3AB0A7685 Ref B: MAA201060516049 Ref C: 2024-06-26T05:47:58Z' status: code: 200 message: OK @@ -211,7 +211,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:13 GMT + - Wed, 26 Jun 2024 05:48:11 GMT expires: - '-1' pragma: @@ -223,7 +223,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: 6665A4460EB94C569977C65F316D410E Ref B: MAA201060516017 Ref C: 2024-06-25T19:17:11Z' + - 'Ref A: AC82254543054D23B07371AD6EC93066 Ref B: MAA201060514053 Ref C: 2024-06-26T05:48:10Z' status: code: 200 message: OK @@ -255,7 +255,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:14 GMT + - Wed, 26 Jun 2024 05:48:13 GMT expires: - '-1' pragma: @@ -267,7 +267,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: 8E474127B7F44014BDEC341A9D0FBB84 Ref B: MAA201060516017 Ref C: 2024-06-25T19:17:13Z' + - 'Ref A: 5DB8F4EA5C3F4E2C937FE6E91C26ACC9 Ref B: MAA201060514053 Ref C: 2024-06-26T05:48:11Z' status: code: 200 message: OK @@ -290,7 +290,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/perimeterAssociableResourceTypes?api-version=2023-08-01-preview&firstIndex=20&pageSize=10 response: body: - string: '{"type":"","nextLink":"","value":[{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.EventGrid.topics","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.EventGrid.topics","properties":{"providerNamespace":"Microsoft.EventGrid","resourceType":"topics","displayName":"Microsoft.EventGrid/topics","apiVersion":"2023-06-01-preview","publicDnsZones":["eventgrid.azure.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.EventGrid.domains","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.EventGrid.domains","properties":{"providerNamespace":"Microsoft.EventGrid","resourceType":"domains","displayName":"Microsoft.EventGrid/domains","apiVersion":"2023-06-01-preview","publicDnsZones":["eventgrid.azure.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.AppConfiguration.configurationStores","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.AppConfiguration.configurationStores","properties":{"providerNamespace":"Microsoft.AppConfiguration","resourceType":"configurationStores","displayName":"Microsoft.AppConfiguration/configurationStores","apiVersion":"2023-10-01-preview","publicDnsZones":["azconfig.io","azconfig.azure.us","azconfig.azure.cn"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Batch.batchAccounts","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Batch.batchAccounts","properties":{"providerNamespace":"Microsoft.Batch","resourceType":"batchAccounts","displayName":"Microsoft.Batch/batchAccounts","apiVersion":"2024-03-01-privatepreview","publicDnsZones":["batch.azure.com","batch.chinacloudapi.cn","batch.eaglex.ic.gov","batch.microsoft.scloud","batch-test.windows-int.net","batch.usgovcloudapi.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Web.sites","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Web.sites","properties":{"providerNamespace":"Microsoft.Web","resourceType":"sites","displayName":"Microsoft.Web/sites","apiVersion":"2022-03-01","publicDnsZones":["azurewebsites.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.HybridCompute.privateLinkScopes","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.HybridCompute","properties":{"providerNamespace":"Microsoft.HybridCompute","resourceType":"privateLinkScopes","displayName":"Microsoft.HybridCompute.privateLinkScopes","apiVersion":"2023-10-03-preview","publicDnsZones":["his.arc.azure.com","guestconfiguration.azure.com","dp.kubernetesconfiguration.azure.com"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Communication.CommunicationServices","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Communication.CommunicationServices","properties":{"providerNamespace":"Microsoft.Communication","resourceType":"CommunicationServices","displayName":"Microsoft.Communication/CommunicationServices","apiVersion":"2023-12-25-preview","publicDnsZones":["communication.azure.com","communication.azure.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Network.networkWatchers","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Network.networkWatchers","properties":{"providerNamespace":"Microsoft.Network","resourceType":"networkWatchers","displayName":"Microsoft.Network/networkWatchers","apiVersion":"2024-01-01","publicDnsZones":["networkwatcher.azure.com"]}}]}' + string: '{"type":"","nextLink":"","value":[{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.EventGrid.topics","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.EventGrid.topics","properties":{"providerNamespace":"Microsoft.EventGrid","resourceType":"topics","displayName":"Microsoft.EventGrid/topics","apiVersion":"2023-06-01-preview","publicDnsZones":["eventgrid.azure.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.EventGrid.domains","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.EventGrid.domains","properties":{"providerNamespace":"Microsoft.EventGrid","resourceType":"domains","displayName":"Microsoft.EventGrid/domains","apiVersion":"2023-06-01-preview","publicDnsZones":["eventgrid.azure.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.AppConfiguration.configurationStores","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.AppConfiguration.configurationStores","properties":{"providerNamespace":"Microsoft.AppConfiguration","resourceType":"configurationStores","displayName":"Microsoft.AppConfiguration/configurationStores","apiVersion":"2024-07-01-preivew","publicDnsZones":["azconfig.io","azconfig.azure.us","azconfig.azure.cn"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Batch.batchAccounts","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Batch.batchAccounts","properties":{"providerNamespace":"Microsoft.Batch","resourceType":"batchAccounts","displayName":"Microsoft.Batch/batchAccounts","apiVersion":"2024-03-01-privatepreview","publicDnsZones":["batch.azure.com","batch.chinacloudapi.cn","batch.eaglex.ic.gov","batch.microsoft.scloud","batch-test.windows-int.net","batch.usgovcloudapi.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Web.sites","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Web.sites","properties":{"providerNamespace":"Microsoft.Web","resourceType":"sites","displayName":"Microsoft.Web/sites","apiVersion":"2022-03-01","publicDnsZones":["azurewebsites.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.HybridCompute.privateLinkScopes","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.HybridCompute","properties":{"providerNamespace":"Microsoft.HybridCompute","resourceType":"privateLinkScopes","displayName":"Microsoft.HybridCompute.privateLinkScopes","apiVersion":"2023-10-03-preview","publicDnsZones":["his.arc.azure.com","guestconfiguration.azure.com","dp.kubernetesconfiguration.azure.com"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Communication.CommunicationServices","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Communication.CommunicationServices","properties":{"providerNamespace":"Microsoft.Communication","resourceType":"CommunicationServices","displayName":"Microsoft.Communication/CommunicationServices","apiVersion":"2023-12-25-preview","publicDnsZones":["communication.azure.com","communication.azure.net"]}},{"type":"Microsoft.Network/PerimeterAssociableResourceTypes","name":"Microsoft.Network.networkWatchers","id":"/subscriptions/{subscriptionId}/providers/Microsoft.Network/PerimeterAssociableResourceTypes/Microsoft.Network.networkWatchers","properties":{"providerNamespace":"Microsoft.Network","resourceType":"networkWatchers","displayName":"Microsoft.Network/networkWatchers","apiVersion":"2024-01-01","publicDnsZones":["networkwatcher.azure.com"]}}]}' headers: cache-control: - no-cache @@ -299,7 +299,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:16 GMT + - Wed, 26 Jun 2024 05:48:15 GMT expires: - '-1' pragma: @@ -311,7 +311,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: 6585E1C547E64D26969E5419285B739C Ref B: MAA201060516017 Ref C: 2024-06-25T19:17:14Z' + - 'Ref A: 7388A6FD9F0F439190EA04735C92686C Ref B: MAA201060514053 Ref C: 2024-06-26T05:48:13Z' status: code: 200 message: OK diff --git a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_link_linkreference_crud.yaml b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_link_linkreference_crud.yaml index 1eea9b2b02e..a7d1faf8326 100644 --- a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_link_linkreference_crud.yaml +++ b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_link_linkreference_crud.yaml @@ -22,7 +22,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNetworkSecurityPerimeter1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"e982b052-1597-4b3b-9b25-eaaaa7a2b679","provisioningState":"Succeeded"}}' + string: '{"name":"TestNetworkSecurityPerimeter1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"ed440e13-4d03-4af1-9734-73b96b40507b","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -31,7 +31,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:27 GMT + - Wed, 26 Jun 2024 05:48:28 GMT expires: - '-1' pragma: @@ -45,7 +45,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '1199' x-msedge-ref: - - 'Ref A: 6E886A22364F4C398508F8053B933ED5 Ref B: MAA201060515045 Ref C: 2024-06-25T19:17:23Z' + - 'Ref A: 860FCA92BA2A4F7A93E3CEF91A2B14AC Ref B: MAA201060516027 Ref C: 2024-06-26T05:48:22Z' status: code: 200 message: OK @@ -72,7 +72,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNetworkSecurityPerimeter2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"3c5f5bf0-9bc6-4832-92ad-163309a5e3bd","provisioningState":"Succeeded"}}' + string: '{"name":"TestNetworkSecurityPerimeter2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"bfbd448b-bda5-41b0-a604-15ae0de361ed","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -81,7 +81,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:33 GMT + - Wed, 26 Jun 2024 05:48:32 GMT expires: - '-1' pragma: @@ -95,7 +95,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '1198' x-msedge-ref: - - 'Ref A: 8B460A69E1CF445AB13FA698F0EDE9AD Ref B: MAA201060515039 Ref C: 2024-06-25T19:17:27Z' + - 'Ref A: 66FFAF742D0B4F14A0D944C2F65269DC Ref B: MAA201060516037 Ref C: 2024-06-26T05:48:29Z' status: code: 200 message: OK @@ -124,7 +124,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNspLink1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1","type":"Microsoft.Network/networkSecurityPerimeters/links","properties":{"provisioningState":"Accepted","autoApprovedRemotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2","remotePerimeterGuid":"3c5f5bf0-9bc6-4832-92ad-163309a5e3bd","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Approved","description":"Auto + string: '{"name":"TestNspLink1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1","type":"Microsoft.Network/networkSecurityPerimeters/links","properties":{"provisioningState":"Accepted","autoApprovedRemotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2","remotePerimeterGuid":"bfbd448b-bda5-41b0-a604-15ae0de361ed","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Approved","description":"Auto Approved."}}' headers: cache-control: @@ -134,7 +134,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:35 GMT + - Wed, 26 Jun 2024 05:48:37 GMT expires: - '-1' pragma: @@ -148,7 +148,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '1199' x-msedge-ref: - - 'Ref A: CBAF1D50E59A4E299AD6CC12BFC10355 Ref B: MAA201060513051 Ref C: 2024-06-25T19:17:33Z' + - 'Ref A: DC7231C688C14307A2389625F5DC1EA4 Ref B: MAA201060515011 Ref C: 2024-06-26T05:48:32Z' status: code: 200 message: OK @@ -171,7 +171,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNspLink1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1","type":"Microsoft.Network/networkSecurityPerimeters/links","properties":{"provisioningState":"Accepted","autoApprovedRemotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2","remotePerimeterGuid":"3c5f5bf0-9bc6-4832-92ad-163309a5e3bd","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Approved","description":"Auto + string: '{"name":"TestNspLink1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1","type":"Microsoft.Network/networkSecurityPerimeters/links","properties":{"provisioningState":"Accepted","autoApprovedRemotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2","remotePerimeterGuid":"bfbd448b-bda5-41b0-a604-15ae0de361ed","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Approved","description":"Auto Approved."}}' headers: cache-control: @@ -181,7 +181,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:37 GMT + - Wed, 26 Jun 2024 05:48:39 GMT expires: - '-1' pragma: @@ -193,7 +193,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: 1CADCE40C22A4459B03285E15D6DDA35 Ref B: MAA201060514009 Ref C: 2024-06-25T19:17:37Z' + - 'Ref A: CA14848A226A4883B6E9CF1FF951C376 Ref B: MAA201060516045 Ref C: 2024-06-26T05:48:38Z' status: code: 200 message: OK @@ -216,7 +216,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links?api-version=2023-08-01-preview response: body: - string: '{"nextLink":"","value":[{"name":"TestNspLink1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1","type":"Microsoft.Network/networkSecurityPerimeters/links","properties":{"provisioningState":"Succeeded","autoApprovedRemotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2","remotePerimeterGuid":"3c5f5bf0-9bc6-4832-92ad-163309a5e3bd","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Approved","description":"Auto + string: '{"nextLink":"","value":[{"name":"TestNspLink1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1","type":"Microsoft.Network/networkSecurityPerimeters/links","properties":{"provisioningState":"Succeeded","autoApprovedRemotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2","remotePerimeterGuid":"bfbd448b-bda5-41b0-a604-15ae0de361ed","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Approved","description":"Auto Approved."}}]}' headers: cache-control: @@ -226,7 +226,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:39 GMT + - Wed, 26 Jun 2024 05:48:42 GMT expires: - '-1' pragma: @@ -238,7 +238,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: 50162EAEAF8248CDAB0E8DD59FAA4A81 Ref B: MAA201060515047 Ref C: 2024-06-25T19:17:38Z' + - 'Ref A: A0F9FA4E4D214C489E70CD60B97609A2 Ref B: MAA201060514045 Ref C: 2024-06-26T05:48:40Z' status: code: 200 message: OK @@ -261,7 +261,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNspLink1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1","type":"Microsoft.Network/networkSecurityPerimeters/links","properties":{"provisioningState":"Succeeded","autoApprovedRemotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2","remotePerimeterGuid":"3c5f5bf0-9bc6-4832-92ad-163309a5e3bd","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Approved","description":"Auto + string: '{"name":"TestNspLink1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1","type":"Microsoft.Network/networkSecurityPerimeters/links","properties":{"provisioningState":"Succeeded","autoApprovedRemotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2","remotePerimeterGuid":"bfbd448b-bda5-41b0-a604-15ae0de361ed","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Approved","description":"Auto Approved."}}' headers: cache-control: @@ -271,7 +271,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:40 GMT + - Wed, 26 Jun 2024 05:48:43 GMT expires: - '-1' pragma: @@ -283,7 +283,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: B0849168958240F9B9D4B00639167F61 Ref B: MAA201060513017 Ref C: 2024-06-25T19:17:40Z' + - 'Ref A: FDC3E18978C4476CAC3B9EB5C11637D2 Ref B: MAA201060516029 Ref C: 2024-06-26T05:48:43Z' status: code: 200 message: OK @@ -312,7 +312,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNspLink1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1","type":"Microsoft.Network/networkSecurityPerimeters/links","properties":{"provisioningState":"Accepted","autoApprovedRemotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2","remotePerimeterGuid":"3c5f5bf0-9bc6-4832-92ad-163309a5e3bd","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Approved","description":"Auto + string: '{"name":"TestNspLink1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1","type":"Microsoft.Network/networkSecurityPerimeters/links","properties":{"provisioningState":"Accepted","autoApprovedRemotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2","remotePerimeterGuid":"bfbd448b-bda5-41b0-a604-15ae0de361ed","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Approved","description":"Auto Approved."}}' headers: cache-control: @@ -322,7 +322,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:43 GMT + - Wed, 26 Jun 2024 05:48:48 GMT expires: - '-1' pragma: @@ -334,9 +334,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-msedge-ref: - - 'Ref A: 41F49B592CE443798EEB885EEA6D8B3A Ref B: MAA201060513017 Ref C: 2024-06-25T19:17:41Z' + - 'Ref A: 2959229ED11946BFA66554FB89B11476 Ref B: MAA201060516029 Ref C: 2024-06-26T05:48:44Z' status: code: 200 message: OK @@ -368,11 +368,11 @@ interactions: content-length: - '0' date: - - Tue, 25 Jun 2024 19:17:45 GMT + - Wed, 26 Jun 2024 05:48:51 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1/operationResults/012dc94c-8c20-484c-837c-88b6719db7cf?api-version=2023-08-01-preview&t=638549398664813415&c=MIIHpTCCBo2gAwIBAgITfwNAzkFewm_NciphkAAEA0DOQTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNTE3MTkyMjQwWhcNMjUwNTEyMTkyMjQwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJuJT5HwtZYeMETB2FErJ9p7P7i0j5K1z_6Q8ubSfyaHW5BXsFmRWgdTUjKJeDSJeyiDXrTUG_vHsfl5LFuBUd0wRJdi6qPSdJBdjtQBJeEuHnufrh29AhuQ3GWJDrfdtarbHmIM-iXChLaLDQRvAyrn53r4TLJtSXo-E1Nrko3diGh5O-pU8z8JNR1eM_KSRpMlbaKuCB6O4iL0UDcKoYasw64KhNhDeBWLNuZeFBOZlFiurb2p7OZLyPrCVo9R7w5IOOIJ1by-Z8xXliKu4y8En6XZW4zydhykuZhlt1QXtLV_wQlqMBqHzqniOg0cFlPxbHSUfAw3EPoQWdvzZzUCAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGC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p_fevsNCgzj4pVY3sCwR6RKvioa2liPrmw&h=oQHqOyxKeAqYfZnCYJfVxU5pRaFMzZ02nXmL1ZoEj8o + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1/operationResults/348b9d18-e356-4496-9ddc-dc9838e4f1d1?api-version=2023-08-01-preview&t=638549777320580233&c=MIIHpTCCBo2gAwIBAgITOgMJv4NI248BpRyCkQAEAwm_gzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNTEzMTg0NjEyWhcNMjUwNTA4MTg0NjEyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANM7sh1dTQ2AdkFHAuyltl2T-1kWKGjxWhy8uikgfDiO8VLCKHdmKXbqVV0WSCWok1t0TM74xsOvPH4BZTWtcKfgRoIxaPkqFbV9YcbbiZiekIRFG-9QyriJhn76tLY5GvcqSF--T9GFkoK43ApcnwPAZuQSXYF428gsQUzUNXiF9leBz2bsde3LktLeDA1uf41hKUz7hsBPGwHx1rhVW2RVOPoPTMNG88rDGIKAK7ogfPEbWkGVb6UxmY_YMTZ--0jaubxXvh9jteuwj76o_bVUFg4dV4JQOyrvF-01fUNhUqigGQ82Ix3Ls1pv0LU7ji4kbyLunvNtn-FCvLW5cmECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX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vZy_qcDcJjHB5WKhFPIninAGgdDU2_AvPdHHiPobmo pragma: - no-cache strict-transport-security: @@ -384,7 +384,7 @@ interactions: x-ms-ratelimit-remaining-subscription-deletes: - '14999' x-msedge-ref: - - 'Ref A: 33E107106F2B4168B2A157810F00D4E4 Ref B: MAA201060515051 Ref C: 2024-06-25T19:17:44Z' + - 'Ref A: E1F73DE7D6A246DA97B043920329BE6F Ref B: MAA201060514009 Ref C: 2024-06-26T05:48:49Z' status: code: 202 message: Accepted @@ -404,10 +404,10 @@ interactions: User-Agent: - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1/operationResults/012dc94c-8c20-484c-837c-88b6719db7cf?api-version=2023-08-01-preview&t=638549398664813415&c=MIIHpTCCBo2gAwIBAgITfwNAzkFewm_NciphkAAEA0DOQTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNTE3MTkyMjQwWhcNMjUwNTEyMTkyMjQwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJuJT5HwtZYeMETB2FErJ9p7P7i0j5K1z_6Q8ubSfyaHW5BXsFmRWgdTUjKJeDSJeyiDXrTUG_vHsfl5LFuBUd0wRJdi6qPSdJBdjtQBJeEuHnufrh29AhuQ3GWJDrfdtarbHmIM-iXChLaLDQRvAyrn53r4TLJtSXo-E1Nrko3diGh5O-pU8z8JNR1eM_KSRpMlbaKuCB6O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3p2rvEhLvpVqOHaa7WzULgE7ihTT1XxIksf27jU-imsy0at65jSj1afmZDssaGUkhDrsScGxqqpc0wyA_9Q7gBcpXWbcIKB3Si2DntpN8jcrf3D4oPesJIkGiQH11A7kRN0JLgiA9DBlJO0XTDSvJFVF5TFQ3xOaQZZUH8oKaZEi41hp7laQ89upX45F9WPZtC9a5rD2oz7ThdGy_UK6oGlVxeNA3aqyhPfoIyhSXvSSuy9pcLeV2Su5NAp_fevsNCgzj4pVY3sCwR6RKvioa2liPrmw&h=oQHqOyxKeAqYfZnCYJfVxU5pRaFMzZ02nXmL1ZoEj8o + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1/operationResults/348b9d18-e356-4496-9ddc-dc9838e4f1d1?api-version=2023-08-01-preview&t=638549777320580233&c=MIIHpTCCBo2gAwIBAgITOgMJv4NI248BpRyCkQAEAwm_gzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNTEzMTg0NjEyWhcNMjUwNTA4MTg0NjEyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANM7sh1dTQ2AdkFHAuyltl2T-1kWKGjxWhy8uikgfDiO8VLCKHdmKXbqVV0WSCWok1t0TM74xsOvPH4BZTWtcKfgRoIxaPkqFbV9YcbbiZiekIRFG-9QyriJhn76tLY5GvcqSF--T9GFkoK43ApcnwPAZuQSXYF428gsQUzUNXiF9leBz2bsde3LktLeDA1uf41hKUz7hsBPGwHx1rhVW2RVOPoPTMNG88rDGIKAK7ogfPE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pRQ9Vwr06utAF5TN4qHdiRpChstMNZWbto34Cq65vbTkLQqBzDkALDimvCCc8gdTVCRQ3X3sKRB1ieja4kqhBX3hjFTkJjifCT0asXWrqaEpS9GJoxjA6ompmKXF9Bq4Yf_OruZBEBEiPtVt8KdRpLNFTgnkKkNvOXHrORY6JWcDkH7q6hApkor37xv6zxwlNRG11seghLt3h-e8kIuNxg3MCUI99KU8uGG4bIX2_v7LZbTcxzBTRiBlTg&h=mvZy_qcDcJjHB5WKhFPIninAGgdDU2_AvPdHHiPobmo response: body: - string: '{"properties":{"provisioningState":"Deleting","autoApprovedRemotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2","remotePerimeterLocation":"eastus2euap","remotePerimeterGuid":"3c5f5bf0-9bc6-4832-92ad-163309a5e3bd","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Approved","description":"Auto + string: '{"properties":{"provisioningState":"Deleting","autoApprovedRemotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2","remotePerimeterLocation":"eastus2euap","remotePerimeterGuid":"bfbd448b-bda5-41b0-a604-15ae0de361ed","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Approved","description":"Auto Approved.","version":"3"},"name":"TestNspLink1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1","version":0,"apiVersion":"","publishingStates":{}}' headers: cache-control: @@ -417,11 +417,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:47 GMT + - Wed, 26 Jun 2024 05:48:51 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1/operationResults/012dc94c-8c20-484c-837c-88b6719db7cf?api-version=2023-08-01-preview&t=638549398681059824&c=MIIHpTCCBo2gAwIBAgITOgMJv4NI248BpRyCkQAEAwm_gzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNTEzMTg0NjEyWhcNMjUwNTA4MTg0NjEyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANM7sh1dTQ2AdkFHAuyltl2T-1kWKGjxWhy8uikgfDiO8VLCKHdmKXbqVV0WSCWok1t0TM74xsOvPH4BZTWtcKfgRoIxaPkqFbV9YcbbiZiekIRFG-9QyriJhn76tLY5GvcqSF--T9GFkoK43ApcnwPAZuQSXYF428gsQUzUNXiF9leBz2bsde3LktLeDA1uf41hKUz7hsBPGwHx1rhVW2RVOPoPTMNG88rDGIKAK7ogfPEbWkGVb6UxmY_YMTZ--0jaubxXvh9jteuwj76o_bVUFg4dV4JQOyrvF-01fUNhUqigGQ82Ix3Ls1pv0LU7ji4kbyLunvNtn-FCvLW5cmECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGC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- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1/operationResults/348b9d18-e356-4496-9ddc-dc9838e4f1d1?api-version=2023-08-01-preview&t=638549777326830438&c=MIIHpTCCBo2gAwIBAgITOgMJv4NI248BpRyCkQAEAwm_gzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNTEzMTg0NjEyWhcNMjUwNTA4MTg0NjEyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANM7sh1dTQ2AdkFHAuyltl2T-1kWKGjxWhy8uikgfDiO8VLCKHdmKXbqVV0WSCWok1t0TM74xsOvPH4BZTWtcKfgRoIxaPkqFbV9YcbbiZiekIRFG-9QyriJhn76tLY5GvcqSF--T9GFkoK43ApcnwPAZuQSXYF428gsQUzUNXiF9leBz2bsde3LktLeDA1uf41hKUz7hsBPGwHx1rhVW2RVOPoPTMNG88rDGIKAK7ogfPEbWkGVb6UxmY_YMTZ--0jaubxXvh9jteuwj76o_bVUFg4dV4JQOyrvF-01fUNhUqigGQ82Ix3Ls1pv0LU7ji4kbyLunvNtn-FCvLW5cmECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jv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ions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: D8987A0279F14A1F91A3424DFE109893 Ref B: MAA201060515051 Ref C: 2024-06-25T19:17:46Z' + - 'Ref A: 44C917AED077444F9185C2A69B2ED549 Ref B: MAA201060514009 Ref C: 2024-06-26T05:48:52Z' status: code: 202 message: Accepted @@ -451,7 +451,7 @@ interactions: User-Agent: - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1/operationResults/012dc94c-8c20-484c-837c-88b6719db7cf?api-version=2023-08-01-preview&t=638549398681059824&c=MIIHpTCCBo2gAwIBAgITOgMJv4NI248BpRyCkQAEAwm_gzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNTEzMTg0NjEyWhcNMjUwNTA4MTg0NjEyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANM7sh1dTQ2AdkFHAuyltl2T-1kWKGjxWhy8uikgfDiO8VLCKHdmKXbqVV0WSCWok1t0TM74xsOvPH4BZTWtcKfgRoIxaPkqFbV9YcbbiZiekIRFG-9QyriJhn76tLY5GvcqSF--T9GFkoK43ApcnwPAZuQSXYF428gsQUzUNXiF9leBz2bsde3LktLeDA1uf41hKUz7hsBPGwHx1rhVW2RVOPoPTMNG88rDGIKAK7ogfPEbWkGVb6UxmY_YMTZ--0jaubxXvh9jteuwj76o_bVUFg4dV4JQOyrvF-01fUNhUqigGQ82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E0RAYU3GlwGjy1zE2g5FXSU0UKWcF3t7IN17NRlFLCI7qXp6uWlyGxAyRHvDTG8mzDw-RRzkiPWxbi-6GTrxaV8258b80qyxc6haNOfDMuBcWflhXDYWLEjBL52G8A8m1nDXTMnV5aI73avZDjQOtKQDH9vQMksyiTh4OIT8h_-n7Zef9XI5YYw&h=KH2b6McnbyrCuuIu2YiS97oPbEfXq5blsNXQayuEVD4 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1/operationResults/348b9d18-e356-4496-9ddc-dc9838e4f1d1?api-version=2023-08-01-preview&t=638549777326830438&c=MIIHpTCCBo2gAwIBAgITOgMJv4NI248BpRyCkQAEAwm_gzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNTEzMTg0NjEyWhcNMjUwNTA4MTg0NjEyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANM7sh1dTQ2AdkFHAuyltl2T-1kWKGjxWhy8uikgfDiO8VLCKHdmKXbqVV0WSCWok1t0TM74xsOvPH4BZTWtcKfgRoIxaPkqFbV9YcbbiZiekIRFG-9QyriJhn76tLY5GvcqSF--T9GFkoK43ApcnwPAZuQSXYF428gsQUzUNXiF9leBz2bsde3LktLeDA1uf41hKUz7hsBPGwHx1rhVW2RVOPoPTMNG88rDGIKAK7ogfPEbWkGVb6UxmY_YMTZ--0jaubxXvh9jteuwj76o_bVUFg4dV4JQOyrvF-01fUNhUqigGQ82Ix3Ls1pv0LU7ji4kbyLunvNtn-FCvLW5c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_UocJr-VIhg7mjhm90-gN8vXarC9u79aL0qQW39anPv0dqAQc_eT-SZ2Qu3m6WhEHzQ_YHeAxLucnVuAaiL8TcnU6G4ObwUfqf5-Na6lGRITkifZGOv2p_kDnHDVATgriOPzfLSMuG4UOD6Q&h=jYEcq1xBHvvyMJ9EYczlJ6fxKoo8aSkoNrH9RnXKoxA response: body: string: '' @@ -459,7 +459,7 @@ interactions: cache-control: - no-cache date: - - Tue, 25 Jun 2024 19:18:18 GMT + - Wed, 26 Jun 2024 05:49:22 GMT expires: - '-1' pragma: @@ -471,7 +471,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: D821946F6ABD4E1FBBA0099DC0FE595A Ref B: MAA201060515051 Ref C: 2024-06-25T19:18:18Z' + - 'Ref A: 54D7958E89A1403F8CC2B52E6F930558 Ref B: MAA201060514009 Ref C: 2024-06-26T05:49:22Z' status: code: 204 message: No Content @@ -494,7 +494,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences?api-version=2023-08-01-preview response: body: - string: '{"nextLink":"","value":[{"name":"Ref-from-TestNspLink1-e982b052-1597-4b3b-9b25-eaaaa7a2b679","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-e982b052-1597-4b3b-9b25-eaaaa7a2b679","type":"Microsoft.Network/networkSecurityPerimeters/linkReferences","properties":{"provisioningState":"Accepted","remotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1","remotePerimeterGuid":"e982b052-1597-4b3b-9b25-eaaaa7a2b679","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Disconnected","description":"Auto + string: '{"nextLink":"","value":[{"name":"Ref-from-TestNspLink1-ed440e13-4d03-4af1-9734-73b96b40507b","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-ed440e13-4d03-4af1-9734-73b96b40507b","type":"Microsoft.Network/networkSecurityPerimeters/linkReferences","properties":{"provisioningState":"Accepted","remotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1","remotePerimeterGuid":"ed440e13-4d03-4af1-9734-73b96b40507b","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Disconnected","description":"Auto Approved."}}]}' headers: cache-control: @@ -504,7 +504,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:18:21 GMT + - Wed, 26 Jun 2024 05:49:25 GMT expires: - '-1' pragma: @@ -516,7 +516,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: 4E78913052344DB99BDD74D7D381162D Ref B: MAA201060515011 Ref C: 2024-06-25T19:18:20Z' + - 'Ref A: DB57D5F9706646A3B720A3C00E5F2CE4 Ref B: MAA201060513033 Ref C: 2024-06-26T05:49:24Z' status: code: 200 message: OK @@ -536,10 +536,10 @@ interactions: User-Agent: - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-e982b052-1597-4b3b-9b25-eaaaa7a2b679?api-version=2023-08-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-ed440e13-4d03-4af1-9734-73b96b40507b?api-version=2023-08-01-preview response: body: - string: '{"name":"Ref-from-TestNspLink1-e982b052-1597-4b3b-9b25-eaaaa7a2b679","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-e982b052-1597-4b3b-9b25-eaaaa7a2b679","type":"Microsoft.Network/networkSecurityPerimeters/linkReferences","properties":{"provisioningState":"Accepted","remotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1","remotePerimeterGuid":"e982b052-1597-4b3b-9b25-eaaaa7a2b679","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Disconnected","description":"Auto + string: '{"name":"Ref-from-TestNspLink1-ed440e13-4d03-4af1-9734-73b96b40507b","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-ed440e13-4d03-4af1-9734-73b96b40507b","type":"Microsoft.Network/networkSecurityPerimeters/linkReferences","properties":{"provisioningState":"Accepted","remotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1","remotePerimeterGuid":"ed440e13-4d03-4af1-9734-73b96b40507b","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Disconnected","description":"Auto Approved."}}' headers: cache-control: @@ -549,7 +549,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:18:23 GMT + - Wed, 26 Jun 2024 05:49:26 GMT expires: - '-1' pragma: @@ -561,7 +561,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: ED1B71FD46684D4FB304B1F0E89FCF06 Ref B: MAA201060513049 Ref C: 2024-06-25T19:18:21Z' + - 'Ref A: BEBB5A46884D445DBDDC2280A261B5D5 Ref B: MAA201060516021 Ref C: 2024-06-26T05:49:25Z' status: code: 200 message: OK @@ -583,7 +583,7 @@ interactions: User-Agent: - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-e982b052-1597-4b3b-9b25-eaaaa7a2b679?api-version=2023-08-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-ed440e13-4d03-4af1-9734-73b96b40507b?api-version=2023-08-01-preview response: body: string: '' @@ -593,11 +593,11 @@ interactions: content-length: - '0' date: - - Tue, 25 Jun 2024 19:18:24 GMT + - Wed, 26 Jun 2024 05:49:28 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-e982b052-1597-4b3b-9b25-eaaaa7a2b679/operationResults/6baa5e60-1584-45dc-a5e8-6bc59163a02b?api-version=2023-08-01-preview&t=638549399046775100&c=MIIHpTCCBo2gAwIBAgITfwNG4ZeD5k5i3v_jpQAEA0bhlzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNTIwMjMwODIzWhcNMjUwNTE1MjMwODIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJwiNvhGW_0dpQ5rbD7q8Lu0A6U9gWRFYyjyDnUnQa5Lp1m8pau25URfvTepPkos0FkMC2QIQRWMW4Rm_rZajhjQVw1j7eLS2X2ca6kd9B6tMzjQfrb5xixBdFQNxM_gWyx3m5NZDRmm_zRzhVrhg-tjB16aZQdgt1gx6v8KyMQaa7qkvbsEuTqCp1h6k76OS63lmt64gTD7Xo6GFo_doO4BjG1ORDhwIch3_8kvd0GVlG7Es8zAuSaLEBKR7bLGCQWa38L37aNRck85TOFkB1l6m0iojrvYIJDHVCMGw3BlcHJRVCywl4p-MaZQAaLqDwqf_MapZLwhS1ORu_v7Ab0CAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJ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I3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHOGeuHCVrtTmbxHoLWeGKZOuChJQx5VMj0aW5mYlP_QjWbXuINO4C645z063P3wopXDl6V1VxhTC4gTjkF_bhmIIC6l8BcoNV_1iqHrNx0nwUG2q41zrybwgdNRsA7-ccYvK0xz7JFIa4d4egDyILpk3z0k_xKgtozp7-x2npBjQMcFiK69gl5P7wPC-ykC8gGTLHQywZmRBtxom8atHOF-2WIZCyPIEZktnLhcht-EHmbKuuCyAl-2esrLHY03yJVtqeiqx6SPDiuH47Kwwi2-dZaWWXakpHtoTIpf4ksPuyLSlzL-9RTYxNbCuSwROFS0QSKzwQeCYu_lQncj36U&s=EzExWNF5dcaos4gTnP5zpcOneAsaMOlUKE50oHi-KRfElcrbbeZdDYeI5frdt0uEscoV4PEEPxTwrq_549uWJvaq1Qpi0NrUoBBOr3Q68R0y40VpibwcKy-OBVq_9JnkF6mArBaP8D_GJYm120KfzupPh_xpld4w1xJYQ6dJURWNuXbLBmPkrfOwH02IrHDlxmlEspoucbuViocBl9KsBPRmEhdJs7n8P0M9BevIFWPlq0gFP4drFvPCh8Fegri8HkeJvymkogSfKau5hmKKH-1UxlXvdZaY6JRGrDEmLZPqci2GiwSpdd7zViXciFjhh-6EmuzRNkhVOHy9SzHA2Q&h=W72_Ro58aF-e4ks2JuyCKVkTRIglHpQAXOCConDQK8g + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-ed440e13-4d03-4af1-9734-73b96b40507b/operationResults/f50cbdbb-1f36-43ef-aed8-c7e8e63e5ac7?api-version=2023-08-01-preview&t=638549777686013502&c=MIIHhzCCBm-gAwIBAgITHgTOodSfixqL4y0RCwAABM6h1DANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwNjI2MDE0OTUwWhcNMjUwNjIxMDE0OTUwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOVWu2K-0m79sBg8UGVa5wKzMuO2w82cSB82nrg3I8s4zxKKLhv1uU3_9VQHAYJCw-GVTu2HXo7_Ggw_zrIUZwEDGg0snmWsERD7Wv8J5qf_rkD_S5DvHp0eHEDxrtNADCluV-8Ypb2InsbnlaPaAHdwn1s1n7HijFJ8zoG7cXnvXDow5scDVjKm5U31BkqV_dPQXznAkfHtk4zJ2WVLvk44ovEK6cwIQF2HWCZnwde6DJnkXsrpvoSX5MVF249VgejUfDoEgvJRkG3qsMtD5040GYZ0t5lg2QHFbPk4rHkLy8OwUHSeplzlGAD_gqie5JGeQdjvAANELKuD4iddSJECAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTU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2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAIseXby-SE40-zfGYa2QsVFCJpOxqt_WmIBKquKWbpQ56PgbFpjHntGVNOyRtAXNJ7mCffDA1ADmwIqOvCpwxO50xCtwD9Z-ZEvcoZfQ0Hd_SxBJiq2c_bqFSSoMTVHyKvVo6HV_n8yCiehpIYSSS7KW5pM5EPDZQCsQiRbbdEdjavNI-iLXIQpfIl43O8WOD3MjxFC5GJOetHP2DAmSq5ZHL_z7oaadbZVaey4JnsefbImkX7cP0T7awBJGNtV0Zu7vSX-41z7KyE5yoH72fKoM0h1oKc9NhoBYIItV8EjdZv-IoWOscHpKd5DkXhCvqIXnitwihqBdUxihL91sLWI&s=gaqgKX8tYMinnm1RIBtZCKqERKfTjwwkRde-CeEbg6_mO6wPkZmQhxKdmJl0NW8ERyjXjHhzoNLurCSKkDG3_iD38r883XeQYlflxtl0YS5KS1-kav7z7saSczo57Z4OdSAaX5R3N_1zDRwgx-czyOStSUomooOiaJ5Sh52RvX-x41xSkYLYHHcwRMqeATc-fxQJWyL_e8nWJuaQ8OCAug9gBel91yn88jc_PLexH59Riwj5rKnZc0JdBzSwnR7tOgVMfJHkEiWlUKdaPxZwxJw8nUn3p5itdANTScGY6Rx39Gl7dFks8NVFAdh2iPLsEY8y7RAQTGKIGPYzxL7Pmg&h=lU_dElTLKoKcef22byz-79DxeP4072C6Mx_Lb0lB1HA pragma: - no-cache strict-transport-security: @@ -607,9 +607,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' x-msedge-ref: - - 'Ref A: F102AF92219D4929B62FD1D9461D3612 Ref B: MAA201060513027 Ref C: 2024-06-25T19:18:23Z' + - 'Ref A: 693F9A86588F4F5CB7F0BD2E8447410F Ref B: MAA201060513029 Ref C: 2024-06-26T05:49:27Z' status: code: 202 message: Accepted @@ -629,11 +629,11 @@ interactions: User-Agent: - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-e982b052-1597-4b3b-9b25-eaaaa7a2b679/operationResults/6baa5e60-1584-45dc-a5e8-6bc59163a02b?api-version=2023-08-01-preview&t=638549399046775100&c=MIIHpTCCBo2gAwIBAgITfwNG4ZeD5k5i3v_jpQAEA0bhlzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNTIwMjMwODIzWhcNMjUwNTE1MjMwODIzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJwiNvhGW_0dpQ5rbD7q8Lu0A6U9gWRFYyjyDnUnQa5Lp1m8pau25URfvTepPkos0FkMC2QIQRWMW4Rm_rZajhjQVw1j7eLS2X2ca6kd9B6tMzjQfrb5xixBdFQNxM_gWyx3m5NZDRmm_zRzhVrhg-tjB16aZQdgt1gx6v8KyMQaa7qkvbsEuTqCp1h6k76OS63lmt64gTD7Xo6GFo_doO4BjG1ORDhwIch3_8kvd0GVlG7Es8zAuSaLEBKR7bLGCQWa38L37aNRck85TOFkB1l6m0iojrvYIJDHVCMGw3BlcHJRVCywl4p-MaZQAaLqDwqf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HDlxmlEspoucbuViocBl9KsBPRmEhdJs7n8P0M9BevIFWPlq0gFP4drFvPCh8Fegri8HkeJvymkogSfKau5hmKKH-1UxlXvdZaY6JRGrDEmLZPqci2GiwSpdd7zViXciFjhh-6EmuzRNkhVOHy9SzHA2Q&h=W72_Ro58aF-e4ks2JuyCKVkTRIglHpQAXOCConDQK8g + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-ed440e13-4d03-4af1-9734-73b96b40507b/operationResults/f50cbdbb-1f36-43ef-aed8-c7e8e63e5ac7?api-version=2023-08-01-preview&t=638549777686013502&c=MIIHhzCCBm-gAwIBAgITHgTOodSfixqL4y0RCwAABM6h1DANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwNjI2MDE0OTUwWhcNMjUwNjIxMDE0OTUwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOVWu2K-0m79sBg8UGVa5wKzMuO2w82cSB82nrg3I8s4zxKKLhv1uU3_9VQHAYJCw-GVTu2HXo7_Ggw_zrIUZwEDGg0snmWsERD7Wv8J5qf_rkD_S5DvHp0eHEDxrtNADCluV-8Ypb2InsbnlaPaAHdwn1s1n7HijFJ8zoG7cXnvXDow5scDVjKm5U31BkqV_dPQXznAkfHtk4zJ2WVLvk44ovEK6cwIQF2HWCZnwde6DJnkXsrpvoSX5MVF249VgejUfDoEgvJRkG3qsMtD5040GYZ0t5lg2QHFbPk4rHkLy8OwUHSeplzlGAD_gqie5JGeQdjvAANELK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rKnZc0JdBzSwnR7tOgVMfJHkEiWlUKdaPxZwxJw8nUn3p5itdANTScGY6Rx39Gl7dFks8NVFAdh2iPLsEY8y7RAQTGKIGPYzxL7Pmg&h=lU_dElTLKoKcef22byz-79DxeP4072C6Mx_Lb0lB1HA response: body: - string: '{"name":"Ref-from-TestNspLink1-e982b052-1597-4b3b-9b25-eaaaa7a2b679","properties":{"provisioningState":"Deleting","remotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1","remotePerimeterLocation":"eastus2euap","remotePerimeterGuid":"e982b052-1597-4b3b-9b25-eaaaa7a2b679","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Disconnected","description":"Auto - Approved.","version":"4","approvalType":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-e982b052-1597-4b3b-9b25-eaaaa7a2b679","version":0,"apiVersion":"","publishingStates":{}}' + string: '{"name":"Ref-from-TestNspLink1-ed440e13-4d03-4af1-9734-73b96b40507b","properties":{"provisioningState":"Deleting","remotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1","remotePerimeterLocation":"eastus2euap","remotePerimeterGuid":"ed440e13-4d03-4af1-9734-73b96b40507b","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Disconnected","description":"Auto + Approved.","version":"4","approvalType":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-ed440e13-4d03-4af1-9734-73b96b40507b","version":0,"apiVersion":"","publishingStates":{}}' headers: cache-control: - no-cache @@ -642,11 +642,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:18:25 GMT + - Wed, 26 Jun 2024 05:49:28 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-e982b052-1597-4b3b-9b25-eaaaa7a2b679/operationResults/6baa5e60-1584-45dc-a5e8-6bc59163a02b?api-version=2023-08-01-preview&t=638549399056951817&c=MIIHpTCCBo2gAwIBAgITOgMJv4NI248BpRyCkQAEAwm_gzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNTEzMTg0NjEyWhcNMjUwNTA4MTg0NjEyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANM7sh1dTQ2AdkFHAuyltl2T-1kWKGjxWhy8uikgfDiO8VLCKHdmKXbqVV0WSCWok1t0TM74xsOvPH4BZTWtcKfgRoIxaPkqFbV9YcbbiZiekIRFG-9QyriJhn76tLY5GvcqSF--T9GFkoK43ApcnwPAZuQSXYF428gsQUzUNXiF9leBz2bsde3LktLeDA1uf41hKUz7hsBPGwHx1rhVW2RVOPoPTMNG88rDGIKAK7ogfPEbWkGVb6UxmY_YMTZ--0jaubxXvh9jteuwj76o_bVUFg4dV4JQOyrvF-01fUNhUqigGQ82Ix3Ls1pv0LU7ji4kbyLunvNtn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vtqQ7qwds-t02f5uVjSJ7k6pj6vP1a0a07K3-AI82oRJudb5cTGPObEy3CvrNVFc4nWgyXkMLTRsXNbMU6VEI34GdqrJ-qgSzgcNuhQ5wr6ydkZLpPdSBjItoLbSh1NdKFrOJdu9ktHt62VO6uqq2lKQ&h=d9IhGuNigXanR6rbHKtRrYV8svyYtKL2iZxb7nlhenQ + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-ed440e13-4d03-4af1-9734-73b96b40507b/operationResults/f50cbdbb-1f36-43ef-aed8-c7e8e63e5ac7?api-version=2023-08-01-preview&t=638549777692840708&c=MIIHpTCCBo2gAwIBAgITfwNAzkFewm_NciphkAAEA0DOQTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNTE3MTkyMjQwWhcNMjUwNTEyMTkyMjQwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJuJT5HwtZYeMETB2FErJ9p7P7i0j5K1z_6Q8ubSfyaHW5BXsFmRWgdTUjKJeDSJeyiDXrTUG_vHsfl5LFuBUd0wRJdi6qPSdJBdjtQBJeEuHnufrh29AhuQ3GWJDrfdtarbHmIM-iXChLaLDQRvAyrn53r4TLJtSXo-E1Nrko3diGh5O-pU8z8JNR1eM_KSRpMlbaKuCB6O4iL0UDcKoYasw64KhNhDeBWLNuZeFBOZlFiurb2p7OZLyPrCVo9R7w5IOOIJ1by-Z8xXliKu4y8En6XZW4zydhykuZhlt1QXtLV_wQlqMBqHzqniOg0cFl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0xUnDSwxuN975wh6-IJWLWu3HvXtP19oaStI_tETfzT6yKirpkND0vdE2O46Jke1vZVP44lc0mStuaecf9E9ipcc77h56REBB0spkkHOL0BGqejNj1ad8aNaC2Z2yMmCrxNj3Y-6DUbwxxGRhsn-LWl0VlvtYEa-kH5Q7df8gGw&h=ibgAduv8_zTNS3xtGDwOiKQNJVbB3Yaa2y5jmdZ1vgE pragma: - no-cache strict-transport-security: @@ -656,7 +656,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: 1FA1ED50733F4664AB8A1C5BA635B1FE Ref B: MAA201060513027 Ref C: 2024-06-25T19:18:24Z' + - 'Ref A: 257780D29E5B4D25AD0531B6CB69229E Ref B: MAA201060513029 Ref C: 2024-06-26T05:49:28Z' status: code: 202 message: Accepted @@ -676,7 +676,7 @@ interactions: User-Agent: - AZURECLI/2.60.0 azsdk-python-core/1.28.0 Python/3.8.9 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-e982b052-1597-4b3b-9b25-eaaaa7a2b679/operationResults/6baa5e60-1584-45dc-a5e8-6bc59163a02b?api-version=2023-08-01-preview&t=638549399056951817&c=MIIHpTCCBo2gAwIBAgITOgMJv4NI248BpRyCkQAEAwm_gzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNTEzMTg0NjEyWhcNMjUwNTA4MTg0NjEyWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANM7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T1Dw6uwlo15U_Z5M08puNqoV-D92L8aciHUSPp4VV8SgU52Bbt5haV8y16F34M_BCzjjQLhrnAoEL1g3TWceDwlkCe3i-3DDKb52iUv9FTopclO2tcoBcQvhEt1PnTVySa-zNva_bAxjXM&s=oSOI4ASd_8QGF7DCecrS4qXsFOA27LR2ujWTCtX01IeHQyXbC8kIENPh84njEonePXuxIma5qs1vHTaJRDjw3IV62kNFuE4XoSfP7D1lcxAx1H7wUHGr8uSbOeW6NrgxSmPZEtcjXOxm43mWqjmR1F0EBqKR80R4Wy-MBxBcx1WwmlBFguKdW62NB5FCxuvtqQ7qwds-t02f5uVjSJ7k6pj6vP1a0a07K3-AI82oRJudb5cTGPObEy3CvrNVFc4nWgyXkMLTRsXNbMU6VEI34GdqrJ-qgSzgcNuhQ5wr6ydkZLpPdSBjItoLbSh1NdKFrOJdu9ktHt62VO6uqq2lKQ&h=d9IhGuNigXanR6rbHKtRrYV8svyYtKL2iZxb7nlhenQ + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-ed440e13-4d03-4af1-9734-73b96b40507b/operationResults/f50cbdbb-1f36-43ef-aed8-c7e8e63e5ac7?api-version=2023-08-01-preview&t=638549777692840708&c=MIIHpTCCBo2gAwIBAgITfwNAzkFewm_NciphkAAEA0DOQTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwNTE3MTkyMjQwWhcNMjUwNTEyMTkyMjQwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCgg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v0LbV5_jSkYanML03gsTTOQItymOtXsNk0sKM8rhG4XBRFy8vSDa9vBXfWHw3S2-ZvYKpnaklc8_16F4aVu2cPRlAXwaG6XJGkkwl1ClCALQlYxeUWeobHFi0RpMZDprs7h6rHmFARmjrWRf_3vnxqg&s=G1SQNMJNbKEJ7TDhXuD2fNYEAmBO4pWHvWqjM2cYGddP5Pd6zFl9kAjiYpAWdrTdy1Tm6b-x3915UwtQUrYu1RI4JQ7ijKOY9Gas7tMDgKNCosP4ErS6k-9elJdm_TOlt8TX3zCPUnKs_QQvyA4BBbCmwLYBo7ooPSxjReozt_u0xUnDSwxuN975wh6-IJWLWu3HvXtP19oaStI_tETfzT6yKirpkND0vdE2O46Jke1vZVP44lc0mStuaecf9E9ipcc77h56REBB0spkkHOL0BGqejNj1ad8aNaC2Z2yMmCrxNj3Y-6DUbwxxGRhsn-LWl0VlvtYEa-kH5Q7df8gGw&h=ibgAduv8_zTNS3xtGDwOiKQNJVbB3Yaa2y5jmdZ1vgE response: body: string: '' @@ -684,7 +684,7 @@ interactions: cache-control: - no-cache date: - - Tue, 25 Jun 2024 19:18:56 GMT + - Wed, 26 Jun 2024 05:50:00 GMT expires: - '-1' pragma: @@ -696,7 +696,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: 6322D626932B4BF2AC0F6CEFA61C7CC5 Ref B: MAA201060513027 Ref C: 2024-06-25T19:18:55Z' + - 'Ref A: F1E6555AE8554809B3C6BFC531F2020C Ref B: MAA201060513029 Ref C: 2024-06-26T05:49:59Z' status: code: 204 message: No Content diff --git a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_profile_crud.yaml b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_profile_crud.yaml index 19032af7f7d..aab86be8802 100644 --- a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_profile_crud.yaml +++ b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_profile_crud.yaml @@ -22,7 +22,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_profile_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter?api-version=2023-08-01-preview response: body: - string: '{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_profile_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"6c6d12f9-cc4b-458d-bc3f-217670611ec2","provisioningState":"Succeeded"}}' + string: '{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_profile_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"03b0a315-f1b6-4e8a-9c2d-9fd24383b149","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -31,7 +31,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:23 GMT + - Wed, 26 Jun 2024 05:48:28 GMT expires: - '-1' pragma: @@ -45,7 +45,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '1199' x-msedge-ref: - - 'Ref A: 2A3185F69F11464E94C36CE168043558 Ref B: MAA201060513047 Ref C: 2024-06-25T19:17:19Z' + - 'Ref A: 31172C402F9A4D4791F48F44C39AA9C1 Ref B: MAA201060514011 Ref C: 2024-06-26T05:48:25Z' status: code: 200 message: OK @@ -68,7 +68,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_nsp_profile_crud000001?api-version=2022-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_profile_crud000001","name":"test_nsp_profile_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_profile_crud","date":"2024-06-25T19:17:15Z","module":"nsp","Created":"2024-06-25T19:17:15.9196110Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_profile_crud000001","name":"test_nsp_profile_crud000001","type":"Microsoft.Resources/resourceGroups","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","test":"test_nsp_profile_crud","date":"2024-06-26T05:48:22Z","module":"nsp","Created":"2024-06-26T05:48:23.6950050Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -77,7 +77,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:23 GMT + - Wed, 26 Jun 2024 05:48:29 GMT expires: - '-1' pragma: @@ -89,7 +89,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: 8F9C86BA7B2A429DB57E5BB298965D17 Ref B: MAA201060515025 Ref C: 2024-06-25T19:17:24Z' + - 'Ref A: 2EE73C444F5842ED962B06D7E8E9C934 Ref B: MAA201060513039 Ref C: 2024-06-26T05:48:29Z' status: code: 200 message: OK @@ -125,7 +125,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:25 GMT + - Wed, 26 Jun 2024 05:48:30 GMT expires: - '-1' pragma: @@ -137,9 +137,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-msedge-ref: - - 'Ref A: E25879BAB4D340C1A3553CA467DAB192 Ref B: MAA201060513053 Ref C: 2024-06-25T19:17:24Z' + - 'Ref A: E41A417321A849AAB06798D0578CC553 Ref B: MAA201060514053 Ref C: 2024-06-26T05:48:29Z' status: code: 200 message: OK @@ -171,7 +171,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:27 GMT + - Wed, 26 Jun 2024 05:48:32 GMT expires: - '-1' pragma: @@ -183,7 +183,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: 6646ED73FF0B4D5DBDD8322FFA826716 Ref B: MAA201060513017 Ref C: 2024-06-25T19:17:26Z' + - 'Ref A: 9EEEE533EF0C467DABCDA24769B1041B Ref B: MAA201060516029 Ref C: 2024-06-26T05:48:31Z' status: code: 200 message: OK @@ -215,7 +215,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 25 Jun 2024 19:17:29 GMT + - Wed, 26 Jun 2024 05:48:34 GMT expires: - '-1' pragma: @@ -227,7 +227,7 @@ interactions: x-content-type-options: - nosniff x-msedge-ref: - - 'Ref A: DAF0B63C173E47A4A7BAFB734B6B7721 Ref B: MAA201060516017 Ref C: 2024-06-25T19:17:28Z' + - 'Ref A: D1C6875EB7224FDFB5C00FD4B13266E5 Ref B: MAA201060515047 Ref C: 2024-06-26T05:48:34Z' status: code: 200 message: OK @@ -259,7 +259,7 @@ interactions: content-length: - '0' date: - - Tue, 25 Jun 2024 19:17:31 GMT + - Wed, 26 Jun 2024 05:48:37 GMT expires: - '-1' pragma: @@ -273,7 +273,7 @@ interactions: x-ms-ratelimit-remaining-subscription-deletes: - '14999' x-msedge-ref: - - 'Ref A: 1FC8B2C3DC2D44A08F5D2C3B9CD9A476 Ref B: MAA201060513011 Ref C: 2024-06-25T19:17:31Z' + - 'Ref A: 8A418F3DC82A4B458D9D75AE7772EB13 Ref B: MAA201060516053 Ref C: 2024-06-26T05:48:35Z' status: code: 200 message: OK diff --git a/src/nsp/azext_nsp/tests/latest/test_nsp.py b/src/nsp/azext_nsp/tests/latest/test_nsp.py index eba87500dad..9c71363d41e 100644 --- a/src/nsp/azext_nsp/tests/latest/test_nsp.py +++ b/src/nsp/azext_nsp/tests/latest/test_nsp.py @@ -83,6 +83,7 @@ def test_nsp_accessrule_inbound(self, resource_group): 'nsp_accessrule_name': 'TestNspAccessRule_nsp', 'sms_accessrule_name': 'TestNspAccessRule_sms', 'email_accessrule_name': 'TestNspAccessRule_email', + 'servicetag_accessrule_name': 'TestNspAccessRule_servicetag', 'sub': self.get_subscription_id() }) @@ -114,6 +115,11 @@ def test_nsp_accessrule_inbound(self, resource_group): # SMS based access rule self.cmd('az network perimeter profile access-rule create --name {sms_accessrule_name} --profile-name {profile_name} --perimeter-name {nsp_name} --resource-group {rg} --phone-numbers "[\'+919898989898\', \'+929898989898\']" --direction "Outbound"') + # ServiceTag based access rule + self.cmd('az network perimeter profile access-rule create --name {servicetag_accessrule_name} --profile-name {profile_name} --perimeter-name {nsp_name} --resource-group {rg} --service-tags [MicrosoftPublicIPSpace]', checks=[ + self.check('serviceTags', "['MicrosoftPublicIPSpace']") + ]) + @ResourceGroupPreparer(name_prefix='test_nsp_association_crud', location='eastus2euap') def test_nsp_association_crud(self, resource_group): From b052f8d1c5159b343302b46ed5b8ad3622566b0a Mon Sep 17 00:00:00 2001 From: Bhupesh Bhatt Date: Wed, 26 Jun 2024 14:03:05 +0530 Subject: [PATCH 10/21] updated version , 0.4.0 from 0.3.0 as new apiversion added --- src/nsp/HISTORY.rst | 5 +++-- src/nsp/setup.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/nsp/HISTORY.rst b/src/nsp/HISTORY.rst index e752634bf59..25ab22ffaad 100644 --- a/src/nsp/HISTORY.rst +++ b/src/nsp/HISTORY.rst @@ -4,12 +4,13 @@ Release History =============== =============== -##### 0.3.1 +##### 0.4.0 ++++++ No new commands added. +Commands for new api version 2023-08-01-preview added. Existing commands updated: -* perimeter profile access-rule: create (added servicetag based rules). +* perimeter profile access-rule: create,show,update (added servicetag based rules). ##### 0.3.0 ++++++ diff --git a/src/nsp/setup.py b/src/nsp/setup.py index dae0eee36d5..7564171f847 100644 --- a/src/nsp/setup.py +++ b/src/nsp/setup.py @@ -10,7 +10,7 @@ # HISTORY.rst entry. -VERSION = '0.3.0' +VERSION = '0.4.0' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers From 3f0bd2e68137d35dec8a31db3e0fadae809d15a6 Mon Sep 17 00:00:00 2001 From: Bhupesh Bhatt Date: Wed, 26 Jun 2024 14:22:38 +0530 Subject: [PATCH 11/21] isExperimental to isPreview --- src/nsp/azext_nsp/azext_metadata.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nsp/azext_nsp/azext_metadata.json b/src/nsp/azext_nsp/azext_metadata.json index 1ac9e16133a..0694c632100 100644 --- a/src/nsp/azext_nsp/azext_metadata.json +++ b/src/nsp/azext_nsp/azext_metadata.json @@ -1,4 +1,4 @@ { - "azext.isExperimental": true, - "azext.minCliCoreVersion": "2.57.0" + "azext.minCliCoreVersion": "2.57.0", + "azext.isPreview": true } \ No newline at end of file From 551d727fd54b465838d21b09d6a1621369c8781d Mon Sep 17 00:00:00 2001 From: Bhupesh Bhatt Date: Wed, 26 Jun 2024 14:36:37 +0530 Subject: [PATCH 12/21] updated release version --- src/nsp/HISTORY.rst | 2 +- src/nsp/setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nsp/HISTORY.rst b/src/nsp/HISTORY.rst index 25ab22ffaad..811dfb35490 100644 --- a/src/nsp/HISTORY.rst +++ b/src/nsp/HISTORY.rst @@ -4,7 +4,7 @@ Release History =============== =============== -##### 0.4.0 +##### 0.3.0b1 ++++++ No new commands added. Commands for new api version 2023-08-01-preview added. diff --git a/src/nsp/setup.py b/src/nsp/setup.py index 7564171f847..342516a7303 100644 --- a/src/nsp/setup.py +++ b/src/nsp/setup.py @@ -10,7 +10,7 @@ # HISTORY.rst entry. -VERSION = '0.4.0' +VERSION = '0.3.0b1' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers From 9e4ff0560c7cceb40097e0d73f53a22770c1710b Mon Sep 17 00:00:00 2001 From: Bhupesh Bhatt Date: Wed, 26 Jun 2024 16:27:26 +0530 Subject: [PATCH 13/21] updated version to 1.0.0b1 --- src/nsp/HISTORY.rst | 2 +- src/nsp/setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nsp/HISTORY.rst b/src/nsp/HISTORY.rst index 811dfb35490..7758a5b5f6c 100644 --- a/src/nsp/HISTORY.rst +++ b/src/nsp/HISTORY.rst @@ -4,7 +4,7 @@ Release History =============== =============== -##### 0.3.0b1 +##### 1.0.0b1 ++++++ No new commands added. Commands for new api version 2023-08-01-preview added. diff --git a/src/nsp/setup.py b/src/nsp/setup.py index 342516a7303..e2d00398ada 100644 --- a/src/nsp/setup.py +++ b/src/nsp/setup.py @@ -10,7 +10,7 @@ # HISTORY.rst entry. -VERSION = '0.3.0b1' +VERSION = '1.0.0b1' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers From 6311d6f81101352f296cc2bdf048cd06307c9b2e Mon Sep 17 00:00:00 2001 From: Bhupesh Bhatt Date: Wed, 26 Jun 2024 17:01:00 +0530 Subject: [PATCH 14/21] text formatting in hostory file --- src/nsp/HISTORY.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nsp/HISTORY.rst b/src/nsp/HISTORY.rst index 7758a5b5f6c..69a754c1c27 100644 --- a/src/nsp/HISTORY.rst +++ b/src/nsp/HISTORY.rst @@ -10,7 +10,7 @@ No new commands added. Commands for new api version 2023-08-01-preview added. Existing commands updated: -* perimeter profile access-rule: create,show,update (added servicetag based rules). +* perimeter profile access-rule: create, show, update (added servicetag based rules). ##### 0.3.0 ++++++ From 70be8811a1a579d1dd1356618cabc8de042454d9 Mon Sep 17 00:00:00 2001 From: Bhupesh Bhatt Date: Tue, 2 Jul 2024 12:46:56 +0530 Subject: [PATCH 15/21] fixed the flatten issue --- .../aaz/latest/network/perimeter/_create.py | 4 +--- .../aaz/latest/network/perimeter/_list.py | 8 ++------ .../aaz/latest/network/perimeter/_show.py | 4 +--- .../network/perimeter/association/_create.py | 6 ++---- .../network/perimeter/association/_list.py | 4 +--- .../network/perimeter/association/_show.py | 4 +--- .../network/perimeter/association/_update.py | 6 ++---- .../network/perimeter/association/_wait.py | 4 +--- .../aaz/latest/network/perimeter/link/_create.py | 6 ++---- .../aaz/latest/network/perimeter/link/_list.py | 4 +--- .../aaz/latest/network/perimeter/link/_show.py | 4 +--- .../aaz/latest/network/perimeter/link/_update.py | 6 ++---- .../aaz/latest/network/perimeter/link/_wait.py | 4 +--- .../network/perimeter/link_reference/_list.py | 4 +--- .../network/perimeter/link_reference/_show.py | 4 +--- .../network/perimeter/link_reference/_wait.py | 4 +--- .../perimeter/onboarded_resources/_list.py | 4 +--- .../latest/network/perimeter/profile/_create.py | 4 +--- .../latest/network/perimeter/profile/_list.py | 4 +--- .../latest/network/perimeter/profile/_show.py | 4 +--- .../perimeter/profile/access_rule/_create.py | 6 ++---- .../perimeter/profile/access_rule/_list.py | 4 +--- .../perimeter/profile/access_rule/_show.py | 4 +--- .../perimeter/profile/access_rule/_update.py | 6 ++---- src/nsp/azext_nsp/tests/latest/test_nsp.py | 16 ++++++++-------- 25 files changed, 39 insertions(+), 89 deletions(-) diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_create.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_create.py index 02aa2ad4f5c..42371812c27 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_create.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_create.py @@ -196,9 +196,7 @@ def _build_schema_on_200_201(cls): ) _schema_on_200_201.location = AAZStrType() _schema_on_200_201.name = AAZStrType() - _schema_on_200_201.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _schema_on_200_201.properties = AAZObjectType() _schema_on_200_201.tags = AAZDictType() _schema_on_200_201.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_list.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_list.py index 832b3d01ea9..e9cb246cb7a 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_list.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_list.py @@ -181,9 +181,7 @@ def _build_schema_on_200(cls): ) _element.location = AAZStrType() _element.name = AAZStrType() - _element.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _element.properties = AAZObjectType() _element.tags = AAZDictType() _element.type = AAZStrType( flags={"read_only": True}, @@ -297,9 +295,7 @@ def _build_schema_on_200(cls): ) _element.location = AAZStrType() _element.name = AAZStrType() - _element.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _element.properties = AAZObjectType() _element.tags = AAZDictType() _element.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_show.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_show.py index 29b6c726932..51f6e8c0dae 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_show.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_show.py @@ -158,9 +158,7 @@ def _build_schema_on_200(cls): ) _schema_on_200.location = AAZStrType() _schema_on_200.name = AAZStrType() - _schema_on_200.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _schema_on_200.properties = AAZObjectType() _schema_on_200.tags = AAZDictType() _schema_on_200.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_create.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_create.py index 353ed1d8bfb..ae641b457ff 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_create.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_create.py @@ -214,7 +214,7 @@ def content(self): ) _builder.set_prop("location", AAZStrType, ".location") _builder.set_prop("name", AAZStrType, ".association_name") - _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) + _builder.set_prop("properties", AAZObjectType) _builder.set_prop("tags", AAZDictType, ".tags") properties = _builder.get(".properties") @@ -252,9 +252,7 @@ def _build_schema_on_200_201(cls): ) _schema_on_200_201.location = AAZStrType() _schema_on_200_201.name = AAZStrType() - _schema_on_200_201.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _schema_on_200_201.properties = AAZObjectType() _schema_on_200_201.tags = AAZDictType() _schema_on_200_201.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_list.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_list.py index 38b43f0baa4..6df1b4a5142 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_list.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_list.py @@ -186,9 +186,7 @@ def _build_schema_on_200(cls): ) _element.location = AAZStrType() _element.name = AAZStrType() - _element.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _element.properties = AAZObjectType() _element.tags = AAZDictType() _element.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_show.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_show.py index cc035552bdb..d8336b93afc 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_show.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_show.py @@ -168,9 +168,7 @@ def _build_schema_on_200(cls): ) _schema_on_200.location = AAZStrType() _schema_on_200.name = AAZStrType() - _schema_on_200.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _schema_on_200.properties = AAZObjectType() _schema_on_200.tags = AAZDictType() _schema_on_200.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_update.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_update.py index 39e873b5ccf..deb81d1de52 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_update.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_update.py @@ -361,7 +361,7 @@ def _update_instance(self, instance): ) _builder.set_prop("location", AAZStrType, ".location") _builder.set_prop("name", AAZStrType, ".association_name") - _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) + _builder.set_prop("properties", AAZObjectType) _builder.set_prop("tags", AAZDictType, ".tags") properties = _builder.get(".properties") @@ -415,9 +415,7 @@ def _build_schema_nsp_association_read(cls, _schema): ) nsp_association_read.location = AAZStrType() nsp_association_read.name = AAZStrType() - nsp_association_read.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + nsp_association_read.properties = AAZObjectType() nsp_association_read.tags = AAZDictType() nsp_association_read.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_wait.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_wait.py index 84e368e2640..a87336a7539 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_wait.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_wait.py @@ -164,9 +164,7 @@ def _build_schema_on_200(cls): ) _schema_on_200.location = AAZStrType() _schema_on_200.name = AAZStrType() - _schema_on_200.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _schema_on_200.properties = AAZObjectType() _schema_on_200.tags = AAZDictType() _schema_on_200.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_create.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_create.py index b04f5b06e0a..e515bd5c3c4 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_create.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_create.py @@ -189,7 +189,7 @@ def content(self): typ=AAZObjectType, typ_kwargs={"flags": {"required": True, "client_flatten": True}} ) - _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) + _builder.set_prop("properties", AAZObjectType) properties = _builder.get(".properties") if properties is not None: @@ -235,9 +235,7 @@ def _build_schema_on_200_201(cls): _schema_on_200_201.name = AAZStrType( flags={"read_only": True}, ) - _schema_on_200_201.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _schema_on_200_201.properties = AAZObjectType() _schema_on_200_201.type = AAZStrType( flags={"read_only": True}, ) diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_list.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_list.py index 8de295811ca..a9b63a31b28 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_list.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_list.py @@ -190,9 +190,7 @@ def _build_schema_on_200(cls): _element.name = AAZStrType( flags={"read_only": True}, ) - _element.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _element.properties = AAZObjectType() _element.type = AAZStrType( flags={"read_only": True}, ) diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_show.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_show.py index 5eabdecddd6..6a35f8b4ba1 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_show.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_show.py @@ -172,9 +172,7 @@ def _build_schema_on_200(cls): _schema_on_200.name = AAZStrType( flags={"read_only": True}, ) - _schema_on_200.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _schema_on_200.properties = AAZObjectType() _schema_on_200.type = AAZStrType( flags={"read_only": True}, ) diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_update.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_update.py index 339564b4abd..a7c11f7bef0 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_update.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_update.py @@ -328,7 +328,7 @@ def _update_instance(self, instance): value=instance, typ=AAZObjectType ) - _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) + _builder.set_prop("properties", AAZObjectType) properties = _builder.get(".properties") if properties is not None: @@ -382,9 +382,7 @@ def _build_schema_nsp_link_read(cls, _schema): nsp_link_read.name = AAZStrType( flags={"read_only": True}, ) - nsp_link_read.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + nsp_link_read.properties = AAZObjectType() nsp_link_read.type = AAZStrType( flags={"read_only": True}, ) diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_wait.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_wait.py index 72415f3af6e..cec51d5e67b 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_wait.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_wait.py @@ -168,9 +168,7 @@ def _build_schema_on_200(cls): _schema_on_200.name = AAZStrType( flags={"read_only": True}, ) - _schema_on_200.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _schema_on_200.properties = AAZObjectType() _schema_on_200.type = AAZStrType( flags={"read_only": True}, ) diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_list.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_list.py index d93c59b0d15..bb04a9f3cc4 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_list.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_list.py @@ -190,9 +190,7 @@ def _build_schema_on_200(cls): _element.name = AAZStrType( flags={"read_only": True}, ) - _element.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _element.properties = AAZObjectType() _element.type = AAZStrType( flags={"read_only": True}, ) diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_show.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_show.py index fa298e171de..eee8fd9bcda 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_show.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_show.py @@ -172,9 +172,7 @@ def _build_schema_on_200(cls): _schema_on_200.name = AAZStrType( flags={"read_only": True}, ) - _schema_on_200.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _schema_on_200.properties = AAZObjectType() _schema_on_200.type = AAZStrType( flags={"read_only": True}, ) diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_wait.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_wait.py index 97460837924..f1397ec1353 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_wait.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_wait.py @@ -168,9 +168,7 @@ def _build_schema_on_200(cls): _schema_on_200.name = AAZStrType( flags={"read_only": True}, ) - _schema_on_200.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _schema_on_200.properties = AAZObjectType() _schema_on_200.type = AAZStrType( flags={"read_only": True}, ) diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/onboarded_resources/_list.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/onboarded_resources/_list.py index abd296f7913..d639e8c0a1c 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/onboarded_resources/_list.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/onboarded_resources/_list.py @@ -159,9 +159,7 @@ def _build_schema_on_200(cls): ) _element.location = AAZStrType() _element.name = AAZStrType() - _element.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _element.properties = AAZObjectType() _element.tags = AAZDictType() _element.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_create.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_create.py index 2d25dad8342..36c67881550 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_create.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_create.py @@ -205,9 +205,7 @@ def _build_schema_on_200_201(cls): ) _schema_on_200_201.location = AAZStrType() _schema_on_200_201.name = AAZStrType() - _schema_on_200_201.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _schema_on_200_201.properties = AAZObjectType() _schema_on_200_201.tags = AAZDictType() _schema_on_200_201.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_list.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_list.py index b4871d84e8b..eb80ee6a002 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_list.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_list.py @@ -186,9 +186,7 @@ def _build_schema_on_200(cls): ) _element.location = AAZStrType() _element.name = AAZStrType() - _element.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _element.properties = AAZObjectType() _element.tags = AAZDictType() _element.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_show.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_show.py index c732f5ca089..0c2ec73f647 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_show.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_show.py @@ -168,9 +168,7 @@ def _build_schema_on_200(cls): ) _schema_on_200.location = AAZStrType() _schema_on_200.name = AAZStrType() - _schema_on_200.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _schema_on_200.properties = AAZObjectType() _schema_on_200.tags = AAZDictType() _schema_on_200.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_create.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_create.py index 3a6690d57eb..93148ecd7bc 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_create.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_create.py @@ -259,7 +259,7 @@ def content(self): ) _builder.set_prop("location", AAZStrType, ".location") _builder.set_prop("name", AAZStrType, ".access_rule_name") - _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) + _builder.set_prop("properties", AAZObjectType) _builder.set_prop("tags", AAZDictType, ".tags") properties = _builder.get(".properties") @@ -329,9 +329,7 @@ def _build_schema_on_200_201(cls): ) _schema_on_200_201.location = AAZStrType() _schema_on_200_201.name = AAZStrType() - _schema_on_200_201.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _schema_on_200_201.properties = AAZObjectType() _schema_on_200_201.tags = AAZDictType() _schema_on_200_201.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_list.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_list.py index d5f9d7a116d..142fd31e1d8 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_list.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_list.py @@ -195,9 +195,7 @@ def _build_schema_on_200(cls): ) _element.location = AAZStrType() _element.name = AAZStrType() - _element.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _element.properties = AAZObjectType() _element.tags = AAZDictType() _element.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_show.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_show.py index ab0bbdc56f9..1b39036c8cc 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_show.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_show.py @@ -178,9 +178,7 @@ def _build_schema_on_200(cls): ) _schema_on_200.location = AAZStrType() _schema_on_200.name = AAZStrType() - _schema_on_200.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _schema_on_200.properties = AAZObjectType() _schema_on_200.tags = AAZDictType() _schema_on_200.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_update.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_update.py index bac95741451..a67efba7e62 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_update.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_update.py @@ -413,7 +413,7 @@ def _update_instance(self, instance): ) _builder.set_prop("location", AAZStrType, ".location") _builder.set_prop("name", AAZStrType, ".access_rule_name") - _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) + _builder.set_prop("properties", AAZObjectType) _builder.set_prop("tags", AAZDictType, ".tags") properties = _builder.get(".properties") @@ -493,9 +493,7 @@ def _build_schema_nsp_access_rule_read(cls, _schema): ) nsp_access_rule_read.location = AAZStrType() nsp_access_rule_read.name = AAZStrType() - nsp_access_rule_read.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + nsp_access_rule_read.properties = AAZObjectType() nsp_access_rule_read.tags = AAZDictType() nsp_access_rule_read.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/tests/latest/test_nsp.py b/src/nsp/azext_nsp/tests/latest/test_nsp.py index 9c71363d41e..bc8bb3420d7 100644 --- a/src/nsp/azext_nsp/tests/latest/test_nsp.py +++ b/src/nsp/azext_nsp/tests/latest/test_nsp.py @@ -60,13 +60,13 @@ def test_nsp_accessrule_crud(self, resource_group): self.cmd('az network perimeter profile access-rule create --name {accessrule_name} --profile-name {profile_name} --perimeter-name {nsp_name} --resource-group {rg} --fqdn "[\'www.abc.com\', \'www.google.com\']" --direction "Outbound"') self.cmd('az network perimeter profile access-rule show --name {accessrule_name} --profile-name {profile_name} --perimeter-name {nsp_name} --resource-group {rg}', checks=[ - self.check('fullyQualifiedDomainNames', "[\'www.abc.com\', \'www.google.com\']") + self.check('properties.fullyQualifiedDomainNames', "[\'www.abc.com\', \'www.google.com\']") ]) self.cmd('az network perimeter profile access-rule update --name {accessrule_name} --profile-name {profile_name} --perimeter-name {nsp_name} --resource-group {rg} --fqdn "[\'www.abc.com\']" --direction "Outbound"') self.cmd('az network perimeter profile access-rule show --name {accessrule_name} --profile-name {profile_name} --perimeter-name {nsp_name} --resource-group {rg}', checks=[ - self.check('fullyQualifiedDomainNames', "[\'www.abc.com\']") + self.check('properties.fullyQualifiedDomainNames', "[\'www.abc.com\']") ]) self.cmd('network perimeter profile access-rule list --perimeter-name {nsp_name} --profile-name {profile_name} --resource-group {rg}') @@ -92,12 +92,12 @@ def test_nsp_accessrule_inbound(self, resource_group): # IP based access rule self.cmd('az network perimeter profile access-rule create --name {ip_accessrule_name} --profile-name {profile_name} --perimeter-name {nsp_name} --resource-group {rg} --address-prefixes "[10.10.0.0/16]"', checks=[ - self.check('addressPrefixes', "['10.10.0.0/16']") + self.check('properties.addressPrefixes', "['10.10.0.0/16']") ]) # Subscription based access rule self.cmd('az network perimeter profile access-rule create --name {sub_accessrule_name} --profile-name {profile_name} --perimeter-name {nsp_name} --resource-group {rg} --subscriptions [0].id="/subscriptions/{sub}"', checks=[ - self.check('subscriptions[0].id', "/subscriptions/{sub}") + self.check('properties.subscriptions[0].id', "/subscriptions/{sub}") ]) """ @@ -105,7 +105,7 @@ def test_nsp_accessrule_inbound(self, resource_group): self.cmd('network perimeter create --name nsp_for_rule -l eastus2euap --resource-group {rg}') self.cmd('az network perimeter profile access-rule create --name {nsp_accessrule_name} --profile-name {profile_name} --perimeter-name {nsp_name} --resource-group {rg} --nsp [0].id="/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Network/networkSecurityPerimeters/nsp_for_rule"', checks=[ - self.check('networkSecurityPerimeters[0].id', "/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Network/networkSecurityPerimeters/nsp_for_rule") + self.check('properties.networkSecurityPerimeters[0].id', "/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Network/networkSecurityPerimeters/nsp_for_rule") ]) """ @@ -117,7 +117,7 @@ def test_nsp_accessrule_inbound(self, resource_group): # ServiceTag based access rule self.cmd('az network perimeter profile access-rule create --name {servicetag_accessrule_name} --profile-name {profile_name} --perimeter-name {nsp_name} --resource-group {rg} --service-tags [MicrosoftPublicIPSpace]', checks=[ - self.check('serviceTags', "['MicrosoftPublicIPSpace']") + self.check('properties.serviceTags', "['MicrosoftPublicIPSpace']") ]) @ResourceGroupPreparer(name_prefix='test_nsp_association_crud', location='eastus2euap') @@ -141,7 +141,7 @@ def test_nsp_association_crud(self, resource_group): '--profile id="/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Network/networkSecurityPerimeters/{nsp_name}/profiles/{profile_name}"') self.cmd('network perimeter association show --name {association_name} --perimeter-name {nsp_name} --resource-group {rg}', checks=[ - self.check('accessMode', 'Learning') + self.check('properties.accessMode', 'Learning') ]) self.cmd('network perimeter association update --name {association_name} --perimeter-name {nsp_name} --resource-group {rg} --access-mode Enforced ' @@ -149,7 +149,7 @@ def test_nsp_association_crud(self, resource_group): '--profile id="/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Network/networkSecurityPerimeters/{nsp_name}/profiles/{profile_name}"') self.cmd('network perimeter association show --name {association_name} --perimeter-name {nsp_name} --resource-group {rg}', checks=[ - self.check('accessMode', 'Enforced') + self.check('properties.accessMode', 'Enforced') ]) self.cmd('network perimeter association list --perimeter-name {nsp_name} --resource-group {rg}') From 2bea27c349dfd4b9c6aea4970dfd16f962dc0be2 Mon Sep 17 00:00:00 2001 From: Bhupesh Bhatt Date: Tue, 2 Jul 2024 13:11:54 +0530 Subject: [PATCH 16/21] added flatten false --- .../aaz/latest/network/perimeter/_create.py | 4 +--- .../aaz/latest/network/perimeter/_list.py | 8 ++------ .../aaz/latest/network/perimeter/_show.py | 4 +--- .../network/perimeter/association/_create.py | 6 ++---- .../latest/network/perimeter/association/_list.py | 4 +--- .../latest/network/perimeter/association/_show.py | 4 +--- .../network/perimeter/association/_update.py | 6 ++---- .../latest/network/perimeter/association/_wait.py | 4 +--- .../aaz/latest/network/perimeter/link/_create.py | 6 ++---- .../aaz/latest/network/perimeter/link/_list.py | 4 +--- .../aaz/latest/network/perimeter/link/_show.py | 4 +--- .../aaz/latest/network/perimeter/link/_update.py | 6 ++---- .../aaz/latest/network/perimeter/link/_wait.py | 4 +--- .../network/perimeter/link_reference/_list.py | 4 +--- .../network/perimeter/link_reference/_show.py | 4 +--- .../network/perimeter/link_reference/_wait.py | 4 +--- .../network/perimeter/onboarded_resources/_list.py | 4 +--- .../latest/network/perimeter/profile/_create.py | 4 +--- .../aaz/latest/network/perimeter/profile/_list.py | 4 +--- .../aaz/latest/network/perimeter/profile/_show.py | 4 +--- .../perimeter/profile/access_rule/_create.py | 6 ++---- .../network/perimeter/profile/access_rule/_list.py | 4 +--- .../network/perimeter/profile/access_rule/_show.py | 4 +--- .../perimeter/profile/access_rule/_update.py | 6 ++---- src/nsp/azext_nsp/tests/latest/test_nsp.py | 14 +++++++------- 25 files changed, 38 insertions(+), 88 deletions(-) diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_create.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_create.py index 02aa2ad4f5c..42371812c27 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_create.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_create.py @@ -196,9 +196,7 @@ def _build_schema_on_200_201(cls): ) _schema_on_200_201.location = AAZStrType() _schema_on_200_201.name = AAZStrType() - _schema_on_200_201.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _schema_on_200_201.properties = AAZObjectType() _schema_on_200_201.tags = AAZDictType() _schema_on_200_201.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_list.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_list.py index 832b3d01ea9..e9cb246cb7a 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_list.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_list.py @@ -181,9 +181,7 @@ def _build_schema_on_200(cls): ) _element.location = AAZStrType() _element.name = AAZStrType() - _element.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _element.properties = AAZObjectType() _element.tags = AAZDictType() _element.type = AAZStrType( flags={"read_only": True}, @@ -297,9 +295,7 @@ def _build_schema_on_200(cls): ) _element.location = AAZStrType() _element.name = AAZStrType() - _element.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _element.properties = AAZObjectType() _element.tags = AAZDictType() _element.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_show.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_show.py index 29b6c726932..51f6e8c0dae 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_show.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_show.py @@ -158,9 +158,7 @@ def _build_schema_on_200(cls): ) _schema_on_200.location = AAZStrType() _schema_on_200.name = AAZStrType() - _schema_on_200.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _schema_on_200.properties = AAZObjectType() _schema_on_200.tags = AAZDictType() _schema_on_200.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_create.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_create.py index 353ed1d8bfb..ae641b457ff 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_create.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_create.py @@ -214,7 +214,7 @@ def content(self): ) _builder.set_prop("location", AAZStrType, ".location") _builder.set_prop("name", AAZStrType, ".association_name") - _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) + _builder.set_prop("properties", AAZObjectType) _builder.set_prop("tags", AAZDictType, ".tags") properties = _builder.get(".properties") @@ -252,9 +252,7 @@ def _build_schema_on_200_201(cls): ) _schema_on_200_201.location = AAZStrType() _schema_on_200_201.name = AAZStrType() - _schema_on_200_201.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _schema_on_200_201.properties = AAZObjectType() _schema_on_200_201.tags = AAZDictType() _schema_on_200_201.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_list.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_list.py index 38b43f0baa4..6df1b4a5142 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_list.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_list.py @@ -186,9 +186,7 @@ def _build_schema_on_200(cls): ) _element.location = AAZStrType() _element.name = AAZStrType() - _element.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _element.properties = AAZObjectType() _element.tags = AAZDictType() _element.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_show.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_show.py index cc035552bdb..d8336b93afc 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_show.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_show.py @@ -168,9 +168,7 @@ def _build_schema_on_200(cls): ) _schema_on_200.location = AAZStrType() _schema_on_200.name = AAZStrType() - _schema_on_200.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _schema_on_200.properties = AAZObjectType() _schema_on_200.tags = AAZDictType() _schema_on_200.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_update.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_update.py index 39e873b5ccf..deb81d1de52 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_update.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_update.py @@ -361,7 +361,7 @@ def _update_instance(self, instance): ) _builder.set_prop("location", AAZStrType, ".location") _builder.set_prop("name", AAZStrType, ".association_name") - _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) + _builder.set_prop("properties", AAZObjectType) _builder.set_prop("tags", AAZDictType, ".tags") properties = _builder.get(".properties") @@ -415,9 +415,7 @@ def _build_schema_nsp_association_read(cls, _schema): ) nsp_association_read.location = AAZStrType() nsp_association_read.name = AAZStrType() - nsp_association_read.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + nsp_association_read.properties = AAZObjectType() nsp_association_read.tags = AAZDictType() nsp_association_read.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_wait.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_wait.py index 84e368e2640..a87336a7539 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_wait.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_wait.py @@ -164,9 +164,7 @@ def _build_schema_on_200(cls): ) _schema_on_200.location = AAZStrType() _schema_on_200.name = AAZStrType() - _schema_on_200.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _schema_on_200.properties = AAZObjectType() _schema_on_200.tags = AAZDictType() _schema_on_200.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_create.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_create.py index b04f5b06e0a..e515bd5c3c4 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_create.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_create.py @@ -189,7 +189,7 @@ def content(self): typ=AAZObjectType, typ_kwargs={"flags": {"required": True, "client_flatten": True}} ) - _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) + _builder.set_prop("properties", AAZObjectType) properties = _builder.get(".properties") if properties is not None: @@ -235,9 +235,7 @@ def _build_schema_on_200_201(cls): _schema_on_200_201.name = AAZStrType( flags={"read_only": True}, ) - _schema_on_200_201.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _schema_on_200_201.properties = AAZObjectType() _schema_on_200_201.type = AAZStrType( flags={"read_only": True}, ) diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_list.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_list.py index 8de295811ca..a9b63a31b28 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_list.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_list.py @@ -190,9 +190,7 @@ def _build_schema_on_200(cls): _element.name = AAZStrType( flags={"read_only": True}, ) - _element.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _element.properties = AAZObjectType() _element.type = AAZStrType( flags={"read_only": True}, ) diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_show.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_show.py index 5eabdecddd6..6a35f8b4ba1 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_show.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_show.py @@ -172,9 +172,7 @@ def _build_schema_on_200(cls): _schema_on_200.name = AAZStrType( flags={"read_only": True}, ) - _schema_on_200.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _schema_on_200.properties = AAZObjectType() _schema_on_200.type = AAZStrType( flags={"read_only": True}, ) diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_update.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_update.py index 339564b4abd..a7c11f7bef0 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_update.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_update.py @@ -328,7 +328,7 @@ def _update_instance(self, instance): value=instance, typ=AAZObjectType ) - _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) + _builder.set_prop("properties", AAZObjectType) properties = _builder.get(".properties") if properties is not None: @@ -382,9 +382,7 @@ def _build_schema_nsp_link_read(cls, _schema): nsp_link_read.name = AAZStrType( flags={"read_only": True}, ) - nsp_link_read.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + nsp_link_read.properties = AAZObjectType() nsp_link_read.type = AAZStrType( flags={"read_only": True}, ) diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_wait.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_wait.py index 72415f3af6e..cec51d5e67b 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_wait.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_wait.py @@ -168,9 +168,7 @@ def _build_schema_on_200(cls): _schema_on_200.name = AAZStrType( flags={"read_only": True}, ) - _schema_on_200.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _schema_on_200.properties = AAZObjectType() _schema_on_200.type = AAZStrType( flags={"read_only": True}, ) diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_list.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_list.py index d93c59b0d15..bb04a9f3cc4 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_list.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_list.py @@ -190,9 +190,7 @@ def _build_schema_on_200(cls): _element.name = AAZStrType( flags={"read_only": True}, ) - _element.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _element.properties = AAZObjectType() _element.type = AAZStrType( flags={"read_only": True}, ) diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_show.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_show.py index fa298e171de..eee8fd9bcda 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_show.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_show.py @@ -172,9 +172,7 @@ def _build_schema_on_200(cls): _schema_on_200.name = AAZStrType( flags={"read_only": True}, ) - _schema_on_200.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _schema_on_200.properties = AAZObjectType() _schema_on_200.type = AAZStrType( flags={"read_only": True}, ) diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_wait.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_wait.py index 97460837924..f1397ec1353 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_wait.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_wait.py @@ -168,9 +168,7 @@ def _build_schema_on_200(cls): _schema_on_200.name = AAZStrType( flags={"read_only": True}, ) - _schema_on_200.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _schema_on_200.properties = AAZObjectType() _schema_on_200.type = AAZStrType( flags={"read_only": True}, ) diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/onboarded_resources/_list.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/onboarded_resources/_list.py index abd296f7913..d639e8c0a1c 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/onboarded_resources/_list.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/onboarded_resources/_list.py @@ -159,9 +159,7 @@ def _build_schema_on_200(cls): ) _element.location = AAZStrType() _element.name = AAZStrType() - _element.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _element.properties = AAZObjectType() _element.tags = AAZDictType() _element.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_create.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_create.py index 2d25dad8342..36c67881550 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_create.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_create.py @@ -205,9 +205,7 @@ def _build_schema_on_200_201(cls): ) _schema_on_200_201.location = AAZStrType() _schema_on_200_201.name = AAZStrType() - _schema_on_200_201.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _schema_on_200_201.properties = AAZObjectType() _schema_on_200_201.tags = AAZDictType() _schema_on_200_201.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_list.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_list.py index b4871d84e8b..eb80ee6a002 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_list.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_list.py @@ -186,9 +186,7 @@ def _build_schema_on_200(cls): ) _element.location = AAZStrType() _element.name = AAZStrType() - _element.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _element.properties = AAZObjectType() _element.tags = AAZDictType() _element.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_show.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_show.py index c732f5ca089..0c2ec73f647 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_show.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_show.py @@ -168,9 +168,7 @@ def _build_schema_on_200(cls): ) _schema_on_200.location = AAZStrType() _schema_on_200.name = AAZStrType() - _schema_on_200.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _schema_on_200.properties = AAZObjectType() _schema_on_200.tags = AAZDictType() _schema_on_200.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_create.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_create.py index 3a6690d57eb..93148ecd7bc 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_create.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_create.py @@ -259,7 +259,7 @@ def content(self): ) _builder.set_prop("location", AAZStrType, ".location") _builder.set_prop("name", AAZStrType, ".access_rule_name") - _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) + _builder.set_prop("properties", AAZObjectType) _builder.set_prop("tags", AAZDictType, ".tags") properties = _builder.get(".properties") @@ -329,9 +329,7 @@ def _build_schema_on_200_201(cls): ) _schema_on_200_201.location = AAZStrType() _schema_on_200_201.name = AAZStrType() - _schema_on_200_201.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _schema_on_200_201.properties = AAZObjectType() _schema_on_200_201.tags = AAZDictType() _schema_on_200_201.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_list.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_list.py index d5f9d7a116d..142fd31e1d8 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_list.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_list.py @@ -195,9 +195,7 @@ def _build_schema_on_200(cls): ) _element.location = AAZStrType() _element.name = AAZStrType() - _element.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _element.properties = AAZObjectType() _element.tags = AAZDictType() _element.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_show.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_show.py index ab0bbdc56f9..1b39036c8cc 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_show.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_show.py @@ -178,9 +178,7 @@ def _build_schema_on_200(cls): ) _schema_on_200.location = AAZStrType() _schema_on_200.name = AAZStrType() - _schema_on_200.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + _schema_on_200.properties = AAZObjectType() _schema_on_200.tags = AAZDictType() _schema_on_200.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_update.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_update.py index bac95741451..a67efba7e62 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_update.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_update.py @@ -413,7 +413,7 @@ def _update_instance(self, instance): ) _builder.set_prop("location", AAZStrType, ".location") _builder.set_prop("name", AAZStrType, ".access_rule_name") - _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) + _builder.set_prop("properties", AAZObjectType) _builder.set_prop("tags", AAZDictType, ".tags") properties = _builder.get(".properties") @@ -493,9 +493,7 @@ def _build_schema_nsp_access_rule_read(cls, _schema): ) nsp_access_rule_read.location = AAZStrType() nsp_access_rule_read.name = AAZStrType() - nsp_access_rule_read.properties = AAZObjectType( - flags={"client_flatten": True}, - ) + nsp_access_rule_read.properties = AAZObjectType() nsp_access_rule_read.tags = AAZDictType() nsp_access_rule_read.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/tests/latest/test_nsp.py b/src/nsp/azext_nsp/tests/latest/test_nsp.py index b670a2fb37e..bc8bb3420d7 100644 --- a/src/nsp/azext_nsp/tests/latest/test_nsp.py +++ b/src/nsp/azext_nsp/tests/latest/test_nsp.py @@ -60,13 +60,13 @@ def test_nsp_accessrule_crud(self, resource_group): self.cmd('az network perimeter profile access-rule create --name {accessrule_name} --profile-name {profile_name} --perimeter-name {nsp_name} --resource-group {rg} --fqdn "[\'www.abc.com\', \'www.google.com\']" --direction "Outbound"') self.cmd('az network perimeter profile access-rule show --name {accessrule_name} --profile-name {profile_name} --perimeter-name {nsp_name} --resource-group {rg}', checks=[ - self.check('fullyQualifiedDomainNames', "[\'www.abc.com\', \'www.google.com\']") + self.check('properties.fullyQualifiedDomainNames', "[\'www.abc.com\', \'www.google.com\']") ]) self.cmd('az network perimeter profile access-rule update --name {accessrule_name} --profile-name {profile_name} --perimeter-name {nsp_name} --resource-group {rg} --fqdn "[\'www.abc.com\']" --direction "Outbound"') self.cmd('az network perimeter profile access-rule show --name {accessrule_name} --profile-name {profile_name} --perimeter-name {nsp_name} --resource-group {rg}', checks=[ - self.check('fullyQualifiedDomainNames', "[\'www.abc.com\']") + self.check('properties.fullyQualifiedDomainNames', "[\'www.abc.com\']") ]) self.cmd('network perimeter profile access-rule list --perimeter-name {nsp_name} --profile-name {profile_name} --resource-group {rg}') @@ -92,12 +92,12 @@ def test_nsp_accessrule_inbound(self, resource_group): # IP based access rule self.cmd('az network perimeter profile access-rule create --name {ip_accessrule_name} --profile-name {profile_name} --perimeter-name {nsp_name} --resource-group {rg} --address-prefixes "[10.10.0.0/16]"', checks=[ - self.check('addressPrefixes', "['10.10.0.0/16']") + self.check('properties.addressPrefixes', "['10.10.0.0/16']") ]) # Subscription based access rule self.cmd('az network perimeter profile access-rule create --name {sub_accessrule_name} --profile-name {profile_name} --perimeter-name {nsp_name} --resource-group {rg} --subscriptions [0].id="/subscriptions/{sub}"', checks=[ - self.check('subscriptions[0].id', "/subscriptions/{sub}") + self.check('properties.subscriptions[0].id', "/subscriptions/{sub}") ]) """ @@ -105,7 +105,7 @@ def test_nsp_accessrule_inbound(self, resource_group): self.cmd('network perimeter create --name nsp_for_rule -l eastus2euap --resource-group {rg}') self.cmd('az network perimeter profile access-rule create --name {nsp_accessrule_name} --profile-name {profile_name} --perimeter-name {nsp_name} --resource-group {rg} --nsp [0].id="/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Network/networkSecurityPerimeters/nsp_for_rule"', checks=[ - self.check('networkSecurityPerimeters[0].id', "/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Network/networkSecurityPerimeters/nsp_for_rule") + self.check('properties.networkSecurityPerimeters[0].id', "/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Network/networkSecurityPerimeters/nsp_for_rule") ]) """ @@ -141,7 +141,7 @@ def test_nsp_association_crud(self, resource_group): '--profile id="/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Network/networkSecurityPerimeters/{nsp_name}/profiles/{profile_name}"') self.cmd('network perimeter association show --name {association_name} --perimeter-name {nsp_name} --resource-group {rg}', checks=[ - self.check('accessMode', 'Learning') + self.check('properties.accessMode', 'Learning') ]) self.cmd('network perimeter association update --name {association_name} --perimeter-name {nsp_name} --resource-group {rg} --access-mode Enforced ' @@ -149,7 +149,7 @@ def test_nsp_association_crud(self, resource_group): '--profile id="/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Network/networkSecurityPerimeters/{nsp_name}/profiles/{profile_name}"') self.cmd('network perimeter association show --name {association_name} --perimeter-name {nsp_name} --resource-group {rg}', checks=[ - self.check('accessMode', 'Enforced') + self.check('properties.accessMode', 'Enforced') ]) self.cmd('network perimeter association list --perimeter-name {nsp_name} --resource-group {rg}') From 2d3c7e3d131c39ed69f5fb971c280a87a1aaa456 Mon Sep 17 00:00:00 2001 From: Bhupesh Bhatt Date: Tue, 2 Jul 2024 13:35:41 +0530 Subject: [PATCH 17/21] updated hostory and version --- src/nsp/HISTORY.rst | 5 +++++ src/nsp/setup.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/nsp/HISTORY.rst b/src/nsp/HISTORY.rst index 69a754c1c27..38646ae7930 100644 --- a/src/nsp/HISTORY.rst +++ b/src/nsp/HISTORY.rst @@ -4,6 +4,11 @@ Release History =============== =============== +##### 2.0.0b1 +++++++ +No new commands added. Flatten false the properties of the command output. + + ##### 1.0.0b1 ++++++ No new commands added. diff --git a/src/nsp/setup.py b/src/nsp/setup.py index e2d00398ada..04c60557cc1 100644 --- a/src/nsp/setup.py +++ b/src/nsp/setup.py @@ -10,7 +10,7 @@ # HISTORY.rst entry. -VERSION = '1.0.0b1' +VERSION = '2.0.0b1' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers From 3e39719ff497d4d68cbc8d03e5dd4a561dc38876 Mon Sep 17 00:00:00 2001 From: Bhupesh Bhatt Date: Tue, 2 Jul 2024 13:46:32 +0530 Subject: [PATCH 18/21] fixed version --- src/nsp/HISTORY.rst | 2 +- src/nsp/setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nsp/HISTORY.rst b/src/nsp/HISTORY.rst index 38646ae7930..87281ebd400 100644 --- a/src/nsp/HISTORY.rst +++ b/src/nsp/HISTORY.rst @@ -4,7 +4,7 @@ Release History =============== =============== -##### 2.0.0b1 +##### 1.0.0b2 ++++++ No new commands added. Flatten false the properties of the command output. diff --git a/src/nsp/setup.py b/src/nsp/setup.py index 04c60557cc1..384481f0ec8 100644 --- a/src/nsp/setup.py +++ b/src/nsp/setup.py @@ -10,7 +10,7 @@ # HISTORY.rst entry. -VERSION = '2.0.0b1' +VERSION = '1.0.0b2' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers From 6d6ddc7d00b84faca7133e38795c8491d314b8f1 Mon Sep 17 00:00:00 2001 From: Bhupesh Bhatt Date: Tue, 2 Jul 2024 14:02:39 +0530 Subject: [PATCH 19/21] updated the setup release version --- src/nsp/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nsp/setup.py b/src/nsp/setup.py index 384481f0ec8..e2d00398ada 100644 --- a/src/nsp/setup.py +++ b/src/nsp/setup.py @@ -10,7 +10,7 @@ # HISTORY.rst entry. -VERSION = '1.0.0b2' +VERSION = '1.0.0b1' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers From d852f5eb2d8922b972f6f04587872bb3a33cb0d4 Mon Sep 17 00:00:00 2001 From: Bhupesh Bhatt Date: Tue, 2 Jul 2024 15:33:16 +0530 Subject: [PATCH 20/21] flatten by aaz tool --- src/nsp/azext_nsp/aaz/latest/network/perimeter/_create.py | 2 +- src/nsp/azext_nsp/aaz/latest/network/perimeter/_list.py | 2 +- src/nsp/azext_nsp/aaz/latest/network/perimeter/_show.py | 2 +- .../aaz/latest/network/perimeter/association/_create.py | 2 +- .../aaz/latest/network/perimeter/association/_list.py | 2 +- .../aaz/latest/network/perimeter/association/_show.py | 2 +- .../aaz/latest/network/perimeter/association/_update.py | 2 +- .../azext_nsp/aaz/latest/network/perimeter/link/_create.py | 2 +- .../azext_nsp/aaz/latest/network/perimeter/link/_list.py | 2 +- .../azext_nsp/aaz/latest/network/perimeter/link/_show.py | 2 +- .../azext_nsp/aaz/latest/network/perimeter/link/_update.py | 2 +- .../aaz/latest/network/perimeter/link_reference/_list.py | 2 +- .../aaz/latest/network/perimeter/link_reference/_show.py | 2 +- .../latest/network/perimeter/onboarded_resources/_list.py | 6 ++++-- .../aaz/latest/network/perimeter/profile/_create.py | 2 +- .../azext_nsp/aaz/latest/network/perimeter/profile/_list.py | 2 +- .../azext_nsp/aaz/latest/network/perimeter/profile/_show.py | 2 +- .../latest/network/perimeter/profile/access_rule/_create.py | 2 +- .../latest/network/perimeter/profile/access_rule/_list.py | 2 +- .../latest/network/perimeter/profile/access_rule/_show.py | 2 +- .../latest/network/perimeter/profile/access_rule/_update.py | 4 ++-- src/nsp/azext_nsp/azext_metadata.json | 4 ++-- 22 files changed, 27 insertions(+), 25 deletions(-) diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_create.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_create.py index 42371812c27..c2feac20a2e 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_create.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_create.py @@ -87,7 +87,7 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) return result class NetworkSecurityPerimetersCreateOrUpdate(AAZHttpOperation): diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_list.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_list.py index e9cb246cb7a..3227be10379 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_list.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_list.py @@ -80,7 +80,7 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=False) next_link = self.deserialize_output(self.ctx.vars.instance.next_link) return result, next_link diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_show.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_show.py index 51f6e8c0dae..ecc06fef010 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_show.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_show.py @@ -69,7 +69,7 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) return result class NetworkSecurityPerimetersGet(AAZHttpOperation): diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_create.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_create.py index ae641b457ff..59ff98dab1e 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_create.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_create.py @@ -132,7 +132,7 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) return result class NspAssociationsCreateOrUpdate(AAZHttpOperation): diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_list.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_list.py index 6df1b4a5142..f74d4b6772b 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_list.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_list.py @@ -81,7 +81,7 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=False) next_link = self.deserialize_output(self.ctx.vars.instance.next_link) return result, next_link diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_show.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_show.py index d8336b93afc..44bcbf22aec 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_show.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_show.py @@ -75,7 +75,7 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) return result class NspAssociationsGet(AAZHttpOperation): diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_update.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_update.py index deb81d1de52..a789f2ec4cf 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_update.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/_update.py @@ -159,7 +159,7 @@ def post_instance_update(self, instance): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) return result class NspAssociationsGet(AAZHttpOperation): diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_create.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_create.py index e515bd5c3c4..7423e2e3a46 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_create.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_create.py @@ -109,7 +109,7 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) return result class NspLinksCreateOrUpdate(AAZHttpOperation): diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_list.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_list.py index a9b63a31b28..466d30b4b15 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_list.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_list.py @@ -81,7 +81,7 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=False) next_link = self.deserialize_output(self.ctx.vars.instance.next_link) return result, next_link diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_show.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_show.py index 6a35f8b4ba1..b8664f2eab1 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_show.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_show.py @@ -75,7 +75,7 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) return result class NspLinksGet(AAZHttpOperation): diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_update.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_update.py index a7c11f7bef0..ea24835842c 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_update.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/_update.py @@ -128,7 +128,7 @@ def post_instance_update(self, instance): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) return result class NspLinksGet(AAZHttpOperation): diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_list.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_list.py index bb04a9f3cc4..94bba7e6c08 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_list.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_list.py @@ -81,7 +81,7 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=False) next_link = self.deserialize_output(self.ctx.vars.instance.next_link) return result, next_link diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_show.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_show.py index eee8fd9bcda..7ac36afba71 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_show.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/_show.py @@ -75,7 +75,7 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) return result class NspLinkReferencesGet(AAZHttpOperation): diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/onboarded_resources/_list.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/onboarded_resources/_list.py index d639e8c0a1c..9240b927f17 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/onboarded_resources/_list.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/onboarded_resources/_list.py @@ -64,7 +64,7 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=False) next_link = self.deserialize_output(self.ctx.vars.instance.next_link) return result, next_link @@ -159,7 +159,9 @@ def _build_schema_on_200(cls): ) _element.location = AAZStrType() _element.name = AAZStrType() - _element.properties = AAZObjectType() + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) _element.tags = AAZDictType() _element.type = AAZStrType( flags={"read_only": True}, diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_create.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_create.py index 36c67881550..1f406e4a579 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_create.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_create.py @@ -92,7 +92,7 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) return result class NspProfilesCreateOrUpdate(AAZHttpOperation): diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_list.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_list.py index eb80ee6a002..2a1e1119d93 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_list.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_list.py @@ -81,7 +81,7 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=False) next_link = self.deserialize_output(self.ctx.vars.instance.next_link) return result, next_link diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_show.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_show.py index 0c2ec73f647..c2597c9f6de 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_show.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/_show.py @@ -75,7 +75,7 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) return result class NspProfilesGet(AAZHttpOperation): diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_create.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_create.py index 93148ecd7bc..368d3763fad 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_create.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_create.py @@ -173,7 +173,7 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) return result class NspAccessRulesCreateOrUpdate(AAZHttpOperation): diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_list.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_list.py index 142fd31e1d8..6df2ba63b62 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_list.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_list.py @@ -86,7 +86,7 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=False) next_link = self.deserialize_output(self.ctx.vars.instance.next_link) return result, next_link diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_show.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_show.py index 1b39036c8cc..41405d3860d 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_show.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_show.py @@ -81,7 +81,7 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) return result class NspAccessRulesGet(AAZHttpOperation): diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_update.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_update.py index a67efba7e62..5d46f1f6cb3 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_update.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/_update.py @@ -15,7 +15,7 @@ "network perimeter profile access-rule update", ) class Update(AAZCommand): - """Updates a network access rule. + """Creates or updates a network access rule. :example: Update access rule az network perimeter profile access-rule update -n MyAccessRule --profile-name MyProfile --perimeter-name MyPerimeter -g MyResourceGroup --address-prefixes "[10.10.0.0/16]" @@ -203,7 +203,7 @@ def post_instance_update(self, instance): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) return result class NspAccessRulesGet(AAZHttpOperation): diff --git a/src/nsp/azext_nsp/azext_metadata.json b/src/nsp/azext_nsp/azext_metadata.json index 0694c632100..c856326fb21 100644 --- a/src/nsp/azext_nsp/azext_metadata.json +++ b/src/nsp/azext_nsp/azext_metadata.json @@ -1,4 +1,4 @@ { - "azext.minCliCoreVersion": "2.57.0", - "azext.isPreview": true + "azext.isPreview": true, + "azext.minCliCoreVersion": "2.61.0" } \ No newline at end of file From 6689db93ae84b7a481739004c23f227e5a01e9c5 Mon Sep 17 00:00:00 2001 From: Bhupesh Bhatt Date: Thu, 4 Jul 2024 10:11:57 +0530 Subject: [PATCH 21/21] update setup.py with release number: 1.0.0b2 --- src/nsp/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nsp/setup.py b/src/nsp/setup.py index e2d00398ada..384481f0ec8 100644 --- a/src/nsp/setup.py +++ b/src/nsp/setup.py @@ -10,7 +10,7 @@ # HISTORY.rst entry. -VERSION = '1.0.0b1' +VERSION = '1.0.0b2' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers