diff --git a/src/nsp/HISTORY.rst b/src/nsp/HISTORY.rst index 1338d153568..bdd3de100f8 100644 --- a/src/nsp/HISTORY.rst +++ b/src/nsp/HISTORY.rst @@ -4,6 +4,19 @@ Release History =============== =============== +##### 1.0.0 +++++++ +New commands added: +* perimeter associable-resource-type: list +* perimeter logging-configuration: list + +Existing commands updated: +* perimeter delete: added --force-deletion parameter. +* Flattened output reponse for all commands. + +Removed commands: +* perimeter onboarded-resources: list + ##### 1.0.0b3 ++++++ New commands added: diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/__cmd_group.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/__cmd_group.py index f2408b7accd..060aa28d6af 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/__cmd_group.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/__cmd_group.py @@ -15,7 +15,7 @@ "network perimeter", ) class __CMDGroup(AAZCommandGroup): - """Manage Network Security Perimeters + """Manage Network Security Perimeters. """ pass 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..71fa81544a2 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 ._wait 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 c2feac20a2e..251527aacb8 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_create.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_create.py @@ -15,16 +15,16 @@ "network perimeter create", ) class Create(AAZCommand): - """Creates a Network Security Perimeter. + """Create a network security perimeter. - :example: Create a Network Security Perimeter + :example: Create a network security perimeter az network perimeter create -n MyPerimeter -g MyResourceGroup -l northcentralus """ _aaz_info = { - "version": "2023-08-01-preview", + "version": "2024-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}", "2023-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}", "2024-07-01"], ] } @@ -48,6 +48,10 @@ def _build_arguments_schema(cls, *args, **kwargs): options=["-n", "--name", "--perimeter-name"], help="The name of the network security perimeter.", required=True, + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( required=True, @@ -59,6 +63,7 @@ def _build_arguments_schema(cls, *args, **kwargs): _args_schema.location = AAZResourceLocationArg( arg_group="Parameters", help="The location in which NSP is created.", + required=True, fmt=AAZResourceLocationArgFormat( resource_group_arg="resource_group", ), @@ -87,7 +92,7 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) return result class NetworkSecurityPerimetersCreateOrUpdate(AAZHttpOperation): @@ -138,7 +143,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } @@ -163,8 +168,7 @@ def content(self): typ=AAZObjectType, typ_kwargs={"flags": {"required": True, "client_flatten": True}} ) - _builder.set_prop("location", AAZStrType, ".location") - _builder.set_prop("name", AAZStrType, ".perimeter_name") + _builder.set_prop("location", AAZStrType, ".location", typ_kwargs={"flags": {"required": True}}) _builder.set_prop("tags", AAZDictType, ".tags") tags = _builder.get(".tags") @@ -194,9 +198,19 @@ def _build_schema_on_200_201(cls): _schema_on_200_201.id = AAZStrType( flags={"read_only": True}, ) - _schema_on_200_201.location = AAZStrType() - _schema_on_200_201.name = AAZStrType() - _schema_on_200_201.properties = AAZObjectType() + _schema_on_200_201.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200_201.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200_201.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) _schema_on_200_201.tags = AAZDictType() _schema_on_200_201.type = AAZStrType( flags={"read_only": True}, @@ -212,6 +226,26 @@ def _build_schema_on_200_201(cls): flags={"read_only": True}, ) + system_data = cls._schema_on_200_201.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + tags = cls._schema_on_200_201.tags tags.Element = AAZStrType() 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 4a1c53643b9..d1a58762684 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_delete.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_delete.py @@ -16,23 +16,24 @@ confirmation="Are you sure you want to perform this operation?", ) class Delete(AAZCommand): - """Deletes a network security perimeter. + """Delete a network security perimeter. - :example: Delete a Network Security Perimeter + :example: Delete a network security perimeter az network perimeter delete -g MyResourceGroup -n MyPerimeter """ _aaz_info = { - "version": "2023-08-01-preview", + "version": "2024-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}", "2023-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}", "2024-07-01"], ] } + AZ_SUPPORT_NO_WAIT = True + def _handler(self, command_args): super()._handler(command_args) - self._execute_operations() - return None + return self.build_lro_poller(self._execute_operations, None) _args_schema = None @@ -50,15 +51,23 @@ def _build_arguments_schema(cls, *args, **kwargs): help="The name of the network security perimeter.", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( required=True, ) + _args_schema.force_deletion = AAZBoolArg( + options=["--force-deletion"], + help="Deletes the resource even if it contains any child associations.", + ) return cls._args_schema def _execute_operations(self): self.pre_operations() - self.NetworkSecurityPerimetersDelete(ctx=self.ctx)() + yield self.NetworkSecurityPerimetersDelete(ctx=self.ctx)() self.post_operations() @register_callback @@ -75,10 +84,33 @@ class NetworkSecurityPerimetersDelete(AAZHttpOperation): 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 [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) if session.http_response.status_code in [200]: - return self.on_200(session) + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) if session.http_response.status_code in [204]: - return self.on_204(session) + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_204, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) return self.on_error(session.http_response) @@ -119,7 +151,10 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "forceDeletion", self.ctx.args.force_deletion, + ), + **self.serialize_query_param( + "api-version", "2024-07-01", 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 3227be10379..0b21b91504f 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_list.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_list.py @@ -15,17 +15,17 @@ "network perimeter list", ) class List(AAZCommand): - """List all network security perimeters in a subscription. + """List all network security perimeters. - :example: List Network Security Perimeters + :example: List all a network security perimeters az network perimeter list -g MyResourceGroup """ _aaz_info = { - "version": "2023-08-01-preview", + "version": "2024-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/providers/microsoft.network/networksecurityperimeters", "2023-08-01-preview"], - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters", "2023-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.network/networksecurityperimeters", "2024-07-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters", "2024-07-01"], ] } @@ -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=False) + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) next_link = self.deserialize_output(self.ctx.vars.instance.next_link) return result, next_link @@ -134,7 +134,7 @@ def query_parameters(self): "$top", self.ctx.args.top, ), **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } @@ -179,9 +179,19 @@ def _build_schema_on_200(cls): _element.id = AAZStrType( flags={"read_only": True}, ) - _element.location = AAZStrType() - _element.name = AAZStrType() - _element.properties = AAZObjectType() + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) _element.tags = AAZDictType() _element.type = AAZStrType( flags={"read_only": True}, @@ -197,6 +207,26 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + tags = cls._schema_on_200.value.Element.tags tags.Element = AAZStrType() @@ -248,7 +278,7 @@ def query_parameters(self): "$top", self.ctx.args.top, ), **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } @@ -293,9 +323,19 @@ def _build_schema_on_200(cls): _element.id = AAZStrType( flags={"read_only": True}, ) - _element.location = AAZStrType() - _element.name = AAZStrType() - _element.properties = AAZObjectType() + _element.location = AAZStrType( + flags={"required": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) _element.tags = AAZDictType() _element.type = AAZStrType( flags={"read_only": True}, @@ -311,6 +351,26 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + tags = cls._schema_on_200.value.Element.tags tags.Element = AAZStrType() 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 ecc06fef010..8b2690d33d8 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_show.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_show.py @@ -15,16 +15,16 @@ "network perimeter show", ) class Show(AAZCommand): - """Gets the specified network security perimeter by the name. + """Get a network security perimeter. - :example: Get the Network Security Perimeter + :example: Get a network security perimeter az network perimeter show -g MyResourceGroup -n MyPerimeter """ _aaz_info = { - "version": "2023-08-01-preview", + "version": "2024-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}", "2023-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}", "2024-07-01"], ] } @@ -49,6 +49,10 @@ def _build_arguments_schema(cls, *args, **kwargs): help="The name of the network security perimeter.", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( required=True, @@ -69,7 +73,7 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) return result class NetworkSecurityPerimetersGet(AAZHttpOperation): @@ -120,7 +124,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } @@ -156,9 +160,19 @@ def _build_schema_on_200(cls): _schema_on_200.id = AAZStrType( flags={"read_only": True}, ) - _schema_on_200.location = AAZStrType() - _schema_on_200.name = AAZStrType() - _schema_on_200.properties = AAZObjectType() + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) _schema_on_200.tags = AAZDictType() _schema_on_200.type = AAZStrType( flags={"read_only": True}, @@ -174,6 +188,26 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + tags = cls._schema_on_200.tags tags.Element = AAZStrType() diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/_wait.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_wait.py new file mode 100644 index 00000000000..d117b341639 --- /dev/null +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/_wait.py @@ -0,0 +1,217 @@ +# -------------------------------------------------------------------------------------------- +# 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 wait", +) +class Wait(AAZWaitCommand): + """Place the CLI in a waiting state until a condition is met. + """ + + _aaz_info = { + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}", "2024-07-01"], + ] + } + + 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", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.NetworkSecurityPerimetersGet(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + 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", "2024-07-01", + 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() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.id = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.tags = AAZDictType() + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.perimeter_guid = AAZStrType( + serialized_name="perimeterGuid", + flags={"read_only": True}, + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + tags = cls._schema_on_200.tags + tags.Element = AAZStrType() + + return cls._schema_on_200 + + +class _WaitHelper: + """Helper class for Wait""" + + +__all__ = ["Wait"] diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/onboarded_resources/__cmd_group.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/associable_resource_type/__cmd_group.py similarity index 82% rename from src/nsp/azext_nsp/aaz/latest/network/perimeter/onboarded_resources/__cmd_group.py rename to src/nsp/azext_nsp/aaz/latest/network/perimeter/associable_resource_type/__cmd_group.py index 245e391a360..565839f12d7 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/onboarded_resources/__cmd_group.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/associable_resource_type/__cmd_group.py @@ -1,23 +1,23 @@ -# -------------------------------------------------------------------------------------------- -# 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_group( - "network perimeter onboarded-resources", -) -class __CMDGroup(AAZCommandGroup): - """Manage resources onboarded to NSP - """ - pass - - -__all__ = ["__CMDGroup"] +# -------------------------------------------------------------------------------------------- +# 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_group( + "network perimeter associable-resource-type", +) +class __CMDGroup(AAZCommandGroup): + """Manage Network Security Perimeter Associable Resource Types. + """ + pass + + +__all__ = ["__CMDGroup"] diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/onboarded_resources/__init__.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/associable_resource_type/__init__.py similarity index 97% rename from src/nsp/azext_nsp/aaz/latest/network/perimeter/onboarded_resources/__init__.py rename to src/nsp/azext_nsp/aaz/latest/network/perimeter/associable_resource_type/__init__.py index d4c767bb8ac..d63ae5a6fc9 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/onboarded_resources/__init__.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/associable_resource_type/__init__.py @@ -1,12 +1,12 @@ -# -------------------------------------------------------------------------------------------- -# 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 .__cmd_group import * -from ._list import * +# -------------------------------------------------------------------------------------------- +# 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 .__cmd_group import * +from ._list import * diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/onboarded_resources/_list.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/associable_resource_type/_list.py similarity index 85% rename from src/nsp/azext_nsp/aaz/latest/network/perimeter/onboarded_resources/_list.py rename to src/nsp/azext_nsp/aaz/latest/network/perimeter/associable_resource_type/_list.py index 9240b927f17..13a97a77806 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/onboarded_resources/_list.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/associable_resource_type/_list.py @@ -1,197 +1,192 @@ -# -------------------------------------------------------------------------------------------- -# 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 onboarded-resources list", -) -class List(AAZCommand): - """Gets the list of resources that are onboarded with NSP. These resources can be associated with a network security perimeter. - - :example: List NSP onboarded resources - az network perimeter onboarded-resources list -l northcentralus - """ - - _aaz_info = { - "version": "2023-08-01-preview", - "resources": [ - ["mgmt-plane", "/subscriptions/{}/providers/microsoft.network/locations/{}/perimeterassociableresourcetypes", "2023-08-01-preview"], - ] - } - - AZ_SUPPORT_PAGINATION = True - - def _handler(self, command_args): - super()._handler(command_args) - return self.build_paging(self._execute_operations, 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.location = AAZResourceLocationArg( - required=True, - ) - return cls._args_schema - - def _execute_operations(self): - self.pre_operations() - self.PerimeterAssociableResourceTypesList(ctx=self.ctx)() - self.post_operations() - - @register_callback - def pre_operations(self): - pass - - @register_callback - def post_operations(self): - pass - - def _output(self, *args, **kwargs): - 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 - - class PerimeterAssociableResourceTypesList(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}/providers/Microsoft.Network/locations/{location}/perimeterAssociableResourceTypes", - **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( - "location", self.ctx.args.location, - 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() - - _schema_on_200 = cls._schema_on_200 - _schema_on_200.next_link = AAZStrType( - serialized_name="nextLink", - ) - _schema_on_200.value = AAZListType() - - value = cls._schema_on_200.value - value.Element = AAZObjectType() - - _element = cls._schema_on_200.value.Element - _element.id = AAZStrType( - flags={"read_only": True}, - ) - _element.location = AAZStrType() - _element.name = AAZStrType() - _element.properties = AAZObjectType( - flags={"client_flatten": True}, - ) - _element.tags = AAZDictType() - _element.type = AAZStrType( - flags={"read_only": True}, - ) - - properties = cls._schema_on_200.value.Element.properties - properties.display_name = AAZStrType( - serialized_name="displayName", - flags={"read_only": True}, - ) - properties.public_dns_zones = AAZListType( - serialized_name="publicDnsZones", - flags={"read_only": True}, - ) - properties.resource_type = AAZStrType( - serialized_name="resourceType", - flags={"read_only": True}, - ) - - public_dns_zones = cls._schema_on_200.value.Element.properties.public_dns_zones - public_dns_zones.Element = AAZStrType() - - tags = cls._schema_on_200.value.Element.tags - tags.Element = AAZStrType() - - return cls._schema_on_200 - - -class _ListHelper: - """Helper class for List""" - - -__all__ = ["List"] +# -------------------------------------------------------------------------------------------- +# 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 associable-resource-type list", +) +class List(AAZCommand): + """List all network security perimeter associable resource types. + + :example: List all network security perimeter associable resource types + az network perimeter onboarded-resources list -l northcentralus + """ + + _aaz_info = { + "version": "2024-07-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.network/locations/{}/perimeterassociableresourcetypes", "2024-07-01"], + ] + } + + AZ_SUPPORT_PAGINATION = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, 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.location = AAZResourceLocationArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.NetworkSecurityPerimeterAssociableResourceTypesList(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class NetworkSecurityPerimeterAssociableResourceTypesList(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}/providers/Microsoft.Network/locations/{location}/perimeterAssociableResourceTypes", + **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( + "location", self.ctx.args.location, + 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", "2024-07-01", + 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() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType() + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.name = AAZStrType() + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.display_name = AAZStrType( + serialized_name="displayName", + flags={"read_only": True}, + ) + properties.public_dns_zones = AAZListType( + serialized_name="publicDnsZones", + flags={"read_only": True}, + ) + properties.resource_type = AAZStrType( + serialized_name="resourceType", + flags={"read_only": True}, + ) + + public_dns_zones = cls._schema_on_200.value.Element.properties.public_dns_zones + public_dns_zones.Element = AAZStrType() + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + +__all__ = ["List"] diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/__cmd_group.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/__cmd_group.py index a2288b49de2..00f6f49db90 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/__cmd_group.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/association/__cmd_group.py @@ -15,7 +15,7 @@ "network perimeter association", ) class __CMDGroup(AAZCommandGroup): - """Manage NSP Associations + """Manage Network Security Perimeter Associations. """ pass 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 59ff98dab1e..668343f478c 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 @@ -15,23 +15,24 @@ "network perimeter association create", ) class Create(AAZCommand): - """Creates or updates a NSP resource association. + """Create a network security perimeter association. - :example: Create NSP Association + :example: Create a network security perimeter association az network perimeter association create -n MyAssociation --perimeter-name MyPerimeter -g MyResourceGroup --access-mode Learning --private-link-resource "{id:}" --profile "{id:}" """ _aaz_info = { - "version": "2023-08-01-preview", + "version": "2024-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/resourceassociations/{}", "2023-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/resourceassociations/{}", "2024-07-01"], ] } + AZ_SUPPORT_NO_WAIT = True + def _handler(self, command_args): super()._handler(command_args) - self._execute_operations() - return self._output() + return self.build_lro_poller(self._execute_operations, self._output) _args_schema = None @@ -48,35 +49,24 @@ def _build_arguments_schema(cls, *args, **kwargs): options=["-n", "--name", "--association-name"], help="The name of the NSP association.", required=True, + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.perimeter_name = AAZStrArg( options=["--perimeter-name"], help="The name of the network security perimeter.", required=True, + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _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.", - fmt=AAZResourceLocationArgFormat( - resource_group_arg="resource_group", - ), - ) - _args_schema.tags = AAZDictArg( - options=["--tags"], - arg_group="Parameters", - help="Resource tags.", - ) - - tags = cls._args_schema.tags - tags.Element = AAZStrArg() - # define Arg Group "Properties" _args_schema = cls._args_schema @@ -120,7 +110,7 @@ def _build_args_sub_resource_create(cls, _schema): def _execute_operations(self): self.pre_operations() - self.NspAssociationsCreateOrUpdate(ctx=self.ctx)() + yield self.NetworkSecurityPerimeterAssociationsCreateOrUpdate(ctx=self.ctx)() self.post_operations() @register_callback @@ -132,17 +122,33 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) return result - class NspAssociationsCreateOrUpdate(AAZHttpOperation): + class NetworkSecurityPerimeterAssociationsCreateOrUpdate(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 [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) if session.http_response.status_code in [200, 201]: - return self.on_200_201(session) + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) return self.on_error(session.http_response) @@ -187,7 +193,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } @@ -212,10 +218,7 @@ def content(self): typ=AAZObjectType, typ_kwargs={"flags": {"required": True, "client_flatten": True}} ) - _builder.set_prop("location", AAZStrType, ".location") - _builder.set_prop("name", AAZStrType, ".association_name") - _builder.set_prop("properties", AAZObjectType) - _builder.set_prop("tags", AAZDictType, ".tags") + _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) properties = _builder.get(".properties") if properties is not None: @@ -223,10 +226,6 @@ def content(self): _CreateHelper._build_schema_sub_resource_create(properties.set_prop("privateLinkResource", AAZObjectType, ".private_link_resource")) _CreateHelper._build_schema_sub_resource_create(properties.set_prop("profile", AAZObjectType, ".profile")) - tags = _builder.get(".tags") - if tags is not None: - tags.set_elements(AAZStrType, ".") - return self.serialize_content(_content_value) def on_200_201(self, session): @@ -245,40 +244,7 @@ def _build_schema_on_200_201(cls): return cls._schema_on_200_201 cls._schema_on_200_201 = AAZObjectType() - - _schema_on_200_201 = cls._schema_on_200_201 - _schema_on_200_201.id = AAZStrType( - flags={"read_only": True}, - ) - _schema_on_200_201.location = AAZStrType() - _schema_on_200_201.name = AAZStrType() - _schema_on_200_201.properties = AAZObjectType() - _schema_on_200_201.tags = AAZDictType() - _schema_on_200_201.type = AAZStrType( - flags={"read_only": True}, - ) - - properties = cls._schema_on_200_201.properties - properties.access_mode = AAZStrType( - serialized_name="accessMode", - ) - properties.has_provisioning_issues = AAZStrType( - serialized_name="hasProvisioningIssues", - flags={"read_only": True}, - ) - properties.private_link_resource = AAZObjectType( - serialized_name="privateLinkResource", - ) - _CreateHelper._build_schema_sub_resource_read(properties.private_link_resource) - properties.profile = AAZObjectType() - _CreateHelper._build_schema_sub_resource_read(properties.profile) - properties.provisioning_state = AAZStrType( - serialized_name="provisioningState", - flags={"read_only": True}, - ) - - tags = cls._schema_on_200_201.tags - tags.Element = AAZStrType() + _CreateHelper._build_schema_nsp_association_read(cls._schema_on_200_201) return cls._schema_on_200_201 @@ -292,6 +258,83 @@ def _build_schema_sub_resource_create(cls, _builder): return _builder.set_prop("id", AAZStrType, ".id") + _schema_nsp_association_read = None + + @classmethod + def _build_schema_nsp_association_read(cls, _schema): + if cls._schema_nsp_association_read is not None: + _schema.id = cls._schema_nsp_association_read.id + _schema.name = cls._schema_nsp_association_read.name + _schema.properties = cls._schema_nsp_association_read.properties + _schema.system_data = cls._schema_nsp_association_read.system_data + _schema.type = cls._schema_nsp_association_read.type + return + + cls._schema_nsp_association_read = _schema_nsp_association_read = AAZObjectType() + + nsp_association_read = _schema_nsp_association_read + nsp_association_read.id = AAZStrType( + flags={"read_only": True}, + ) + nsp_association_read.name = AAZStrType( + flags={"read_only": True}, + ) + nsp_association_read.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + nsp_association_read.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + nsp_association_read.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = _schema_nsp_association_read.properties + properties.access_mode = AAZStrType( + serialized_name="accessMode", + ) + properties.has_provisioning_issues = AAZStrType( + serialized_name="hasProvisioningIssues", + flags={"read_only": True}, + ) + properties.private_link_resource = AAZObjectType( + serialized_name="privateLinkResource", + ) + cls._build_schema_sub_resource_read(properties.private_link_resource) + properties.profile = AAZObjectType() + cls._build_schema_sub_resource_read(properties.profile) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + system_data = _schema_nsp_association_read.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + _schema.id = cls._schema_nsp_association_read.id + _schema.name = cls._schema_nsp_association_read.name + _schema.properties = cls._schema_nsp_association_read.properties + _schema.system_data = cls._schema_nsp_association_read.system_data + _schema.type = cls._schema_nsp_association_read.type + _schema_sub_resource_read = None @classmethod 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 a515791ce83..9f57280c27b 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 @@ -16,16 +16,16 @@ confirmation="Are you sure you want to perform this operation?", ) class Delete(AAZCommand): - """Deletes an NSP association resource. + """Delete a network security perimeter association. - :example: Delete NSP Association + :example: Delete a network security perimeter association az network perimeter association delete -n MyAssociation --perimeter-name MyPerimeter -g MyResourceGroup """ _aaz_info = { - "version": "2023-08-01-preview", + "version": "2024-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/resourceassociations/{}", "2023-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/resourceassociations/{}", "2024-07-01"], ] } @@ -51,12 +51,20 @@ def _build_arguments_schema(cls, *args, **kwargs): help="The name of the NSP association.", required=True, id_part="child_name_1", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.perimeter_name = AAZStrArg( options=["--perimeter-name"], help="The name of the network security perimeter.", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( required=True, @@ -65,7 +73,7 @@ def _build_arguments_schema(cls, *args, **kwargs): def _execute_operations(self): self.pre_operations() - yield self.NspAssociationsDelete(ctx=self.ctx)() + yield self.NetworkSecurityPerimeterAssociationsDelete(ctx=self.ctx)() self.post_operations() @register_callback @@ -76,7 +84,7 @@ def pre_operations(self): def post_operations(self): pass - class NspAssociationsDelete(AAZHttpOperation): + class NetworkSecurityPerimeterAssociationsDelete(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -153,7 +161,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", 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 f74d4b6772b..c754da388a3 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 @@ -15,16 +15,16 @@ "network perimeter association list", ) class List(AAZCommand): - """Lists the NSP resource associations. + """List all network security perimeter associations. - :example: List NSP Associations inside a Perimeter + :example: List all network security perimeter associations az network perimeter association list --perimeter-name MyPerimeter -g MyResourceGroup """ _aaz_info = { - "version": "2023-08-01-preview", + "version": "2024-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/resourceassociations", "2023-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/resourceassociations", "2024-07-01"], ] } @@ -49,6 +49,10 @@ def _build_arguments_schema(cls, *args, **kwargs): options=["--perimeter-name"], help="The name of the network security perimeter.", required=True, + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( required=True, @@ -69,7 +73,7 @@ def _build_arguments_schema(cls, *args, **kwargs): def _execute_operations(self): self.pre_operations() - self.NspAssociationsList(ctx=self.ctx)() + self.NetworkSecurityPerimeterAssociationsList(ctx=self.ctx)() self.post_operations() @register_callback @@ -81,11 +85,11 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=False) + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) next_link = self.deserialize_output(self.ctx.vars.instance.next_link) return result, next_link - class NspAssociationsList(AAZHttpOperation): + class NetworkSecurityPerimeterAssociationsList(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -139,7 +143,7 @@ def query_parameters(self): "$top", self.ctx.args.top, ), **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } @@ -184,10 +188,16 @@ def _build_schema_on_200(cls): _element.id = AAZStrType( flags={"read_only": True}, ) - _element.location = AAZStrType() - _element.name = AAZStrType() - _element.properties = AAZObjectType() - _element.tags = AAZDictType() + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) _element.type = AAZStrType( flags={"read_only": True}, ) @@ -211,8 +221,25 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) - tags = cls._schema_on_200.value.Element.tags - tags.Element = AAZStrType() + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) return cls._schema_on_200 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 44bcbf22aec..def89f946d4 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 @@ -15,16 +15,16 @@ "network perimeter association show", ) class Show(AAZCommand): - """Gets the specified NSP association by name. + """Get a network security perimeter association. - :example: Get NSP Association + :example: Get a network security perimeter association az network perimeter association show -n MyAssociation --perimeter-name MyPerimeter -g MyResourceGroup """ _aaz_info = { - "version": "2023-08-01-preview", + "version": "2024-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/resourceassociations/{}", "2023-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/resourceassociations/{}", "2024-07-01"], ] } @@ -49,12 +49,20 @@ def _build_arguments_schema(cls, *args, **kwargs): help="The name of the NSP association.", required=True, id_part="child_name_1", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.perimeter_name = AAZStrArg( options=["--perimeter-name"], help="The name of the network security perimeter.", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( required=True, @@ -63,7 +71,7 @@ def _build_arguments_schema(cls, *args, **kwargs): def _execute_operations(self): self.pre_operations() - self.NspAssociationsGet(ctx=self.ctx)() + self.NetworkSecurityPerimeterAssociationsGet(ctx=self.ctx)() self.post_operations() @register_callback @@ -75,10 +83,10 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) return result - class NspAssociationsGet(AAZHttpOperation): + class NetworkSecurityPerimeterAssociationsGet(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -130,7 +138,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } @@ -166,10 +174,16 @@ def _build_schema_on_200(cls): _schema_on_200.id = AAZStrType( flags={"read_only": True}, ) - _schema_on_200.location = AAZStrType() - _schema_on_200.name = AAZStrType() - _schema_on_200.properties = AAZObjectType() - _schema_on_200.tags = AAZDictType() + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) _schema_on_200.type = AAZStrType( flags={"read_only": True}, ) @@ -193,8 +207,25 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) - tags = cls._schema_on_200.tags - tags.Element = AAZStrType() + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) return cls._schema_on_200 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 a789f2ec4cf..57191d391bd 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,25 +15,26 @@ "network perimeter association update", ) class Update(AAZCommand): - """Updates a NSP resource association. + """Create or update a network security perimeter association. - :example: Update NSP Association + :example: Update a network security perimeter 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-08-01-preview", + "version": "2024-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/resourceassociations/{}", "2023-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/resourceassociations/{}", "2024-07-01"], ] } + AZ_SUPPORT_NO_WAIT = True + AZ_SUPPORT_GENERIC_UPDATE = True def _handler(self, command_args): super()._handler(command_args) - self._execute_operations() - return self._output() + return self.build_lro_poller(self._execute_operations, self._output) _args_schema = None @@ -51,40 +52,25 @@ def _build_arguments_schema(cls, *args, **kwargs): help="The name of the NSP association.", required=True, id_part="child_name_1", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.perimeter_name = AAZStrArg( options=["--perimeter-name"], help="The name of the network security perimeter.", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _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, - ) - # define Arg Group "Properties" _args_schema = cls._args_schema @@ -134,12 +120,12 @@ def _build_args_sub_resource_update(cls, _schema): def _execute_operations(self): self.pre_operations() - self.NspAssociationsGet(ctx=self.ctx)() + self.NetworkSecurityPerimeterAssociationsGet(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.NspAssociationsCreateOrUpdate(ctx=self.ctx)() + yield self.NetworkSecurityPerimeterAssociationsCreateOrUpdate(ctx=self.ctx)() self.post_operations() @register_callback @@ -159,10 +145,10 @@ def post_instance_update(self, instance): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) return result - class NspAssociationsGet(AAZHttpOperation): + class NetworkSecurityPerimeterAssociationsGet(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -214,7 +200,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } @@ -249,14 +235,30 @@ def _build_schema_on_200(cls): return cls._schema_on_200 - class NspAssociationsCreateOrUpdate(AAZHttpOperation): + class NetworkSecurityPerimeterAssociationsCreateOrUpdate(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 [202]: + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) if session.http_response.status_code in [200, 201]: - return self.on_200_201(session) + return self.client.build_lro_polling( + self.ctx.args.no_wait, + session, + self.on_200_201, + self.on_error, + lro_options={"final-state-via": "azure-async-operation"}, + path_format_arguments=self.url_parameters, + ) return self.on_error(session.http_response) @@ -301,7 +303,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } @@ -359,10 +361,7 @@ def _update_instance(self, instance): value=instance, typ=AAZObjectType ) - _builder.set_prop("location", AAZStrType, ".location") - _builder.set_prop("name", AAZStrType, ".association_name") - _builder.set_prop("properties", AAZObjectType) - _builder.set_prop("tags", AAZDictType, ".tags") + _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) properties = _builder.get(".properties") if properties is not None: @@ -370,10 +369,6 @@ def _update_instance(self, instance): _UpdateHelper._build_schema_sub_resource_update(properties.set_prop("privateLinkResource", AAZObjectType, ".private_link_resource")) _UpdateHelper._build_schema_sub_resource_update(properties.set_prop("profile", AAZObjectType, ".profile")) - tags = _builder.get(".tags") - if tags is not None: - tags.set_elements(AAZStrType, ".") - return _instance_value class InstanceUpdateByGeneric(AAZGenericInstanceUpdateOperation): @@ -400,10 +395,9 @@ def _build_schema_sub_resource_update(cls, _builder): def _build_schema_nsp_association_read(cls, _schema): if cls._schema_nsp_association_read is not None: _schema.id = cls._schema_nsp_association_read.id - _schema.location = cls._schema_nsp_association_read.location _schema.name = cls._schema_nsp_association_read.name _schema.properties = cls._schema_nsp_association_read.properties - _schema.tags = cls._schema_nsp_association_read.tags + _schema.system_data = cls._schema_nsp_association_read.system_data _schema.type = cls._schema_nsp_association_read.type return @@ -413,10 +407,16 @@ def _build_schema_nsp_association_read(cls, _schema): nsp_association_read.id = AAZStrType( flags={"read_only": True}, ) - nsp_association_read.location = AAZStrType() - nsp_association_read.name = AAZStrType() - nsp_association_read.properties = AAZObjectType() - nsp_association_read.tags = AAZDictType() + nsp_association_read.name = AAZStrType( + flags={"read_only": True}, + ) + nsp_association_read.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + nsp_association_read.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) nsp_association_read.type = AAZStrType( flags={"read_only": True}, ) @@ -440,14 +440,30 @@ def _build_schema_nsp_association_read(cls, _schema): flags={"read_only": True}, ) - tags = _schema_nsp_association_read.tags - tags.Element = AAZStrType() + system_data = _schema_nsp_association_read.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) _schema.id = cls._schema_nsp_association_read.id - _schema.location = cls._schema_nsp_association_read.location _schema.name = cls._schema_nsp_association_read.name _schema.properties = cls._schema_nsp_association_read.properties - _schema.tags = cls._schema_nsp_association_read.tags + _schema.system_data = cls._schema_nsp_association_read.system_data _schema.type = cls._schema_nsp_association_read.type _schema_sub_resource_read = None 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 a87336a7539..27f5ce2e610 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-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/resourceassociations/{}", "2024-07-01"], ] } @@ -45,12 +45,20 @@ def _build_arguments_schema(cls, *args, **kwargs): help="The name of the NSP association.", required=True, id_part="child_name_1", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.perimeter_name = AAZStrArg( options=["--perimeter-name"], help="The name of the network security perimeter.", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( required=True, @@ -59,7 +67,7 @@ def _build_arguments_schema(cls, *args, **kwargs): def _execute_operations(self): self.pre_operations() - self.NspAssociationsGet(ctx=self.ctx)() + self.NetworkSecurityPerimeterAssociationsGet(ctx=self.ctx)() self.post_operations() @register_callback @@ -74,7 +82,7 @@ def _output(self, *args, **kwargs): result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) return result - class NspAssociationsGet(AAZHttpOperation): + class NetworkSecurityPerimeterAssociationsGet(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -126,7 +134,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } @@ -162,10 +170,16 @@ def _build_schema_on_200(cls): _schema_on_200.id = AAZStrType( flags={"read_only": True}, ) - _schema_on_200.location = AAZStrType() - _schema_on_200.name = AAZStrType() - _schema_on_200.properties = AAZObjectType() - _schema_on_200.tags = AAZDictType() + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) _schema_on_200.type = AAZStrType( flags={"read_only": True}, ) @@ -189,8 +203,25 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) - tags = cls._schema_on_200.tags - tags.Element = AAZStrType() + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) return cls._schema_on_200 diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/__cmd_group.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/__cmd_group.py index 0f9cb1388ae..1b367eac2a1 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/__cmd_group.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link/__cmd_group.py @@ -15,7 +15,7 @@ "network perimeter link", ) class __CMDGroup(AAZCommandGroup): - """Manage network security perimeter link + """Manage Network Security Perimeter Links. """ pass 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 7423e2e3a46..d54b69e59a9 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 @@ -15,16 +15,16 @@ "network perimeter link create", ) class Create(AAZCommand): - """Create NSP link resource. + """Create a network security perimeter link. - :example: Create NSP Link - az network perimeter link create --name link1 --perimeter-name nsp1 --resource-group rg1 --auto-remote-nsp-id --local-inbound-profile "[\'*\']" --remote-inbound-profile "[\'*\']" ' + :example: Create a network security perimeter link + az network perimeter link create --name link1 --perimeter-name nsp1 --resource-group rg1 --auto-remote-nsp-id --local-inbound-profile "[\\'*\\']" --remote-inbound-profile "[\\'*\\']" ' """ _aaz_info = { - "version": "2023-08-01-preview", + "version": "2024-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/links/{}", "2023-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/links/{}", "2024-07-01"], ] } @@ -48,11 +48,19 @@ def _build_arguments_schema(cls, *args, **kwargs): options=["-n", "--name", "--link-name"], help="The name of the NSP link.", required=True, + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.perimeter_name = AAZStrArg( options=["--perimeter-name"], help="The name of the network security perimeter.", required=True, + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( required=True, @@ -61,7 +69,7 @@ def _build_arguments_schema(cls, *args, **kwargs): # define Arg Group "Properties" _args_schema = cls._args_schema - _args_schema.auto_remote_nsp_id = AAZStrArg( + _args_schema.auto_remote_nsp_id = AAZResourceIdArg( options=["--auto-remote-nsp-id"], arg_group="Properties", help="Perimeter ARM Id for the remote NSP with which the link gets created in Auto-approval mode. It should be used when the NSP admin have Microsoft.Network/networkSecurityPerimeters/linkPerimeter/action permission on the remote NSP resource.", @@ -97,7 +105,7 @@ def _build_arguments_schema(cls, *args, **kwargs): def _execute_operations(self): self.pre_operations() - self.NspLinksCreateOrUpdate(ctx=self.ctx)() + self.NetworkSecurityPerimeterLinksCreateOrUpdate(ctx=self.ctx)() self.post_operations() @register_callback @@ -109,10 +117,10 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) return result - class NspLinksCreateOrUpdate(AAZHttpOperation): + class NetworkSecurityPerimeterLinksCreateOrUpdate(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -164,7 +172,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } @@ -189,7 +197,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: @@ -226,16 +234,19 @@ def _build_schema_on_200_201(cls): cls._schema_on_200_201 = AAZObjectType() _schema_on_200_201 = cls._schema_on_200_201 - _schema_on_200_201.etag = AAZStrType( - flags={"read_only": True}, - ) _schema_on_200_201.id = AAZStrType( flags={"read_only": True}, ) _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.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) _schema_on_200_201.type = AAZStrType( flags={"read_only": True}, ) @@ -287,6 +298,26 @@ def _build_schema_on_200_201(cls): remote_outbound_profiles = cls._schema_on_200_201.properties.remote_outbound_profiles remote_outbound_profiles.Element = AAZStrType() + system_data = cls._schema_on_200_201.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + return cls._schema_on_200_201 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 e45b1858db9..522d5e7f60d 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 @@ -16,16 +16,16 @@ confirmation="Are you sure you want to perform this operation?", ) class Delete(AAZCommand): - """Delete an NSP Link resource. + """Delete a network security perimeter link. - :example: Delete NSP link + :example: Delete a network security perimeter link az network perimeter link delete --name link1 --perimeter-name nsp1 --resource-group rg1 """ _aaz_info = { - "version": "2023-08-01-preview", + "version": "2024-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/links/{}", "2023-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/links/{}", "2024-07-01"], ] } @@ -51,12 +51,20 @@ def _build_arguments_schema(cls, *args, **kwargs): help="The name of the NSP link.", required=True, id_part="child_name_1", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.perimeter_name = AAZStrArg( options=["--perimeter-name"], help="The name of the network security perimeter.", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( required=True, @@ -65,7 +73,7 @@ def _build_arguments_schema(cls, *args, **kwargs): def _execute_operations(self): self.pre_operations() - yield self.NspLinksDelete(ctx=self.ctx)() + yield self.NetworkSecurityPerimeterLinksDelete(ctx=self.ctx)() self.post_operations() @register_callback @@ -76,7 +84,7 @@ def pre_operations(self): def post_operations(self): pass - class NspLinksDelete(AAZHttpOperation): + class NetworkSecurityPerimeterLinksDelete(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -153,7 +161,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", 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 466d30b4b15..b5d513ab213 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 @@ -15,16 +15,16 @@ "network perimeter link list", ) class List(AAZCommand): - """List the NSP Link resources in the specified network security perimeter. + """List all network security perimeter links. - :example: Lists NSP links in a parameter + :example: List all network security perimeter links az network perimeter link list --perimeter-name nsp1 --resource-group rg1 """ _aaz_info = { - "version": "2023-08-01-preview", + "version": "2024-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/links", "2023-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/links", "2024-07-01"], ] } @@ -49,6 +49,10 @@ def _build_arguments_schema(cls, *args, **kwargs): options=["--perimeter-name"], help="The name of the network security perimeter.", required=True, + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( required=True, @@ -69,7 +73,7 @@ def _build_arguments_schema(cls, *args, **kwargs): def _execute_operations(self): self.pre_operations() - self.NspLinksList(ctx=self.ctx)() + self.NetworkSecurityPerimeterLinksList(ctx=self.ctx)() self.post_operations() @register_callback @@ -81,11 +85,11 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=False) + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) next_link = self.deserialize_output(self.ctx.vars.instance.next_link) return result, next_link - class NspLinksList(AAZHttpOperation): + class NetworkSecurityPerimeterLinksList(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -139,7 +143,7 @@ def query_parameters(self): "$top", self.ctx.args.top, ), **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } @@ -181,16 +185,19 @@ def _build_schema_on_200(cls): value.Element = AAZObjectType() _element = cls._schema_on_200.value.Element - _element.etag = AAZStrType( - flags={"read_only": True}, - ) _element.id = AAZStrType( flags={"read_only": True}, ) _element.name = AAZStrType( flags={"read_only": True}, ) - _element.properties = AAZObjectType() + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) _element.type = AAZStrType( flags={"read_only": True}, ) @@ -242,6 +249,26 @@ def _build_schema_on_200(cls): remote_outbound_profiles = cls._schema_on_200.value.Element.properties.remote_outbound_profiles remote_outbound_profiles.Element = AAZStrType() + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + return cls._schema_on_200 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 b8664f2eab1..b77ad5da974 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 @@ -15,16 +15,16 @@ "network perimeter link show", ) class Show(AAZCommand): - """Get the specified NSP link resource. + """Get a network security perimeter link. - :example: Get NSP link + :example: Get a network security perimeter link az network perimeter link list --perimeter-name nsp1 --resource-group rg1 """ _aaz_info = { - "version": "2023-08-01-preview", + "version": "2024-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/links/{}", "2023-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/links/{}", "2024-07-01"], ] } @@ -49,12 +49,20 @@ def _build_arguments_schema(cls, *args, **kwargs): help="The name of the NSP link.", required=True, id_part="child_name_1", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.perimeter_name = AAZStrArg( options=["--perimeter-name"], help="The name of the network security perimeter.", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( required=True, @@ -63,7 +71,7 @@ def _build_arguments_schema(cls, *args, **kwargs): def _execute_operations(self): self.pre_operations() - self.NspLinksGet(ctx=self.ctx)() + self.NetworkSecurityPerimeterLinksGet(ctx=self.ctx)() self.post_operations() @register_callback @@ -75,10 +83,10 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) return result - class NspLinksGet(AAZHttpOperation): + class NetworkSecurityPerimeterLinksGet(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -130,7 +138,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } @@ -163,16 +171,19 @@ def _build_schema_on_200(cls): cls._schema_on_200 = AAZObjectType() _schema_on_200 = cls._schema_on_200 - _schema_on_200.etag = AAZStrType( - flags={"read_only": True}, - ) _schema_on_200.id = AAZStrType( flags={"read_only": True}, ) _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.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) _schema_on_200.type = AAZStrType( flags={"read_only": True}, ) @@ -224,6 +235,26 @@ def _build_schema_on_200(cls): remote_outbound_profiles = cls._schema_on_200.properties.remote_outbound_profiles remote_outbound_profiles.Element = AAZStrType() + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + return cls._schema_on_200 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 ea24835842c..57045560331 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 @@ -15,16 +15,16 @@ "network perimeter link update", ) class Update(AAZCommand): - """Update NSP link resource. + """Create or update a network security perimeter link. - :example: Update NSP Link - az network perimeter link update --name link1 --perimeter-name nsp1 --resource-group rg1 --local-inbound-profile "[\'*\']" + :example: Update a network security perimeter link + az network perimeter link update --name link1 --perimeter-name nsp1 --resource-group rg1 --local-inbound-profile "[\\'*\\']" """ _aaz_info = { - "version": "2023-08-01-preview", + "version": "2024-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/links/{}", "2023-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/links/{}", "2024-07-01"], ] } @@ -51,12 +51,20 @@ def _build_arguments_schema(cls, *args, **kwargs): help="The name of the NSP link.", required=True, id_part="child_name_1", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.perimeter_name = AAZStrArg( options=["--perimeter-name"], help="The name of the network security perimeter.", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( required=True, @@ -103,12 +111,12 @@ def _build_arguments_schema(cls, *args, **kwargs): def _execute_operations(self): self.pre_operations() - self.NspLinksGet(ctx=self.ctx)() + self.NetworkSecurityPerimeterLinksGet(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.NspLinksCreateOrUpdate(ctx=self.ctx)() + self.NetworkSecurityPerimeterLinksCreateOrUpdate(ctx=self.ctx)() self.post_operations() @register_callback @@ -128,10 +136,10 @@ def post_instance_update(self, instance): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) return result - class NspLinksGet(AAZHttpOperation): + class NetworkSecurityPerimeterLinksGet(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -183,7 +191,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } @@ -218,7 +226,7 @@ def _build_schema_on_200(cls): return cls._schema_on_200 - class NspLinksCreateOrUpdate(AAZHttpOperation): + class NetworkSecurityPerimeterLinksCreateOrUpdate(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -270,7 +278,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } @@ -328,7 +336,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: @@ -363,26 +371,29 @@ class _UpdateHelper: @classmethod def _build_schema_nsp_link_read(cls, _schema): if cls._schema_nsp_link_read is not None: - _schema.etag = cls._schema_nsp_link_read.etag _schema.id = cls._schema_nsp_link_read.id _schema.name = cls._schema_nsp_link_read.name _schema.properties = cls._schema_nsp_link_read.properties + _schema.system_data = cls._schema_nsp_link_read.system_data _schema.type = cls._schema_nsp_link_read.type return cls._schema_nsp_link_read = _schema_nsp_link_read = AAZObjectType() nsp_link_read = _schema_nsp_link_read - nsp_link_read.etag = AAZStrType( - flags={"read_only": True}, - ) nsp_link_read.id = AAZStrType( flags={"read_only": True}, ) 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.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) nsp_link_read.type = AAZStrType( flags={"read_only": True}, ) @@ -434,10 +445,30 @@ def _build_schema_nsp_link_read(cls, _schema): remote_outbound_profiles = _schema_nsp_link_read.properties.remote_outbound_profiles remote_outbound_profiles.Element = AAZStrType() - _schema.etag = cls._schema_nsp_link_read.etag + system_data = _schema_nsp_link_read.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + _schema.id = cls._schema_nsp_link_read.id _schema.name = cls._schema_nsp_link_read.name _schema.properties = cls._schema_nsp_link_read.properties + _schema.system_data = cls._schema_nsp_link_read.system_data _schema.type = cls._schema_nsp_link_read.type 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 cec51d5e67b..e1587bb515d 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-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/links/{}", "2024-07-01"], ] } @@ -45,12 +45,20 @@ def _build_arguments_schema(cls, *args, **kwargs): help="The name of the NSP link.", required=True, id_part="child_name_1", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.perimeter_name = AAZStrArg( options=["--perimeter-name"], help="The name of the network security perimeter.", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( required=True, @@ -59,7 +67,7 @@ def _build_arguments_schema(cls, *args, **kwargs): def _execute_operations(self): self.pre_operations() - self.NspLinksGet(ctx=self.ctx)() + self.NetworkSecurityPerimeterLinksGet(ctx=self.ctx)() self.post_operations() @register_callback @@ -74,7 +82,7 @@ def _output(self, *args, **kwargs): result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) return result - class NspLinksGet(AAZHttpOperation): + class NetworkSecurityPerimeterLinksGet(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -126,7 +134,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } @@ -159,16 +167,19 @@ def _build_schema_on_200(cls): cls._schema_on_200 = AAZObjectType() _schema_on_200 = cls._schema_on_200 - _schema_on_200.etag = AAZStrType( - flags={"read_only": True}, - ) _schema_on_200.id = AAZStrType( flags={"read_only": True}, ) _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.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) _schema_on_200.type = AAZStrType( flags={"read_only": True}, ) @@ -220,6 +231,26 @@ def _build_schema_on_200(cls): remote_outbound_profiles = cls._schema_on_200.properties.remote_outbound_profiles remote_outbound_profiles.Element = AAZStrType() + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + return cls._schema_on_200 diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/__cmd_group.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/__cmd_group.py index 01962fc10e0..ba02e2d7b52 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/__cmd_group.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/link_reference/__cmd_group.py @@ -15,7 +15,7 @@ "network perimeter link-reference", ) class __CMDGroup(AAZCommandGroup): - """Manage network security perimeter link reference + """Manage Network Security Perimeter Link References. """ pass 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 608824c4efb..2c7e5ff33bd 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 @@ -16,16 +16,16 @@ confirmation="Are you sure you want to perform this operation?", ) class Delete(AAZCommand): - """Delete an NSP LinkReference resource. + """Delete a network security perimeter link reference. - :example: Delete a link reference + :example: Delete a network security perimeter link reference az network perimeter link-reference delete --perimeter-name nsp2 --resource-group rg1 --name linkref2 """ _aaz_info = { - "version": "2023-08-01-preview", + "version": "2024-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/linkreferences/{}", "2023-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/linkreferences/{}", "2024-07-01"], ] } @@ -51,12 +51,20 @@ def _build_arguments_schema(cls, *args, **kwargs): help="The name of the NSP linkReference.", required=True, id_part="child_name_1", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.perimeter_name = AAZStrArg( options=["--perimeter-name"], help="The name of the network security perimeter.", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( required=True, @@ -65,7 +73,7 @@ def _build_arguments_schema(cls, *args, **kwargs): def _execute_operations(self): self.pre_operations() - yield self.NspLinkReferencesDelete(ctx=self.ctx)() + yield self.NetworkSecurityPerimeterLinkReferencesDelete(ctx=self.ctx)() self.post_operations() @register_callback @@ -76,7 +84,7 @@ def pre_operations(self): def post_operations(self): pass - class NspLinkReferencesDelete(AAZHttpOperation): + class NetworkSecurityPerimeterLinkReferencesDelete(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -153,7 +161,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", 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 94bba7e6c08..a3a9a193639 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 @@ -15,16 +15,16 @@ "network perimeter link-reference list", ) class List(AAZCommand): - """List the NSP LinkReference resources in the specified network security perimeter. + """List all network security perimeter link references. - :example: List NSP link reference + :example: List all network security perimeter link references az network perimeter link-reference list --perimeter-name nsp2 --resource-group rg1 """ _aaz_info = { - "version": "2023-08-01-preview", + "version": "2024-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/linkreferences", "2023-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/linkreferences", "2024-07-01"], ] } @@ -49,6 +49,10 @@ def _build_arguments_schema(cls, *args, **kwargs): options=["--perimeter-name"], help="The name of the network security perimeter.", required=True, + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( required=True, @@ -69,7 +73,7 @@ def _build_arguments_schema(cls, *args, **kwargs): def _execute_operations(self): self.pre_operations() - self.NspLinkReferencesList(ctx=self.ctx)() + self.NetworkSecurityPerimeterLinkReferencesList(ctx=self.ctx)() self.post_operations() @register_callback @@ -81,11 +85,11 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=False) + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) next_link = self.deserialize_output(self.ctx.vars.instance.next_link) return result, next_link - class NspLinkReferencesList(AAZHttpOperation): + class NetworkSecurityPerimeterLinkReferencesList(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -139,7 +143,7 @@ def query_parameters(self): "$top", self.ctx.args.top, ), **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } @@ -181,16 +185,19 @@ def _build_schema_on_200(cls): value.Element = AAZObjectType() _element = cls._schema_on_200.value.Element - _element.etag = AAZStrType( - flags={"read_only": True}, - ) _element.id = AAZStrType( flags={"read_only": True}, ) _element.name = AAZStrType( flags={"read_only": True}, ) - _element.properties = AAZObjectType() + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) _element.type = AAZStrType( flags={"read_only": True}, ) @@ -244,6 +251,26 @@ def _build_schema_on_200(cls): remote_outbound_profiles = cls._schema_on_200.value.Element.properties.remote_outbound_profiles remote_outbound_profiles.Element = AAZStrType() + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + return cls._schema_on_200 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 7ac36afba71..8028a46e1d8 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 @@ -15,16 +15,16 @@ "network perimeter link-reference show", ) class Show(AAZCommand): - """Get the specified NSP linkReference resource. + """Get a network security perimeter link reference. - :example: Get a link reference + :example: Get a network security perimeter link reference az network perimeter link-reference show --perimeter-name nsp2 --resource-group rg1 --name linkref2 """ _aaz_info = { - "version": "2023-08-01-preview", + "version": "2024-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/linkreferences/{}", "2023-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/linkreferences/{}", "2024-07-01"], ] } @@ -49,12 +49,20 @@ def _build_arguments_schema(cls, *args, **kwargs): help="The name of the NSP linkReference.", required=True, id_part="child_name_1", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.perimeter_name = AAZStrArg( options=["--perimeter-name"], help="The name of the network security perimeter.", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( required=True, @@ -63,7 +71,7 @@ def _build_arguments_schema(cls, *args, **kwargs): def _execute_operations(self): self.pre_operations() - self.NspLinkReferencesGet(ctx=self.ctx)() + self.NetworkSecurityPerimeterLinkReferencesGet(ctx=self.ctx)() self.post_operations() @register_callback @@ -75,10 +83,10 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) return result - class NspLinkReferencesGet(AAZHttpOperation): + class NetworkSecurityPerimeterLinkReferencesGet(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -130,7 +138,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } @@ -163,16 +171,19 @@ def _build_schema_on_200(cls): cls._schema_on_200 = AAZObjectType() _schema_on_200 = cls._schema_on_200 - _schema_on_200.etag = AAZStrType( - flags={"read_only": True}, - ) _schema_on_200.id = AAZStrType( flags={"read_only": True}, ) _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.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) _schema_on_200.type = AAZStrType( flags={"read_only": True}, ) @@ -226,6 +237,26 @@ def _build_schema_on_200(cls): remote_outbound_profiles = cls._schema_on_200.properties.remote_outbound_profiles remote_outbound_profiles.Element = AAZStrType() + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + return cls._schema_on_200 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 f1397ec1353..aa69f10ae6d 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-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/linkreferences/{}", "2024-07-01"], ] } @@ -45,12 +45,20 @@ def _build_arguments_schema(cls, *args, **kwargs): help="The name of the NSP linkReference.", required=True, id_part="child_name_1", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.perimeter_name = AAZStrArg( options=["--perimeter-name"], help="The name of the network security perimeter.", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( required=True, @@ -59,7 +67,7 @@ def _build_arguments_schema(cls, *args, **kwargs): def _execute_operations(self): self.pre_operations() - self.NspLinkReferencesGet(ctx=self.ctx)() + self.NetworkSecurityPerimeterLinkReferencesGet(ctx=self.ctx)() self.post_operations() @register_callback @@ -74,7 +82,7 @@ def _output(self, *args, **kwargs): result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) return result - class NspLinkReferencesGet(AAZHttpOperation): + class NetworkSecurityPerimeterLinkReferencesGet(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -126,7 +134,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } @@ -159,16 +167,19 @@ def _build_schema_on_200(cls): cls._schema_on_200 = AAZObjectType() _schema_on_200 = cls._schema_on_200 - _schema_on_200.etag = AAZStrType( - flags={"read_only": True}, - ) _schema_on_200.id = AAZStrType( flags={"read_only": True}, ) _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.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) _schema_on_200.type = AAZStrType( flags={"read_only": True}, ) @@ -222,6 +233,26 @@ def _build_schema_on_200(cls): remote_outbound_profiles = cls._schema_on_200.properties.remote_outbound_profiles remote_outbound_profiles.Element = AAZStrType() + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + return cls._schema_on_200 diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/logging_configuration/__cmd_group.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/logging_configuration/__cmd_group.py index dcec8265a65..ccd11657c04 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/logging_configuration/__cmd_group.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/logging_configuration/__cmd_group.py @@ -15,7 +15,7 @@ "network perimeter logging-configuration", ) class __CMDGroup(AAZCommandGroup): - """Manage Network Security Perimeter Logging Configuration + """Manage Network Security Perimeter Logging Configurations. """ pass diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/logging_configuration/__init__.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/logging_configuration/__init__.py index a3db3e36481..c401f439385 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/logging_configuration/__init__.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/logging_configuration/__init__.py @@ -11,5 +11,6 @@ from .__cmd_group import * from ._create import * from ._delete import * +from ._list import * from ._show import * from ._update import * diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/logging_configuration/_create.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/logging_configuration/_create.py index e1ef662e986..76e15f9ad18 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/logging_configuration/_create.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/logging_configuration/_create.py @@ -15,16 +15,16 @@ "network perimeter logging-configuration create", ) class Create(AAZCommand): - """Create NSP logging configuration. + """Create a network security perimeter logging configuration. - :example: Create Nsp Logging Configuration + :example: Create a network security perimeter logging configuration az network perimeter logging-configuration create --perimeter-name nsp1 --resource-group rg1 --enabled-log-categories "[NspPublicInboundPerimeterRulesDenied,NspPublicOutboundPerimeterRulesDenied]" """ _aaz_info = { - "version": "2023-08-01-preview", + "version": "2024-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/loggingconfigurations/{}", "2023-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/loggingconfigurations/{}", "2024-07-01"], ] } @@ -49,11 +49,19 @@ def _build_arguments_schema(cls, *args, **kwargs): help="The name of the NSP logging configuration. Accepts 'instance' as name.", required=True, default="instance", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.perimeter_name = AAZStrArg( options=["--perimeter-name"], help="The name of the network security perimeter.", required=True, + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( required=True, @@ -79,7 +87,7 @@ def _build_arguments_schema(cls, *args, **kwargs): def _execute_operations(self): self.pre_operations() - self.NspLoggingConfigurationCreateOrUpdate(ctx=self.ctx)() + self.NetworkSecurityPerimeterLoggingConfigurationsCreateOrUpdate(ctx=self.ctx)() self.post_operations() @register_callback @@ -94,14 +102,14 @@ def _output(self, *args, **kwargs): result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) return result - class NspLoggingConfigurationCreateOrUpdate(AAZHttpOperation): + class NetworkSecurityPerimeterLoggingConfigurationsCreateOrUpdate(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) + if session.http_response.status_code in [200, 201]: + return self.on_200_201(session) return self.on_error(session.http_response) @@ -146,7 +154,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } @@ -171,7 +179,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: @@ -184,48 +192,71 @@ def content(self): return self.serialize_content(_content_value) - def on_200(self, session): + 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 + schema_builder=self._build_schema_on_200_201 ) - _schema_on_200 = None + _schema_on_200_201 = None @classmethod - def _build_schema_on_200(cls): - if cls._schema_on_200 is not None: - return cls._schema_on_200 + 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 = AAZObjectType() + cls._schema_on_200_201 = AAZObjectType() - _schema_on_200 = cls._schema_on_200 - _schema_on_200.etag = AAZStrType( + _schema_on_200_201 = cls._schema_on_200_201 + _schema_on_200_201.id = AAZStrType( flags={"read_only": True}, ) - _schema_on_200.id = AAZStrType( + _schema_on_200_201.name = AAZStrType( flags={"read_only": True}, ) - _schema_on_200.name = AAZStrType( + _schema_on_200_201.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200_201.system_data = AAZObjectType( + serialized_name="systemData", flags={"read_only": True}, ) - _schema_on_200.properties = AAZObjectType() - _schema_on_200.type = AAZStrType( + _schema_on_200_201.type = AAZStrType( flags={"read_only": True}, ) - properties = cls._schema_on_200.properties + properties = cls._schema_on_200_201.properties properties.enabled_log_categories = AAZListType( serialized_name="enabledLogCategories", ) properties.version = AAZStrType() - enabled_log_categories = cls._schema_on_200.properties.enabled_log_categories + enabled_log_categories = cls._schema_on_200_201.properties.enabled_log_categories enabled_log_categories.Element = AAZStrType() - return cls._schema_on_200 + system_data = cls._schema_on_200_201.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + return cls._schema_on_200_201 class _CreateHelper: diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/logging_configuration/_delete.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/logging_configuration/_delete.py index 6a135320afb..76fee6625df 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/logging_configuration/_delete.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/logging_configuration/_delete.py @@ -16,16 +16,16 @@ confirmation="Are you sure you want to perform this operation?", ) class Delete(AAZCommand): - """Delete NSP Logging configuration. + """Delete a network security perimeter logging configuration. - :example: Delete Nsp Logging Configuration Delete + :example: Delete a network security perimeter logging configuration az network perimeter logging-configuration delete --resource-group rg1 --perimeter-name nsp1 """ _aaz_info = { - "version": "2023-08-01-preview", + "version": "2024-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/loggingconfigurations/{}", "2023-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/loggingconfigurations/{}", "2024-07-01"], ] } @@ -51,12 +51,20 @@ def _build_arguments_schema(cls, *args, **kwargs): required=True, id_part="child_name_1", default="instance", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.perimeter_name = AAZStrArg( options=["--perimeter-name"], help="The name of the network security perimeter.", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( required=True, @@ -65,7 +73,7 @@ def _build_arguments_schema(cls, *args, **kwargs): def _execute_operations(self): self.pre_operations() - self.NspLoggingConfigurationDelete(ctx=self.ctx)() + self.NetworkSecurityPerimeterLoggingConfigurationsDelete(ctx=self.ctx)() self.post_operations() @register_callback @@ -76,7 +84,7 @@ def pre_operations(self): def post_operations(self): pass - class NspLoggingConfigurationDelete(AAZHttpOperation): + class NetworkSecurityPerimeterLoggingConfigurationsDelete(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -130,7 +138,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/logging_configuration/_list.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/logging_configuration/_list.py new file mode 100644 index 00000000000..e6adf1a49e6 --- /dev/null +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/logging_configuration/_list.py @@ -0,0 +1,220 @@ +# -------------------------------------------------------------------------------------------- +# 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 logging-configuration list", +) +class List(AAZCommand): + """List all network security perimeter logging configurations. + """ + + _aaz_info = { + "version": "2024-07-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/loggingconfigurations", "2024-07-01"], + ] + } + + AZ_SUPPORT_PAGINATION = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_paging(self._execute_operations, 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, + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.NetworkSecurityPerimeterLoggingConfigurationsList(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + def _output(self, *args, **kwargs): + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) + next_link = self.deserialize_output(self.ctx.vars.instance.next_link) + return result, next_link + + class NetworkSecurityPerimeterLoggingConfigurationsList(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}/loggingConfigurations", + **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", "2024-07-01", + 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() + + _schema_on_200 = cls._schema_on_200 + _schema_on_200.next_link = AAZStrType( + serialized_name="nextLink", + ) + _schema_on_200.value = AAZListType() + + value = cls._schema_on_200.value + value.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element + _element.id = AAZStrType( + flags={"read_only": True}, + ) + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _element.type = AAZStrType( + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.value.Element.properties + properties.enabled_log_categories = AAZListType( + serialized_name="enabledLogCategories", + ) + properties.version = AAZStrType() + + enabled_log_categories = cls._schema_on_200.value.Element.properties.enabled_log_categories + enabled_log_categories.Element = AAZStrType() + + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + + return cls._schema_on_200 + + +class _ListHelper: + """Helper class for List""" + + +__all__ = ["List"] diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/logging_configuration/_show.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/logging_configuration/_show.py index 2adc6f0eb20..4b481e09083 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/logging_configuration/_show.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/logging_configuration/_show.py @@ -15,16 +15,16 @@ "network perimeter logging-configuration show", ) class Show(AAZCommand): - """Get NSP logging configuration. + """Get a network security perimeter logging configuration. - :example: Get Nsp Logging Configuration + :example: Get a network security perimeter logging configuration az network perimeter logging-configuration show --resource-group rg1 --perimeter-name nsp1 """ _aaz_info = { - "version": "2023-08-01-preview", + "version": "2024-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/loggingconfigurations/{}", "2023-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/loggingconfigurations/{}", "2024-07-01"], ] } @@ -50,12 +50,20 @@ def _build_arguments_schema(cls, *args, **kwargs): required=True, id_part="child_name_1", default="instance", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.perimeter_name = AAZStrArg( options=["--perimeter-name"], help="The name of the network security perimeter.", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( required=True, @@ -64,7 +72,7 @@ def _build_arguments_schema(cls, *args, **kwargs): def _execute_operations(self): self.pre_operations() - self.NspLoggingConfigurationGet(ctx=self.ctx)() + self.NetworkSecurityPerimeterLoggingConfigurationsGet(ctx=self.ctx)() self.post_operations() @register_callback @@ -79,7 +87,7 @@ def _output(self, *args, **kwargs): result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) return result - class NspLoggingConfigurationGet(AAZHttpOperation): + class NetworkSecurityPerimeterLoggingConfigurationsGet(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -131,7 +139,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } @@ -164,16 +172,19 @@ def _build_schema_on_200(cls): cls._schema_on_200 = AAZObjectType() _schema_on_200 = cls._schema_on_200 - _schema_on_200.etag = AAZStrType( - flags={"read_only": True}, - ) _schema_on_200.id = AAZStrType( flags={"read_only": True}, ) _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.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) _schema_on_200.type = AAZStrType( flags={"read_only": True}, ) @@ -187,6 +198,26 @@ def _build_schema_on_200(cls): enabled_log_categories = cls._schema_on_200.properties.enabled_log_categories enabled_log_categories.Element = AAZStrType() + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + return cls._schema_on_200 diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/logging_configuration/_update.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/logging_configuration/_update.py index a0b54b41bd1..0625c2d7e0b 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/logging_configuration/_update.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/logging_configuration/_update.py @@ -15,16 +15,16 @@ "network perimeter logging-configuration update", ) class Update(AAZCommand): - """Update NSP logging configuration. + """Cerate or update a network security perimeter logging configuration. - :example: Update Nsp Logging Configuration + :example: Update a network security perimeter logging configuration az network perimeter logging-configuration update --perimeter-name nsp1 --resource-group rg1 --enabled-log-categories "[NspPublicInboundPerimeterRulesDenied,NspPublicOutboundPerimeterRulesDenied]" """ _aaz_info = { - "version": "2023-08-01-preview", + "version": "2024-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/loggingconfigurations/{}", "2023-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/loggingconfigurations/{}", "2024-07-01"], ] } @@ -51,12 +51,20 @@ def _build_arguments_schema(cls, *args, **kwargs): help="The name of the NSP logging configuration. Accepts 'instance' as name.", required=True, id_part="child_name_1", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.perimeter_name = AAZStrArg( options=["--perimeter-name"], help="The name of the network security perimeter.", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( required=True, @@ -86,12 +94,12 @@ def _build_arguments_schema(cls, *args, **kwargs): def _execute_operations(self): self.pre_operations() - self.NspLoggingConfigurationGet(ctx=self.ctx)() + self.NetworkSecurityPerimeterLoggingConfigurationsGet(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.NspLoggingConfigurationCreateOrUpdate(ctx=self.ctx)() + self.NetworkSecurityPerimeterLoggingConfigurationsCreateOrUpdate(ctx=self.ctx)() self.post_operations() @register_callback @@ -114,7 +122,7 @@ def _output(self, *args, **kwargs): result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) return result - class NspLoggingConfigurationGet(AAZHttpOperation): + class NetworkSecurityPerimeterLoggingConfigurationsGet(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -166,7 +174,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } @@ -201,14 +209,14 @@ def _build_schema_on_200(cls): return cls._schema_on_200 - class NspLoggingConfigurationCreateOrUpdate(AAZHttpOperation): + class NetworkSecurityPerimeterLoggingConfigurationsCreateOrUpdate(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) + if session.http_response.status_code in [200, 201]: + return self.on_200_201(session) return self.on_error(session.http_response) @@ -253,7 +261,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } @@ -280,25 +288,25 @@ def content(self): return self.serialize_content(_content_value) - def on_200(self, session): + 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 + schema_builder=self._build_schema_on_200_201 ) - _schema_on_200 = None + _schema_on_200_201 = None @classmethod - def _build_schema_on_200(cls): - if cls._schema_on_200 is not None: - return cls._schema_on_200 + 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 = AAZObjectType() - _UpdateHelper._build_schema_nsp_logging_configuration_read(cls._schema_on_200) + cls._schema_on_200_201 = AAZObjectType() + _UpdateHelper._build_schema_nsp_logging_configuration_read(cls._schema_on_200_201) - return cls._schema_on_200 + return cls._schema_on_200_201 class InstanceUpdateByJson(AAZJsonInstanceUpdateOperation): @@ -311,7 +319,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: @@ -341,26 +349,29 @@ class _UpdateHelper: @classmethod def _build_schema_nsp_logging_configuration_read(cls, _schema): if cls._schema_nsp_logging_configuration_read is not None: - _schema.etag = cls._schema_nsp_logging_configuration_read.etag _schema.id = cls._schema_nsp_logging_configuration_read.id _schema.name = cls._schema_nsp_logging_configuration_read.name _schema.properties = cls._schema_nsp_logging_configuration_read.properties + _schema.system_data = cls._schema_nsp_logging_configuration_read.system_data _schema.type = cls._schema_nsp_logging_configuration_read.type return cls._schema_nsp_logging_configuration_read = _schema_nsp_logging_configuration_read = AAZObjectType() nsp_logging_configuration_read = _schema_nsp_logging_configuration_read - nsp_logging_configuration_read.etag = AAZStrType( - flags={"read_only": True}, - ) nsp_logging_configuration_read.id = AAZStrType( flags={"read_only": True}, ) nsp_logging_configuration_read.name = AAZStrType( flags={"read_only": True}, ) - nsp_logging_configuration_read.properties = AAZObjectType() + nsp_logging_configuration_read.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + nsp_logging_configuration_read.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) nsp_logging_configuration_read.type = AAZStrType( flags={"read_only": True}, ) @@ -374,10 +385,30 @@ def _build_schema_nsp_logging_configuration_read(cls, _schema): enabled_log_categories = _schema_nsp_logging_configuration_read.properties.enabled_log_categories enabled_log_categories.Element = AAZStrType() - _schema.etag = cls._schema_nsp_logging_configuration_read.etag + system_data = _schema_nsp_logging_configuration_read.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) + _schema.id = cls._schema_nsp_logging_configuration_read.id _schema.name = cls._schema_nsp_logging_configuration_read.name _schema.properties = cls._schema_nsp_logging_configuration_read.properties + _schema.system_data = cls._schema_nsp_logging_configuration_read.system_data _schema.type = cls._schema_nsp_logging_configuration_read.type diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/__cmd_group.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/__cmd_group.py index 342ad3d88bc..427aa844857 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/__cmd_group.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/__cmd_group.py @@ -15,7 +15,7 @@ "network perimeter profile", ) class __CMDGroup(AAZCommandGroup): - """Manage Network Profiles under an NSP + """Manage Network Security Perimeter Profiles. """ pass 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 1f406e4a579..8093ddffa8f 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 @@ -15,16 +15,16 @@ "network perimeter profile create", ) class Create(AAZCommand): - """Creates or updates a network profile. + """Create a network security perimeter profile. - :example: Create NSP Profile + :example: Create a network security perimeter profile az network perimeter profile create -n MyProfile --perimeter-name MyPerimeter -g MyResourceGroup """ _aaz_info = { - "version": "2023-08-01-preview", + "version": "2024-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}", "2023-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}", "2024-07-01"], ] } @@ -48,39 +48,28 @@ def _build_arguments_schema(cls, *args, **kwargs): options=["--perimeter-name"], help="The name of the network security perimeter.", required=True, + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.profile_name = AAZStrArg( options=["-n", "--name", "--profile-name"], help="The name of the NSP profile.", required=True, + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _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.", - fmt=AAZResourceLocationArgFormat( - resource_group_arg="resource_group", - ), - ) - _args_schema.tags = AAZDictArg( - options=["--tags"], - arg_group="Parameters", - help="Resource tags.", - ) - - tags = cls._args_schema.tags - tags.Element = AAZStrArg() return cls._args_schema def _execute_operations(self): self.pre_operations() - self.NspProfilesCreateOrUpdate(ctx=self.ctx)() + self.NetworkSecurityPerimeterProfilesCreateOrUpdate(ctx=self.ctx)() self.post_operations() @register_callback @@ -92,10 +81,10 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) return result - class NspProfilesCreateOrUpdate(AAZHttpOperation): + class NetworkSecurityPerimeterProfilesCreateOrUpdate(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -147,7 +136,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } @@ -172,13 +161,6 @@ def content(self): typ=AAZObjectType, typ_kwargs={"flags": {"required": True, "client_flatten": True}} ) - _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 self.serialize_content(_content_value) @@ -203,10 +185,16 @@ def _build_schema_on_200_201(cls): _schema_on_200_201.id = AAZStrType( flags={"read_only": True}, ) - _schema_on_200_201.location = AAZStrType() - _schema_on_200_201.name = AAZStrType() - _schema_on_200_201.properties = AAZObjectType() - _schema_on_200_201.tags = AAZDictType() + _schema_on_200_201.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200_201.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) _schema_on_200_201.type = AAZStrType( flags={"read_only": True}, ) @@ -221,8 +209,25 @@ def _build_schema_on_200_201(cls): flags={"read_only": True}, ) - tags = cls._schema_on_200_201.tags - tags.Element = AAZStrType() + system_data = cls._schema_on_200_201.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) return cls._schema_on_200_201 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 e60c1e9fbc8..7f661f622c2 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 @@ -16,16 +16,16 @@ confirmation="Are you sure you want to perform this operation?", ) class Delete(AAZCommand): - """Deletes an NSP profile. + """Delete a network security perimeter profile. - :example: Delete NSP Profile + :example: Delete a network security perimeter profile az network perimeter profile delete -n MyProfile --perimeter-name MyPerimeter -g MyResourceGroup """ _aaz_info = { - "version": "2023-08-01-preview", + "version": "2024-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}", "2023-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}", "2024-07-01"], ] } @@ -50,12 +50,20 @@ def _build_arguments_schema(cls, *args, **kwargs): help="The name of the network security perimeter.", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.profile_name = AAZStrArg( options=["-n", "--name", "--profile-name"], help="The name of the NSP profile.", required=True, id_part="child_name_1", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( required=True, @@ -64,7 +72,7 @@ def _build_arguments_schema(cls, *args, **kwargs): def _execute_operations(self): self.pre_operations() - self.NspProfilesDelete(ctx=self.ctx)() + self.NetworkSecurityPerimeterProfilesDelete(ctx=self.ctx)() self.post_operations() @register_callback @@ -75,7 +83,7 @@ def pre_operations(self): def post_operations(self): pass - class NspProfilesDelete(AAZHttpOperation): + class NetworkSecurityPerimeterProfilesDelete(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -129,7 +137,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", 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 2a1e1119d93..807d38856be 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 @@ -15,16 +15,16 @@ "network perimeter profile list", ) class List(AAZCommand): - """Lists the NSP profiles in the specified network security perimeter. + """List all network security perimeter profiles. - :example: List NSP Profiles inside a Perimeter + :example: List all network security perimeter profiles az network perimeter profile list --perimeter-name MyPerimeter -g MyResourceGroup """ _aaz_info = { - "version": "2023-08-01-preview", + "version": "2024-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles", "2023-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles", "2024-07-01"], ] } @@ -49,6 +49,10 @@ def _build_arguments_schema(cls, *args, **kwargs): options=["--perimeter-name"], help="The name of the network security perimeter.", required=True, + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( required=True, @@ -69,7 +73,7 @@ def _build_arguments_schema(cls, *args, **kwargs): def _execute_operations(self): self.pre_operations() - self.NspProfilesList(ctx=self.ctx)() + self.NetworkSecurityPerimeterProfilesList(ctx=self.ctx)() self.post_operations() @register_callback @@ -81,11 +85,11 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=False) + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) next_link = self.deserialize_output(self.ctx.vars.instance.next_link) return result, next_link - class NspProfilesList(AAZHttpOperation): + class NetworkSecurityPerimeterProfilesList(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -139,7 +143,7 @@ def query_parameters(self): "$top", self.ctx.args.top, ), **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } @@ -184,10 +188,16 @@ def _build_schema_on_200(cls): _element.id = AAZStrType( flags={"read_only": True}, ) - _element.location = AAZStrType() - _element.name = AAZStrType() - _element.properties = AAZObjectType() - _element.tags = AAZDictType() + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) _element.type = AAZStrType( flags={"read_only": True}, ) @@ -202,8 +212,25 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) - tags = cls._schema_on_200.value.Element.tags - tags.Element = AAZStrType() + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) return cls._schema_on_200 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 c2597c9f6de..bbf94be88e7 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 @@ -15,16 +15,16 @@ "network perimeter profile show", ) class Show(AAZCommand): - """Gets the specified NSP profile. + """Get a network security perimeter profile. - :example: Get NSP Profile + :example: Get a network security perimeter profile az network perimeter profile show --perimeter-name MyPerimeter -g MyResourceGroup -n MyProfile """ _aaz_info = { - "version": "2023-08-01-preview", + "version": "2024-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}", "2023-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}", "2024-07-01"], ] } @@ -49,12 +49,20 @@ def _build_arguments_schema(cls, *args, **kwargs): help="The name of the network security perimeter.", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.profile_name = AAZStrArg( options=["-n", "--name", "--profile-name"], help="The name of the NSP profile.", required=True, id_part="child_name_1", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( required=True, @@ -63,7 +71,7 @@ def _build_arguments_schema(cls, *args, **kwargs): def _execute_operations(self): self.pre_operations() - self.NspProfilesGet(ctx=self.ctx)() + self.NetworkSecurityPerimeterProfilesGet(ctx=self.ctx)() self.post_operations() @register_callback @@ -75,10 +83,10 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) return result - class NspProfilesGet(AAZHttpOperation): + class NetworkSecurityPerimeterProfilesGet(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -130,7 +138,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } @@ -166,10 +174,16 @@ def _build_schema_on_200(cls): _schema_on_200.id = AAZStrType( flags={"read_only": True}, ) - _schema_on_200.location = AAZStrType() - _schema_on_200.name = AAZStrType() - _schema_on_200.properties = AAZObjectType() - _schema_on_200.tags = AAZDictType() + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) _schema_on_200.type = AAZStrType( flags={"read_only": True}, ) @@ -184,8 +198,25 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) - tags = cls._schema_on_200.tags - tags.Element = AAZStrType() + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) return cls._schema_on_200 diff --git a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/__cmd_group.py b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/__cmd_group.py index b647d678831..76451b58154 100644 --- a/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/__cmd_group.py +++ b/src/nsp/azext_nsp/aaz/latest/network/perimeter/profile/access_rule/__cmd_group.py @@ -15,7 +15,7 @@ "network perimeter profile access-rule", ) class __CMDGroup(AAZCommandGroup): - """Manage Access Rules of a Profile inside an NSP + """Manage Network Security Perimeter Profile Access Rules. """ pass 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 368d3763fad..64820875fb6 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 @@ -15,7 +15,7 @@ "network perimeter profile access-rule create", ) class Create(AAZCommand): - """Creates or updates a network access rule. + """Create a network security perimeter profile access rule. :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]" @@ -34,9 +34,9 @@ class Create(AAZCommand): """ _aaz_info = { - "version": "2023-08-01-preview", + "version": "2024-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}/accessrules/{}", "2023-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}/accessrules/{}", "2024-07-01"], ] } @@ -60,40 +60,33 @@ def _build_arguments_schema(cls, *args, **kwargs): options=["-n", "--name", "--access-rule-name"], help="The name of the NSP access rule.", required=True, + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.perimeter_name = AAZStrArg( options=["--perimeter-name"], help="The name of the network security perimeter.", required=True, + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.profile_name = AAZStrArg( options=["--profile-name"], help="The name of the NSP profile.", required=True, + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _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.", - fmt=AAZResourceLocationArgFormat( - resource_group_arg="resource_group", - ), - ) - _args_schema.tags = AAZDictArg( - options=["--tags"], - arg_group="Parameters", - help="Resource tags.", - ) - - tags = cls._args_schema.tags - tags.Element = AAZStrArg() - # define Arg Group "Properties" _args_schema = cls._args_schema @@ -111,22 +104,22 @@ def _build_arguments_schema(cls, *args, **kwargs): _args_schema.email_addresses = AAZListArg( options=["--email-addresses"], arg_group="Properties", - help="Outbound rules email address format.", + help="Outbound rules in email address format. This access rule type is currently unavailable for use", ) _args_schema.fqdn = AAZListArg( options=["--fqdn"], arg_group="Properties", - help="Outbound rules fully qualified domain name format.", + help="Outbound rules in fully qualified domain name format.", ) _args_schema.phone_numbers = AAZListArg( options=["--phone-numbers"], arg_group="Properties", - help="Outbound rules phone number format.", + help="Outbound rules in phone number format. This access rule type is currently unavailable for use", ) _args_schema.service_tags = AAZListArg( options=["--service-tags"], arg_group="Properties", - help="Inbound rules service tag names.", + help="Inbound rules of type service tag. This access rule type is currently unavailable for use.", ) _args_schema.subscriptions = AAZListArg( options=["--subscriptions"], @@ -153,7 +146,7 @@ def _build_arguments_schema(cls, *args, **kwargs): subscriptions.Element = AAZObjectArg() _element = cls._args_schema.subscriptions.Element - _element.id = AAZStrArg( + _element.id = AAZResourceIdArg( options=["id"], help="Subscription ID in the ARM ID fromat.", ) @@ -161,7 +154,7 @@ def _build_arguments_schema(cls, *args, **kwargs): def _execute_operations(self): self.pre_operations() - self.NspAccessRulesCreateOrUpdate(ctx=self.ctx)() + self.NetworkSecurityPerimeterAccessRulesCreateOrUpdate(ctx=self.ctx)() self.post_operations() @register_callback @@ -173,10 +166,10 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) return result - class NspAccessRulesCreateOrUpdate(AAZHttpOperation): + class NetworkSecurityPerimeterAccessRulesCreateOrUpdate(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -232,7 +225,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } @@ -257,10 +250,7 @@ def content(self): typ=AAZObjectType, typ_kwargs={"flags": {"required": True, "client_flatten": True}} ) - _builder.set_prop("location", AAZStrType, ".location") - _builder.set_prop("name", AAZStrType, ".access_rule_name") - _builder.set_prop("properties", AAZObjectType) - _builder.set_prop("tags", AAZDictType, ".tags") + _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) properties = _builder.get(".properties") if properties is not None: @@ -300,10 +290,6 @@ def content(self): if _elements is not None: _elements.set_prop("id", AAZStrType, ".id") - tags = _builder.get(".tags") - if tags is not None: - tags.set_elements(AAZStrType, ".") - return self.serialize_content(_content_value) def on_200_201(self, session): @@ -327,10 +313,16 @@ def _build_schema_on_200_201(cls): _schema_on_200_201.id = AAZStrType( flags={"read_only": True}, ) - _schema_on_200_201.location = AAZStrType() - _schema_on_200_201.name = AAZStrType() - _schema_on_200_201.properties = AAZObjectType() - _schema_on_200_201.tags = AAZDictType() + _schema_on_200_201.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200_201.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200_201.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) _schema_on_200_201.type = AAZStrType( flags={"read_only": True}, ) @@ -398,8 +390,25 @@ def _build_schema_on_200_201(cls): _element = cls._schema_on_200_201.properties.subscriptions.Element _element.id = AAZStrType() - tags = cls._schema_on_200_201.tags - tags.Element = AAZStrType() + system_data = cls._schema_on_200_201.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) return cls._schema_on_200_201 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 29a39bcc014..c3b49a0e877 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 @@ -16,16 +16,16 @@ confirmation="Are you sure you want to perform this operation?", ) class Delete(AAZCommand): - """Deletes an NSP access rule. + """Delete a network security perimeter profile access rule. - :example: Delete NSP access rule + :example: Delete a network security perimeter profile access rule az network perimeter profile access-rule delete -n MyAccessRule --profile-name MyProfile --perimeter-name MyPerimeter -g MyResourceGroup """ _aaz_info = { - "version": "2023-08-01-preview", + "version": "2024-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}/accessrules/{}", "2023-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}/accessrules/{}", "2024-07-01"], ] } @@ -50,18 +50,30 @@ def _build_arguments_schema(cls, *args, **kwargs): help="The name of the NSP access rule.", required=True, id_part="child_name_2", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.perimeter_name = AAZStrArg( options=["--perimeter-name"], help="The name of the network security perimeter.", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.profile_name = AAZStrArg( options=["--profile-name"], help="The name of the NSP profile.", required=True, id_part="child_name_1", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( required=True, @@ -70,7 +82,7 @@ def _build_arguments_schema(cls, *args, **kwargs): def _execute_operations(self): self.pre_operations() - self.NspAccessRulesDelete(ctx=self.ctx)() + self.NetworkSecurityPerimeterAccessRulesDelete(ctx=self.ctx)() self.post_operations() @register_callback @@ -81,7 +93,7 @@ def pre_operations(self): def post_operations(self): pass - class NspAccessRulesDelete(AAZHttpOperation): + class NetworkSecurityPerimeterAccessRulesDelete(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -139,7 +151,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", 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 6df2ba63b62..2c0ce298711 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 @@ -15,16 +15,16 @@ "network perimeter profile access-rule list", ) class List(AAZCommand): - """Lists the NSP access rules in the specified NSP profile. + """List all network security perimeter profile access rules. - :example: List access rules inside a Profile + :example: List all network security perimeter profile access rules az network perimeter profile access-rule list --profile-name MyProfile --perimeter-name MyPerimeter -g MyResourceGroup """ _aaz_info = { - "version": "2023-08-01-preview", + "version": "2024-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}/accessrules", "2023-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}/accessrules", "2024-07-01"], ] } @@ -49,11 +49,19 @@ def _build_arguments_schema(cls, *args, **kwargs): options=["--perimeter-name"], help="The name of the network security perimeter.", required=True, + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.profile_name = AAZStrArg( options=["--profile-name"], help="The name of the NSP profile.", required=True, + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( required=True, @@ -74,7 +82,7 @@ def _build_arguments_schema(cls, *args, **kwargs): def _execute_operations(self): self.pre_operations() - self.NspAccessRulesList(ctx=self.ctx)() + self.NetworkSecurityPerimeterAccessRulesList(ctx=self.ctx)() self.post_operations() @register_callback @@ -86,11 +94,11 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=False) + result = self.deserialize_output(self.ctx.vars.instance.value, client_flatten=True) next_link = self.deserialize_output(self.ctx.vars.instance.next_link) return result, next_link - class NspAccessRulesList(AAZHttpOperation): + class NetworkSecurityPerimeterAccessRulesList(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -148,7 +156,7 @@ def query_parameters(self): "$top", self.ctx.args.top, ), **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } @@ -193,10 +201,16 @@ def _build_schema_on_200(cls): _element.id = AAZStrType( flags={"read_only": True}, ) - _element.location = AAZStrType() - _element.name = AAZStrType() - _element.properties = AAZObjectType() - _element.tags = AAZDictType() + _element.name = AAZStrType( + flags={"read_only": True}, + ) + _element.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _element.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) _element.type = AAZStrType( flags={"read_only": True}, ) @@ -264,8 +278,25 @@ def _build_schema_on_200(cls): _element = cls._schema_on_200.value.Element.properties.subscriptions.Element _element.id = AAZStrType() - tags = cls._schema_on_200.value.Element.tags - tags.Element = AAZStrType() + system_data = cls._schema_on_200.value.Element.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) return cls._schema_on_200 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 41405d3860d..91e7bbe12f8 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 @@ -15,16 +15,16 @@ "network perimeter profile access-rule show", ) class Show(AAZCommand): - """Gets the specified NSP access rule by name. + """Get a network security perimeter profile access rule. - :example: Get NSP access rule + :example: Get a network security perimeter profile access rule az network perimeter profile access-rule show -n MyAccessRule --profile-name MyProfile --perimeter-name MyPerimeter -g MyResourceGroup """ _aaz_info = { - "version": "2023-08-01-preview", + "version": "2024-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}/accessrules/{}", "2023-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}/accessrules/{}", "2024-07-01"], ] } @@ -49,18 +49,30 @@ def _build_arguments_schema(cls, *args, **kwargs): help="The name of the NSP access rule.", required=True, id_part="child_name_2", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.perimeter_name = AAZStrArg( options=["--perimeter-name"], help="The name of the network security perimeter.", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.profile_name = AAZStrArg( options=["--profile-name"], help="The name of the NSP profile.", required=True, id_part="child_name_1", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( required=True, @@ -69,7 +81,7 @@ def _build_arguments_schema(cls, *args, **kwargs): def _execute_operations(self): self.pre_operations() - self.NspAccessRulesGet(ctx=self.ctx)() + self.NetworkSecurityPerimeterAccessRulesGet(ctx=self.ctx)() self.post_operations() @register_callback @@ -81,10 +93,10 @@ def post_operations(self): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) return result - class NspAccessRulesGet(AAZHttpOperation): + class NetworkSecurityPerimeterAccessRulesGet(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -140,7 +152,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } @@ -176,10 +188,16 @@ def _build_schema_on_200(cls): _schema_on_200.id = AAZStrType( flags={"read_only": True}, ) - _schema_on_200.location = AAZStrType() - _schema_on_200.name = AAZStrType() - _schema_on_200.properties = AAZObjectType() - _schema_on_200.tags = AAZDictType() + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) _schema_on_200.type = AAZStrType( flags={"read_only": True}, ) @@ -247,8 +265,25 @@ def _build_schema_on_200(cls): _element = cls._schema_on_200.properties.subscriptions.Element _element.id = AAZStrType() - tags = cls._schema_on_200.tags - tags.Element = AAZStrType() + system_data = cls._schema_on_200.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) return cls._schema_on_200 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 5d46f1f6cb3..901c780bb7d 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): - """Creates or updates a network access rule. + """Create or update a network security perimeter profile access rule. - :example: Update access rule + :example: Update a network security perimeter profile 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-08-01-preview", + "version": "2024-07-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}/accessrules/{}", "2023-08-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/networksecurityperimeters/{}/profiles/{}/accessrules/{}", "2024-07-01"], ] } @@ -51,46 +51,35 @@ def _build_arguments_schema(cls, *args, **kwargs): help="The name of the NSP access rule.", required=True, id_part="child_name_2", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.perimeter_name = AAZStrArg( options=["--perimeter-name"], help="The name of the network security perimeter.", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _args_schema.profile_name = AAZStrArg( options=["--profile-name"], help="The name of the NSP profile.", required=True, id_part="child_name_1", + fmt=AAZStrArgFormat( + pattern="(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)", + max_length=80, + ), ) _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, - ) - # define Arg Group "Properties" _args_schema = cls._args_schema @@ -110,25 +99,25 @@ def _build_arguments_schema(cls, *args, **kwargs): _args_schema.email_addresses = AAZListArg( options=["--email-addresses"], arg_group="Properties", - help="Outbound rules email address format.", + help="Outbound rules in email address format. This access rule type is currently unavailable for use", nullable=True, ) _args_schema.fqdn = AAZListArg( options=["--fqdn"], arg_group="Properties", - help="Outbound rules fully qualified domain name format.", + help="Outbound rules in fully qualified domain name format.", nullable=True, ) _args_schema.phone_numbers = AAZListArg( options=["--phone-numbers"], arg_group="Properties", - help="Outbound rules phone number format.", + help="Outbound rules in phone number format. This access rule type is currently unavailable for use", nullable=True, ) _args_schema.service_tags = AAZListArg( options=["--service-tags"], arg_group="Properties", - help="Inbound rules service tag names.", + help="Inbound rules of type service tag. This access rule type is currently unavailable for use.", nullable=True, ) _args_schema.subscriptions = AAZListArg( @@ -169,7 +158,7 @@ def _build_arguments_schema(cls, *args, **kwargs): ) _element = cls._args_schema.subscriptions.Element - _element.id = AAZStrArg( + _element.id = AAZResourceIdArg( options=["id"], help="Subscription ID in the ARM ID fromat.", nullable=True, @@ -178,12 +167,12 @@ def _build_arguments_schema(cls, *args, **kwargs): def _execute_operations(self): self.pre_operations() - self.NspAccessRulesGet(ctx=self.ctx)() + self.NetworkSecurityPerimeterAccessRulesGet(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.NspAccessRulesCreateOrUpdate(ctx=self.ctx)() + self.NetworkSecurityPerimeterAccessRulesCreateOrUpdate(ctx=self.ctx)() self.post_operations() @register_callback @@ -203,10 +192,10 @@ def post_instance_update(self, instance): pass def _output(self, *args, **kwargs): - result = self.deserialize_output(self.ctx.vars.instance, client_flatten=False) + result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) return result - class NspAccessRulesGet(AAZHttpOperation): + class NetworkSecurityPerimeterAccessRulesGet(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -262,7 +251,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } @@ -297,7 +286,7 @@ def _build_schema_on_200(cls): return cls._schema_on_200 - class NspAccessRulesCreateOrUpdate(AAZHttpOperation): + class NetworkSecurityPerimeterAccessRulesCreateOrUpdate(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -353,7 +342,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-08-01-preview", + "api-version", "2024-07-01", required=True, ), } @@ -411,10 +400,7 @@ def _update_instance(self, instance): value=instance, typ=AAZObjectType ) - _builder.set_prop("location", AAZStrType, ".location") - _builder.set_prop("name", AAZStrType, ".access_rule_name") - _builder.set_prop("properties", AAZObjectType) - _builder.set_prop("tags", AAZDictType, ".tags") + _builder.set_prop("properties", AAZObjectType, typ_kwargs={"flags": {"client_flatten": True}}) properties = _builder.get(".properties") if properties is not None: @@ -454,10 +440,6 @@ def _update_instance(self, instance): if _elements is not None: _elements.set_prop("id", AAZStrType, ".id") - tags = _builder.get(".tags") - if tags is not None: - tags.set_elements(AAZStrType, ".") - return _instance_value class InstanceUpdateByGeneric(AAZGenericInstanceUpdateOperation): @@ -478,10 +460,9 @@ class _UpdateHelper: def _build_schema_nsp_access_rule_read(cls, _schema): if cls._schema_nsp_access_rule_read is not None: _schema.id = cls._schema_nsp_access_rule_read.id - _schema.location = cls._schema_nsp_access_rule_read.location _schema.name = cls._schema_nsp_access_rule_read.name _schema.properties = cls._schema_nsp_access_rule_read.properties - _schema.tags = cls._schema_nsp_access_rule_read.tags + _schema.system_data = cls._schema_nsp_access_rule_read.system_data _schema.type = cls._schema_nsp_access_rule_read.type return @@ -491,10 +472,16 @@ def _build_schema_nsp_access_rule_read(cls, _schema): nsp_access_rule_read.id = AAZStrType( flags={"read_only": True}, ) - nsp_access_rule_read.location = AAZStrType() - nsp_access_rule_read.name = AAZStrType() - nsp_access_rule_read.properties = AAZObjectType() - nsp_access_rule_read.tags = AAZDictType() + nsp_access_rule_read.name = AAZStrType( + flags={"read_only": True}, + ) + nsp_access_rule_read.properties = AAZObjectType( + flags={"client_flatten": True}, + ) + nsp_access_rule_read.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) nsp_access_rule_read.type = AAZStrType( flags={"read_only": True}, ) @@ -562,14 +549,30 @@ def _build_schema_nsp_access_rule_read(cls, _schema): _element = _schema_nsp_access_rule_read.properties.subscriptions.Element _element.id = AAZStrType() - tags = _schema_nsp_access_rule_read.tags - tags.Element = AAZStrType() + system_data = _schema_nsp_access_rule_read.system_data + system_data.created_at = AAZStrType( + serialized_name="createdAt", + ) + system_data.created_by = AAZStrType( + serialized_name="createdBy", + ) + system_data.created_by_type = AAZStrType( + serialized_name="createdByType", + ) + system_data.last_modified_at = AAZStrType( + serialized_name="lastModifiedAt", + ) + system_data.last_modified_by = AAZStrType( + serialized_name="lastModifiedBy", + ) + system_data.last_modified_by_type = AAZStrType( + serialized_name="lastModifiedByType", + ) _schema.id = cls._schema_nsp_access_rule_read.id - _schema.location = cls._schema_nsp_access_rule_read.location _schema.name = cls._schema_nsp_access_rule_read.name _schema.properties = cls._schema_nsp_access_rule_read.properties - _schema.tags = cls._schema_nsp_access_rule_read.tags + _schema.system_data = cls._schema_nsp_access_rule_read.system_data _schema.type = cls._schema_nsp_access_rule_read.type diff --git a/src/nsp/azext_nsp/azext_metadata.json b/src/nsp/azext_nsp/azext_metadata.json index c856326fb21..27b5715913e 100644 --- a/src/nsp/azext_nsp/azext_metadata.json +++ b/src/nsp/azext_nsp/azext_metadata.json @@ -1,4 +1,3 @@ { - "azext.isPreview": true, "azext.minCliCoreVersion": "2.61.0" } \ No newline at end of file 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 2ef1693cb80..8a3de2a0b9d 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 @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "eastus2euap", "name": "TestNetworkSecurityPerimeter"}' + body: '{"location": "eastus2euap"}' headers: Accept: - application/json @@ -11,18 +11,18 @@ interactions: Connection: - keep-alive Content-Length: - - '67' + - '27' Content-Type: - application/json ParameterSetName: - --name -l --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_accessrule_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter?api-version=2024-07-01 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":"54daab68-3b80-459b-b647-bd13e7b2470a","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":"941b862e-77c7-4a7b-a604-2b62329afff9","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -31,7 +31,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:20 GMT + - Fri, 21 Mar 2025 14:45:46 GMT expires: - '-1' pragma: @@ -47,7 +47,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: A18E533432DB4E0DB58FF6743AF25ADA Ref B: MNZ221060619025 Ref C: 2024-11-29T07:09:19Z' + - 'Ref A: FBC030ADA23A4F5DA2C58F08A6763B89 Ref B: MNZ221060618023 Ref C: 2025-03-21T14:45:45Z' status: code: 200 message: OK @@ -65,12 +65,12 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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":"2024-11-29T07:09:15Z","module":"nsp","Created":"2024-11-29T07:09:17.3479149Z"},"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":"2025-03-21T14:45:42Z","module":"nsp","Created":"2025-03-21T14:45:43.6160940Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -79,7 +79,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:20 GMT + - Fri, 21 Mar 2025 14:45:46 GMT expires: - '-1' pragma: @@ -93,12 +93,12 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 49A198E3D94045E2B150812A80129EE9 Ref B: MNZ221060608007 Ref C: 2024-11-29T07:09:21Z' + - 'Ref A: B0BD833F8573411AB77358F260311190 Ref B: MNZ221060610029 Ref C: 2025-03-21T14:45:47Z' status: code: 200 message: OK - request: - body: '{"location": "eastus2euap", "name": "TestNspProfile"}' + body: '{"location": "eastus2euap"}' headers: Accept: - application/json @@ -109,15 +109,15 @@ interactions: Connection: - keep-alive Content-Length: - - '53' + - '27' Content-Type: - application/json ParameterSetName: - --name --perimeter-name --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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 + 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=2024-07-01 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"}' @@ -129,7 +129,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:22 GMT + - Fri, 21 Mar 2025 14:45:48 GMT expires: - '-1' pragma: @@ -145,7 +145,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: 4504D84C02E943E2A07FC4A39A815458 Ref B: MNZ221060618033 Ref C: 2024-11-29T07:09:21Z' + - 'Ref A: A0437B570C5B4DBA8591A667724219D1 Ref B: MNZ221060619023 Ref C: 2025-03-21T14:45:47Z' status: code: 200 message: OK @@ -163,12 +163,12 @@ interactions: ParameterSetName: - --name --profile-name --perimeter-name --resource-group --fqdn --direction User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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":"2024-11-29T07:09:15Z","module":"nsp","Created":"2024-11-29T07:09:17.3479149Z"},"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":"2025-03-21T14:45:42Z","module":"nsp","Created":"2025-03-21T14:45:43.6160940Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -177,7 +177,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:22 GMT + - Fri, 21 Mar 2025 14:45:49 GMT expires: - '-1' pragma: @@ -191,13 +191,13 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: D72EC67B8AA4432BB2E2D8CCD9CD17F3 Ref B: MNZ221060610035 Ref C: 2024-11-29T07:09:22Z' + - 'Ref A: D8EA24CEA70B4FF5AB4DD4F158176628 Ref B: MNZ221060619039 Ref C: 2025-03-21T14:45:49Z' status: code: 200 message: OK - request: - body: '{"location": "eastus2euap", "name": "TestNspAccessRule", "properties": - {"direction": "Outbound", "fullyQualifiedDomainNames": ["www.abc.com", "www.google.com"]}}' + body: '{"location": "eastus2euap", "properties": {"direction": "Outbound", "fullyQualifiedDomainNames": + ["www.abc.com", "www.google.com"]}}' headers: Accept: - application/json @@ -208,27 +208,27 @@ interactions: Connection: - keep-alive Content-Length: - - '161' + - '132' Content-Type: - application/json ParameterSetName: - --name --profile-name --perimeter-name --resource-group --fqdn --direction User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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 + 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=2024-07-01 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":[],"fullyQualifiedDomainNames":["www.abc.com","www.google.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[],"appliesTo":[{"resourceType":"*","features":["*"]}]}}' headers: cache-control: - no-cache content-length: - - '584' + - '636' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:23 GMT + - Fri, 21 Mar 2025 14:45:50 GMT expires: - '-1' pragma: @@ -244,7 +244,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: 267FE4FC9B16477081362F18E25875D3 Ref B: MNZ221060619019 Ref C: 2024-11-29T07:09:22Z' + - 'Ref A: 50EF300BC3C74B318685C30B70E96D65 Ref B: MNZ221060608037 Ref C: 2025-03-21T14:45:49Z' status: code: 200 message: OK @@ -262,21 +262,21 @@ interactions: ParameterSetName: - --name --profile-name --perimeter-name --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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 + 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=2024-07-01 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":[],"fullyQualifiedDomainNames":["www.abc.com","www.google.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[],"appliesTo":[{"resourceType":"*","features":["*"]}]}}' headers: cache-control: - no-cache content-length: - - '584' + - '636' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:25 GMT + - Fri, 21 Mar 2025 14:45:50 GMT expires: - '-1' pragma: @@ -290,7 +290,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: BDD9D796FE9943BFB6C75F05EDC27D1B Ref B: MNZ221060609049 Ref C: 2024-11-29T07:09:24Z' + - 'Ref A: 6CADD9AFDAB341689D3BB599A21F661C Ref B: MNZ221060610021 Ref C: 2025-03-21T14:45:50Z' status: code: 200 message: OK @@ -308,12 +308,12 @@ interactions: ParameterSetName: - --name --profile-name --perimeter-name --resource-group --fqdn --direction User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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":"2024-11-29T07:09:15Z","module":"nsp","Created":"2024-11-29T07:09:17.3479149Z"},"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":"2025-03-21T14:45:42Z","module":"nsp","Created":"2025-03-21T14:45:43.6160940Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -322,7 +322,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:25 GMT + - Fri, 21 Mar 2025 14:45:51 GMT expires: - '-1' pragma: @@ -336,7 +336,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: CBD6A595E9A34005A95EBDDDD08496A3 Ref B: MNZ221060619051 Ref C: 2024-11-29T07:09:25Z' + - 'Ref A: E1DBA247E1784FA695618E8CD7A223FE Ref B: MNZ221060619027 Ref C: 2025-03-21T14:45:51Z' status: code: 200 message: OK @@ -354,21 +354,21 @@ interactions: ParameterSetName: - --name --profile-name --perimeter-name --resource-group --fqdn --direction User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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 + 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=2024-07-01 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":[],"fullyQualifiedDomainNames":["www.abc.com","www.google.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[],"appliesTo":[{"resourceType":"*","features":["*"]}]}}' headers: cache-control: - no-cache content-length: - - '584' + - '636' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:26 GMT + - Fri, 21 Mar 2025 14:45:52 GMT expires: - '-1' pragma: @@ -382,14 +382,14 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: C29FF7AB48AF496D8D6C1C4E87CBCB71 Ref B: MNZ221060609023 Ref C: 2024-11-29T07:09:25Z' + - 'Ref A: D1E12C56053046B582F84989406A890B Ref B: MNZ221060609019 Ref C: 2025-03-21T14:45:51Z' status: code: 200 message: OK - request: - body: '{"location": "eastus2euap", "name": "TestNspAccessRule", "properties": - {"addressPrefixes": [], "direction": "Outbound", "emailAddresses": [], "fullyQualifiedDomainNames": - ["www.abc.com"], "phoneNumbers": [], "subscriptions": []}}' + body: '{"location": "eastus2euap", "properties": {"addressPrefixes": [], "direction": + "Outbound", "emailAddresses": [], "fullyQualifiedDomainNames": ["www.abc.com"], + "phoneNumbers": [], "subscriptions": []}}' headers: Accept: - application/json @@ -400,27 +400,27 @@ interactions: Connection: - keep-alive Content-Length: - - '229' + - '200' Content-Type: - application/json ParameterSetName: - --name --profile-name --perimeter-name --resource-group --fqdn --direction User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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 + 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=2024-07-01 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":[],"fullyQualifiedDomainNames":["www.abc.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[],"appliesTo":[{"resourceType":"*","features":["*"]}]}}' headers: cache-control: - no-cache content-length: - - '567' + - '619' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:28 GMT + - Fri, 21 Mar 2025 14:45:53 GMT expires: - '-1' pragma: @@ -436,7 +436,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: CF7512ED2EBD43C3BFF0D7C0AA400F31 Ref B: MNZ221060609023 Ref C: 2024-11-29T07:09:27Z' + - 'Ref A: EDB02FDA3AC34F2F99A1C7E494A5E20D Ref B: MNZ221060609019 Ref C: 2025-03-21T14:45:52Z' status: code: 200 message: OK @@ -454,21 +454,21 @@ interactions: ParameterSetName: - --name --profile-name --perimeter-name --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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 + 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=2024-07-01 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":[],"fullyQualifiedDomainNames":["www.abc.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[],"appliesTo":[{"resourceType":"*","features":["*"]}]}}' headers: cache-control: - no-cache content-length: - - '567' + - '619' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:29 GMT + - Fri, 21 Mar 2025 14:45:53 GMT expires: - '-1' pragma: @@ -482,7 +482,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 16F9C01A4A9E415FA2B65F7C725E0CB1 Ref B: MNZ221060610019 Ref C: 2024-11-29T07:09:29Z' + - 'Ref A: 9D3C1E470CE74B0CBB29EB0A3B95A5FE Ref B: MNZ221060619051 Ref C: 2025-03-21T14:45:54Z' status: code: 200 message: OK @@ -500,21 +500,21 @@ interactions: ParameterSetName: - --perimeter-name --profile-name --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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 + 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=2024-07-01 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":[],"fullyQualifiedDomainNames":["www.abc.com"],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[],"appliesTo":[{"resourceType":"*","features":["*"]}]}}]}' headers: cache-control: - no-cache content-length: - - '593' + - '645' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:31 GMT + - Fri, 21 Mar 2025 14:45:54 GMT expires: - '-1' pragma: @@ -528,7 +528,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: D482E525526942F48D5BC915E54DB9CE Ref B: MNZ221060619021 Ref C: 2024-11-29T07:09:30Z' + - 'Ref A: 51E4535F5208480DAC5AFDECB1100F6C Ref B: MNZ221060618033 Ref C: 2025-03-21T14:45:54Z' status: code: 200 message: OK @@ -548,9 +548,9 @@ interactions: ParameterSetName: - --name --perimeter-name --profile-name --resource-group --yes User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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 + 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=2024-07-01 response: body: string: '' @@ -560,7 +560,7 @@ interactions: content-length: - '0' date: - - Fri, 29 Nov 2024 07:09:32 GMT + - Fri, 21 Mar 2025 14:45:56 GMT expires: - '-1' pragma: @@ -576,7 +576,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-deletes: - '11999' x-msedge-ref: - - 'Ref A: 2336001D1F9D4933BBE1363D58FFA488 Ref B: MNZ221060618035 Ref C: 2024-11-29T07:09:32Z' + - 'Ref A: DDD7258E9096448493E6775888B2DA72 Ref B: MNZ221060608045 Ref C: 2025-03-21T14:45:55Z' 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 ddd81853285..9beb061724b 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 @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "eastus2euap", "name": "TestNetworkSecurityPerimeter"}' + body: '{"location": "eastus2euap"}' headers: Accept: - application/json @@ -11,18 +11,18 @@ interactions: Connection: - keep-alive Content-Length: - - '67' + - '27' Content-Type: - application/json ParameterSetName: - --name -l --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-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=2024-07-01 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":"7cd3a36c-8ad5-4503-89b7-0e22878a62d7","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":"6a40804b-e7df-4619-b65a-c582f20c9fb0","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -31,7 +31,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:19 GMT + - Fri, 21 Mar 2025 14:45:45 GMT expires: - '-1' pragma: @@ -47,7 +47,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: 9B7FCEB19035470F8D4789DF2D72135D Ref B: MNZ221060618009 Ref C: 2024-11-29T07:09:19Z' + - 'Ref A: 33049E0BB2EB480E8BC9248D51C42A5E Ref B: MNZ221060619019 Ref C: 2025-03-21T14:45:45Z' status: code: 200 message: OK @@ -65,12 +65,12 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-11-29T07:09:15Z","module":"nsp","Created":"2024-11-29T07:09:16.9897449Z"},"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":"2025-03-21T14:45:42Z","module":"nsp","Created":"2025-03-21T14:45:43.6078795Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -79,7 +79,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:20 GMT + - Fri, 21 Mar 2025 14:45:46 GMT expires: - '-1' pragma: @@ -93,12 +93,12 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: F8783D54F2D44AC7A60684F4BDDA9658 Ref B: MNZ221060610045 Ref C: 2024-11-29T07:09:20Z' + - 'Ref A: F6B01AC6E1014E09959A1257D44E7EF7 Ref B: MNZ221060609025 Ref C: 2025-03-21T14:45:46Z' status: code: 200 message: OK - request: - body: '{"location": "eastus2euap", "name": "TestNspProfile"}' + body: '{"location": "eastus2euap"}' headers: Accept: - application/json @@ -109,15 +109,15 @@ interactions: Connection: - keep-alive Content-Length: - - '53' + - '27' Content-Type: - application/json ParameterSetName: - --name --perimeter-name --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-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=2024-07-01 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"}' @@ -129,7 +129,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:21 GMT + - Fri, 21 Mar 2025 14:45:46 GMT expires: - '-1' pragma: @@ -141,11 +141,11 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-writes: - - '11998' + - '11999' x-ms-ratelimit-remaining-subscription-writes: - - '798' + - '799' x-msedge-ref: - - 'Ref A: 9A6692AE60AB42BEA19D45755FCCF361 Ref B: MNZ221060618023 Ref C: 2024-11-29T07:09:20Z' + - 'Ref A: 43C7E6EA95F0461EA185B1920BD79373 Ref B: MNZ221060609007 Ref C: 2025-03-21T14:45:46Z' status: code: 200 message: OK @@ -163,12 +163,12 @@ interactions: ParameterSetName: - --name --profile-name --perimeter-name --resource-group --address-prefixes User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-11-29T07:09:15Z","module":"nsp","Created":"2024-11-29T07:09:16.9897449Z"},"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":"2025-03-21T14:45:42Z","module":"nsp","Created":"2025-03-21T14:45:43.6078795Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -177,7 +177,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:20 GMT + - Fri, 21 Mar 2025 14:45:47 GMT expires: - '-1' pragma: @@ -191,13 +191,12 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: DC4AC1FEE7D64654AECF6E3B58F8265F Ref B: MNZ221060609019 Ref C: 2024-11-29T07:09:21Z' + - 'Ref A: BB016329C169429685EFA13C3204C736 Ref B: MNZ221060608017 Ref C: 2025-03-21T14:45:47Z' status: code: 200 message: OK - request: - body: '{"location": "eastus2euap", "name": "TestNspAccessRule_ip", "properties": - {"addressPrefixes": ["10.10.0.0/16"]}}' + body: '{"location": "eastus2euap", "properties": {"addressPrefixes": ["10.10.0.0/16"]}}' headers: Accept: - application/json @@ -208,27 +207,27 @@ interactions: Connection: - keep-alive Content-Length: - - '112' + - '80' Content-Type: - application/json ParameterSetName: - --name --profile-name --perimeter-name --resource-group --address-prefixes User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-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=2024-07-01 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"],"fullyQualifiedDomainNames":[],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[],"appliesTo":[{"resourceType":"*","features":["*"]}]}}' headers: cache-control: - no-cache content-length: - - '576' + - '628' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:23 GMT + - Fri, 21 Mar 2025 14:45:48 GMT expires: - '-1' pragma: @@ -244,7 +243,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: 3C75E5DB891547E49FAB21329F4DF1BB Ref B: MNZ221060610029 Ref C: 2024-11-29T07:09:21Z' + - 'Ref A: 5FB85CC4ABEE4A168D9DBF9016FB91BB Ref B: MNZ221060610033 Ref C: 2025-03-21T14:45:48Z' status: code: 200 message: OK @@ -262,12 +261,12 @@ interactions: ParameterSetName: - --name --profile-name --perimeter-name --resource-group --subscriptions User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-11-29T07:09:15Z","module":"nsp","Created":"2024-11-29T07:09:16.9897449Z"},"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":"2025-03-21T14:45:42Z","module":"nsp","Created":"2025-03-21T14:45:43.6078795Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -276,7 +275,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:23 GMT + - Fri, 21 Mar 2025 14:45:48 GMT expires: - '-1' pragma: @@ -290,13 +289,12 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: D717696B16674734A074B90B93F64F53 Ref B: MNZ221060610035 Ref C: 2024-11-29T07:09:24Z' + - 'Ref A: 00FA76184FA3495D9F15C758B730D962 Ref B: MNZ221060610051 Ref C: 2025-03-21T14:45:48Z' status: code: 200 message: OK - request: - body: '{"location": "eastus2euap", "name": "TestNspAccessRule_subscription", "properties": - {"subscriptions": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000"}]}}' + body: '{"location": "eastus2euap", "properties": {"subscriptions": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000"}]}}' headers: Accept: - application/json @@ -307,27 +305,27 @@ interactions: Connection: - keep-alive Content-Length: - - '167' + - '125' Content-Type: - application/json ParameterSetName: - --name --profile-name --perimeter-name --resource-group --subscriptions User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-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=2024-07-01 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":[],"fullyQualifiedDomainNames":[],"subscriptions":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000"}],"networkSecurityPerimeters":[],"emailAddresses":[],"phoneNumbers":[],"appliesTo":[{"resourceType":"*","features":["*"]}]}}' headers: cache-control: - no-cache content-length: - - '642' + - '694' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:25 GMT + - Fri, 21 Mar 2025 14:45:49 GMT expires: - '-1' pragma: @@ -343,7 +341,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: B4CC0CE895054E799A10F1A87948F37C Ref B: MNZ221060610025 Ref C: 2024-11-29T07:09:24Z' + - 'Ref A: AFE8344A30824927951B72407CE4F121 Ref B: MNZ221060610039 Ref C: 2025-03-21T14:45:49Z' status: code: 200 message: OK @@ -362,12 +360,12 @@ interactions: - --name --profile-name --perimeter-name --resource-group --email-addresses --direction User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-11-29T07:09:15Z","module":"nsp","Created":"2024-11-29T07:09:16.9897449Z"},"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":"2025-03-21T14:45:42Z","module":"nsp","Created":"2025-03-21T14:45:43.6078795Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -376,7 +374,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:25 GMT + - Fri, 21 Mar 2025 14:45:48 GMT expires: - '-1' pragma: @@ -390,13 +388,13 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: B29C4E9C4AF04C50B2C25F486F1502F4 Ref B: MNZ221060619047 Ref C: 2024-11-29T07:09:25Z' + - 'Ref A: CAEEC65E87DF4A77989088EE8D033DF0 Ref B: MNZ221060619035 Ref C: 2025-03-21T14:45:49Z' status: code: 200 message: OK - request: - body: '{"location": "eastus2euap", "name": "TestNspAccessRule_email", "properties": - {"direction": "Outbound", "emailAddresses": ["abc@microsoft.com", "bcd@microsoft.com"]}}' + body: '{"location": "eastus2euap", "properties": {"direction": "Outbound", "emailAddresses": + ["abc@microsoft.com", "bcd@microsoft.com"]}}' headers: Accept: - application/json @@ -407,28 +405,28 @@ interactions: Connection: - keep-alive Content-Length: - - '165' + - '130' Content-Type: - application/json ParameterSetName: - --name --profile-name --perimeter-name --resource-group --email-addresses --direction User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-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=2024-07-01 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":[],"fullyQualifiedDomainNames":[],"subscriptions":[],"networkSecurityPerimeters":[],"emailAddresses":["abc@microsoft.com","bcd@microsoft.com"],"phoneNumbers":[],"appliesTo":[{"resourceType":"*","features":["*"]}]}}' headers: cache-control: - no-cache content-length: - - '608' + - '660' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:26 GMT + - Fri, 21 Mar 2025 14:45:50 GMT expires: - '-1' pragma: @@ -444,7 +442,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: 299267D56FAB46A4881282733C0A2611 Ref B: MNZ221060609009 Ref C: 2024-11-29T07:09:25Z' + - 'Ref A: D20A24457C65408FAE4D5F9EE07CA887 Ref B: MNZ221060619031 Ref C: 2025-03-21T14:45:50Z' status: code: 200 message: OK @@ -462,12 +460,12 @@ interactions: ParameterSetName: - --name --profile-name --perimeter-name --resource-group --phone-numbers --direction User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-11-29T07:09:15Z","module":"nsp","Created":"2024-11-29T07:09:16.9897449Z"},"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":"2025-03-21T14:45:42Z","module":"nsp","Created":"2025-03-21T14:45:43.6078795Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -476,7 +474,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:26 GMT + - Fri, 21 Mar 2025 14:45:51 GMT expires: - '-1' pragma: @@ -490,13 +488,13 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 745602C863D040E5AF1560F65E80A148 Ref B: MNZ221060610045 Ref C: 2024-11-29T07:09:27Z' + - 'Ref A: 81C9F94D890541DFAE6FA9AA25C58840 Ref B: MNZ221060619019 Ref C: 2025-03-21T14:45:51Z' status: code: 200 message: OK - request: - body: '{"location": "eastus2euap", "name": "TestNspAccessRule_sms", "properties": - {"direction": "Outbound", "phoneNumbers": ["+919898989898", "+929898989898"]}}' + body: '{"location": "eastus2euap", "properties": {"direction": "Outbound", "phoneNumbers": + ["+919898989898", "+929898989898"]}}' headers: Accept: - application/json @@ -507,28 +505,28 @@ interactions: Connection: - keep-alive Content-Length: - - '153' + - '120' Content-Type: - application/json ParameterSetName: - --name --profile-name --perimeter-name --resource-group --phone-numbers --direction User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-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=2024-07-01 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 - 9898989898","+92 9898989898"]}}' + 9898989898","+92 9898989898"],"appliesTo":[{"resourceType":"*","features":["*"]}]}}' headers: cache-control: - no-cache content-length: - - '598' + - '650' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:28 GMT + - Fri, 21 Mar 2025 14:45:52 GMT expires: - '-1' pragma: @@ -544,7 +542,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: CAD59C0C7FF941DF9B65D702212E31FD Ref B: MNZ221060618011 Ref C: 2024-11-29T07:09:27Z' + - 'Ref A: E25E65915A64486F8F0236233C23B59A Ref B: MNZ221060608029 Ref C: 2025-03-21T14:45:51Z' status: code: 200 message: OK @@ -562,12 +560,12 @@ interactions: ParameterSetName: - --name --profile-name --perimeter-name --resource-group --service-tags User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-11-29T07:09:15Z","module":"nsp","Created":"2024-11-29T07:09:16.9897449Z"},"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":"2025-03-21T14:45:42Z","module":"nsp","Created":"2025-03-21T14:45:43.6078795Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -576,7 +574,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:28 GMT + - Fri, 21 Mar 2025 14:45:52 GMT expires: - '-1' pragma: @@ -590,13 +588,12 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 5F324A7E4C2C4E9980CC3D0055F47B5A Ref B: MNZ221060618011 Ref C: 2024-11-29T07:09:29Z' + - 'Ref A: A4524AD5AD8947FA94F9BF6F2BD7ADD7 Ref B: MNZ221060608029 Ref C: 2025-03-21T14:45:53Z' status: code: 200 message: OK - request: - body: '{"location": "eastus2euap", "name": "TestNspAccessRule_servicetag", "properties": - {"serviceTags": ["MicrosoftPublicIPSpace"]}}' + body: '{"location": "eastus2euap", "properties": {"serviceTags": ["MicrosoftPublicIPSpace"]}}' headers: Accept: - application/json @@ -607,27 +604,27 @@ interactions: Connection: - keep-alive Content-Length: - - '126' + - '86' Content-Type: - application/json ParameterSetName: - --name --profile-name --perimeter-name --resource-group --service-tags User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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 + 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=2024-07-01 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"]}}' + 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"],"appliesTo":[{"resourceType":"*","features":["*"]}]}}' headers: cache-control: - no-cache content-length: - - '619' + - '671' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:30 GMT + - Fri, 21 Mar 2025 14:45:55 GMT expires: - '-1' pragma: @@ -643,7 +640,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: CEBC61F729DC494A9FA5276205779FCF Ref B: MNZ221060610025 Ref C: 2024-11-29T07:09:29Z' + - 'Ref A: 56609F0C3E7F49849A7064549680929D Ref B: MNZ221060618021 Ref C: 2025-03-21T14:45:53Z' 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 b60913665f9..6cf43a8bdc4 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 @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "eastus2euap", "name": "TestNetworkSecurityPerimeter"}' + body: '{"location": "eastus2euap"}' headers: Accept: - application/json @@ -11,18 +11,18 @@ interactions: Connection: - keep-alive Content-Length: - - '67' + - '27' Content-Type: - application/json ParameterSetName: - --name -l --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-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=2024-07-01 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":"4f12958e-925f-4b86-9b4f-fc494ad6c617","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":"53648c93-62cb-4705-bea0-c21028010d6b","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -31,7 +31,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:20 GMT + - Fri, 21 Mar 2025 14:45:47 GMT expires: - '-1' pragma: @@ -47,7 +47,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: C90DBA337FB6429884341763A202338A Ref B: MNZ221060609051 Ref C: 2024-11-29T07:09:19Z' + - 'Ref A: C8ED54C0A5654228A68532362E3CB8FA Ref B: MNZ221060610053 Ref C: 2025-03-21T14:45:46Z' status: code: 200 message: OK @@ -65,12 +65,12 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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":"2024-11-29T07:09:15Z","module":"nsp","Created":"2024-11-29T07:09:17.1285269Z"},"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":"2025-03-21T14:45:42Z","module":"nsp","Created":"2025-03-21T14:45:43.9878435Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -79,7 +79,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:20 GMT + - Fri, 21 Mar 2025 14:45:47 GMT expires: - '-1' pragma: @@ -93,12 +93,12 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: EC73C806B6F14AA4BD2706F9646EB3EC Ref B: MNZ221060619021 Ref C: 2024-11-29T07:09:21Z' + - 'Ref A: 11D0182584A644C18ADD461511AE5F4E Ref B: MNZ221060608039 Ref C: 2025-03-21T14:45:48Z' status: code: 200 message: OK - request: - body: '{"location": "eastus2euap", "name": "TestNspProfile"}' + body: '{"location": "eastus2euap"}' headers: Accept: - application/json @@ -109,15 +109,15 @@ interactions: Connection: - keep-alive Content-Length: - - '53' + - '27' Content-Type: - application/json ParameterSetName: - --name --perimeter-name --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-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=2024-07-01 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"}' @@ -129,7 +129,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:22 GMT + - Fri, 21 Mar 2025 14:45:48 GMT expires: - '-1' pragma: @@ -145,7 +145,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: 15915E0535E04F36953F8CB236EC1451 Ref B: MNZ221060610031 Ref C: 2024-11-29T07:09:21Z' + - 'Ref A: 41186531D00A4795AA5852E416D06F7F Ref B: MNZ221060608033 Ref C: 2025-03-21T14:45:48Z' status: code: 200 message: OK @@ -163,23 +163,23 @@ interactions: ParameterSetName: - --name -l --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-SP0) method: GET - 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 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp19-test?api-version=2023-02-01 response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.KeyVault/vaults/kvclinsp18'' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.KeyVault/vaults/kvclinsp19-test'' under resource group ''test_nsp_association_crud000001'' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '239' + - '244' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:22 GMT + - Fri, 21 Mar 2025 14:45:49 GMT expires: - '-1' pragma: @@ -193,7 +193,7 @@ interactions: x-ms-failure-cause: - gateway x-msedge-ref: - - 'Ref A: 43F8AAA6728E43A8974B9CAD8D672AA9 Ref B: MNZ221060618021 Ref C: 2024-11-29T07:09:23Z' + - 'Ref A: 355A17F90DDA42F7B69C13495CD725A3 Ref B: MNZ221060610039 Ref C: 2025-03-21T14:45:49Z' status: code: 404 message: Not Found @@ -218,21 +218,21 @@ interactions: ParameterSetName: - --name -l --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-SP0) method: PUT - 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 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp19-test?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":"karthikgumpu@microsoft.com","createdByType":"User","createdAt":"2024-11-29T07:09:23.675Z","lastModifiedBy":"karthikgumpu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-11-29T07:09:23.675Z"},"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/kvclinsp19-test","name":"kvclinsp19-test","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{},"systemData":{"createdBy":"karthikgumpu@microsoft.com","createdByType":"User","createdAt":"2025-03-21T14:45:50.621Z","lastModifiedBy":"karthikgumpu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-21T14:45:50.621Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":true,"vaultUri":"https://kvclinsp19-test.vault.azure.net","provisioningState":"RegisteringDns","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache content-length: - - '836' + - '851' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:25 GMT + - Fri, 21 Mar 2025 14:45:51 GMT expires: - '-1' pragma: @@ -246,13 +246,13 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.1400.0 + - 2.2.29.0 x-ms-ratelimit-remaining-subscription-global-writes: - '11999' x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: 9FA1EC7818EC49498956AB24D746E369 Ref B: MNZ221060618021 Ref C: 2024-11-29T07:09:23Z' + - 'Ref A: 7D8B880EAF5F4DDDBBBFBB0339119AE2 Ref B: MNZ221060610039 Ref C: 2025-03-21T14:45:49Z' status: code: 200 message: OK @@ -270,21 +270,21 @@ interactions: ParameterSetName: - --name -l --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-SP0) method: GET - 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 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp19-test?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":"karthikgumpu@microsoft.com","createdByType":"User","createdAt":"2024-11-29T07:09:23.675Z","lastModifiedBy":"karthikgumpu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-11-29T07:09:23.675Z"},"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/kvclinsp19-test","name":"kvclinsp19-test","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{},"systemData":{"createdBy":"karthikgumpu@microsoft.com","createdByType":"User","createdAt":"2025-03-21T14:45:50.621Z","lastModifiedBy":"karthikgumpu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-21T14:45:50.621Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":true,"vaultUri":"https://kvclinsp19-test.vault.azure.net/","provisioningState":"RegisteringDns","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache content-length: - - '837' + - '852' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:25 GMT + - Fri, 21 Mar 2025 14:45:51 GMT expires: - '-1' pragma: @@ -298,11 +298,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.1400.0 + - 2.2.29.0 x-ms-ratelimit-remaining-subscription-global-reads: - - '16498' + - '16499' x-msedge-ref: - - 'Ref A: 362385BB2C9746F492EE3F40BD35018A Ref B: MNZ221060618021 Ref C: 2024-11-29T07:09:25Z' + - 'Ref A: BE020423C08C4E7497B06C9D742383FE Ref B: MNZ221060610039 Ref C: 2025-03-21T14:45:52Z' status: code: 200 message: OK @@ -320,21 +320,21 @@ interactions: ParameterSetName: - --name -l --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-SP0) method: GET - 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 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp19-test?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":"karthikgumpu@microsoft.com","createdByType":"User","createdAt":"2024-11-29T07:09:23.675Z","lastModifiedBy":"karthikgumpu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-11-29T07:09:23.675Z"},"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/kvclinsp19-test","name":"kvclinsp19-test","type":"Microsoft.KeyVault/vaults","location":"eastus2euap","tags":{},"systemData":{"createdBy":"karthikgumpu@microsoft.com","createdByType":"User","createdAt":"2025-03-21T14:45:50.621Z","lastModifiedBy":"karthikgumpu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2025-03-21T14:45:50.621Z"},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[],"enabledForDeployment":false,"enableSoftDelete":true,"softDeleteRetentionInDays":90,"enableRbacAuthorization":true,"vaultUri":"https://kvclinsp19-test.vault.azure.net/","provisioningState":"Succeeded","publicNetworkAccess":"Enabled"}}' headers: cache-control: - no-cache content-length: - - '832' + - '847' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:55 GMT + - Fri, 21 Mar 2025 14:46:21 GMT expires: - '-1' pragma: @@ -348,11 +348,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.1400.0 + - 2.2.29.0 x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 5CCD76F8105A4A01A3EEA1329D1FC0D1 Ref B: MNZ221060618021 Ref C: 2024-11-29T07:09:55Z' + - 'Ref A: 95A7A5929F224D2D945B17CE730E1265 Ref B: MNZ221060610039 Ref C: 2025-03-21T14:46:22Z' status: code: 200 message: OK @@ -371,12 +371,12 @@ interactions: - --name --perimeter-name --resource-group --access-mode --private-link-resource --profile User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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":"2024-11-29T07:09:15Z","module":"nsp","Created":"2024-11-29T07:09:17.1285269Z"},"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":"2025-03-21T14:45:42Z","module":"nsp","Created":"2025-03-21T14:45:43.9878435Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -385,7 +385,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:55 GMT + - Fri, 21 Mar 2025 14:46:22 GMT expires: - '-1' pragma: @@ -399,13 +399,13 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: D44D6DD53DB5464B92EB7DC8951A58B6 Ref B: MNZ221060619017 Ref C: 2024-11-29T07:09:56Z' + - 'Ref A: 9D39B88BD16148B1AC6CB882A81D8736 Ref B: MNZ221060618009 Ref C: 2025-03-21T14:46:23Z' 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/kvclinsp18"}, + body: '{"location": "eastus2euap", "properties": {"accessMode": "Learning", "privateLinkResource": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp19-test"}, "profile": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile"}}}' headers: Accept: @@ -417,32 +417,32 @@ interactions: Connection: - keep-alive Content-Length: - - '507' + - '482' Content-Type: - application/json ParameterSetName: - --name --perimeter-name --resource-group --access-mode --private-link-resource --profile User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-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=2024-07-01 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/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"}}' + 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/kvclinsp19-test"},"profile":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile"},"accessMode":"Learning","provisioningState":"Creating","hasProvisioningIssues":"no"}}' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/networkSecurityPerimeterOperationStatuses/d9fdb754-a42f-4d16-84aa-8e223c685604?api-version=2024-07-01&t=638781651855569197&c=MIIHhzCCBm-gAwIBAgITfAaPVSYGYp0_a9-AhQAABo9VJjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIwMDgzNTM2WhcNMjUwNzE5MDgzNTM2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMIvzhqGKiWeVv5oxugQQEZ8AxTC1p8Lu-WshPo0K7VS2EMvF_bHNAJa2ICbsiu5eWYlTaYcdzZL_li8T_EER2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plbWt-fXPLHNvPydmtAiA2qygRnU0&s=nHbMW9HTDwOYlPMdcJGH0YWWcCoouI6xSrEiXtK6VXgK0CGwVToeQ-y7_tsaB_K0vWggFEpnN5fwQ7MUl4PU4PpesbHc3aW8A38JVIcM8ELb4onWDnZ-DsuhhEJiyaoIGfIUdIL1SIcdDYqmlmhuhUmpO7YEVXPeDMMcsWqUiBEzYjwaUoJ_CUMDp6q0Vgw0cJVcA1eX2KaSWyI7Ho5fnmdx27JH2GQkUfD2jSp_t7pvM4gkZK1Gh9lSx0ws_v-1BWxowQvdVfFVcpXP8qSmuIkHjOjtoXBAUl39QoIywTRWqqqppgcWLgzGd-_qs0vcUAUGHQQW2wWHOxAje9ZqsA&h=8lykyn56I5d75Jn93Q9JUKA2o7YAwm6L-Owy0dZdOIQ cache-control: - no-cache content-length: - - '834' + - '838' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:10:00 GMT + - Fri, 21 Mar 2025 14:46:24 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-08-01-preview pragma: - no-cache strict-transport-security: @@ -456,10 +456,151 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: 1E5E53D1CCE04190B8FB7483902BE3A4 Ref B: MNZ221060608051 Ref C: 2024-11-29T07:09:56Z' + - 'Ref A: E5FC03EA9D354980B37FA0EC2395DC09 Ref B: MNZ221060619037 Ref C: 2025-03-21T14:46:23Z' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network perimeter association create + Connection: + - keep-alive + ParameterSetName: + - --name --perimeter-name --resource-group --access-mode --private-link-resource + --profile + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/networkSecurityPerimeterOperationStatuses/d9fdb754-a42f-4d16-84aa-8e223c685604?api-version=2024-07-01&t=638781651855569197&c=MIIHhzCCBm-gAwIBAgITfAaPVSYGYp0_a9-AhQAABo9VJjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIwMDgzNTM2WhcNMjUwNzE5MDgzNTM2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMIvzhqGKiWeVv5oxugQQEZ8AxTC1p8Lu-WshPo0K7VS2EMvF_bHNAJa2ICbsiu5eWYlTaYcdzZL_li8T_EER2Dx5l6uj7GUfGoYbEJQ0ZdYtzLoQJYa5_x168-RsA7F1839wPdzv32z3afnCHOSeIzPiOiCJXb6FjOWJ-znbB2na5Gw4nwgaj4uxlRQGN3ElReqQ4P64xkAph5x91fRINLkaaRTDeKQ_g_suaN1BHm22myYRg2O9gZy5mhTUzDjj9HsrGu2-1-ZFNZZPMl5ltWBsQD6c_49DWpOowaX9ZSYaO9E9s45gP5YMr-ALxZrETB9ilbvFNbbXmv9Kc5LEc0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29m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-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/networkSecurityPerimeterOperationStatuses/d9fdb754-a42f-4d16-84aa-8e223c685604","status":"Creating","startTime":"2025-03-21T14:46:25.4862849Z","properties":{"resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation"}}' + headers: + cache-control: + - no-cache + content-length: + - '550' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 21 Mar 2025 14:46:25 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: EA0F8EF80FE840E3B8A0F8F267C483BD Ref B: MNZ221060619037 Ref C: 2025-03-21T14:46:25Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network perimeter association create + Connection: + - keep-alive + ParameterSetName: + - --name --perimeter-name --resource-group --access-mode --private-link-resource + --profile + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/networkSecurityPerimeterOperationStatuses/d9fdb754-a42f-4d16-84aa-8e223c685604?api-version=2024-07-01&t=638781651855569197&c=MIIHhzCCBm-gAwIBAgITfAaPVSYGYp0_a9-AhQAABo9VJjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIwMDgzNTM2WhcNMjUwNzE5MDgzNTM2WjBAMT4wPAYDVQQDEz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hfeD0WRhUOq6PB1WhWLF_mqSzEwmTmuQAsVGXf8Gh0psllvyF--eEaF0pSbhEuo6lPzPk3hgUSico8gbSjr4hgIVn6x0JCa1XSFgaeKHIqD8eapb-mDfYa0QAQwJ8tYxzrkJ_n5OI7g5xCiIeV5DXmSzLTGx9QvaE4Y8-jFgRKG0qMhnqf8StrJOSKMrcJlHtjT7plbWt-fXPLHNvPydmtAiA2qygRnU0&s=nHbMW9HTDwOYlPMdcJGH0YWWcCoouI6xSrEiXtK6VXgK0CGwVToeQ-y7_tsaB_K0vWggFEpnN5fwQ7MUl4PU4PpesbHc3aW8A38JVIcM8ELb4onWDnZ-DsuhhEJiyaoIGfIUdIL1SIcdDYqmlmhuhUmpO7YEVXPeDMMcsWqUiBEzYjwaUoJ_CUMDp6q0Vgw0cJVcA1eX2KaSWyI7Ho5fnmdx27JH2GQkUfD2jSp_t7pvM4gkZK1Gh9lSx0ws_v-1BWxowQvdVfFVcpXP8qSmuIkHjOjtoXBAUl39QoIywTRWqqqppgcWLgzGd-_qs0vcUAUGHQQW2wWHOxAje9ZqsA&h=8lykyn56I5d75Jn93Q9JUKA2o7YAwm6L-Owy0dZdOIQ + response: + body: + string: '{"name":"d9fdb754-a42f-4d16-84aa-8e223c685604","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/networkSecurityPerimeterOperationStatuses/d9fdb754-a42f-4d16-84aa-8e223c685604","status":"Succeeded","startTime":"2025-03-21T14:46:25.4862849Z","endTime":"2025-03-21T14:46:29.8345096Z","properties":{"resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation"}}' + headers: + cache-control: + - no-cache + content-length: + - '592' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 21 Mar 2025 14:46:55 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-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 03D123DA8C4542ABBAAF4982DC44BF3D Ref B: MNZ221060619037 Ref C: 2025-03-21T14:46:55Z' status: - code: 201 - message: Created + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network perimeter association create + Connection: + - keep-alive + ParameterSetName: + - --name --perimeter-name --resource-group --access-mode --private-link-resource + --profile + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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=2024-07-01 + 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/kvclinsp19-test"},"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 + content-length: + - '839' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 21 Mar 2025 14:47:03 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-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 6E5F2B088FC74086B610E8E3FFB73938 Ref B: MNZ221060619037 Ref C: 2025-03-21T14:46:56Z' + status: + code: 200 + message: OK - request: body: null headers: @@ -474,21 +615,21 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-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=2024-07-01 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/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"}}' + 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/kvclinsp19-test"},"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 content-length: - - '834' + - '839' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:10:01 GMT + - Fri, 21 Mar 2025 14:47:05 GMT expires: - '-1' pragma: @@ -502,7 +643,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 6DBA044368344CB8B686E13BA33AF97F Ref B: MNZ221060619053 Ref C: 2024-11-29T07:10:00Z' + - 'Ref A: DD8FA1D8B8124F05AC97700538593EF0 Ref B: MNZ221060610051 Ref C: 2025-03-21T14:47:04Z' status: code: 200 message: OK @@ -521,12 +662,12 @@ interactions: - --name --perimeter-name --resource-group --access-mode --private-link-resource --profile User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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":"2024-11-29T07:09:15Z","module":"nsp","Created":"2024-11-29T07:09:17.1285269Z"},"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":"2025-03-21T14:45:42Z","module":"nsp","Created":"2025-03-21T14:45:43.9878435Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -535,7 +676,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:10:01 GMT + - Fri, 21 Mar 2025 14:47:05 GMT expires: - '-1' pragma: @@ -549,7 +690,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: C87792B5DE9E4BD1A3532E41131E7487 Ref B: MNZ221060609053 Ref C: 2024-11-29T07:10:01Z' + - 'Ref A: 2B95A73CD9734C158239178C6251F864 Ref B: MNZ221060610025 Ref C: 2025-03-21T14:47:05Z' status: code: 200 message: OK @@ -568,21 +709,21 @@ interactions: - --name --perimeter-name --resource-group --access-mode --private-link-resource --profile User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-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=2024-07-01 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/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"}}' + 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/kvclinsp19-test"},"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 content-length: - - '834' + - '839' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:10:02 GMT + - Fri, 21 Mar 2025 14:47:06 GMT expires: - '-1' pragma: @@ -596,13 +737,13 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: FC998CBFB8364BCD8F0026C7FBFE574A Ref B: MNZ221060618023 Ref C: 2024-11-29T07:10:01Z' + - 'Ref A: 90A578002B71417C84F4E6DE6D3F62C0 Ref B: MNZ221060619031 Ref C: 2025-03-21T14:47:06Z' 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/kvclinsp18"}, + body: '{"location": "eastus2euap", "properties": {"accessMode": "Enforced", "privateLinkResource": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp19-test"}, "profile": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile"}}}' headers: Accept: @@ -614,28 +755,30 @@ interactions: Connection: - keep-alive Content-Length: - - '507' + - '482' Content-Type: - application/json ParameterSetName: - --name --perimeter-name --resource-group --access-mode --private-link-resource --profile User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-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=2024-07-01 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/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"}}' + 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/kvclinsp19-test"},"profile":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile"},"accessMode":"Enforced","provisioningState":"Updating","hasProvisioningIssues":"no"}}' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/networkSecurityPerimeterOperationStatuses/a5446a26-df24-4158-9c0a-783eaef0b50d?api-version=2024-07-01&t=638781652283192265&c=MIIHhzCCBm-gAwIBAgITfAaPVSYGYp0_a9-AhQAABo9VJjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIwMDgzNTM2WhcNMjUwNzE5M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m0Q0Rq9FHB-Nz4KlrymTkU6hfeD0WRhUOq6PB1WhWLF_mqSzEwmTmuQAsVGXf8Gh0psllvyF--eEaF0pSbhEuo6lPzPk3hgUSico8gbSjr4hgIVn6x0JCa1XSFgaeKHIqD8eapb-mDfYa0QAQwJ8tYxzrkJ_n5OI7g5xCiIeV5DXmSzLTGx9QvaE4Y8-jFgRKG0qMhnqf8StrJOSKMrcJlHtjT7plbWt-fXPLHNvPydmtAiA2qygRnU0&s=A9dB3SHF8ht3-Hyt5BEO-s0GcrO-PtLLGnqO54hSbtSavHXhXWPZYHCY8FS1rWC1adr3nzn6TxfjJBlprDSgu-p9OcijujZ-sDFFAQezgI92ov7tukrOFGC8hX83g4C1M5vK8PpesDXQ_K11E8EJr4E-y6fzILidSUIoWscdp2tp9iBrRW8vbYXdhDuhnxG4gvyHgsjEQhW_P01iVTfxOnohXQzpm0gU69monNFwd1QbkQTDL0E3YNgOjb58noDbXPfKi4XgAGtMyymZyEGDiE9vm3K2WlLhgF2io_VcysWGhzcKVCY0jkkfiin3-_DCDpPOqYc-gPifDmTBM2hCwQ&h=dHiBrfDJ36cMHp1O33Z38hWzLhUFvVDE5nIePGDiel8 cache-control: - no-cache content-length: - - '834' + - '838' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:10:03 GMT + - Fri, 21 Mar 2025 14:47:07 GMT expires: - '-1' pragma: @@ -651,7 +794,148 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: A69C0B242263466B85C5723C88608D19 Ref B: MNZ221060618023 Ref C: 2024-11-29T07:10:02Z' + - 'Ref A: E191069922A84651971464585F9820BA Ref B: MNZ221060619031 Ref C: 2025-03-21T14:47:07Z' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network perimeter association update + Connection: + - keep-alive + ParameterSetName: + - --name --perimeter-name --resource-group --access-mode --private-link-resource + --profile + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/networkSecurityPerimeterOperationStatuses/a5446a26-df24-4158-9c0a-783eaef0b50d?api-version=2024-07-01&t=638781652283192265&c=MIIHhzCCBm-gAwIBAgITfAaPVSYGYp0_a9-AhQAABo9VJjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIwMDgzNTM2WhcNMjUwNzE5MDgzNTM2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMIvzhqGKiWeVv5oxugQQEZ8AxTC1p8Lu-WshPo0K7VS2EMvF_bHNAJa2ICbsiu5eWYlTaYcdzZL_li8T_EER2Dx5l6uj7GUfGoYbEJQ0ZdYtzLoQJYa5_x168-RsA7F1839wPdzv32z3afnCHOSeIzPiOiCJXb6FjOWJ-znbB2na5Gw4nwgaj4uxlRQGN3ElReqQ4P64xkAph5x91fRINLkaaRTDeKQ_g_suaN1BHm22myYRg2O9gZy5mhTUzDjj9HsrGu2-1-ZFNZZPMl5ltWBsQD6c_49DWpOowaX9ZSYaO9E9s45gP5YMr-ALxZrETB9ilbvFNbbXmv9Kc5LEc0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5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0b50d","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/networkSecurityPerimeterOperationStatuses/a5446a26-df24-4158-9c0a-783eaef0b50d","status":"Updating","startTime":"2025-03-21T14:47:08.2594103Z","properties":{"resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation"}}' + headers: + cache-control: + - no-cache + content-length: + - '550' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 21 Mar 2025 14:47:08 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 1CC63E6A5EB341749C4B3F29A7220D41 Ref B: MNZ221060619031 Ref C: 2025-03-21T14:47:08Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network perimeter association update + Connection: + - keep-alive + ParameterSetName: + - --name --perimeter-name --resource-group --access-mode --private-link-resource + --profile + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/networkSecurityPerimeterOperationStatuses/a5446a26-df24-4158-9c0a-783eaef0b50d?api-version=2024-07-01&t=638781652283192265&c=MIIHhzCCBm-gAwIBAgITfAaPVSYGYp0_a9-AhQAABo9VJjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIwMDgzNTM2WhcNMjUwNzE5MDgzN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0Rq9FHB-Nz4KlrymTkU6hfeD0WRhUOq6PB1WhWLF_mqSzEwmTmuQAsVGXf8Gh0psllvyF--eEaF0pSbhEuo6lPzPk3hgUSico8gbSjr4hgIVn6x0JCa1XSFgaeKHIqD8eapb-mDfYa0QAQwJ8tYxzrkJ_n5OI7g5xCiIeV5DXmSzLTGx9QvaE4Y8-jFgRKG0qMhnqf8StrJOSKMrcJlHtjT7plbWt-fXPLHNvPydmtAiA2qygRnU0&s=A9dB3SHF8ht3-Hyt5BEO-s0GcrO-PtLLGnqO54hSbtSavHXhXWPZYHCY8FS1rWC1adr3nzn6TxfjJBlprDSgu-p9OcijujZ-sDFFAQezgI92ov7tukrOFGC8hX83g4C1M5vK8PpesDXQ_K11E8EJr4E-y6fzILidSUIoWscdp2tp9iBrRW8vbYXdhDuhnxG4gvyHgsjEQhW_P01iVTfxOnohXQzpm0gU69monNFwd1QbkQTDL0E3YNgOjb58noDbXPfKi4XgAGtMyymZyEGDiE9vm3K2WlLhgF2io_VcysWGhzcKVCY0jkkfiin3-_DCDpPOqYc-gPifDmTBM2hCwQ&h=dHiBrfDJ36cMHp1O33Z38hWzLhUFvVDE5nIePGDiel8 + response: + body: + string: '{"name":"a5446a26-df24-4158-9c0a-783eaef0b50d","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/networkSecurityPerimeterOperationStatuses/a5446a26-df24-4158-9c0a-783eaef0b50d","status":"Succeeded","startTime":"2025-03-21T14:47:08.2594103Z","endTime":"2025-03-21T14:47:12.2529945Z","properties":{"resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation"}}' + headers: + cache-control: + - no-cache + content-length: + - '592' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 21 Mar 2025 14:47:39 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-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 873E6EBBFEA14AEB96149F38189AF2BA Ref B: MNZ221060619031 Ref C: 2025-03-21T14:47:39Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network perimeter association update + Connection: + - keep-alive + ParameterSetName: + - --name --perimeter-name --resource-group --access-mode --private-link-resource + --profile + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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=2024-07-01 + 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/kvclinsp19-test"},"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 + content-length: + - '839' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 21 Mar 2025 14:47:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 05EA6BC2173E40FE97BC9A1AB2798746 Ref B: MNZ221060619031 Ref C: 2025-03-21T14:47:40Z' status: code: 200 message: OK @@ -669,21 +953,21 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-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=2024-07-01 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/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"}}' + 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/kvclinsp19-test"},"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 content-length: - - '834' + - '839' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:10:05 GMT + - Fri, 21 Mar 2025 14:47:44 GMT expires: - '-1' pragma: @@ -697,7 +981,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 65FFB657020947D4877A7BC991CD0ED3 Ref B: MNZ221060610017 Ref C: 2024-11-29T07:10:03Z' + - 'Ref A: 68C5EBE6CB964B64B29423CBB42B3B64 Ref B: MNZ221060608033 Ref C: 2025-03-21T14:47:42Z' status: code: 200 message: OK @@ -715,21 +999,21 @@ interactions: ParameterSetName: - --perimeter-name --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-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=2024-07-01 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/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"}}]}' + 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/kvclinsp19-test"},"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 content-length: - - '860' + - '865' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:10:13 GMT + - Fri, 21 Mar 2025 14:47:45 GMT expires: - '-1' pragma: @@ -743,7 +1027,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 38D1B798E37A4ECD8F4E1C457BA84D77 Ref B: MNZ221060608011 Ref C: 2024-11-29T07:10:05Z' + - 'Ref A: CEA7440643AD4F5490343277BBCCF7FA Ref B: MNZ221060619017 Ref C: 2025-03-21T14:47:45Z' status: code: 200 message: OK @@ -763,17 +1047,23 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group --yes User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-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=2024-07-01 response: body: - string: '' + 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/kvclinsp19-test"},"profile":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/profiles/TestNspProfile"},"accessMode":"Enforced","provisioningState":"Deleting","hasProvisioningIssues":"no"}}' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/networ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kAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=EratI6xLkqRE29VGBYbrxfpyPRl75YDfuZ4uQQQ6FzicHN8OLb2KiDg4WrQ8Nq9VCTa2X8_P2UUSszu6Htulcw8Wt7VKsCJJxkGrWayyqaUTgVGKihKhk-giswAZHCz_SN0eacoCTCjPfAJfjUQSKyyrV1weoKimtlX8Fg2B0rtOYuj4amwWMsr_Wgw12yrnD1pQohovDbZ5VJmQrLt8eh2b0EcRLEKA1Zr9Sae8U2kzdN-Wlj04LlDvqQ9RplGjAcJYU3v-uXppQpYUj3awm_60ljiZrjqTfi-xUrnfS_bEuXxs7ycQRpBBXqRWWzQZyNdlCkk1GskKmpAL4g2VQg&h=X3YvxJuLEAfU0w-MmpjiBE3dcEsyRVdSjKTLwZ5tdug cache-control: - no-cache + content-length: + - '838' + content-type: + - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:10:14 GMT + - Fri, 21 Mar 2025 14:47:47 GMT expires: - '-1' pragma: @@ -789,10 +1079,102 @@ interactions: x-ms-ratelimit-remaining-subscription-global-deletes: - '11999' x-msedge-ref: - - 'Ref A: 6486E8B2B7DC4346BCED6370620CC09F Ref B: MNZ221060618021 Ref C: 2024-11-29T07:10:13Z' + - 'Ref A: 1AFD3AADCEBE454FACC9919B45EE1EB8 Ref B: MNZ221060609037 Ref C: 2025-03-21T14:47:45Z' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network perimeter association delete + Connection: + - keep-alive + ParameterSetName: + - --name --perimeter-name --resource-group --yes + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/networkSecurityPerimeterOperationStatuses/1593769d-3c98-4661-97ed-1fdd9ce68fe0?api-version=2024-07-01&t=638781652677557147&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59a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0eacoCTCjPfAJfjUQSKyyrV1weoKimtlX8Fg2B0rtOYuj4amwWMsr_Wgw12yrnD1pQohovDbZ5VJmQrLt8eh2b0EcRLEKA1Zr9Sae8U2kzdN-Wlj04LlDvqQ9RplGjAcJYU3v-uXppQpYUj3awm_60ljiZrjqTfi-xUrnfS_bEuXxs7ycQRpBBXqRWWzQZyNdlCkk1GskKmpAL4g2VQg&h=X3YvxJuLEAfU0w-MmpjiBE3dcEsyRVdSjKTLwZ5tdug + response: + body: + string: '{"name":"1593769d-3c98-4661-97ed-1fdd9ce68fe0","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/networkSecurityPerimeterOperationStatuses/1593769d-3c98-4661-97ed-1fdd9ce68fe0","status":"Deleting","startTime":"2025-03-21T14:47:47.6900225Z","properties":{"resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation"}}' + headers: + cache-control: + - no-cache + content-length: + - '550' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 21 Mar 2025 14:47:47 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: 48B924FE5DAA415592B293D183605365 Ref B: MNZ221060609037 Ref C: 2025-03-21T14:47:47Z' status: - code: 204 - message: No Content + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network perimeter association delete + Connection: + - keep-alive + ParameterSetName: + - --name --perimeter-name --resource-group --yes + User-Agent: + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/networkSecurityPerimeterOperationStatuses/1593769d-3c98-4661-97ed-1fdd9ce68fe0?api-version=2024-07-01&t=638781652677557147&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FN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AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=EratI6xLkqRE29VGBYbrxfpyPRl75YDfuZ4uQQQ6FzicHN8OLb2KiDg4WrQ8Nq9VCTa2X8_P2UUSszu6Htulcw8Wt7VKsCJJxkGrWayyqaUTgVGKihKhk-giswAZHCz_SN0eacoCTCjPfAJfjUQSKyyrV1weoKimtlX8Fg2B0rtOYuj4amwWMsr_Wgw12yrnD1pQohovDbZ5VJmQrLt8eh2b0EcRLEKA1Zr9Sae8U2kzdN-Wlj04LlDvqQ9RplGjAcJYU3v-uXppQpYUj3awm_60ljiZrjqTfi-xUrnfS_bEuXxs7ycQRpBBXqRWWzQZyNdlCkk1GskKmpAL4g2VQg&h=X3YvxJuLEAfU0w-MmpjiBE3dcEsyRVdSjKTLwZ5tdug + response: + body: + string: '{"name":"1593769d-3c98-4661-97ed-1fdd9ce68fe0","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/networkSecurityPerimeterOperationStatuses/1593769d-3c98-4661-97ed-1fdd9ce68fe0","status":"Succeeded","startTime":"2025-03-21T14:47:47.6900225Z","endTime":"2025-03-21T14:47:52.5795659Z","properties":{"resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation"}}' + headers: + cache-control: + - no-cache + content-length: + - '592' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 21 Mar 2025 14:48:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-global-reads: + - '16499' + x-msedge-ref: + - 'Ref A: A1CC0EBD99EB4191A5D9AE05C333610A Ref B: MNZ221060609037 Ref C: 2025-03-21T14:48:18Z' + status: + code: 200 + message: OK - request: body: null headers: @@ -807,9 +1189,9 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-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=2024-07-01 response: body: string: '{"error":{"message":"Resource [/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/resourceAssociations/TestNspAssociation] @@ -822,7 +1204,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:10:16 GMT + - Fri, 21 Mar 2025 14:48:20 GMT expires: - '-1' pragma: @@ -836,7 +1218,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: F31019A519EC4FA9890A4BE4DD3A1408 Ref B: MNZ221060609027 Ref C: 2024-11-29T07:10:15Z' + - 'Ref A: 9E1DB18B27CE47ED968C805C450FD05D Ref B: MNZ221060618031 Ref C: 2025-03-21T14:48:20Z' status: code: 404 message: Not Found @@ -856,9 +1238,9 @@ interactions: ParameterSetName: - --name --resource-group --no-wait User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-SP0) method: DELETE - 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 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp19-test?api-version=2023-02-01 response: body: string: '' @@ -868,7 +1250,7 @@ interactions: content-length: - '0' date: - - Fri, 29 Nov 2024 07:10:24 GMT + - Fri, 21 Mar 2025 14:48:30 GMT expires: - '-1' pragma: @@ -882,13 +1264,13 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.1400.0 + - 2.2.29.0 x-ms-ratelimit-remaining-subscription-deletes: - '800' x-ms-ratelimit-remaining-subscription-global-deletes: - '12000' x-msedge-ref: - - 'Ref A: 5D73AC93C71B4FAA8FE90BDD3350CC69 Ref B: MNZ221060610031 Ref C: 2024-11-29T07:10:16Z' + - 'Ref A: F8405AEF9CF14C59AEDC62E6DC56A6CE Ref B: MNZ221060609019 Ref C: 2025-03-21T14:48:21Z' status: code: 200 message: OK @@ -906,21 +1288,21 @@ interactions: ParameterSetName: - --name -l --no-wait User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2euap/deletedVaults/kvclinsp18?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2euap/deletedVaults/kvclinsp19-test?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-11-29T07:10:17Z","scheduledPurgeDate":"2025-02-27T07:10:17Z"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2euap/deletedVaults/kvclinsp19-test","name":"kvclinsp19-test","type":"Microsoft.KeyVault/deletedVaults","properties":{"vaultId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_association_crud000001/providers/Microsoft.KeyVault/vaults/kvclinsp19-test","location":"eastus2euap","tags":{},"deletionDate":"2025-03-21T14:48:21Z","scheduledPurgeDate":"2025-06-19T14:48:21Z"}}' headers: cache-control: - no-cache content-length: - - '488' + - '503' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:10:24 GMT + - Fri, 21 Mar 2025 14:48:29 GMT expires: - '-1' pragma: @@ -934,11 +1316,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.1400.0 + - 2.2.29.0 x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 6769292F258F4C1F8FAABC69A545331B Ref B: MNZ221060610029 Ref C: 2024-11-29T07:10:24Z' + - 'Ref A: AF0C0570FF4647EDAFD5AD36ADBF2B07 Ref B: MNZ221060618021 Ref C: 2025-03-21T14:48:30Z' status: code: 200 message: OK @@ -958,9 +1340,9 @@ interactions: ParameterSetName: - --name -l --no-wait User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2euap/deletedVaults/kvclinsp18/purge?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2euap/deletedVaults/kvclinsp19-test/purge?api-version=2023-02-01 response: body: string: '' @@ -970,11 +1352,11 @@ interactions: content-length: - '0' date: - - Fri, 29 Nov 2024 07:10:25 GMT + - Fri, 21 Mar 2025 14:48:30 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2euap/operationResults/VVR8MDYzODY4NDYxMDI3MDU4MDY3NHw2MDQ0RUM1MzkzQkU0RjUyQjEwMzg1RDA2MUM5NjE5NA?api-version=2023-02-01&t=638684610261734430&c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxW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NBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY&s=Y-F-HdsAEu_Tg6emlME8u6yntAUaJuhvhMiOFwSj_20yzH17AuZPM6ggzrBFAQg7PqHGiHz_pSJGqEOq328Uq8yPVOer0mUrDDqCpjuLNPX1X6Or8via4l_RQmEI_tYk1MORHbCrkPjSe0VZHv7r-91bjIKUtCm6VV0x4FdUuO5oOZjgwN7xmEwe573kD4h7jJaMVIqyFSTgH4MR0LH0XVvQmTNcyO9V7oIVYc3SlJqjTjR_d8UhA8AJmg57YZIRItsaGsCpI73oPsqMj7dtJL9cPE-oiWwWvfCRRVFQFpeE7KIyryLYaAVMndCuJowEsfydV-xkRG1aJClJ2Oazqw&h=TxPoZHLxRyEOEjYvOV5GHTNFJEbcaNe6rcKOsYFOdr8 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/eastus2euap/operationResults/VVR8MDYzODc4MTY1MzExOTM1MjIyOHxDNUY2RDRBNzdGREE0QjNDQkU4ODZDMDYxQUVGMzQ3NQ?api-version=2023-02-01&t=638781653110296669&c=MIIHhzCCBm-gAwIBAgITfAaPVSYGYp0_a9-AhQAABo9VJjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIwMDgzNTM2WhcNMjUwNzE5MDgzNTM2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNp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_mqSzEwmTmuQAsVGXf8Gh0psllvyF--eEaF0pSbhEuo6lPzPk3hgUSico8gbSjr4hgIVn6x0JCa1XSFgaeKHIqD8eapb-mDfYa0QAQwJ8tYxzrkJ_n5OI7g5xCiIeV5DXmSzLTGx9QvaE4Y8-jFgRKG0qMhnqf8StrJOSKMrcJlHtjT7plbWt-fXPLHNvPydmtAiA2qygRnU0&s=QtNvD0ClxF6MSMN1Nw6ydQKRlmAhLYSrLa0tJPz_DTKXD6Ps304kUTXWuQPao_J25N2I10aSPLwvOafCg3SbS_qNgViEh7tWFtR73GPNwTdv5DFrOkFhmvDAW2NdMqroF2EXzxijt22pSHbbIvCJwSjmRApaExPToetMRTDsk7bWf2lI2zMoQBmqh4fwbm1NU9mS6E3y1bHX0QgMdO_Cy4sC56WIN9FaNq3cLegvJ6O1DWpiFb3--njAJ8z-TYejIXAEzdrfqNyVRDWdrxuHM6e2T5-TxlhxyTd0MNGIepCXkLee3NzL45azqFGXzsQjlA0m7xPlSPk1XqaJJZroRA&h=7HBrvYRL_0TZ5nJCN658CErtj8PPYaXVA4Ttf4CGew8 pragma: - no-cache strict-transport-security: @@ -986,13 +1368,13 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-service-version: - - 1.5.1400.0 + - 2.2.29.0 x-ms-ratelimit-remaining-subscription-global-writes: - '11999' x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: 3762FD27AB7942FA8239DEDAEBBA19D3 Ref B: MNZ221060610017 Ref C: 2024-11-29T07:10:25Z' + - 'Ref A: 99E2F027E25042D9A6C89A7ABD20385F Ref B: MNZ221060619011 Ref C: 2025-03-21T14:48:30Z' 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 47690458e4f..57b05c0e2dc 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 @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "eastus2euap", "name": "TestNetworkSecurityPerimeter"}' + body: '{"location": "eastus2euap"}' headers: Accept: - application/json @@ -11,18 +11,18 @@ interactions: Connection: - keep-alive Content-Length: - - '67' + - '27' Content-Type: - application/json ParameterSetName: - --name -l --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter?api-version=2024-07-01 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":"87c666f4-ebb6-47e0-a9a3-72fb61cdae17","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":"948a2601-97f0-4521-9989-69e723985e0b","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -31,7 +31,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:19 GMT + - Fri, 21 Mar 2025 14:45:47 GMT expires: - '-1' pragma: @@ -47,7 +47,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: D47EFFE8970C499CA4B8DBC5565F852B Ref B: MNZ221060618033 Ref C: 2024-11-29T07:09:19Z' + - 'Ref A: B202D67437E247039FADEFA1EB6FA625 Ref B: MNZ221060609021 Ref C: 2025-03-21T14:45:46Z' status: code: 200 message: OK @@ -65,12 +65,12 @@ interactions: ParameterSetName: - --resource-group --name User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter?api-version=2024-07-01 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":"87c666f4-ebb6-47e0-a9a3-72fb61cdae17","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":"948a2601-97f0-4521-9989-69e723985e0b","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -79,7 +79,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:21 GMT + - Fri, 21 Mar 2025 14:45:49 GMT expires: - '-1' pragma: @@ -93,7 +93,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 1E1A21A8D1544CF885E7547CB9C00FE5 Ref B: MNZ221060608029 Ref C: 2024-11-29T07:09:21Z' + - 'Ref A: BD73F340825C4CD5B368C98934198F95 Ref B: MNZ221060619025 Ref C: 2025-03-21T14:45:48Z' status: code: 200 message: OK @@ -111,12 +111,12 @@ interactions: ParameterSetName: - --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_crud000001/providers/Microsoft.Network/networkSecurityPerimeters?api-version=2024-07-01 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":"87c666f4-ebb6-47e0-a9a3-72fb61cdae17","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":"948a2601-97f0-4521-9989-69e723985e0b","provisioningState":"Succeeded"}}]}' headers: cache-control: - no-cache @@ -125,7 +125,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:22 GMT + - Fri, 21 Mar 2025 14:45:51 GMT expires: - '-1' pragma: @@ -139,7 +139,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 18B205EA738E481BAF96D91D361FAF25 Ref B: MNZ221060608009 Ref C: 2024-11-29T07:09:22Z' + - 'Ref A: E9F3473FC9FA47118CA4541ECE96768D Ref B: MNZ221060619031 Ref C: 2025-03-21T14:45:50Z' status: code: 200 message: OK @@ -159,9 +159,9 @@ interactions: ParameterSetName: - -g --name --yes User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter?api-version=2024-07-01 response: body: string: '' @@ -171,7 +171,7 @@ interactions: content-length: - '0' date: - - Fri, 29 Nov 2024 07:09:27 GMT + - Fri, 21 Mar 2025 14:45:53 GMT expires: - '-1' pragma: @@ -187,7 +187,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-deletes: - '11999' x-msedge-ref: - - 'Ref A: 2B542F799FE0404794FB2DA60933042D Ref B: MNZ221060619035 Ref C: 2024-11-29T07:09:22Z' + - 'Ref A: 4BC81337DBB54D2CA4335A719D772FFB Ref B: MNZ221060608011 Ref C: 2025-03-21T14:45:51Z' status: code: 200 message: OK @@ -199,27 +199,27 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - network perimeter onboarded-resources list + - network perimeter associable-resource-type list Connection: - keep-alive ParameterSetName: - -l User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/perimeterAssociableResourceTypes?api-version=2023-08-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/perimeterAssociableResourceTypes?api-version=2024-07-01 response: body: - 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","openai.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=2024-07-01&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"],"features":[],"availableControls":[]}},{"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"],"features":[],"availableControls":[]}},{"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"],"features":[],"availableControls":[]}},{"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","openai.azure.com"],"features":[],"availableControls":[]}},{"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"],"features":[],"availableControls":[]}},{"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"],"features":[],"availableControls":[]}},{"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"],"features":[],"availableControls":[]}},{"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"],"features":[],"availableControls":[]}},{"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"],"features":["query","ingestion"],"availableControls":[]}},{"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"],"features":[],"availableControls":[]}}]}' headers: cache-control: - no-cache content-length: - - '4978' + - '5359' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:28 GMT + - Fri, 21 Mar 2025 14:45:54 GMT expires: - '-1' pragma: @@ -233,7 +233,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 96FEFE8F88F64114A466D55EE7841123 Ref B: MNZ221060610033 Ref C: 2024-11-29T07:09:28Z' + - 'Ref A: B60DE7AF620C4235BEEE74410714072C Ref B: MNZ221060610035 Ref C: 2025-03-21T14:45:54Z' status: code: 200 message: OK @@ -245,27 +245,27 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - network perimeter onboarded-resources list + - network perimeter associable-resource-type list Connection: - keep-alive ParameterSetName: - -l User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-SP0) method: GET - 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 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/perimeterAssociableResourceTypes?api-version=2024-07-01&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-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"]}}]}' + string: '{"type":"","nextLink":"https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/perimeterAssociableResourceTypes?api-version=2024-07-01&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"],"features":[],"availableControls":[]}},{"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":[],"features":[],"availableControls":[]}},{"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"],"features":[],"availableControls":[]}},{"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"],"features":[],"availableControls":[]}},{"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"],"features":[],"availableControls":[]}},{"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"],"features":[],"availableControls":[]}},{"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"],"features":[],"availableControls":[]}},{"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"],"features":["bot","channelClient","tokenService"],"availableControls":[]}},{"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"],"features":[],"availableControls":[]}},{"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"],"features":[],"availableControls":[]}}]}' headers: cache-control: - no-cache content-length: - - '5126' + - '5524' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:28 GMT + - Fri, 21 Mar 2025 14:45:55 GMT expires: - '-1' pragma: @@ -277,9 +277,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-reads: - - '16498' + - '16499' x-msedge-ref: - - 'Ref A: C139DE3F12A348249F3A00BB89B64581 Ref B: MNZ221060610033 Ref C: 2024-11-29T07:09:29Z' + - 'Ref A: 037FA7529D6A453BB92AF6CD58D41777 Ref B: MNZ221060610035 Ref C: 2025-03-21T14:45:54Z' status: code: 200 message: OK @@ -291,27 +291,27 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - network perimeter onboarded-resources list + - network perimeter associable-resource-type list Connection: - keep-alive ParameterSetName: - -l User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-SP0) method: GET - 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 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/perimeterAssociableResourceTypes?api-version=2024-07-01&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":"2024-07-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"],"features":[],"availableControls":[]}},{"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"],"features":[],"availableControls":[]}},{"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-preview","publicDnsZones":["azconfig.io","azconfig.azure.us","azconfig.azure.cn"],"features":[],"availableControls":[]}},{"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"],"features":[],"availableControls":[]}},{"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"],"features":["mainSite","scmSite","mainSiteForSlots","scmSiteForSlots"],"availableControls":[]}},{"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"],"features":[],"availableControls":[]}},{"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"],"features":[],"availableControls":[]}},{"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"],"features":[],"availableControls":[]}}]}' headers: cache-control: - no-cache content-length: - - '3888' + - '4241' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:30 GMT + - Fri, 21 Mar 2025 14:45:55 GMT expires: - '-1' pragma: @@ -325,7 +325,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 361CB6B0B84F4CB0BFE34E857F2228DC Ref B: MNZ221060610033 Ref C: 2024-11-29T07:09:29Z' + - 'Ref A: E7FF9F1DA7414C56963275E547BFF780 Ref B: MNZ221060610035 Ref C: 2025-03-21T14:45:55Z' 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 ef74e9b463f..6fd21e22137 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 @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "eastus2euap", "name": "TestNetworkSecurityPerimeter1"}' + body: '{"location": "eastus2euap"}' headers: Accept: - application/json @@ -11,18 +11,18 @@ interactions: Connection: - keep-alive Content-Length: - - '68' + - '27' Content-Type: - application/json ParameterSetName: - --name -l --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-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=2024-07-01 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":"52fd08a9-7570-4f96-8d26-73272d2c6c80","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":"cecdbbc0-bb97-4808-bd18-4a4fe5302337","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -31,7 +31,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:21 GMT + - Fri, 21 Mar 2025 14:45:49 GMT expires: - '-1' pragma: @@ -47,12 +47,12 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: 977697CA611140E792840EF8A13D5C96 Ref B: MNZ221060609021 Ref C: 2024-11-29T07:09:20Z' + - 'Ref A: 708AA51B8B5743CF861593519DC753D3 Ref B: MNZ221060608007 Ref C: 2025-03-21T14:45:46Z' status: code: 200 message: OK - request: - body: '{"location": "eastus2euap", "name": "TestNetworkSecurityPerimeter2"}' + body: '{"location": "eastus2euap"}' headers: Accept: - application/json @@ -63,18 +63,18 @@ interactions: Connection: - keep-alive Content-Length: - - '68' + - '27' Content-Type: - application/json ParameterSetName: - --name -l --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-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=2024-07-01 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":"a3033737-4266-4d1f-988a-811d55a20ca6","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":"0a835a32-ab2d-4c97-a80d-51e840988de0","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -83,7 +83,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:22 GMT + - Fri, 21 Mar 2025 14:45:49 GMT expires: - '-1' pragma: @@ -99,7 +99,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: 8A938F1065F14C4890B2E1C793E47267 Ref B: MNZ221060608025 Ref C: 2024-11-29T07:09:21Z' + - 'Ref A: AB6BF968B199471EBFE2B8116E089632 Ref B: MNZ221060609039 Ref C: 2025-03-21T14:45:49Z' status: code: 200 message: OK @@ -123,12 +123,12 @@ interactions: - --name --perimeter-name --resource-group --auto-remote-nsp-id --local-inbound-profile --remote-inbound-profile User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-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=2024-07-01 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":"a3033737-4266-4d1f-988a-811d55a20ca6","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":"0a835a32-ab2d-4c97-a80d-51e840988de0","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Approved","description":"Auto Approved."}}' headers: cache-control: @@ -138,7 +138,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:27 GMT + - Fri, 21 Mar 2025 14:45:56 GMT expires: - '-1' pragma: @@ -154,7 +154,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: 7D1914D683AC4707B1805F482E9225DF Ref B: MNZ221060608011 Ref C: 2024-11-29T07:09:23Z' + - 'Ref A: C2AC8CE7D0C84EC0A3FF7C17A1AF3916 Ref B: MNZ221060609021 Ref C: 2025-03-21T14:45:50Z' status: code: 200 message: OK @@ -172,12 +172,12 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-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=2024-07-01 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":"a3033737-4266-4d1f-988a-811d55a20ca6","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":"0a835a32-ab2d-4c97-a80d-51e840988de0","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Approved","description":"Auto Approved."}}' headers: cache-control: @@ -187,7 +187,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:27 GMT + - Fri, 21 Mar 2025 14:45:56 GMT expires: - '-1' pragma: @@ -201,7 +201,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: A9628DF9ABEC41B9A5D93D9E25063D54 Ref B: MNZ221060608011 Ref C: 2024-11-29T07:09:27Z' + - 'Ref A: 97914362A16D48F2B55CCFE5551B7995 Ref B: MNZ221060609053 Ref C: 2025-03-21T14:45:56Z' status: code: 200 message: OK @@ -219,22 +219,22 @@ interactions: ParameterSetName: - --perimeter-name --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-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=2024-07-01 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":"a3033737-4266-4d1f-988a-811d55a20ca6","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":"Accepted","autoApprovedRemotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2","remotePerimeterGuid":"0a835a32-ab2d-4c97-a80d-51e840988de0","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Approved","description":"Auto Approved."}}]}' headers: cache-control: - no-cache content-length: - - '847' + - '846' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:29 GMT + - Fri, 21 Mar 2025 14:45:57 GMT expires: - '-1' pragma: @@ -248,7 +248,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 15902100CFFF4BB8A92B080302BFF4EC Ref B: MNZ221060610029 Ref C: 2024-11-29T07:09:28Z' + - 'Ref A: 23D67F665A7A4C929FCF34FE18029116 Ref B: MNZ221060608025 Ref C: 2025-03-21T14:45:57Z' status: code: 200 message: OK @@ -266,22 +266,22 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group --local-inbound-profile User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-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=2024-07-01 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":"a3033737-4266-4d1f-988a-811d55a20ca6","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":"0a835a32-ab2d-4c97-a80d-51e840988de0","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Approved","description":"Auto Approved."}}' headers: cache-control: - no-cache content-length: - - '821' + - '820' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:30 GMT + - Fri, 21 Mar 2025 14:45:58 GMT expires: - '-1' pragma: @@ -295,7 +295,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 816C759A0A654AF9AC0441476E549DAF Ref B: MNZ221060608045 Ref C: 2024-11-29T07:09:30Z' + - 'Ref A: A7721691A1524293B3D4E1176C2D57DA Ref B: MNZ221060619049 Ref C: 2025-03-21T14:45:58Z' status: code: 200 message: OK @@ -319,12 +319,12 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group --local-inbound-profile User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-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=2024-07-01 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":"a3033737-4266-4d1f-988a-811d55a20ca6","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":"0a835a32-ab2d-4c97-a80d-51e840988de0","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Approved","description":"Auto Approved."}}' headers: cache-control: @@ -334,7 +334,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:33 GMT + - Fri, 21 Mar 2025 14:46:01 GMT expires: - '-1' pragma: @@ -350,7 +350,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: A6CA4F0B73CF4746908996131F9A95CA Ref B: MNZ221060608045 Ref C: 2024-11-29T07:09:31Z' + - 'Ref A: F6307FFC166D4DAB9BE0DF0B3B3C5188 Ref B: MNZ221060619049 Ref C: 2025-03-21T14:45:59Z' status: code: 200 message: OK @@ -370,9 +370,9 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group --yes User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-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=2024-07-01 response: body: string: '' @@ -382,11 +382,11 @@ interactions: content-length: - '0' date: - - Fri, 29 Nov 2024 07:09:35 GMT + - Fri, 21 Mar 2025 14:46:04 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/30795ad3-86b3-4591-a9e4-98f1428a4822?api-version=2023-08-01-preview&t=638684609763297534&c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQ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.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1/operationResults/8a265e46-dad2-4bfd-92db-20da141e5d26?api-version=2024-07-01&t=638781651647091661&c=MIIHhzCCBm-gAwIBAgITfAaPVSYGYp0_a9-AhQAABo9VJjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIwMDgzNTM2WhcNMjUwNzE5MDgzNTM2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMIvzhqGKiWeVv5oxugQQEZ8AxTC1p8Lu-WshPo0K7VS2EMvF_bHNAJa2ICbsiu5eWYlTaYcdzZL_li8T_EER2Dx5l6uj7GUfGoYbEJQ0ZdYtzLoQJYa5_x168-RsA7F1839wPdzv32z3afnCHOSeIzPiOiCJXb6FjOWJ-znbB2na5Gw4nwgaj4uxlRQGN3ElReqQ4P64xkAph5x91fRINLkaaRTDeKQ_g_suaN1BHm22myYRg2O9gZy5mhTUzDjj9HsrGu2-1-ZFNZZPMl5ltWBsQD6c_49DWpOowaX9ZSYaO9E9s45gP5YMr-ALxZrETB9ilbvFNbbXmv9Kc5LEc0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc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MFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAF0lTrFg0dSUCXo41FDWmaQFDJKZsucTat3vhDRkbIfxlo0n4QQJOqJQSCzj8n-NvH0p0CR42nsTk2C70Vpr54i80YKfcTOm0Q0Rq9FHB-Nz4KlrymTkU6hfeD0WRhUOq6PB1WhWLF_mqSzEwmTmuQAsVGXf8Gh0psllvyF--eEaF0pSbhEuo6lPzPk3hgUSico8gbSjr4hgIVn6x0JCa1XSFgaeKHIqD8eapb-mDfYa0QAQwJ8tYxzrkJ_n5OI7g5xCiIeV5DXmSzLTGx9QvaE4Y8-jFgRKG0qMhnqf8StrJOSKMrcJlHtjT7plbWt-fXPLHNvPydmtAiA2qygRnU0&s=RRoPmcA6rc5KzAgHBEGNxF2Fb3s1n2k2flOpULDi8xXmTgAywjHlvQpaP-SQqZihrIBdILTrkz4s_wNzXBx4r2Wz19ws8ywaxhmwUy1N2KjPB3H1bmdVaGoARc50l_f6HekxK5LgWeGQEilnIaQgc88ql_d-88XdsCH5nO7ekBm2mfKa1oSN0ozUzGbymiARikU6M9f4H-Nzeqc4xDfHJ3dLQTtkyHtq33ySd8aq77Dg4RR9DnOjiQmy4_2JDTDSVaM2ZtItES8JixKdFbUovoR5mmEZ6xNhZ5aX2XyXl7seJumu3tTN8IszyKRsBXYp96ie2oNKoFA9Cw4cGcUS9Q&h=jqYPiaZxuaYMLjS72i6UctEGDkprlNXViscBw8NpOM0 pragma: - no-cache strict-transport-security: @@ -396,11 +396,11 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '798' + - '799' x-ms-ratelimit-remaining-subscription-global-deletes: - - '11998' + - '11999' x-msedge-ref: - - 'Ref A: 6F3124E3F8094ADB958022A4F1AC0CAA Ref B: MNZ221060610009 Ref C: 2024-11-29T07:09:34Z' + - 'Ref A: 8C932517425241C99A1BD5E503942316 Ref B: MNZ221060618047 Ref C: 2025-03-21T14:46:02Z' status: code: 202 message: Accepted @@ -418,12 +418,12 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group --yes User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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/30795ad3-86b3-4591-a9e4-98f1428a4822?api-version=2023-08-01-preview&t=638684609763297534&c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUV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NanPP5iCUGS3xH6aBNlaGs0OpPnVG10cJBSwJ-GscGLEiyrE-9pmjSba3DiMKx8XvLgn5gTclhxSqROap-37KXHa3an90kvEnyabGf3GINmtIlIYigAo31_sK7pzrH9I7BKzkUS0Z7RtnlkOYJH0bezsSJnKncrWZ4QxRp_OAaqokI16Sh8SOTuR7Rb1g7MNE9_xfdanS105Y_g6l9jBQ6sQHpZLLEQZntS5hN8e0OcQlZ9rIaGAzxHe_a1UfVMi6IbmRLNCXJ22gPZtPNfDbjhrun7SsmIQ&h=UF7hWGpmWVT5PqOuvqCJghyS7GnQV3hhYy8bpEQxtdo + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1/operationResults/8a265e46-dad2-4bfd-92db-20da141e5d26?api-version=2024-07-01&t=638781651647091661&c=MIIHhzCCBm-gAwIBAgITfAaPVSYGYp0_a9-AhQAABo9VJjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIwMDgzNTM2WhcNMjUwNzE5MDgzNTM2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMIvzhqGKiWeVv5oxugQQEZ8AxTC1p8Lu-WshPo0K7VS2EMvF_bHNAJa2ICbsiu5eWYlTaYcdzZL_li8T_EER2Dx5l6uj7GUfGoYbEJQ0ZdYtzLoQJYa5_x168-RsA7F1839wPdzv32z3afnCHOSeIzPiOiCJXb6FjOWJ-znbB2na5Gw4nwgaj4uxlRQGN3ElReqQ4P64xkAph5x91fRINLkaaRTDeKQ_g_suaN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mdVaGoARc50l_f6HekxK5LgWeGQEilnIaQgc88ql_d-88XdsCH5nO7ekBm2mfKa1oSN0ozUzGbymiARikU6M9f4H-Nzeqc4xDfHJ3dLQTtkyHtq33ySd8aq77Dg4RR9DnOjiQmy4_2JDTDSVaM2ZtItES8JixKdFbUovoR5mmEZ6xNhZ5aX2XyXl7seJumu3tTN8IszyKRsBXYp96ie2oNKoFA9Cw4cGcUS9Q&h=jqYPiaZxuaYMLjS72i6UctEGDkprlNXViscBw8NpOM0 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":"a3033737-4266-4d1f-988a-811d55a20ca6","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":"0a835a32-ab2d-4c97-a80d-51e840988de0","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: @@ -433,11 +433,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:36 GMT + - Fri, 21 Mar 2025 14:46:04 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/30795ad3-86b3-4591-a9e4-98f1428a4822?api-version=2023-08-01-preview&t=638684609772963694&c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZKWcrSxDHgSz9AXrxarL4HLajGbF3MRvfkMN2gNXCoiJXBEqCLDnyQZ0BgXIvuK7vG8Rj0TyhJNj-QPr8taY6UCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCs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AYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG0WbzLPsmSSMI7aTe2npixmkdCmwcdZHGd43tUnB8JKrLNJEFcBsQmbcIH0adpnQNrDgRkNBBOTZ4s1LIBlRQapZpPsRItAMUguVpGVRH08T0i43w9xrp_clNbAJrrfRbmYroF0WJKMJ0nwW2rPjxdevSRygGK_nEfywwFi-p1RhHnkiEGL4GnP7PpQcRvAYMdH9LO5MRY7iLbBmosKatS_eWtSJD1CvzglNwy_vQzx81Vnk0CgndqXcVq-loGu7R4U7mkQ2NNqLbp447STxkpP-6Mdyv8J4bdnf1s3vFBNpgvJWKogWcNLlo8jnkbEf6RPNGe1W5lma7JwMKAcPzY&s=hOyzONahP-AdfbroCDoEFYe-b__uJWS9xrh3SgRgbjaTBe2whFs6oogmyW2q1sT40UtntefCc7CKpvrQtSdlhFa9nPrKgRmXccOEdzgocaEyd52vpdF9To6F3KXAjgpCjdMgf14zcFVzfRwZ5C5OKCGFh4lxF0HnWzDHmKJDw9suOS_MTU_uf4WRgomagYA1r5bt3aG9RV5IgIFa1GzmKqSxGbrHm1Mch8zaxJKp-5hC6NfkptzKntL6er_mjC5PB1JLfgIwS-IvQCUlj87sEcCeR9rr6CoHqfSJC2XbRPeoxW635hWniapGONRbvv2rfEUvzAyQvcqwssUxFo_CEQ&h=OEF1s2RoXSFmfSIMuxCVJgUu_aJ5cXoc_5ys0VNBclE + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1/operationResults/8a265e46-dad2-4bfd-92db-20da141e5d26?api-version=2024-07-01&t=638781651649123090&c=MIIHhzCCBm-gAwIBAgITfAaPVSYGYp0_a9-AhQAABo9VJjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIwMDgzNTM2WhcNMjUwNzE5MDgzNTM2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMIvzhqGKiWeVv5oxugQQEZ8AxTC1p8Lu-WshPo0K7VS2EMvF_bHNAJa2ICbsiu5eWYlTaYcdzZL_li8T_EER2Dx5l6uj7GUfGoYbEJQ0ZdYtzLoQJYa5_x168-RsA7F1839wPdzv32z3afnCHOSeIzPiOiCJXb6FjOWJ-znbB2na5Gw4nwgaj4uxlRQGN3ElReqQ4P64xkAph5x91fRINLkaaRTDeKQ_g_suaN1BHm22myYRg2O9gZy5mhTUzDjj9HsrGu2-1-ZFNZZPMl5ltWBsQD6c_49DWpOowaX9ZSYaO9E9s45gP5YMr-ALxZrETB9ilbvFNbbXmv9Kc5LEc0CAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFghfmRS4WsmTQCAWQCAQcwggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ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QAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwIwDAYKKwYBBAGCN3sEAjAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAF0lTrFg0dSUCXo41FDWmaQFDJKZsucTat3vhDRkbIfxlo0n4QQJOqJQSCzj8n-NvH0p0CR42nsTk2C70Vpr54i80YKfcTOm0Q0Rq9FHB-Nz4KlrymTkU6hfeD0WRhUOq6PB1WhWLF_mqSzEwmTmuQAsVGXf8Gh0psllvyF--eEaF0pSbhEuo6lPzPk3hgUSico8gbSjr4hgIVn6x0JCa1XSFgaeKHIqD8eapb-mDfYa0QAQwJ8tYxzrkJ_n5OI7g5xCiIeV5DXmSzLTGx9QvaE4Y8-jFgRKG0qMhnqf8StrJOSKMrcJlHtjT7plbWt-fXPLHNvPydmtAiA2qygRnU0&s=OAxjsT6m8pWCF6Gi5nnn5JSi1XpUNdrWNZowZ0eZdfZg1iqL6OA7K2wdKE6s0lNl2cWLsB9Fv3RG1NEKB9EK_BHTk9kHEm4i3xU0dyjd-H2UTuga9G__CWic2gKzuMwc4D15NR2eN7ZLZZmwOOno7wYHq2J2aQE9LklfHIYg3sOx2yLrC16hOXvzPhE_dGwDrtfWFqCF5nPnyobC9I7X0kaNfd6QY9zEU0oaNVNtA5CDjSvXyyc6pWie3LgNnOGfDQzzvy4BHBxr7lCvLPcLF9aK3bmw0snT86QMu_BRQZD7aW9l37gMpW-_owvZEqDsCL3vQtjyoIrvQR29Z7ydZw&h=tG7X88-ExS0_wwgdyMuxThMDqZTGW0pS5qGc44jb8IA pragma: - no-cache strict-transport-security: @@ -449,7 +449,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: B739BE8531BD4D018ED09FE219E6915C Ref B: MNZ221060610009 Ref C: 2024-11-29T07:09:36Z' + - 'Ref A: 19566084B8F14C1AB52079B3457EA1DB Ref B: MNZ221060618047 Ref C: 2025-03-21T14:46:04Z' status: code: 202 message: Accepted @@ -467,9 +467,9 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group --yes User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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/30795ad3-86b3-4591-a9e4-98f1428a4822?api-version=2023-08-01-preview&t=638684609772963694&c=MIIHhzCCBm-gAwIBAgITHgVqhF9GOoUjuyqQWAAABWqEXzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwOTIwMjMxMTQxWhcNMjUwMzE5MjMxMTQxWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKRtcYDBXS7zz5tRtvVyhrUAjudYhej1E2D3dp6XWuPdbVMbQZwMlye8vdT-kDhFD7T2mrdWqsoGnTGk0_xOHBfLGnW-0QRUqpeoTNIhu8vc2CfTUtm2t2s_-fzvFtRyhDA4mfCH1cz92EVj0vd3FD4ikW6bdOp1NkYFqUVBhKlbvJk6y-TbLFBLP5Zx4m0Ua-_P7aMzbgvOJgMOTC2jLs5w_lFDJWeP3IKUOiJmrfLpf4ey5Ov94oCE6YncDBSHJZ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xF0HnWzDHmKJDw9suOS_MTU_uf4WRgomagYA1r5bt3aG9RV5IgIFa1GzmKqSxGbrHm1Mch8zaxJKp-5hC6NfkptzKntL6er_mjC5PB1JLfgIwS-IvQCUlj87sEcCeR9rr6CoHqfSJC2XbRPeoxW635hWniapGONRbvv2rfEUvzAyQvcqwssUxFo_CEQ&h=OEF1s2RoXSFmfSIMuxCVJgUu_aJ5cXoc_5ys0VNBclE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1/links/TestNspLink1/operationResults/8a265e46-dad2-4bfd-92db-20da141e5d26?api-version=2024-07-01&t=638781651649123090&c=MIIHhzCCBm-gAwIBAgITfAaPVSYGYp0_a9-AhQAABo9VJjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIwMDgzNTM2WhcNMjUwNzE5MDgzNTM2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMIvzhqGKiWeVv5oxugQQEZ8AxTC1p8Lu-WshPo0K7VS2EMvF_bHNAJa2ICbsiu5eWYlTaYcdzZL_li8T_EER2Dx5l6uj7GUfGoYbEJQ0ZdYtzLoQJYa5_x168-RsA7F1839wPdzv32z3afnCHOSeIzPiOiCJXb6FjOWJ-znbB2na5Gw4nwgaj4uxlRQGN3ElReqQ4P64xkAph5x91fRINLkaaRTDeKQ_g_suaN1BHm22myYRg2O9gZy5mhTUzDjj9HsrGu2-1-ZFNZZPMl5ltWBsQD6c_49DWpOowaX9ZSYaO9E9s45gP5YMr-ALxZrETB9ilbvFNbbX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0kaNfd6QY9zEU0oaNVNtA5CDjSvXyyc6pWie3LgNnOGfDQzzvy4BHBxr7lCvLPcLF9aK3bmw0snT86QMu_BRQZD7aW9l37gMpW-_owvZEqDsCL3vQtjyoIrvQR29Z7ydZw&h=tG7X88-ExS0_wwgdyMuxThMDqZTGW0pS5qGc44jb8IA response: body: string: '' @@ -477,7 +477,7 @@ interactions: cache-control: - no-cache date: - - Fri, 29 Nov 2024 07:10:08 GMT + - Fri, 21 Mar 2025 14:46:35 GMT expires: - '-1' pragma: @@ -491,7 +491,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 3093F913FDB94FE093AB614764A5ED55 Ref B: MNZ221060610009 Ref C: 2024-11-29T07:10:07Z' + - 'Ref A: C93D2D265F494AB8801FBBFF7CBF31F5 Ref B: MNZ221060618047 Ref C: 2025-03-21T14:46:34Z' status: code: 204 message: No Content @@ -509,12 +509,12 @@ interactions: ParameterSetName: - --perimeter-name --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-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?api-version=2024-07-01 response: body: - string: '{"nextLink":"","value":[{"name":"Ref-from-TestNspLink1-52fd08a9-7570-4f96-8d26-73272d2c6c80","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-52fd08a9-7570-4f96-8d26-73272d2c6c80","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":"52fd08a9-7570-4f96-8d26-73272d2c6c80","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Disconnected","description":"Auto + string: '{"nextLink":"","value":[{"name":"Ref-from-TestNspLink1-cecdbbc0-bb97-4808-bd18-4a4fe5302337","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-cecdbbc0-bb97-4808-bd18-4a4fe5302337","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":"cecdbbc0-bb97-4808-bd18-4a4fe5302337","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Disconnected","description":"Auto Approved."}}]}' headers: cache-control: @@ -524,7 +524,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:10:09 GMT + - Fri, 21 Mar 2025 14:46:36 GMT expires: - '-1' pragma: @@ -538,7 +538,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: CA254774BCC849B98AD4D7989216C987 Ref B: MNZ221060609021 Ref C: 2024-11-29T07:10:09Z' + - 'Ref A: A8C1C1988185436E8F5667221032DAD0 Ref B: MNZ221060608031 Ref C: 2025-03-21T14:46:36Z' status: code: 200 message: OK @@ -556,12 +556,12 @@ interactions: ParameterSetName: - --perimeter-name --resource-group --name User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-52fd08a9-7570-4f96-8d26-73272d2c6c80?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-cecdbbc0-bb97-4808-bd18-4a4fe5302337?api-version=2024-07-01 response: body: - string: '{"name":"Ref-from-TestNspLink1-52fd08a9-7570-4f96-8d26-73272d2c6c80","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-52fd08a9-7570-4f96-8d26-73272d2c6c80","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":"52fd08a9-7570-4f96-8d26-73272d2c6c80","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Disconnected","description":"Auto + string: '{"name":"Ref-from-TestNspLink1-cecdbbc0-bb97-4808-bd18-4a4fe5302337","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-cecdbbc0-bb97-4808-bd18-4a4fe5302337","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":"cecdbbc0-bb97-4808-bd18-4a4fe5302337","remotePerimeterLocation":"eastus2euap","localInboundProfiles":["*"],"localOutboundProfiles":["*"],"remoteInboundProfiles":["*"],"remoteOutboundProfiles":["*"],"status":"Disconnected","description":"Auto Approved."}}' headers: cache-control: @@ -571,7 +571,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:10:09 GMT + - Fri, 21 Mar 2025 14:46:38 GMT expires: - '-1' pragma: @@ -585,7 +585,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 913F319E844E41459F8E6C3E04C0EDF3 Ref B: MNZ221060619047 Ref C: 2024-11-29T07:10:09Z' + - 'Ref A: 7C57B2640B08466FA092CFB8F1E3702C Ref B: MNZ221060619027 Ref C: 2025-03-21T14:46:37Z' status: code: 200 message: OK @@ -605,9 +605,9 @@ interactions: ParameterSetName: - --perimeter-name --resource-group --name --yes User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-52fd08a9-7570-4f96-8d26-73272d2c6c80?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-cecdbbc0-bb97-4808-bd18-4a4fe5302337?api-version=2024-07-01 response: body: string: '' @@ -617,11 +617,11 @@ interactions: content-length: - '0' date: - - Fri, 29 Nov 2024 07:10:10 GMT + - Fri, 21 Mar 2025 14:46:38 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-52fd08a9-7570-4f96-8d26-73272d2c6c80/operationResults/47ff467f-bc1c-475e-8cc6-3b17ec433db2?api-version=2023-08-01-preview&t=638684610110319638&c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALthCEIs4vwfpBtc8a6akzk9FNp-luTjsKhTETKForQzaFdF5S6PDjwZJVAOcVWePFAecP08Qp1FzfiX_Cl9StTirn6FO-MjJbWSG2THMvz756N87v6UNTXfNr29-Y-iFxGXE0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bUhZ3ZrmZY&s=FDJIGomH2MenKmQYKds3L79fpqPlCSEku_BJkZGuDKO-q8e0muEDKT6wxLNXqsA6texxIOLGYb1VuK9K3FX8WBBtSkI2DswAZjabJI7-WIhTyiYgx1Xm2mjpZxx7WRm7LEVMdPOoIMrk0yeskVO_ep5cHf02kKwR_or4VoOgM1m3WLciYgV6WKQvr0hw-9ACaxr5Pi7skrTogmD-fyRwV4Q4SdJUlLUf8YxvyEYcIF9pKEIoM5lwV6fbWq29lJOufbgZN27CZuVOxN0nkimnrqDKCM3HrlVEOxwG4lxNcgftHDGir1B0pbiBeNr5asVINWbqUBgL1S_5x8ePar366w&h=zast7H4fOG0tFQzEtephgl030eD3YFtoLsAD8hQAR44 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-cecdbbc0-bb97-4808-bd18-4a4fe5302337/operationResults/6e700d73-6f47-406d-97ec-6af91c6049e9?api-version=2024-07-01&t=638781651988361098&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC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N9SBdU_Hm0c4Weu28czZU7yxfbUBFJa-zN9yQ70tWYGkAVkaFq5-oYdBzoh_0LV8rvG44KwP298l4E84h9Hwaxx46ixnn2oV3VuypO4j51UVa2ahaNr8XMBeWTAsu-1N3ZLyhTYYjvwS57wJdnrAJgDnJ47__4H4MzcvfbTLn6r4hLbVqqKcrX-7nnDy23dzm2s56fEde35XSrhu07Ky7GcwIxQu2S25RiCrj6ptd0jQA7hXl43ken6r-oH1CjCzcDUjSssDw4pYNAaeRBBpGyTkhUKxcxWpdbCzyXD_tLqCRCFV8gm0nSCxyJV_maYofw&h=ZhiJkG6nsd_TUwhZd_XdLoqBr70Jjs-1Eto3ovolx2c pragma: - no-cache strict-transport-security: @@ -635,7 +635,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-deletes: - '11999' x-msedge-ref: - - 'Ref A: 8E05D3EF934341C48879F10B94334549 Ref B: MNZ221060619051 Ref C: 2024-11-29T07:10:10Z' + - 'Ref A: 490B4F8B8194450A833E2E4F6008BAA5 Ref B: MNZ221060609053 Ref C: 2025-03-21T14:46:38Z' status: code: 202 message: Accepted @@ -653,13 +653,13 @@ interactions: ParameterSetName: - --perimeter-name --resource-group --name --yes User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-52fd08a9-7570-4f96-8d26-73272d2c6c80/operationResults/47ff467f-bc1c-475e-8cc6-3b17ec433db2?api-version=2023-08-01-preview&t=638684610110319638&c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBG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IKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHkWc1KMstXAU5p0ciSSzPoB_W772N_r2ITPfnNv7OdZGLyDL8VTUXFgLP_lVJgsrUcSXJi6GSjDB9ww5vQCsXJQgzO4bCx-jKgHjqphvAtqaiiUEs6HJZYAXzjGr6BPLIlx2qov7eiI-vLqT3h9gqiUGYjLwwKJdO4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY&s=FDJIGomH2MenKmQYKds3L79fpqPlCSEku_BJkZGuDKO-q8e0muEDKT6wxLNXqsA6texxIOLGYb1VuK9K3FX8WBBtSkI2DswAZjabJI7-WIhTyiYgx1Xm2mjpZxx7WRm7LEVMdPOoIMrk0yeskVO_ep5cHf02kKwR_or4VoOgM1m3WLciYgV6WKQvr0hw-9ACaxr5Pi7skrTogmD-fyRwV4Q4SdJUlLUf8YxvyEYcIF9pKEIoM5lwV6fbWq29lJOufbgZN27CZuVOxN0nkimnrqDKCM3HrlVEOxwG4lxNcgftHDGir1B0pbiBeNr5asVINWbqUBgL1S_5x8ePar366w&h=zast7H4fOG0tFQzEtephgl030eD3YFtoLsAD8hQAR44 + 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-cecdbbc0-bb97-4808-bd18-4a4fe5302337/operationResults/6e700d73-6f47-406d-97ec-6af91c6049e9?api-version=2024-07-01&t=638781651988361098&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMw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BABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=ClCCRzQtpEiPCRXk4VoRN9SBdU_Hm0c4Weu28czZU7yxfbUBFJa-zN9yQ70tWYGkAVkaFq5-oYdBzoh_0LV8rvG44KwP298l4E84h9Hwaxx46ixnn2oV3VuypO4j51UVa2ahaNr8XMBeWTAsu-1N3ZLyhTYYjvwS57wJdnrAJgDnJ47__4H4MzcvfbTLn6r4hLbVqqKcrX-7nnDy23dzm2s56fEde35XSrhu07Ky7GcwIxQu2S25RiCrj6ptd0jQA7hXl43ken6r-oH1CjCzcDUjSssDw4pYNAaeRBBpGyTkhUKxcxWpdbCzyXD_tLqCRCFV8gm0nSCxyJV_maYofw&h=ZhiJkG6nsd_TUwhZd_XdLoqBr70Jjs-1Eto3ovolx2c response: body: - string: '{"name":"Ref-from-TestNspLink1-52fd08a9-7570-4f96-8d26-73272d2c6c80","properties":{"provisioningState":"Deleting","remotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1","remotePerimeterLocation":"eastus2euap","remotePerimeterGuid":"52fd08a9-7570-4f96-8d26-73272d2c6c80","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-52fd08a9-7570-4f96-8d26-73272d2c6c80","version":0,"apiVersion":"","publishingStates":{}}' + string: '{"name":"Ref-from-TestNspLink1-cecdbbc0-bb97-4808-bd18-4a4fe5302337","properties":{"provisioningState":"Deleting","remotePerimeterResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter1","remotePerimeterLocation":"eastus2euap","remotePerimeterGuid":"cecdbbc0-bb97-4808-bd18-4a4fe5302337","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-cecdbbc0-bb97-4808-bd18-4a4fe5302337","version":0,"apiVersion":"","publishingStates":{}}' headers: cache-control: - no-cache @@ -668,11 +668,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:10:11 GMT + - Fri, 21 Mar 2025 14:46:39 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-52fd08a9-7570-4f96-8d26-73272d2c6c80/operationResults/47ff467f-bc1c-475e-8cc6-3b17ec433db2?api-version=2023-08-01-preview&t=638684610120738453&c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBE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UEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHkWc1KMstXAU5p0ciSSzPoB_W772N_r2ITPfnNv7OdZGLyDL8VTUXFgLP_lVJgsrUcSXJi6GSjDB9ww5vQCsXJQgzO4bCx-jKgHjqphvAtqaiiUEs6HJZYAXzjGr6BPLIlx2qov7eiI-vLqT3h9gqiUGYjLwwKJdO4PIGGzt5oIY5oWtLkqoxoad8CfpX7z8WM9YAUv1l-majml_BXWMmN0t5BbCB5MAuZPnD2rg3mtvh4FEV5pnTtTLPwpw7AAt-9DReZQOgsVkBLNSAzvuXHJzMAm03Gr-uZw7fY_-p1aqDgZ4KMTnQqVr8NvFE02_Gj_5hIaAdCp1bUhZ3ZrmZY&s=LrUVpCfSbDcm_y3f3Kvc9bwNMruniS6oQtocm4-y2Oe3ki6DUmXqlrIpxItOhMeK0AVCGCDuDw_bO7J3Tqt6oPHT8gIkSWzDmCJDzYRa7-2E3J4vUszsErgf5Cobimloo6hX_ZgsEU-f4MjNybEeveW5Aj1skM-YO9mFROYz7S62O0UEZ2Sgbj9Ssa5s9eC-6nDXwCcs3Z5yfOknpD5NUU8cvK4e2PEMI0yS9rgZ1Lm4TT6NEaPEM1pMg6UXzo_UJMHZfFsVOnAyBc9spDIFrbLJ5Mk2sc8xpubQsW4IZQj5yMyad6JMebQ_QtKPu6fuwODb3xJWCnPCnf2Vb5-ssg&h=l0Lfa5fxmQeI0hqfOCgPrXzufzOAVahfPbjOvZ2ATlg + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_link_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter2/linkReferences/Ref-from-TestNspLink1-cecdbbc0-bb97-4808-bd18-4a4fe5302337/operationResults/6e700d73-6f47-406d-97ec-6af91c6049e9?api-version=2024-07-01&t=638781651999900125&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhk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BgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBABuKpMrZMDe3nmRYZgM_6QgVm5HpwSTDM72-Lvvtvbqu2HnIfPvmK-Qf9nxbZ3uCylFll3Zrq0s0c2GBdBoZmx7_eEa_ttQ9pvMj9uVUnuHbvLYOBYpmBIE8Q_b-DaOjC_1Rkkan6Jnpi_Cnu6QTe729Gf5FZnI0sIGY_eaetW7FjqOfGIlVKLX_50hcOXYCV_goHf2VHFIhVo4g9QShK_UEpzuG0yZCEKqHQRs-3UIEDZSuhchSmic2WNuSunTZ_HI9feNwqUIMBnn5EyIdrpjSszdDRR00CiJs7kBU2NvO5dQQ5qHwUJCWr69a42_uqATc6_1ViE8yGCSO6nZ0i1M&s=cGIWijL_2AXlionuOvmFS8Ph4VFLVwDcfKJjSles0gnF3GCOJ-Pbkoq4dW3NLHLEvKitH007imV_lbnwKnHrk5wPN-luzOjfBIPMTu0e_CEYhPCBH75TBt_gkssQAnaa2aPJ0IiBRUMv2coDWwxsoNhsplAD-WHC7_eyTCHj6TK0-ydQwIw9o4IJ0yv25gHW5MuhbDbJR8gvfEDsGjb3wnOruEc2f268RldCRuaCrafm9ArQQ45HyEZSXAZN-3CG1_egD4BuUIGK7r9FParW05WubD7Bxi0JNhNxIm7TqEt6RT2JyFdsif-OnOYnTpH-DXFEUEPhDLoqUF_t1E8D5Q&h=SLkRcqk7oaAEwVYe8-PSTgBWhiT4rYq1bfqyCEAxm3Q pragma: - no-cache strict-transport-security: @@ -684,7 +684,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: DADA6C366EBE4443AB10005EC745C974 Ref B: MNZ221060619051 Ref C: 2024-11-29T07:10:11Z' + - 'Ref A: 81C4F1AD70804BE69123838F29DE0FFC Ref B: MNZ221060609053 Ref C: 2025-03-21T14:46:39Z' status: code: 202 message: Accepted @@ -702,9 +702,9 @@ interactions: ParameterSetName: - --perimeter-name --resource-group --name --yes User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-52fd08a9-7570-4f96-8d26-73272d2c6c80/operationResults/47ff467f-bc1c-475e-8cc6-3b17ec433db2?api-version=2023-08-01-preview&t=638684610120738453&c=MIIHpTCCBo2gAwIBAgITOgOyui871wRtge60rAAEA7K6LzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwOTIyMTIyOTEzWhcNMjUwMzIxMTIyOTEzWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALthCEIs4vwfpBtc8a6akzk9FNp-luTjsKhTETKForQzaFdF5S6PDjwZJVAOcVWePFAecP08Qp1FzfiX_Cl9StTirn6FO-MjJbWSG2THMvz756N87v6UNTXfNr29-Y-iFxGXE0LRwZ39GG4hV9nUekLb8OlN6VC48-A54O0iJybH12xGD4eKLbn4ilMqeYCyiivgk_AAxCvO75VjkDUu1PztXTqXfeLvWxaeqT1RTux_k8SPeFde5JPpWGKFNih2uv3JG5KjyszNBV6b2MaWQRiNYIiPo9N_DvTiv2r7BWNvocSISt9wLymfNp0mmAvGajmSbXqs2iphrYgHuVIhOskCAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIw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Xzo_UJMHZfFsVOnAyBc9spDIFrbLJ5Mk2sc8xpubQsW4IZQj5yMyad6JMebQ_QtKPu6fuwODb3xJWCnPCnf2Vb5-ssg&h=l0Lfa5fxmQeI0hqfOCgPrXzufzOAVahfPbjOvZ2ATlg + 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-cecdbbc0-bb97-4808-bd18-4a4fe5302337/operationResults/6e700d73-6f47-406d-97ec-6af91c6049e9?api-version=2024-07-01&t=638781651999900125&c=MIIHhzCCBm-gAwIBAgITfAaTYo0ffVKAVQo0FAAABpNijTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjUwMTIxMjE0MDQ4WhcNMjUwNzIwMjE0MDQ4WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKl-TWTOH_oCbu9zNBntAM-9rowzTWYg_nRy16M4ghALCnU3YR0fsip-EwpHzk9rnA5iIgnJlMI24hzCv8PHGFCetnQdEMPxXIAtPo2i11HHKdcdycYnJhIqn0dddd92khimTrvPl1xVX65oC1uuMOEtYmaMGk26gGAo9mB9Zr4WVufN-UvLKvZwiDY-1ddNpdcUGB0S56H1dFUw8k7GHlWSYZS5eSVQZ9aXl7wJmQC-v3c2X-p3hLdo59aIWab5bWDKRbtaYjcAD6nr-GrtOOf2M96Ce_K9djoryf-X1tdOJSgIU4-Ortzj0xbyC9xNtrEVFfPwLRrR2KEGrEZkA4kCAwEAAaOCBHQwggRwMCcGCSsGAQQBgjcVCgQaMBgwCg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FParW05WubD7Bxi0JNhNxIm7TqEt6RT2JyFdsif-OnOYnTpH-DXFEUEPhDLoqUF_t1E8D5Q&h=SLkRcqk7oaAEwVYe8-PSTgBWhiT4rYq1bfqyCEAxm3Q response: body: string: '' @@ -712,7 +712,7 @@ interactions: cache-control: - no-cache date: - - Fri, 29 Nov 2024 07:10:42 GMT + - Fri, 21 Mar 2025 14:47:09 GMT expires: - '-1' pragma: @@ -726,7 +726,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: BF780306CAA24AE3965B1703209D5368 Ref B: MNZ221060619051 Ref C: 2024-11-29T07:10:42Z' + - 'Ref A: 585D6B0EBFB64E4C959AEDAF5CFA24F7 Ref B: MNZ221060609053 Ref C: 2025-03-21T14:47:10Z' status: code: 204 message: No Content diff --git a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_logging_configuration_crud.yaml b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_logging_configuration_crud.yaml index 4843e2c2c84..dfea2306e80 100644 --- a/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_logging_configuration_crud.yaml +++ b/src/nsp/azext_nsp/tests/latest/recordings/test_nsp_logging_configuration_crud.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "eastus2euap", "name": "TestNetworkSecurityPerimeter"}' + body: '{"location": "eastus2euap"}' headers: Accept: - application/json @@ -11,18 +11,18 @@ interactions: Connection: - keep-alive Content-Length: - - '67' + - '27' Content-Type: - application/json ParameterSetName: - --name -l --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_logging_configuration_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter?api-version=2023-08-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_logging_configuration_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter?api-version=2024-07-01 response: body: - string: '{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_logging_configuration_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"26e9edf0-0842-41aa-9991-c4e7a4dcdba4","provisioningState":"Succeeded"}}' + string: '{"name":"TestNetworkSecurityPerimeter","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_logging_configuration_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter","location":"eastus2euap","type":"Microsoft.Network/networkSecurityPerimeters","tags":{},"etag":"","properties":{"perimeterGuid":"63462e88-ae3b-4ce1-9b67-6c3c11e55e5e","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -31,7 +31,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:20 GMT + - Fri, 21 Mar 2025 14:45:46 GMT expires: - '-1' pragma: @@ -47,7 +47,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: C8D580BE3C9E4DE9B41192D4A9C63CFA Ref B: MNZ221060619029 Ref C: 2024-11-29T07:09:19Z' + - 'Ref A: 064A6D67B71A470FAA59E89B96F97ABF Ref B: MNZ221060608027 Ref C: 2025-03-21T14:45:46Z' status: code: 200 message: OK @@ -69,21 +69,21 @@ interactions: ParameterSetName: - --perimeter-name --resource-group --enabled-log-categories User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_logging_configuration_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/loggingConfigurations/instance?api-version=2023-08-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_logging_configuration_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/loggingConfigurations/instance?api-version=2024-07-01 response: body: - string: '{"name":"instance","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_logging_configuration_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/loggingConfigurations/instance","type":"Microsoft.Network/networkSecurityPerimeters/loggingConfigurations","properties":{"version":"1","enabledLogCategories":["NspPublicInboundPerimeterRulesDenied"]}}' + string: '{"name":"instance","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_logging_configuration_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/loggingConfigurations/instance","type":"Microsoft.Network/networkSecurityPerimeters/loggingConfigurations","properties":{"version":"1","enabledLogCategories":["NspPublicInboundPerimeterRulesDenied"],"destinationType":[]}}' headers: cache-control: - no-cache content-length: - - '417' + - '438' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:21 GMT + - Fri, 21 Mar 2025 14:45:47 GMT expires: - '-1' pragma: @@ -99,7 +99,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: B0AD18223F2D488B919CE0D2F3F6C970 Ref B: MNZ221060618051 Ref C: 2024-11-29T07:09:21Z' + - 'Ref A: E584A86C998545D09E11707E8541B740 Ref B: MNZ221060619053 Ref C: 2025-03-21T14:45:46Z' status: code: 200 message: OK @@ -117,21 +117,21 @@ interactions: ParameterSetName: - --perimeter-name --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_logging_configuration_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/loggingConfigurations/instance?api-version=2023-08-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_logging_configuration_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/loggingConfigurations/instance?api-version=2024-07-01 response: body: - string: '{"name":"instance","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_logging_configuration_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/loggingConfigurations/instance","type":"Microsoft.Network/networkSecurityPerimeters/loggingConfigurations","properties":{"version":"1","enabledLogCategories":["NspPublicInboundPerimeterRulesDenied"]}}' + string: '{"name":"instance","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_logging_configuration_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/loggingConfigurations/instance","type":"Microsoft.Network/networkSecurityPerimeters/loggingConfigurations","properties":{"version":"1","enabledLogCategories":["NspPublicInboundPerimeterRulesDenied"],"destinationType":[]}}' headers: cache-control: - no-cache content-length: - - '417' + - '438' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:22 GMT + - Fri, 21 Mar 2025 14:45:49 GMT expires: - '-1' pragma: @@ -145,7 +145,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 0234301372BD4B3BBCF8D3E794125844 Ref B: MNZ221060619019 Ref C: 2024-11-29T07:09:22Z' + - 'Ref A: 082240992DD34B1A884242F1469B7DF6 Ref B: MNZ221060610021 Ref C: 2025-03-21T14:45:48Z' status: code: 200 message: OK @@ -163,21 +163,21 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group --enabled-log-categories User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_logging_configuration_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/loggingConfigurations/instance?api-version=2023-08-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_logging_configuration_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/loggingConfigurations/instance?api-version=2024-07-01 response: body: - string: '{"name":"instance","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_logging_configuration_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/loggingConfigurations/instance","type":"Microsoft.Network/networkSecurityPerimeters/loggingConfigurations","properties":{"version":"1","enabledLogCategories":["NspPublicInboundPerimeterRulesDenied"]}}' + string: '{"name":"instance","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_logging_configuration_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/loggingConfigurations/instance","type":"Microsoft.Network/networkSecurityPerimeters/loggingConfigurations","properties":{"version":"1","enabledLogCategories":["NspPublicInboundPerimeterRulesDenied"],"destinationType":[]}}' headers: cache-control: - no-cache content-length: - - '417' + - '438' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:24 GMT + - Fri, 21 Mar 2025 14:45:50 GMT expires: - '-1' pragma: @@ -191,7 +191,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 40F17B104FF547F59FA01BF9EF4A7E14 Ref B: MNZ221060618039 Ref C: 2024-11-29T07:09:23Z' + - 'Ref A: 7B4E28C4BFBD478885FB1FA033379C56 Ref B: MNZ221060608025 Ref C: 2025-03-21T14:45:50Z' status: code: 200 message: OK @@ -214,21 +214,21 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group --enabled-log-categories User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_logging_configuration_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/loggingConfigurations/instance?api-version=2023-08-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_logging_configuration_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/loggingConfigurations/instance?api-version=2024-07-01 response: body: - string: '{"name":"instance","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_logging_configuration_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/loggingConfigurations/instance","type":"Microsoft.Network/networkSecurityPerimeters/loggingConfigurations","properties":{"version":"2","enabledLogCategories":["NspPublicInboundPerimeterRulesDenied","NspPublicOutboundPerimeterRulesDenied"]}}' + string: '{"name":"instance","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_logging_configuration_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/loggingConfigurations/instance","type":"Microsoft.Network/networkSecurityPerimeters/loggingConfigurations","properties":{"version":"2","enabledLogCategories":["NspPublicInboundPerimeterRulesDenied","NspPublicOutboundPerimeterRulesDenied"],"destinationType":[]}}' headers: cache-control: - no-cache content-length: - - '457' + - '478' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:25 GMT + - Fri, 21 Mar 2025 14:45:51 GMT expires: - '-1' pragma: @@ -244,7 +244,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: E5387F4EE9D5477D8270D93AFC2BAB40 Ref B: MNZ221060618039 Ref C: 2024-11-29T07:09:24Z' + - 'Ref A: 9FE1567271764329AEF4F0BEDF854754 Ref B: MNZ221060608025 Ref C: 2025-03-21T14:45:50Z' status: code: 200 message: OK @@ -262,21 +262,21 @@ interactions: ParameterSetName: - --perimeter-name --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_logging_configuration_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/loggingConfigurations/instance?api-version=2023-08-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_logging_configuration_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/loggingConfigurations/instance?api-version=2024-07-01 response: body: - string: '{"name":"instance","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_logging_configuration_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/loggingConfigurations/instance","type":"Microsoft.Network/networkSecurityPerimeters/loggingConfigurations","properties":{"version":"2","enabledLogCategories":["NspPublicInboundPerimeterRulesDenied","NspPublicOutboundPerimeterRulesDenied"]}}' + string: '{"name":"instance","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_logging_configuration_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/loggingConfigurations/instance","type":"Microsoft.Network/networkSecurityPerimeters/loggingConfigurations","properties":{"version":"2","enabledLogCategories":["NspPublicInboundPerimeterRulesDenied","NspPublicOutboundPerimeterRulesDenied"],"destinationType":[]}}' headers: cache-control: - no-cache content-length: - - '457' + - '478' content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:27 GMT + - Fri, 21 Mar 2025 14:45:53 GMT expires: - '-1' pragma: @@ -290,7 +290,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 60A8BDE25D7F4AE7A4E597B568E4736E Ref B: MNZ221060610053 Ref C: 2024-11-29T07:09:26Z' + - 'Ref A: 52D295FD537E48D4A4AEDDD3B3E04FA6 Ref B: MNZ221060618009 Ref C: 2025-03-21T14:45:52Z' status: code: 200 message: OK @@ -310,9 +310,9 @@ interactions: ParameterSetName: - --perimeter-name --resource-group --yes User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_logging_configuration_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/loggingConfigurations/instance?api-version=2023-08-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_logging_configuration_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/loggingConfigurations/instance?api-version=2024-07-01 response: body: string: '' @@ -322,7 +322,7 @@ interactions: content-length: - '0' date: - - Fri, 29 Nov 2024 07:09:28 GMT + - Fri, 21 Mar 2025 14:45:55 GMT expires: - '-1' pragma: @@ -338,7 +338,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-deletes: - '11999' x-msedge-ref: - - 'Ref A: FFCAE95EC5C84D918308319776A0E95F Ref B: MNZ221060609045 Ref C: 2024-11-29T07:09:27Z' + - 'Ref A: D690FE0CBD6642EB8C78282BF41147C2 Ref B: MNZ221060618027 Ref C: 2025-03-21T14:45:54Z' status: code: 200 message: OK @@ -356,9 +356,9 @@ interactions: ParameterSetName: - --perimeter-name --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_logging_configuration_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/loggingConfigurations/instance?api-version=2023-08-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_logging_configuration_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/loggingConfigurations/instance?api-version=2024-07-01 response: body: string: '{"error":{"message":"Resource [/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_nsp_logging_configuration_crud000001/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter/loggingConfigurations/instance] @@ -371,7 +371,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:30 GMT + - Fri, 21 Mar 2025 14:45:55 GMT expires: - '-1' pragma: @@ -385,7 +385,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 0085CEA4E05B40F59BD922427D50088C Ref B: MNZ221060608017 Ref C: 2024-11-29T07:09:29Z' + - 'Ref A: 5894D58534874FAF89AF1D3A0427AE9E Ref B: MNZ221060608017 Ref C: 2025-03-21T14:45:55Z' status: code: 404 message: Not Found 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 5a4366f9177..57652bbf963 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 @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "eastus2euap", "name": "TestNetworkSecurityPerimeter"}' + body: '{"location": "eastus2euap"}' headers: Accept: - application/json @@ -11,18 +11,18 @@ interactions: Connection: - keep-alive Content-Length: - - '67' + - '27' Content-Type: - application/json ParameterSetName: - --name -l --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-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=2024-07-01 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":"ed3a2ba8-01a6-414c-998a-aefb8f24879e","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":"32b0a24d-bdc4-4216-968a-acb8ad3b849b","provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -31,7 +31,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:20 GMT + - Fri, 21 Mar 2025 14:45:53 GMT expires: - '-1' pragma: @@ -47,7 +47,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: C3F5876F75F3451F917616C122AA5A42 Ref B: MNZ221060618011 Ref C: 2024-11-29T07:09:19Z' + - 'Ref A: 13F17C6184E844128F38AC63CE8A0B94 Ref B: MNZ221060618033 Ref C: 2025-03-21T14:45:50Z' status: code: 200 message: OK @@ -65,12 +65,12 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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":"2024-11-29T07:09:15Z","module":"nsp","Created":"2024-11-29T07:09:17.1603971Z"},"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":"2025-03-21T14:45:42Z","module":"nsp","Created":"2025-03-21T14:45:47.4240887Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -79,7 +79,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:20 GMT + - Fri, 21 Mar 2025 14:45:52 GMT expires: - '-1' pragma: @@ -91,14 +91,14 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - '16498' x-msedge-ref: - - 'Ref A: 29FEABD87ED144A7ABC5550471CF4487 Ref B: MNZ221060619037 Ref C: 2024-11-29T07:09:21Z' + - 'Ref A: 81DCFE26F54D41C0A495BC3C8624572A Ref B: MNZ221060609037 Ref C: 2025-03-21T14:45:53Z' status: code: 200 message: OK - request: - body: '{"location": "eastus2euap", "name": "TestNspProfile"}' + body: '{"location": "eastus2euap"}' headers: Accept: - application/json @@ -109,15 +109,15 @@ interactions: Connection: - keep-alive Content-Length: - - '53' + - '27' Content-Type: - application/json ParameterSetName: - --name --perimeter-name --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-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=2024-07-01 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"}' @@ -129,7 +129,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:22 GMT + - Fri, 21 Mar 2025 14:45:54 GMT expires: - '-1' pragma: @@ -145,7 +145,7 @@ interactions: x-ms-ratelimit-remaining-subscription-writes: - '799' x-msedge-ref: - - 'Ref A: 33C01E14BD2442D89A1EEE9451827F9D Ref B: MNZ221060619011 Ref C: 2024-11-29T07:09:21Z' + - 'Ref A: 919869EA47884E27A2E831026BCCC9B3 Ref B: MNZ221060610007 Ref C: 2025-03-21T14:45:53Z' status: code: 200 message: OK @@ -163,9 +163,9 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-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=2024-07-01 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"}' @@ -177,7 +177,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:23 GMT + - Fri, 21 Mar 2025 14:45:54 GMT expires: - '-1' pragma: @@ -191,7 +191,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-reads: - '16499' x-msedge-ref: - - 'Ref A: 3CE3FE0CFB9244DF8583293E7E308D75 Ref B: MNZ221060608029 Ref C: 2024-11-29T07:09:22Z' + - 'Ref A: D8C95DDD0B534BB386F38D182B878674 Ref B: MNZ221060619051 Ref C: 2025-03-21T14:45:54Z' status: code: 200 message: OK @@ -209,9 +209,9 @@ interactions: ParameterSetName: - --perimeter-name --resource-group User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-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=2024-07-01 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"}]}' @@ -223,7 +223,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 29 Nov 2024 07:09:23 GMT + - Fri, 21 Mar 2025 14:46:20 GMT expires: - '-1' pragma: @@ -235,9 +235,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-global-reads: - - '16499' + - '16500' x-msedge-ref: - - 'Ref A: 90C169F1366C447CA23A877445F6720B Ref B: MNZ221060608019 Ref C: 2024-11-29T07:09:24Z' + - 'Ref A: C05A181B03C84C179F20170789DB5FE2 Ref B: MNZ221060618033 Ref C: 2025-03-21T14:45:56Z' status: code: 200 message: OK @@ -257,9 +257,9 @@ interactions: ParameterSetName: - --name --perimeter-name --resource-group --yes User-Agent: - - AZURECLI/2.67.0 azsdk-python-core/1.31.0 Python/3.12.7 (Windows-11-10.0.22631-SP0) + - AZURECLI/2.70.0 azsdk-python-core/1.31.0 Python/3.12.9 (Windows-11-10.0.22631-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-08-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=2024-07-01 response: body: string: '' @@ -269,7 +269,7 @@ interactions: content-length: - '0' date: - - Fri, 29 Nov 2024 07:09:25 GMT + - Fri, 21 Mar 2025 14:46:24 GMT expires: - '-1' pragma: @@ -285,7 +285,7 @@ interactions: x-ms-ratelimit-remaining-subscription-global-deletes: - '11999' x-msedge-ref: - - 'Ref A: 3F22CEEED4F94976AE84C2ADAE60B4F2 Ref B: MNZ221060618033 Ref C: 2024-11-29T07:09:24Z' + - 'Ref A: E91F1A145015409B87924B411293A0BE Ref B: MNZ221060608007 Ref C: 2025-03-21T14:46:20Z' 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 d849bf3a805..f33bc07670a 100644 --- a/src/nsp/azext_nsp/tests/latest/test_nsp.py +++ b/src/nsp/azext_nsp/tests/latest/test_nsp.py @@ -26,7 +26,7 @@ def test_nsp_crud(self, resource_group): self.cmd('network perimeter delete -g {rg} --name {name} --yes') - self.cmd('network perimeter onboarded-resources list -l eastus2euap') + self.cmd('network perimeter associable-resource-type list -l eastus2euap') @ResourceGroupPreparer(name_prefix='test_nsp_profile_crud', location='eastus2euap') def test_nsp_profile_crud(self, resource_group): @@ -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}') @@ -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('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}") ]) """ @@ -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('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") ]) """ @@ -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('properties.serviceTags', "['MicrosoftPublicIPSpace']") + self.check('serviceTags', "['MicrosoftPublicIPSpace']") ]) @ResourceGroupPreparer(name_prefix='test_nsp_association_crud', location='eastus2euap') @@ -127,7 +127,7 @@ def test_nsp_association_crud(self, resource_group): 'nsp_name': 'TestNetworkSecurityPerimeter', 'profile_name': 'TestNspProfile', 'association_name': 'TestNspAssociation', - 'resource_name': 'kvclinsp18', + 'resource_name': 'kvclinsp19-test', 'sub': self.get_subscription_id() }) @@ -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('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 ' @@ -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('properties.accessMode', 'Enforced') + self.check('accessMode', 'Enforced') ]) self.cmd('network perimeter association list --perimeter-name {nsp_name} --resource-group {rg}') @@ -215,7 +215,7 @@ def test_nsp_logging_configuration_crud(self, resource_group): # Show logging configuration and verify the enabled log categories self.cmd('network perimeter logging-configuration show --perimeter-name {nsp_name} --resource-group {rg}', checks=[ - self.check('properties.enabledLogCategories', "[\'NspPublicInboundPerimeterRulesDenied\']") + self.check('enabledLogCategories', "[\'NspPublicInboundPerimeterRulesDenied\']") ]) # Update logging configuration @@ -223,7 +223,7 @@ def test_nsp_logging_configuration_crud(self, resource_group): # Show logging configuration and verify the updated enabled log categories self.cmd('network perimeter logging-configuration show --perimeter-name {nsp_name} --resource-group {rg}', checks=[ - self.check('properties.enabledLogCategories', "[\'NspPublicInboundPerimeterRulesDenied\', \'NspPublicOutboundPerimeterRulesDenied\']") + self.check('enabledLogCategories', "[\'NspPublicInboundPerimeterRulesDenied\', \'NspPublicOutboundPerimeterRulesDenied\']") ]) # Delete logging configuration diff --git a/src/nsp/setup.py b/src/nsp/setup.py index de0584112c6..729348fd56f 100644 --- a/src/nsp/setup.py +++ b/src/nsp/setup.py @@ -10,7 +10,7 @@ # HISTORY.rst entry. -VERSION = '1.0.0b3' +VERSION = '1.0.0' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers