diff --git a/src/new-relic/HISTORY.rst b/src/new-relic/HISTORY.rst index 30008912910..5f2f210b8e4 100644 --- a/src/new-relic/HISTORY.rst +++ b/src/new-relic/HISTORY.rst @@ -3,6 +3,13 @@ Release History =============== +1.2.0 +++++++ +* Updated New Relic commands to API version 2026-06-01. +* Added commands to activate, link, and retrieve SaaS resources and refresh ingestion keys. +* Added monitored-subscription listing and updated PATCH operations +* Restored legacy parameter aliases (e.g. `-n`/`--name`/`--monitor-name`, `-g`, `-l`, `--rule-set-name`) that were inadvertently dropped during regeneration, to preserve backward compatibility with previously published commands. + 1.1.0 ++++++ * Updated default value of identity argument in monitor create command. diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/__init__.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/__init__.py index 5a9d61963d6..5435aec57e9 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/__init__.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/__init__.py @@ -9,3 +9,4 @@ # flake8: noqa from .__cmd_group import * +from ._activate_saas import * diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/_activate_saas.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/_activate_saas.py new file mode 100644 index 00000000000..4b91d53a320 --- /dev/null +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/_activate_saas.py @@ -0,0 +1,212 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "new-relic activate-saas", +) +class ActivateSaas(AAZCommand): + """Resolve the token to get the SaaS resource ID and activate the SaaS resource + + :example: Activate a New Relic SaaS resource + az new-relic activate-saas --publisher-id newrelicinc1635200720692 --saas-guid 00000000-0000-0000-0000-000005430000 + """ + + _aaz_info = { + "version": "2026-06-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/providers/newrelic.observability/activatesaas", "2026-06-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 "" + + # define Arg Group "Request" + + _args_schema = cls._args_schema + _args_schema.publisher_id = AAZStrArg( + options=["--publisher-id"], + arg_group="Request", + help="Publisher Id for NewRelic resource", + required=True, + ) + _args_schema.saas_guid = AAZStrArg( + options=["--saas-guid"], + arg_group="Request", + help="SaaS guid for Activate and Validate SaaS Resource", + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.SaaSActivateResource(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=True) + return result + + class SaaSActivateResource(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/NewRelic.Observability/activateSaaS", + **self.url_parameters + ) + + @property + def method(self): + return "POST" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **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", "2026-06-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Content-Type", "application/json", + ), + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + @property + def content(self): + _content_value, _builder = self.new_content_builder( + self.ctx.args, + typ=AAZObjectType, + typ_kwargs={"flags": {"required": True, "client_flatten": True}} + ) + _builder.set_prop("publisherId", AAZStrType, ".publisher_id", typ_kwargs={"flags": {"required": True}}) + _builder.set_prop("saasGuid", AAZStrType, ".saas_guid", typ_kwargs={"flags": {"required": True}}) + + return self.serialize_content(_content_value) + + 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.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.saas_id = AAZStrType( + serialized_name="saasId", + ) + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.type = AAZStrType( + 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", + ) + + return cls._schema_on_200 + + +class _ActivateSaasHelper: + """Helper class for ActivateSaas""" + + +__all__ = ["ActivateSaas"] diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/account/_list.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/account/_list.py index 53813832d95..cd00da96848 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/account/_list.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/account/_list.py @@ -22,9 +22,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2024-01-01", + "version": "2026-06-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/providers/newrelic.observability/accounts", "2024-01-01"], + ["mgmt-plane", "/subscriptions/{}/providers/newrelic.observability/accounts", "2026-06-01"], ] } @@ -123,7 +123,7 @@ def query_parameters(self): required=True, ), **self.serialize_query_param( - "api-version", "2024-01-01", + "api-version", "2026-06-01", required=True, ), } diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/__init__.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/__init__.py index f0cf00ad74b..dcb26e2a593 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/__init__.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/__init__.py @@ -14,12 +14,15 @@ from ._get_billing_info import * from ._get_metric_rule import * from ._get_metric_statu import * +from ._latest_linked_saas import * +from ._link_saas import * from ._list import * from ._list_app_service import * from ._list_connected_partner_resource import * from ._list_host import * from ._list_linked_resource import * from ._monitored_resource import * +from ._refresh_ingestion_key import * from ._show import * from ._switch_billing import * from ._vm_host_payload import * diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_create.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_create.py index fe54d0cb9d0..cd74feed0c7 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_create.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_create.py @@ -17,14 +17,14 @@ class Create(AAZCommand): """Creates a new New Relic monitor resource in your Azure subscription. This sets up the integration between Azure and your New Relic account, enabling observability and monitoring of your Azure resources through New Relic. - :example: Create a NewRelicMonitorResource. - az new-relic monitor create --resource-group MyResourceGroup --name MyNewRelicMonitor --location eastus2euap --user-info first-name="vdftzcggiref" last-name="bcsztgqovdlmzf" email-address="UserEmail@123.com" phone-number="123456" --plan-data billing-cycle="MONTHLY" effective-date='2022-10-25T15:14:33+02:00' plan-details="newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg" usage-type="PAYG" --account-creation-source "LIFTR" --org-creation-source "LIFTR" --tags key6976=oaxfhf + :example: Create a New Relic monitor + az new-relic monitor create --resource-group myResourceGroup --name myNewRelicMonitor --location eastus --user-info first-name=FirstName last-name=LastName email-address=user@example.com phone-number=0000000000 --plan-data billing-cycle=MONTHLY effective-date=2026-06-01T00:00:00Z plan-details=newrelic-pay-as-you-go-free-live@TIDn7ja87drquhy@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg_2025 usage-type=PAYG --account-creation-source LIFTR --org-creation-source LIFTR --tags environment=Production """ _aaz_info = { - "version": "2024-01-01", + "version": "2026-06-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}", "2024-01-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}", "2026-06-01"], ] } @@ -45,13 +45,16 @@ def _build_arguments_schema(cls, *args, **kwargs): # define Arg Group "" _args_schema = cls._args_schema - _args_schema.monitor_name = AAZStrArg( - options=["-n", "--name", "--monitor-name"], - help="Name of the Monitors resource", + _args_schema.name = AAZStrArg( + options=["--name", "-n", "--monitor-name"], + help="Name of the Monitoring resource", required=True, + fmt=AAZStrArgFormat( + pattern="^.*$", + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( - help="Name of resource group. You can configure the default group using `az configure --defaults group=`.", + options=["--resource-group", "-g"], required=True, ) @@ -80,6 +83,11 @@ def _build_arguments_schema(cls, *args, **kwargs): arg_group="Properties", help="Plan details Support shorthand-syntax, json-file and yaml-file. Try \"??\" to show more.", ) + _args_schema.saas_data = AAZObjectArg( + options=["--saas-data"], + arg_group="Properties", + help="SaaS details", + ) _args_schema.user_info = AAZObjectArg( options=["--user-info"], arg_group="Properties", @@ -151,11 +159,13 @@ def _build_arguments_schema(cls, *args, **kwargs): plan_data.billing_cycle = AAZStrArg( options=["billing-cycle"], help="Different billing cycles like MONTHLY/WEEKLY. this could be enum", - enum={"MONTHLY": "MONTHLY", "WEEKLY": "WEEKLY", "YEARLY": "YEARLY"}, ) plan_data.effective_date = AAZDateTimeArg( options=["effective-date"], help="date when plan was applied", + fmt=AAZDateTimeFormat( + protocol="iso", + ), ) plan_data.plan_details = AAZStrArg( options=["plan-details"], @@ -167,6 +177,12 @@ def _build_arguments_schema(cls, *args, **kwargs): enum={"COMMITTED": "COMMITTED", "PAYG": "PAYG"}, ) + saas_data = cls._args_schema.saas_data + saas_data.saas_resource_id = AAZStrArg( + options=["saas-resource-id"], + help="SaaS resource id", + ) + user_info = cls._args_schema.user_info user_info.country = AAZStrArg( options=["country"], @@ -211,6 +227,7 @@ def _build_arguments_schema(cls, *args, **kwargs): default={"type": "SystemAssigned"}, ) _args_schema.location = AAZResourceLocationArg( + options=["--location", "-l"], arg_group="Resource", help="The geo-location where the resource lives When not specified, the location of the resource group will be used.", required=True, @@ -225,17 +242,31 @@ def _build_arguments_schema(cls, *args, **kwargs): ) identity = cls._args_schema.identity + identity.mi_system_assigned = AAZStrArg( + options=["system-assigned", "mi-system-assigned"], + help="Set the system managed identity.", + blank="True", + ) identity.type = AAZStrArg( options=["type"], help="Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).", required=True, - enum={"None": "None", "SystemAssigned": "SystemAssigned", "SystemAssigned, UserAssigned": "SystemAssigned, UserAssigned", "UserAssigned": "UserAssigned"}, + enum={"None": "None", "SystemAssigned": "SystemAssigned", "SystemAssigned,UserAssigned": "SystemAssigned,UserAssigned", "UserAssigned": "UserAssigned"}, + ) + identity.mi_user_assigned = AAZListArg( + options=["user-assigned", "mi-user-assigned"], + help="Set the user managed identities.", + blank=[], ) identity.user_assigned_identities = AAZDictArg( options=["user-assigned-identities"], help="The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.", + nullable=True, ) + mi_user_assigned = cls._args_schema.identity.mi_user_assigned + mi_user_assigned.Element = AAZStrArg() + user_assigned_identities = cls._args_schema.identity.user_assigned_identities user_assigned_identities.Element = AAZObjectArg( blank={}, @@ -308,7 +339,7 @@ def error_format(self): def url_parameters(self): parameters = { **self.serialize_url_param( - "monitorName", self.ctx.args.monitor_name, + "monitorName", self.ctx.args.name, required=True, ), **self.serialize_url_param( @@ -326,7 +357,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2024-01-01", + "api-version", "2026-06-01", required=True, ), } @@ -351,7 +382,7 @@ def content(self): typ=AAZObjectType, typ_kwargs={"flags": {"required": True, "client_flatten": True}} ) - _builder.set_prop("identity", AAZObjectType, ".identity") + _builder.set_prop("identity", AAZIdentityObjectType, ".identity") _builder.set_prop("location", AAZStrType, ".location", typ_kwargs={"flags": {"required": True}}) _builder.set_prop("properties", AAZObjectType, ".", typ_kwargs={"flags": {"required": True, "client_flatten": True}}) _builder.set_prop("tags", AAZDictType, ".tags") @@ -359,18 +390,25 @@ def content(self): identity = _builder.get(".identity") if identity is not None: identity.set_prop("type", AAZStrType, ".type", typ_kwargs={"flags": {"required": True}}) - identity.set_prop("userAssignedIdentities", AAZDictType, ".user_assigned_identities") + identity.set_prop("userAssignedIdentities", AAZDictType, ".user_assigned_identities", typ_kwargs={"nullable": True}) + identity.set_prop("userAssigned", AAZListType, ".mi_user_assigned", typ_kwargs={"flags": {"action": "create"}}) + identity.set_prop("systemAssigned", AAZStrType, ".mi_system_assigned", typ_kwargs={"flags": {"action": "create"}}) user_assigned_identities = _builder.get(".identity.userAssignedIdentities") if user_assigned_identities is not None: user_assigned_identities.set_elements(AAZObjectType, ".") + user_assigned = _builder.get(".identity.userAssigned") + if user_assigned is not None: + user_assigned.set_elements(AAZStrType, ".") + properties = _builder.get(".properties") if properties is not None: properties.set_prop("accountCreationSource", AAZStrType, ".account_creation_source") properties.set_prop("newRelicAccountProperties", AAZObjectType, ".new_relic_account") properties.set_prop("orgCreationSource", AAZStrType, ".org_creation_source") properties.set_prop("planData", AAZObjectType, ".plan_data") + properties.set_prop("saaSData", AAZObjectType, ".saas_data") properties.set_prop("userInfo", AAZObjectType, ".user_info") new_relic_account_properties = _builder.get(".properties.newRelicAccountProperties") @@ -404,6 +442,10 @@ def content(self): plan_data.set_prop("planDetails", AAZStrType, ".plan_details") plan_data.set_prop("usageType", AAZStrType, ".usage_type") + saa_s_data = _builder.get(".properties.saaSData") + if saa_s_data is not None: + saa_s_data.set_prop("saaSResourceId", AAZStrType, ".saas_resource_id") + user_info = _builder.get(".properties.userInfo") if user_info is not None: user_info.set_prop("country", AAZStrType, ".country") @@ -439,7 +481,7 @@ def _build_schema_on_200_201(cls): _schema_on_200_201.id = AAZStrType( flags={"read_only": True}, ) - _schema_on_200_201.identity = AAZObjectType() + _schema_on_200_201.identity = AAZIdentityObjectType() _schema_on_200_201.location = AAZStrType( flags={"required": True}, ) @@ -472,6 +514,7 @@ def _build_schema_on_200_201(cls): ) identity.user_assigned_identities = AAZDictType( serialized_name="userAssignedIdentities", + nullable=True, ) user_assigned_identities = cls._schema_on_200_201.identity.user_assigned_identities @@ -493,6 +536,7 @@ def _build_schema_on_200_201(cls): ) properties.liftr_resource_category = AAZStrType( serialized_name="liftrResourceCategory", + flags={"read_only": True}, ) properties.liftr_resource_preference = AAZIntType( serialized_name="liftrResourcePreference", @@ -504,9 +548,11 @@ def _build_schema_on_200_201(cls): ) properties.marketplace_subscription_status = AAZStrType( serialized_name="marketplaceSubscriptionStatus", + flags={"read_only": True}, ) properties.monitoring_status = AAZStrType( serialized_name="monitoringStatus", + flags={"read_only": True}, ) properties.new_relic_account_properties = AAZObjectType( serialized_name="newRelicAccountProperties", @@ -519,10 +565,14 @@ def _build_schema_on_200_201(cls): ) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", + flags={"read_only": True}, ) properties.saa_s_azure_subscription_status = AAZStrType( serialized_name="saaSAzureSubscriptionStatus", ) + properties.saa_s_data = AAZObjectType( + serialized_name="saaSData", + ) properties.subscription_state = AAZStrType( serialized_name="subscriptionState", ) @@ -587,6 +637,11 @@ def _build_schema_on_200_201(cls): serialized_name="usageType", ) + saa_s_data = cls._schema_on_200_201.properties.saa_s_data + saa_s_data.saa_s_resource_id = AAZStrType( + serialized_name="saaSResourceId", + ) + user_info = cls._schema_on_200_201.properties.user_info user_info.country = AAZStrType() user_info.email_address = AAZStrType( diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_delete.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_delete.py index 88e662a52d5..65a1ca2af0b 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_delete.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_delete.py @@ -22,9 +22,9 @@ class Delete(AAZCommand): """ _aaz_info = { - "version": "2024-01-01", + "version": "2026-06-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}", "2024-01-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}", "2026-06-01"], ] } @@ -46,13 +46,16 @@ def _build_arguments_schema(cls, *args, **kwargs): _args_schema = cls._args_schema _args_schema.monitor_name = AAZStrArg( - options=["-n", "--name", "--monitor-name"], + options=["--monitor-name", "-n", "--name"], help="Name of the Monitoring resource", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="^.*$", + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( - help="Name of resource group. You can configure the default group using `az configure --defaults group=`.", + options=["--resource-group", "-g"], required=True, ) _args_schema.user_email = AAZStrArg( @@ -152,7 +155,7 @@ def query_parameters(self): required=True, ), **self.serialize_query_param( - "api-version", "2024-01-01", + "api-version", "2026-06-01", required=True, ), } diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_get_billing_info.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_get_billing_info.py index 2b875ae2466..900615e979a 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_get_billing_info.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_get_billing_info.py @@ -22,9 +22,9 @@ class GetBillingInfo(AAZCommand): """ _aaz_info = { - "version": "2024-01-01", + "version": "2026-06-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getbillinginfo", "2024-01-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getbillinginfo", "2026-06-01"], ] } @@ -54,8 +54,7 @@ def _build_arguments_schema(cls, *args, **kwargs): ), ) _args_schema.resource_group = AAZResourceGroupNameArg( - options=["--resource-group","--g"], - help="Name of resource group. You can configure the default group using `az configure --defaults group=`.", + options=["--resource-group", "-g", "--g"], required=True, ) return cls._args_schema @@ -125,7 +124,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2024-01-01", + "api-version", "2026-06-01", required=True, ), } @@ -181,6 +180,12 @@ def _build_schema_on_200(cls): marketplace_saas_info.marketplace_subscription_name = AAZStrType( serialized_name="marketplaceSubscriptionName", ) + marketplace_saas_info.offer_id = AAZStrType( + serialized_name="offerId", + ) + marketplace_saas_info.publisher_id = AAZStrType( + serialized_name="publisherId", + ) partner_billing_entity = cls._schema_on_200.partner_billing_entity partner_billing_entity.organization_id = AAZStrType( diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_get_metric_rule.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_get_metric_rule.py index 070fde828ea..5802ed7ae86 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_get_metric_rule.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_get_metric_rule.py @@ -22,9 +22,9 @@ class GetMetricRule(AAZCommand): """ _aaz_info = { - "version": "2024-01-01", + "version": "2026-06-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getmetricrules", "2024-01-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getmetricrules", "2026-06-01"], ] } @@ -45,13 +45,16 @@ def _build_arguments_schema(cls, *args, **kwargs): _args_schema = cls._args_schema _args_schema.monitor_name = AAZStrArg( - options=["-n", "--name", "--monitor-name"], + options=["--monitor-name", "-n", "--name"], help="Name of the Monitoring resource", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="^.*$", + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( - help="Name of resource group. You can configure the default group using `az configure --defaults group=`.", + options=["--resource-group", "-g"], required=True, ) @@ -134,7 +137,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2024-01-01", + "api-version", "2026-06-01", required=True, ), } diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_get_metric_statu.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_get_metric_statu.py index d1e36e16b3b..28842902ff2 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_get_metric_statu.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_get_metric_statu.py @@ -22,9 +22,9 @@ class GetMetricStatu(AAZCommand): """ _aaz_info = { - "version": "2024-01-01", + "version": "2026-06-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getmetricstatus", "2024-01-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/getmetricstatus", "2026-06-01"], ] } @@ -45,13 +45,16 @@ def _build_arguments_schema(cls, *args, **kwargs): _args_schema = cls._args_schema _args_schema.monitor_name = AAZStrArg( - options=["-n", "--name", "--monitor-name"], + options=["--monitor-name", "-n", "--name"], help="Name of the Monitoring resource", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="^.*$", + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( - help="Name of resource group. You can configure the default group using `az configure --defaults group=`.", + options=["--resource-group", "-g"], required=True, ) @@ -142,7 +145,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2024-01-01", + "api-version", "2026-06-01", required=True, ), } diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_latest_linked_saas.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_latest_linked_saas.py new file mode 100644 index 00000000000..53773dd7bd1 --- /dev/null +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_latest_linked_saas.py @@ -0,0 +1,173 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "new-relic monitor latest-linked-saas", +) +class LatestLinkedSaas(AAZCommand): + """Returns the latest SaaS linked to the newrelic organization of the underlying monitor. + + :example: Get the latest SaaS resource linked to a New Relic monitor + az new-relic monitor latest-linked-saas --resource-group myResourceGroup --monitor-name myMonitor + """ + + _aaz_info = { + "version": "2026-06-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/latestlinkedsaas", "2026-06-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.monitor_name = AAZStrArg( + options=["--monitor-name"], + help="Name of the Monitors resource", + required=True, + id_part="name", + fmt=AAZStrArgFormat( + pattern="^.*$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.MonitorsLatestLinkedSaaS(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=True) + return result + + class MonitorsLatestLinkedSaaS(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/NewRelic.Observability/monitors/{monitorName}/latestLinkedSaaS", + **self.url_parameters + ) + + @property + def method(self): + return "POST" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "monitorName", self.ctx.args.monitor_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", "2026-06-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.is_hidden_saa_s = AAZBoolType( + serialized_name="isHiddenSaaS", + ) + _schema_on_200.saa_s_resource_id = AAZStrType( + serialized_name="saaSResourceId", + ) + + return cls._schema_on_200 + + +class _LatestLinkedSaasHelper: + """Helper class for LatestLinkedSaas""" + + +__all__ = ["LatestLinkedSaas"] diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_link_saas.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_link_saas.py new file mode 100644 index 00000000000..784099fc7ec --- /dev/null +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_link_saas.py @@ -0,0 +1,408 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "new-relic monitor link-saas", +) +class LinkSaas(AAZCommand): + """Links a new SaaS to the newrelic organization of the underlying monitor. + + :example: Link a SaaS resource to a New Relic monitor + az new-relic monitor link-saas --resource-group myResourceGroup --monitor-name myMonitor --saas-resource-id /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mySaaSResourceGroup/providers/Microsoft.SaaS/resources/myNewRelicSaaS + """ + + _aaz_info = { + "version": "2026-06-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/linksaas", "2026-06-01"], + ] + } + + AZ_SUPPORT_NO_WAIT = True + + def _handler(self, command_args): + super()._handler(command_args) + return self.build_lro_poller(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.monitor_name = AAZStrArg( + options=["--monitor-name"], + help="Name of the Monitors resource", + required=True, + id_part="name", + fmt=AAZStrArgFormat( + pattern="^.*$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + + # define Arg Group "Body" + + _args_schema = cls._args_schema + _args_schema.saas_resource_id = AAZStrArg( + options=["--saas-resource-id"], + arg_group="Body", + help="SaaS resource id", + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + yield self.MonitorsLinkSaaS(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=True) + return result + + class MonitorsLinkSaaS(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, + 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.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, + ) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/linkSaaS", + **self.url_parameters + ) + + @property + def method(self): + return "POST" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "monitorName", self.ctx.args.monitor_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", "2026-06-01", + required=True, + ), + } + return parameters + + @property + def header_parameters(self): + parameters = { + **self.serialize_header_param( + "Content-Type", "application/json", + ), + **self.serialize_header_param( + "Accept", "application/json", + ), + } + return parameters + + @property + def content(self): + _content_value, _builder = self.new_content_builder( + self.ctx.args, + typ=AAZObjectType, + typ_kwargs={"flags": {"required": True, "client_flatten": True}} + ) + _builder.set_prop("saaSResourceId", AAZStrType, ".saas_resource_id") + + return self.serialize_content(_content_value) + + 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.identity = AAZIdentityObjectType() + _schema_on_200.location = AAZStrType( + flags={"required": True}, + ) + _schema_on_200.name = AAZStrType( + flags={"read_only": True}, + ) + _schema_on_200.properties = AAZObjectType( + flags={"required": True, "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}, + ) + + identity = cls._schema_on_200.identity + identity.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + identity.tenant_id = AAZStrType( + serialized_name="tenantId", + flags={"read_only": True}, + ) + identity.type = AAZStrType( + flags={"required": True}, + ) + identity.user_assigned_identities = AAZDictType( + serialized_name="userAssignedIdentities", + nullable=True, + ) + + user_assigned_identities = cls._schema_on_200.identity.user_assigned_identities + user_assigned_identities.Element = AAZObjectType() + + _element = cls._schema_on_200.identity.user_assigned_identities.Element + _element.client_id = AAZStrType( + serialized_name="clientId", + flags={"read_only": True}, + ) + _element.principal_id = AAZStrType( + serialized_name="principalId", + flags={"read_only": True}, + ) + + properties = cls._schema_on_200.properties + properties.account_creation_source = AAZStrType( + serialized_name="accountCreationSource", + ) + properties.liftr_resource_category = AAZStrType( + serialized_name="liftrResourceCategory", + flags={"read_only": True}, + ) + properties.liftr_resource_preference = AAZIntType( + serialized_name="liftrResourcePreference", + flags={"read_only": True}, + ) + properties.marketplace_subscription_id = AAZStrType( + serialized_name="marketplaceSubscriptionId", + flags={"read_only": True}, + ) + properties.marketplace_subscription_status = AAZStrType( + serialized_name="marketplaceSubscriptionStatus", + flags={"read_only": True}, + ) + properties.monitoring_status = AAZStrType( + serialized_name="monitoringStatus", + flags={"read_only": True}, + ) + properties.new_relic_account_properties = AAZObjectType( + serialized_name="newRelicAccountProperties", + ) + properties.org_creation_source = AAZStrType( + serialized_name="orgCreationSource", + ) + properties.plan_data = AAZObjectType( + serialized_name="planData", + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + properties.saa_s_azure_subscription_status = AAZStrType( + serialized_name="saaSAzureSubscriptionStatus", + ) + properties.saa_s_data = AAZObjectType( + serialized_name="saaSData", + ) + properties.subscription_state = AAZStrType( + serialized_name="subscriptionState", + ) + properties.user_info = AAZObjectType( + serialized_name="userInfo", + ) + + new_relic_account_properties = cls._schema_on_200.properties.new_relic_account_properties + new_relic_account_properties.account_info = AAZObjectType( + serialized_name="accountInfo", + ) + new_relic_account_properties.organization_info = AAZObjectType( + serialized_name="organizationInfo", + ) + new_relic_account_properties.single_sign_on_properties = AAZObjectType( + serialized_name="singleSignOnProperties", + ) + new_relic_account_properties.user_id = AAZStrType( + serialized_name="userId", + ) + + account_info = cls._schema_on_200.properties.new_relic_account_properties.account_info + account_info.account_id = AAZStrType( + serialized_name="accountId", + ) + account_info.ingestion_key = AAZStrType( + serialized_name="ingestionKey", + flags={"secret": True}, + ) + account_info.region = AAZStrType() + + organization_info = cls._schema_on_200.properties.new_relic_account_properties.organization_info + organization_info.organization_id = AAZStrType( + serialized_name="organizationId", + ) + + single_sign_on_properties = cls._schema_on_200.properties.new_relic_account_properties.single_sign_on_properties + single_sign_on_properties.enterprise_app_id = AAZStrType( + serialized_name="enterpriseAppId", + ) + single_sign_on_properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + ) + single_sign_on_properties.single_sign_on_state = AAZStrType( + serialized_name="singleSignOnState", + ) + single_sign_on_properties.single_sign_on_url = AAZStrType( + serialized_name="singleSignOnUrl", + ) + + plan_data = cls._schema_on_200.properties.plan_data + plan_data.billing_cycle = AAZStrType( + serialized_name="billingCycle", + ) + plan_data.effective_date = AAZStrType( + serialized_name="effectiveDate", + ) + plan_data.plan_details = AAZStrType( + serialized_name="planDetails", + ) + plan_data.usage_type = AAZStrType( + serialized_name="usageType", + ) + + saa_s_data = cls._schema_on_200.properties.saa_s_data + saa_s_data.saa_s_resource_id = AAZStrType( + serialized_name="saaSResourceId", + ) + + user_info = cls._schema_on_200.properties.user_info + user_info.country = AAZStrType() + user_info.email_address = AAZStrType( + serialized_name="emailAddress", + ) + user_info.first_name = AAZStrType( + serialized_name="firstName", + ) + user_info.last_name = AAZStrType( + serialized_name="lastName", + ) + user_info.phone_number = AAZStrType( + serialized_name="phoneNumber", + ) + + 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 _LinkSaasHelper: + """Helper class for LinkSaas""" + + +__all__ = ["LinkSaas"] diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_list.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_list.py index 34d4430668d..9e8d11950e9 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_list.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_list.py @@ -22,10 +22,10 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2024-01-01", + "version": "2026-06-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/providers/newrelic.observability/monitors", "2024-01-01"], - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors", "2024-01-01"], + ["mgmt-plane", "/subscriptions/{}/providers/newrelic.observability/monitors", "2026-06-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors", "2026-06-01"], ] } @@ -47,18 +47,18 @@ def _build_arguments_schema(cls, *args, **kwargs): _args_schema = cls._args_schema _args_schema.resource_group = AAZResourceGroupNameArg( - help="Name of resource group. You can configure the default group using `az configure --defaults group=`.", + options=["--resource-group", "-g"], ) return cls._args_schema def _execute_operations(self): self.pre_operations() - condition_0 = has_value(self.ctx.args.resource_group) and has_value(self.ctx.subscription_id) - condition_1 = has_value(self.ctx.subscription_id) and has_value(self.ctx.args.resource_group) is not True + condition_0 = has_value(self.ctx.subscription_id) and has_value(self.ctx.args.resource_group) is not True + condition_1 = has_value(self.ctx.args.resource_group) and has_value(self.ctx.subscription_id) if condition_0: - self.MonitorsListByResourceGroup(ctx=self.ctx)() - if condition_1: self.MonitorsListBySubscription(ctx=self.ctx)() + if condition_1: + self.MonitorsListByResourceGroup(ctx=self.ctx)() self.post_operations() @register_callback @@ -74,7 +74,7 @@ def _output(self, *args, **kwargs): next_link = self.deserialize_output(self.ctx.vars.instance.next_link) return result, next_link - class MonitorsListByResourceGroup(AAZHttpOperation): + class MonitorsListBySubscription(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -88,7 +88,7 @@ def __call__(self, *args, **kwargs): @property def url(self): return self.client.format_url( - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors", + "/subscriptions/{subscriptionId}/providers/NewRelic.Observability/monitors", **self.url_parameters ) @@ -103,10 +103,6 @@ def error_format(self): @property def url_parameters(self): parameters = { - **self.serialize_url_param( - "resourceGroupName", self.ctx.args.resource_group, - required=True, - ), **self.serialize_url_param( "subscriptionId", self.ctx.subscription_id, required=True, @@ -118,7 +114,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2024-01-01", + "api-version", "2026-06-01", required=True, ), } @@ -165,7 +161,7 @@ def _build_schema_on_200(cls): _element.id = AAZStrType( flags={"read_only": True}, ) - _element.identity = AAZObjectType() + _element.identity = AAZIdentityObjectType() _element.location = AAZStrType( flags={"required": True}, ) @@ -198,6 +194,7 @@ def _build_schema_on_200(cls): ) identity.user_assigned_identities = AAZDictType( serialized_name="userAssignedIdentities", + nullable=True, ) user_assigned_identities = cls._schema_on_200.value.Element.identity.user_assigned_identities @@ -219,6 +216,7 @@ def _build_schema_on_200(cls): ) properties.liftr_resource_category = AAZStrType( serialized_name="liftrResourceCategory", + flags={"read_only": True}, ) properties.liftr_resource_preference = AAZIntType( serialized_name="liftrResourcePreference", @@ -230,9 +228,11 @@ def _build_schema_on_200(cls): ) properties.marketplace_subscription_status = AAZStrType( serialized_name="marketplaceSubscriptionStatus", + flags={"read_only": True}, ) properties.monitoring_status = AAZStrType( serialized_name="monitoringStatus", + flags={"read_only": True}, ) properties.new_relic_account_properties = AAZObjectType( serialized_name="newRelicAccountProperties", @@ -245,10 +245,14 @@ def _build_schema_on_200(cls): ) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", + flags={"read_only": True}, ) properties.saa_s_azure_subscription_status = AAZStrType( serialized_name="saaSAzureSubscriptionStatus", ) + properties.saa_s_data = AAZObjectType( + serialized_name="saaSData", + ) properties.subscription_state = AAZStrType( serialized_name="subscriptionState", ) @@ -313,6 +317,11 @@ def _build_schema_on_200(cls): serialized_name="usageType", ) + saa_s_data = cls._schema_on_200.value.Element.properties.saa_s_data + saa_s_data.saa_s_resource_id = AAZStrType( + serialized_name="saaSResourceId", + ) + user_info = cls._schema_on_200.value.Element.properties.user_info user_info.country = AAZStrType() user_info.email_address = AAZStrType( @@ -353,7 +362,7 @@ def _build_schema_on_200(cls): return cls._schema_on_200 - class MonitorsListBySubscription(AAZHttpOperation): + class MonitorsListByResourceGroup(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -367,7 +376,7 @@ def __call__(self, *args, **kwargs): @property def url(self): return self.client.format_url( - "/subscriptions/{subscriptionId}/providers/NewRelic.Observability/monitors", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors", **self.url_parameters ) @@ -382,6 +391,10 @@ def error_format(self): @property def url_parameters(self): parameters = { + **self.serialize_url_param( + "resourceGroupName", self.ctx.args.resource_group, + required=True, + ), **self.serialize_url_param( "subscriptionId", self.ctx.subscription_id, required=True, @@ -393,7 +406,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2024-01-01", + "api-version", "2026-06-01", required=True, ), } @@ -440,7 +453,7 @@ def _build_schema_on_200(cls): _element.id = AAZStrType( flags={"read_only": True}, ) - _element.identity = AAZObjectType() + _element.identity = AAZIdentityObjectType() _element.location = AAZStrType( flags={"required": True}, ) @@ -473,6 +486,7 @@ def _build_schema_on_200(cls): ) identity.user_assigned_identities = AAZDictType( serialized_name="userAssignedIdentities", + nullable=True, ) user_assigned_identities = cls._schema_on_200.value.Element.identity.user_assigned_identities @@ -494,6 +508,7 @@ def _build_schema_on_200(cls): ) properties.liftr_resource_category = AAZStrType( serialized_name="liftrResourceCategory", + flags={"read_only": True}, ) properties.liftr_resource_preference = AAZIntType( serialized_name="liftrResourcePreference", @@ -505,9 +520,11 @@ def _build_schema_on_200(cls): ) properties.marketplace_subscription_status = AAZStrType( serialized_name="marketplaceSubscriptionStatus", + flags={"read_only": True}, ) properties.monitoring_status = AAZStrType( serialized_name="monitoringStatus", + flags={"read_only": True}, ) properties.new_relic_account_properties = AAZObjectType( serialized_name="newRelicAccountProperties", @@ -520,10 +537,14 @@ def _build_schema_on_200(cls): ) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", + flags={"read_only": True}, ) properties.saa_s_azure_subscription_status = AAZStrType( serialized_name="saaSAzureSubscriptionStatus", ) + properties.saa_s_data = AAZObjectType( + serialized_name="saaSData", + ) properties.subscription_state = AAZStrType( serialized_name="subscriptionState", ) @@ -588,6 +609,11 @@ def _build_schema_on_200(cls): serialized_name="usageType", ) + saa_s_data = cls._schema_on_200.value.Element.properties.saa_s_data + saa_s_data.saa_s_resource_id = AAZStrType( + serialized_name="saaSResourceId", + ) + user_info = cls._schema_on_200.value.Element.properties.user_info user_info.country = AAZStrType() user_info.email_address = AAZStrType( diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_list_app_service.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_list_app_service.py index 6f5decefd5f..2cf6d103cfe 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_list_app_service.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_list_app_service.py @@ -22,9 +22,9 @@ class ListAppService(AAZCommand): """ _aaz_info = { - "version": "2024-01-01", + "version": "2026-06-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listappservices", "2024-01-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listappservices", "2026-06-01"], ] } @@ -46,12 +46,15 @@ def _build_arguments_schema(cls, *args, **kwargs): _args_schema = cls._args_schema _args_schema.monitor_name = AAZStrArg( - options=["-n", "--name", "--monitor-name"], + options=["--monitor-name", "-n", "--name"], help="Name of the Monitoring resource", required=True, + fmt=AAZStrArgFormat( + pattern="^.*$", + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( - help="Name of resource group. You can configure the default group using `az configure --defaults group=`.", + options=["--resource-group", "-g"], required=True, ) @@ -143,7 +146,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2024-01-01", + "api-version", "2026-06-01", required=True, ), } diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_list_connected_partner_resource.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_list_connected_partner_resource.py index 1c1aeca9ba4..5ba70e70599 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_list_connected_partner_resource.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_list_connected_partner_resource.py @@ -18,13 +18,13 @@ class ListConnectedPartnerResource(AAZCommand): """List all active deployments associated with the marketplace subscription linked to the given New Relic monitor resource. :example: List of all active deployments that are associated with the marketplace subscription linked to the given monitor. - az new-relic monitor list-connected-partner-resource --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor + az new-relic monitor list-connected-partner-resource --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --body UserEmail@123.com """ _aaz_info = { - "version": "2024-01-01", + "version": "2026-06-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listconnectedpartnerresources", "2024-01-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listconnectedpartnerresources", "2026-06-01"], ] } @@ -54,7 +54,7 @@ def _build_arguments_schema(cls, *args, **kwargs): ), ) _args_schema.resource_group = AAZResourceGroupNameArg( - help="Name of resource group. You can configure the default group using `az configure --defaults group=`.", + options=["--resource-group", "-g"], required=True, ) _args_schema.body = AAZStrArg( @@ -132,7 +132,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2024-01-01", + "api-version", "2026-06-01", required=True, ), } @@ -180,7 +180,9 @@ def _build_schema_on_200(cls): _schema_on_200.next_link = AAZStrType( serialized_name="nextLink", ) - _schema_on_200.value = AAZListType() + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) value = cls._schema_on_200.value value.Element = AAZObjectType() diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_list_host.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_list_host.py index 886599064cf..619e719059e 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_list_host.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_list_host.py @@ -22,9 +22,9 @@ class ListHost(AAZCommand): """ _aaz_info = { - "version": "2024-01-01", + "version": "2026-06-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listhosts", "2024-01-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listhosts", "2026-06-01"], ] } @@ -46,12 +46,15 @@ def _build_arguments_schema(cls, *args, **kwargs): _args_schema = cls._args_schema _args_schema.monitor_name = AAZStrArg( - options=["-n", "--name", "--monitor-name"], + options=["--monitor-name", "-n", "--name"], help="Name of the Monitoring resource", required=True, + fmt=AAZStrArgFormat( + pattern="^.*$", + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( - help="Name of resource group. You can configure the default group using `az configure --defaults group=`.", + options=["--resource-group", "-g"], required=True, ) @@ -143,7 +146,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2024-01-01", + "api-version", "2026-06-01", required=True, ), } diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_list_linked_resource.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_list_linked_resource.py index d3a1e724869..c0d6554b8f0 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_list_linked_resource.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_list_linked_resource.py @@ -22,9 +22,9 @@ class ListLinkedResource(AAZCommand): """ _aaz_info = { - "version": "2024-01-01", + "version": "2026-06-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listlinkedresources", "2024-01-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/listlinkedresources", "2026-06-01"], ] } @@ -54,7 +54,7 @@ def _build_arguments_schema(cls, *args, **kwargs): ), ) _args_schema.resource_group = AAZResourceGroupNameArg( - help="Name of resource group. You can configure the default group using `az configure --defaults group=`.", + options=["--resource-group", "-g"], required=True, ) return cls._args_schema @@ -125,7 +125,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2024-01-01", + "api-version", "2026-06-01", required=True, ), } @@ -161,7 +161,9 @@ def _build_schema_on_200(cls): _schema_on_200.next_link = AAZStrType( serialized_name="nextLink", ) - _schema_on_200.value = AAZListType() + _schema_on_200.value = AAZListType( + flags={"required": True}, + ) value = cls._schema_on_200.value value.Element = AAZObjectType() diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_monitored_resource.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_monitored_resource.py index ade3ee7b05b..15b45768252 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_monitored_resource.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_monitored_resource.py @@ -22,9 +22,9 @@ class MonitoredResource(AAZCommand): """ _aaz_info = { - "version": "2024-01-01", + "version": "2026-06-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredresources", "2024-01-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredresources", "2026-06-01"], ] } @@ -46,12 +46,15 @@ def _build_arguments_schema(cls, *args, **kwargs): _args_schema = cls._args_schema _args_schema.monitor_name = AAZStrArg( - options=["-n", "--name", "--monitor-name"], + options=["--monitor-name", "-n", "--name"], help="Name of the Monitoring resource", required=True, + fmt=AAZStrArgFormat( + pattern="^.*$", + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( - help="Name of resource group. You can configure the default group using `az configure --defaults group=`.", + options=["--resource-group", "-g"], required=True, ) return cls._args_schema @@ -122,7 +125,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2024-01-01", + "api-version", "2026-06-01", required=True, ), } diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_refresh_ingestion_key.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_refresh_ingestion_key.py new file mode 100644 index 00000000000..ba6ea81cf89 --- /dev/null +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_refresh_ingestion_key.py @@ -0,0 +1,136 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "new-relic monitor refresh-ingestion-key", +) +class RefreshIngestionKey(AAZCommand): + """Refreshes the ingestion key for all monitors linked to the same account associated to the underlying monitor. + + :example: Refresh the ingestion key for a New Relic monitor + az new-relic monitor refresh-ingestion-key --resource-group myResourceGroup --monitor-name myMonitor + """ + + _aaz_info = { + "version": "2026-06-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/refreshingestionkey", "2026-06-01"], + ] + } + + def _handler(self, command_args): + super()._handler(command_args) + self._execute_operations() + return None + + _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.monitor_name = AAZStrArg( + options=["--monitor-name"], + help="Name of the Monitors resource", + required=True, + id_part="name", + fmt=AAZStrArgFormat( + pattern="^.*$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.MonitorsRefreshIngestionKey(ctx=self.ctx)() + self.post_operations() + + @register_callback + def pre_operations(self): + pass + + @register_callback + def post_operations(self): + pass + + class MonitorsRefreshIngestionKey(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 [204]: + return self.on_204(session) + + return self.on_error(session.http_response) + + @property + def url(self): + return self.client.format_url( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/refreshIngestionKey", + **self.url_parameters + ) + + @property + def method(self): + return "POST" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "monitorName", self.ctx.args.monitor_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", "2026-06-01", + required=True, + ), + } + return parameters + + def on_204(self, session): + pass + + +class _RefreshIngestionKeyHelper: + """Helper class for RefreshIngestionKey""" + + +__all__ = ["RefreshIngestionKey"] diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_show.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_show.py index f0b0475cf7c..d54a2cffd7c 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_show.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_show.py @@ -22,9 +22,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2024-01-01", + "version": "2026-06-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}", "2024-01-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}", "2026-06-01"], ] } @@ -49,9 +49,12 @@ def _build_arguments_schema(cls, *args, **kwargs): help="Name of the Monitoring resource", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="^.*$", + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( - help="Name of resource group. You can configure the default group using `az configure --defaults group=`.", + options=["--resource-group", "-g"], required=True, ) return cls._args_schema @@ -121,7 +124,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2024-01-01", + "api-version", "2026-06-01", required=True, ), } @@ -157,7 +160,7 @@ def _build_schema_on_200(cls): _schema_on_200.id = AAZStrType( flags={"read_only": True}, ) - _schema_on_200.identity = AAZObjectType() + _schema_on_200.identity = AAZIdentityObjectType() _schema_on_200.location = AAZStrType( flags={"required": True}, ) @@ -190,6 +193,7 @@ def _build_schema_on_200(cls): ) identity.user_assigned_identities = AAZDictType( serialized_name="userAssignedIdentities", + nullable=True, ) user_assigned_identities = cls._schema_on_200.identity.user_assigned_identities @@ -211,6 +215,7 @@ def _build_schema_on_200(cls): ) properties.liftr_resource_category = AAZStrType( serialized_name="liftrResourceCategory", + flags={"read_only": True}, ) properties.liftr_resource_preference = AAZIntType( serialized_name="liftrResourcePreference", @@ -222,9 +227,11 @@ def _build_schema_on_200(cls): ) properties.marketplace_subscription_status = AAZStrType( serialized_name="marketplaceSubscriptionStatus", + flags={"read_only": True}, ) properties.monitoring_status = AAZStrType( serialized_name="monitoringStatus", + flags={"read_only": True}, ) properties.new_relic_account_properties = AAZObjectType( serialized_name="newRelicAccountProperties", @@ -237,10 +244,14 @@ def _build_schema_on_200(cls): ) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", + flags={"read_only": True}, ) properties.saa_s_azure_subscription_status = AAZStrType( serialized_name="saaSAzureSubscriptionStatus", ) + properties.saa_s_data = AAZObjectType( + serialized_name="saaSData", + ) properties.subscription_state = AAZStrType( serialized_name="subscriptionState", ) @@ -305,6 +316,11 @@ def _build_schema_on_200(cls): serialized_name="usageType", ) + saa_s_data = cls._schema_on_200.properties.saa_s_data + saa_s_data.saa_s_resource_id = AAZStrType( + serialized_name="saaSResourceId", + ) + user_info = cls._schema_on_200.properties.user_info user_info.country = AAZStrType() user_info.email_address = AAZStrType( diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_switch_billing.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_switch_billing.py index d2f6aa1fbca..6a7ae6b2550 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_switch_billing.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_switch_billing.py @@ -18,13 +18,13 @@ class SwitchBilling(AAZCommand): """Switches the billing for the New Relic Monitor resource to be billed by Azure Marketplace. :example: Switches the billing for NewRelic monitor resource. - az new-relic monitor switch-billing --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup --azure-resource-id resourceId --organization-id organizationId --user-email="UserEmail@123.com" --plan-data billing-cycle="MONTHLY" effective-date='2022-10-25T15:14:33+02:00' plan-details="nr-privateofferplan03-upfront@TID5xd5yfrmr6no@PUBIDnewrelicinc-privateoffers.nr-privateoffers1" usage-type="COMMITTED" + az new-relic monitor switch-billing --monitor-name MyNewRelicMonitor --resource-group MyResourceGroup --azure-resource-id resourceId --organization-id organizationId --user-email="UserEmail@123.com" --plan-data billing-cycle="MONTHLY" effective-date='2026-06-01T00:00:00Z' plan-details="newrelic-pay-as-you-go-free-live@TIDn7ja87drquhy@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg_2025" usage-type="PAYG" """ _aaz_info = { - "version": "2024-01-01", + "version": "2026-06-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/switchbilling", "2024-01-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/switchbilling", "2026-06-01"], ] } @@ -49,9 +49,12 @@ def _build_arguments_schema(cls, *args, **kwargs): help="Name of the Monitoring resource", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="^.*$", + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( - help="Name of resource group. You can configure the default group using `az configure --defaults group=`.", + options=["--resource-group", "-g"], required=True, ) @@ -87,11 +90,13 @@ def _build_arguments_schema(cls, *args, **kwargs): plan_data.billing_cycle = AAZStrArg( options=["billing-cycle"], help="Different billing cycles like MONTHLY/WEEKLY. this could be enum", - enum={"MONTHLY": "MONTHLY", "WEEKLY": "WEEKLY", "YEARLY": "YEARLY"}, ) plan_data.effective_date = AAZDateTimeArg( options=["effective-date"], help="date when plan was applied", + fmt=AAZDateTimeFormat( + protocol="iso", + ), ) plan_data.plan_details = AAZStrArg( options=["plan-details"], @@ -173,7 +178,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2024-01-01", + "api-version", "2026-06-01", required=True, ), } @@ -233,7 +238,7 @@ def _build_schema_on_200(cls): _schema_on_200.id = AAZStrType( flags={"read_only": True}, ) - _schema_on_200.identity = AAZObjectType() + _schema_on_200.identity = AAZIdentityObjectType() _schema_on_200.location = AAZStrType( flags={"required": True}, ) @@ -266,6 +271,7 @@ def _build_schema_on_200(cls): ) identity.user_assigned_identities = AAZDictType( serialized_name="userAssignedIdentities", + nullable=True, ) user_assigned_identities = cls._schema_on_200.identity.user_assigned_identities @@ -287,6 +293,7 @@ def _build_schema_on_200(cls): ) properties.liftr_resource_category = AAZStrType( serialized_name="liftrResourceCategory", + flags={"read_only": True}, ) properties.liftr_resource_preference = AAZIntType( serialized_name="liftrResourcePreference", @@ -298,9 +305,11 @@ def _build_schema_on_200(cls): ) properties.marketplace_subscription_status = AAZStrType( serialized_name="marketplaceSubscriptionStatus", + flags={"read_only": True}, ) properties.monitoring_status = AAZStrType( serialized_name="monitoringStatus", + flags={"read_only": True}, ) properties.new_relic_account_properties = AAZObjectType( serialized_name="newRelicAccountProperties", @@ -313,10 +322,14 @@ def _build_schema_on_200(cls): ) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", + flags={"read_only": True}, ) properties.saa_s_azure_subscription_status = AAZStrType( serialized_name="saaSAzureSubscriptionStatus", ) + properties.saa_s_data = AAZObjectType( + serialized_name="saaSData", + ) properties.subscription_state = AAZStrType( serialized_name="subscriptionState", ) @@ -381,6 +394,11 @@ def _build_schema_on_200(cls): serialized_name="usageType", ) + saa_s_data = cls._schema_on_200.properties.saa_s_data + saa_s_data.saa_s_resource_id = AAZStrType( + serialized_name="saaSResourceId", + ) + user_info = cls._schema_on_200.properties.user_info user_info.country = AAZStrType() user_info.email_address = AAZStrType( diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_vm_host_payload.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_vm_host_payload.py index fc7674c52ff..10957fdbefb 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_vm_host_payload.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_vm_host_payload.py @@ -22,9 +22,9 @@ class VmHostPayload(AAZCommand): """ _aaz_info = { - "version": "2024-01-01", + "version": "2026-06-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/vmhostpayloads", "2024-01-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/vmhostpayloads", "2026-06-01"], ] } @@ -49,9 +49,12 @@ def _build_arguments_schema(cls, *args, **kwargs): help="Name of the Monitoring resource", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="^.*$", + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( - help="Name of resource group. You can configure the default group using `az configure --defaults group=`.", + options=["--resource-group", "-g"], required=True, ) return cls._args_schema @@ -121,7 +124,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2024-01-01", + "api-version", "2026-06-01", required=True, ), } diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_wait.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_wait.py index 29e2c7186d5..59047f41509 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_wait.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/_wait.py @@ -20,7 +20,7 @@ class Wait(AAZWaitCommand): _aaz_info = { "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}", "2024-01-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}", "2026-06-01"], ] } @@ -45,9 +45,12 @@ def _build_arguments_schema(cls, *args, **kwargs): help="Name of the Monitoring resource", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="^.*$", + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( - help="Name of resource group. You can configure the default group using `az configure --defaults group=`.", + options=["--resource-group", "-g"], required=True, ) return cls._args_schema @@ -117,7 +120,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2024-01-01", + "api-version", "2026-06-01", required=True, ), } @@ -153,7 +156,7 @@ def _build_schema_on_200(cls): _schema_on_200.id = AAZStrType( flags={"read_only": True}, ) - _schema_on_200.identity = AAZObjectType() + _schema_on_200.identity = AAZIdentityObjectType() _schema_on_200.location = AAZStrType( flags={"required": True}, ) @@ -186,6 +189,7 @@ def _build_schema_on_200(cls): ) identity.user_assigned_identities = AAZDictType( serialized_name="userAssignedIdentities", + nullable=True, ) user_assigned_identities = cls._schema_on_200.identity.user_assigned_identities @@ -207,6 +211,7 @@ def _build_schema_on_200(cls): ) properties.liftr_resource_category = AAZStrType( serialized_name="liftrResourceCategory", + flags={"read_only": True}, ) properties.liftr_resource_preference = AAZIntType( serialized_name="liftrResourcePreference", @@ -218,9 +223,11 @@ def _build_schema_on_200(cls): ) properties.marketplace_subscription_status = AAZStrType( serialized_name="marketplaceSubscriptionStatus", + flags={"read_only": True}, ) properties.monitoring_status = AAZStrType( serialized_name="monitoringStatus", + flags={"read_only": True}, ) properties.new_relic_account_properties = AAZObjectType( serialized_name="newRelicAccountProperties", @@ -233,10 +240,14 @@ def _build_schema_on_200(cls): ) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", + flags={"read_only": True}, ) properties.saa_s_azure_subscription_status = AAZStrType( serialized_name="saaSAzureSubscriptionStatus", ) + properties.saa_s_data = AAZObjectType( + serialized_name="saaSData", + ) properties.subscription_state = AAZStrType( serialized_name="subscriptionState", ) @@ -301,6 +312,11 @@ def _build_schema_on_200(cls): serialized_name="usageType", ) + saa_s_data = cls._schema_on_200.properties.saa_s_data + saa_s_data.saa_s_resource_id = AAZStrType( + serialized_name="saaSResourceId", + ) + user_info = cls._schema_on_200.properties.user_info user_info.country = AAZStrType() user_info.email_address = AAZStrType( diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/monitored_subscription/__init__.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/monitored_subscription/__init__.py index a66fcaa1a56..db73033039b 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/monitored_subscription/__init__.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/monitored_subscription/__init__.py @@ -11,6 +11,7 @@ from .__cmd_group import * from ._create import * from ._delete import * +from ._list import * from ._show import * from ._update import * from ._wait import * diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/monitored_subscription/_create.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/monitored_subscription/_create.py index 817d57567be..d99eb6cedcd 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/monitored_subscription/_create.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/monitored_subscription/_create.py @@ -17,16 +17,14 @@ class Create(AAZCommand): """Create subscriptions to be monitored by the New Relic monitor resource, enabling observability and monitoring. - :example: Create the subscriptions that should be monitored by the NewRelic monitor resource. - Please run below commands in the mentioned order - 1) az new-relic monitor monitored-subscription create --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --configuration-name default --patch-operation AddBegin --subscriptions "[{status:'InProgress',subscription-id:'subscription-id'}]" - 2) az new-relic monitor monitored-subscription create --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --configuration-name default --patch-operation AddComplete --subscriptions "[{status:'Active',subscription-id:'subscription-id'}]" + :example: Create monitored subscription configuration for a New Relic monitor + az new-relic monitor monitored-subscription create --resource-group myResourceGroup --monitor-name myNewRelicMonitor --configuration-name default --patch-operation AddBegin --monitored-subscription-list "[{subscription-id:/subscriptions/00000000-0000-0000-0000-000000000000,status:Active}]" """ _aaz_info = { - "version": "2024-01-01", + "version": "2026-06-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{}", "2024-01-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{}", "2026-06-01"], ] } @@ -51,9 +49,10 @@ def _build_arguments_schema(cls, *args, **kwargs): options=["--configuration-name"], help="The configuration name. Only 'default' value is supported.", required=True, + default="default", enum={"default": "default"}, fmt=AAZStrArgFormat( - pattern="^.*$", + pattern="^[a-zA-Z0-9-]{3,24}$", ), ) _args_schema.monitor_name = AAZStrArg( @@ -65,8 +64,7 @@ def _build_arguments_schema(cls, *args, **kwargs): ), ) _args_schema.resource_group = AAZResourceGroupNameArg( - options=["--resource-group","--g"], - help="Name of resource group. You can configure the default group using `az configure --defaults group=`.", + options=["--resource-group", "-g", "--g"], required=True, ) @@ -74,7 +72,7 @@ def _build_arguments_schema(cls, *args, **kwargs): _args_schema = cls._args_schema _args_schema.monitored_subscription_list = AAZListArg( - options=["-n", "--subscriptions", "--monitored-subscription-list"], + options=["--subscriptions", "--monitored-subscription-list", "-n"], arg_group="Properties", help="List of subscriptions and the state of the monitoring.", ) @@ -89,10 +87,6 @@ def _build_arguments_schema(cls, *args, **kwargs): monitored_subscription_list.Element = AAZObjectArg() _element = cls._args_schema.monitored_subscription_list.Element - _element.error = AAZStrArg( - options=["error"], - help="The reason of not monitoring the subscription.", - ) _element.status = AAZStrArg( options=["status"], help="The state of monitoring.", @@ -102,67 +96,6 @@ def _build_arguments_schema(cls, *args, **kwargs): options=["subscription-id"], help="The subscriptionId to be monitored.", ) - _element.tag_rules = AAZObjectArg( - options=["tag-rules"], - help="The resource-specific properties for this resource.", - ) - - tag_rules = cls._args_schema.monitored_subscription_list.Element.tag_rules - tag_rules.log_rules = AAZObjectArg( - options=["log-rules"], - help="Set of rules for sending logs for the Monitor resource.", - ) - tag_rules.metric_rules = AAZObjectArg( - options=["metric-rules"], - help="Set of rules for sending metrics for the Monitor resource.", - ) - - log_rules = cls._args_schema.monitored_subscription_list.Element.tag_rules.log_rules - log_rules.filtering_tags = AAZListArg( - options=["filtering-tags"], - help="List of filtering tags to be used for capturing logs. This only takes effect if SendActivityLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.", - ) - log_rules.send_aad_logs = AAZStrArg( - options=["send-aad-logs"], - help="Flag specifying if AAD logs should be sent for the Monitor resource.", - enum={"Disabled": "Disabled", "Enabled": "Enabled"}, - ) - log_rules.send_activity_logs = AAZStrArg( - options=["send-activity-logs"], - help="Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.", - enum={"Disabled": "Disabled", "Enabled": "Enabled"}, - ) - log_rules.send_subscription_logs = AAZStrArg( - options=["send-subscription-logs"], - help="Flag specifying if subscription logs should be sent for the Monitor resource.", - enum={"Disabled": "Disabled", "Enabled": "Enabled"}, - ) - - filtering_tags = cls._args_schema.monitored_subscription_list.Element.tag_rules.log_rules.filtering_tags - filtering_tags.Element = AAZObjectArg() - cls._build_args_filtering_tag_create(filtering_tags.Element) - - metric_rules = cls._args_schema.monitored_subscription_list.Element.tag_rules.metric_rules - metric_rules.filtering_tags = AAZListArg( - options=["filtering-tags"], - help="List of filtering tags to be used for capturing metrics.", - ) - metric_rules.send_metrics = AAZStrArg( - options=["send-metrics"], - help="Flag specifying if metrics should be sent for the Monitor resource.", - enum={"Disabled": "Disabled", "Enabled": "Enabled"}, - ) - metric_rules.user_email = AAZStrArg( - options=["user-email"], - help="User Email", - fmt=AAZStrArgFormat( - pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$", - ), - ) - - filtering_tags = cls._args_schema.monitored_subscription_list.Element.tag_rules.metric_rules.filtering_tags - filtering_tags.Element = AAZObjectArg() - cls._build_args_filtering_tag_create(filtering_tags.Element) return cls._args_schema _args_filtering_tag_create = None @@ -198,7 +131,7 @@ def _build_args_filtering_tag_create(cls, _schema): def _execute_operations(self): self.pre_operations() - yield self.MonitoredSubscriptionsCreateorUpdate(ctx=self.ctx)() + yield self.MonitoredSubscriptionsCreateOrUpdate(ctx=self.ctx)() self.post_operations() @register_callback @@ -213,7 +146,7 @@ def _output(self, *args, **kwargs): result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) return result - class MonitoredSubscriptionsCreateorUpdate(AAZHttpOperation): + class MonitoredSubscriptionsCreateOrUpdate(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -225,7 +158,7 @@ def __call__(self, *args, **kwargs): session, self.on_200_201, self.on_error, - lro_options={"final-state-via": "azure-async-operation"}, + lro_options={"final-state-via": "location"}, path_format_arguments=self.url_parameters, ) if session.http_response.status_code in [200, 201]: @@ -234,7 +167,7 @@ def __call__(self, *args, **kwargs): session, self.on_200_201, self.on_error, - lro_options={"final-state-via": "azure-async-operation"}, + lro_options={"final-state-via": "location"}, path_format_arguments=self.url_parameters, ) @@ -281,7 +214,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2024-01-01", + "api-version", "2026-06-01", required=True, ), } @@ -319,36 +252,8 @@ def content(self): _elements = _builder.get(".properties.monitoredSubscriptionList[]") if _elements is not None: - _elements.set_prop("error", AAZStrType, ".error") _elements.set_prop("status", AAZStrType, ".status") _elements.set_prop("subscriptionId", AAZStrType, ".subscription_id") - _elements.set_prop("tagRules", AAZObjectType, ".tag_rules") - - tag_rules = _builder.get(".properties.monitoredSubscriptionList[].tagRules") - if tag_rules is not None: - tag_rules.set_prop("logRules", AAZObjectType, ".log_rules") - tag_rules.set_prop("metricRules", AAZObjectType, ".metric_rules") - - log_rules = _builder.get(".properties.monitoredSubscriptionList[].tagRules.logRules") - if log_rules is not None: - log_rules.set_prop("filteringTags", AAZListType, ".filtering_tags") - log_rules.set_prop("sendAadLogs", AAZStrType, ".send_aad_logs") - log_rules.set_prop("sendActivityLogs", AAZStrType, ".send_activity_logs") - log_rules.set_prop("sendSubscriptionLogs", AAZStrType, ".send_subscription_logs") - - filtering_tags = _builder.get(".properties.monitoredSubscriptionList[].tagRules.logRules.filteringTags") - if filtering_tags is not None: - _CreateHelper._build_schema_filtering_tag_create(filtering_tags.set_elements(AAZObjectType, ".")) - - metric_rules = _builder.get(".properties.monitoredSubscriptionList[].tagRules.metricRules") - if metric_rules is not None: - metric_rules.set_prop("filteringTags", AAZListType, ".filtering_tags") - metric_rules.set_prop("sendMetrics", AAZStrType, ".send_metrics") - metric_rules.set_prop("userEmail", AAZStrType, ".user_email") - - filtering_tags = _builder.get(".properties.monitoredSubscriptionList[].tagRules.metricRules.filteringTags") - if filtering_tags is not None: - _CreateHelper._build_schema_filtering_tag_create(filtering_tags.set_elements(AAZObjectType, ".")) return self.serialize_content(_content_value) @@ -377,6 +282,10 @@ def _build_schema_on_200_201(cls): flags={"read_only": True}, ) _schema_on_200_201.properties = AAZObjectType() + _schema_on_200_201.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) _schema_on_200_201.type = AAZStrType( flags={"read_only": True}, ) @@ -387,6 +296,7 @@ def _build_schema_on_200_201(cls): ) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", + flags={"read_only": True}, ) monitored_subscription_list = cls._schema_on_200_201.properties.monitored_subscription_list @@ -411,6 +321,7 @@ def _build_schema_on_200_201(cls): ) tag_rules.provisioning_state = AAZStrType( serialized_name="provisioningState", + flags={"read_only": True}, ) log_rules = cls._schema_on_200_201.properties.monitored_subscription_list.Element.tag_rules.log_rules @@ -446,6 +357,26 @@ def _build_schema_on_200_201(cls): filtering_tags.Element = AAZObjectType() _CreateHelper._build_schema_filtering_tag_read(filtering_tags.Element) + 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/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/monitored_subscription/_delete.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/monitored_subscription/_delete.py index 707d0b723e6..0d4ad6c16ec 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/monitored_subscription/_delete.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/monitored_subscription/_delete.py @@ -13,6 +13,7 @@ @register_command( "new-relic monitor monitored-subscription delete", + confirmation="Are you sure you want to perform this operation?", ) class Delete(AAZCommand): """Delete subscriptions being monitored by the New Relic monitor resource, removing their observability and monitoring capabilities. @@ -22,9 +23,9 @@ class Delete(AAZCommand): """ _aaz_info = { - "version": "2024-01-01", + "version": "2026-06-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{}", "2024-01-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{}", "2026-06-01"], ] } @@ -53,7 +54,7 @@ def _build_arguments_schema(cls, *args, **kwargs): default="default", enum={"default": "default"}, fmt=AAZStrArgFormat( - pattern="^.*$", + pattern="^[a-zA-Z0-9-]{3,24}$", ), ) _args_schema.monitor_name = AAZStrArg( @@ -66,8 +67,7 @@ def _build_arguments_schema(cls, *args, **kwargs): ), ) _args_schema.resource_group = AAZResourceGroupNameArg( - options=["--resource-group","--g"], - help="Name of resource group. You can configure the default group using `az configure --defaults group=`.", + options=["--resource-group", "-g", "--g"], required=True, ) return cls._args_schema @@ -95,27 +95,27 @@ def __call__(self, *args, **kwargs): return self.client.build_lro_polling( self.ctx.args.no_wait, session, - self.on_200, + self.on_200_201, self.on_error, - lro_options={"final-state-via": "azure-async-operation"}, + lro_options={"final-state-via": "location"}, path_format_arguments=self.url_parameters, ) - if session.http_response.status_code in [200]: + if session.http_response.status_code in [204]: return self.client.build_lro_polling( self.ctx.args.no_wait, session, - self.on_200, + self.on_204, self.on_error, - lro_options={"final-state-via": "azure-async-operation"}, + lro_options={"final-state-via": "location"}, path_format_arguments=self.url_parameters, ) - if session.http_response.status_code in [204]: + if session.http_response.status_code in [200, 201]: return self.client.build_lro_polling( self.ctx.args.no_wait, session, - self.on_204, + self.on_200_201, self.on_error, - lro_options={"final-state-via": "azure-async-operation"}, + lro_options={"final-state-via": "location"}, path_format_arguments=self.url_parameters, ) @@ -162,17 +162,18 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2024-01-01", + "api-version", "2026-06-01", required=True, ), } return parameters - def on_200(self, session): - pass def on_204(self, session): pass + def on_200_201(self, session): + pass + class _DeleteHelper: """Helper class for Delete""" diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/monitored_subscription/_list.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/monitored_subscription/_list.py new file mode 100644 index 00000000000..1daaec0767c --- /dev/null +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/monitored_subscription/_list.py @@ -0,0 +1,302 @@ +# -------------------------------------------------------------------------------------------- +# 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( + "new-relic monitor monitored-subscription list", +) +class List(AAZCommand): + """List the subscriptions currently being monitored by the New Relic monitor resource. + + :example: List the subscriptions currently being monitored by the NewRelic monitor resource. + az new-relic monitor monitored-subscription list --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor + """ + + _aaz_info = { + "version": "2026-06-01", + "resources": [ + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions", "2026-06-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.monitor_name = AAZStrArg( + options=["--monitor-name"], + help="Name of the Monitoring resource", + required=True, + fmt=AAZStrArgFormat( + pattern="^.*$", + ), + ) + _args_schema.resource_group = AAZResourceGroupNameArg( + options=["--resource-group"], + required=True, + ) + return cls._args_schema + + def _execute_operations(self): + self.pre_operations() + self.MonitoredSubscriptionsList(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 MonitoredSubscriptionsList(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/NewRelic.Observability/monitors/{monitorName}/monitoredSubscriptions", + **self.url_parameters + ) + + @property + def method(self): + return "GET" + + @property + def error_format(self): + return "MgmtErrorFormat" + + @property + def url_parameters(self): + parameters = { + **self.serialize_url_param( + "monitorName", self.ctx.args.monitor_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", "2026-06-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( + flags={"required": True}, + ) + + 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() + _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.monitored_subscription_list = AAZListType( + serialized_name="monitoredSubscriptionList", + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + monitored_subscription_list = cls._schema_on_200.value.Element.properties.monitored_subscription_list + monitored_subscription_list.Element = AAZObjectType() + + _element = cls._schema_on_200.value.Element.properties.monitored_subscription_list.Element + _element.error = AAZStrType() + _element.status = AAZStrType() + _element.subscription_id = AAZStrType( + serialized_name="subscriptionId", + ) + _element.tag_rules = AAZObjectType( + serialized_name="tagRules", + ) + + tag_rules = cls._schema_on_200.value.Element.properties.monitored_subscription_list.Element.tag_rules + tag_rules.log_rules = AAZObjectType( + serialized_name="logRules", + ) + tag_rules.metric_rules = AAZObjectType( + serialized_name="metricRules", + ) + tag_rules.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + log_rules = cls._schema_on_200.value.Element.properties.monitored_subscription_list.Element.tag_rules.log_rules + log_rules.filtering_tags = AAZListType( + serialized_name="filteringTags", + ) + log_rules.send_aad_logs = AAZStrType( + serialized_name="sendAadLogs", + ) + log_rules.send_activity_logs = AAZStrType( + serialized_name="sendActivityLogs", + ) + log_rules.send_subscription_logs = AAZStrType( + serialized_name="sendSubscriptionLogs", + ) + + filtering_tags = cls._schema_on_200.value.Element.properties.monitored_subscription_list.Element.tag_rules.log_rules.filtering_tags + filtering_tags.Element = AAZObjectType() + _ListHelper._build_schema_filtering_tag_read(filtering_tags.Element) + + metric_rules = cls._schema_on_200.value.Element.properties.monitored_subscription_list.Element.tag_rules.metric_rules + metric_rules.filtering_tags = AAZListType( + serialized_name="filteringTags", + ) + metric_rules.send_metrics = AAZStrType( + serialized_name="sendMetrics", + ) + metric_rules.user_email = AAZStrType( + serialized_name="userEmail", + ) + + filtering_tags = cls._schema_on_200.value.Element.properties.monitored_subscription_list.Element.tag_rules.metric_rules.filtering_tags + filtering_tags.Element = AAZObjectType() + _ListHelper._build_schema_filtering_tag_read(filtering_tags.Element) + + 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""" + + _schema_filtering_tag_read = None + + @classmethod + def _build_schema_filtering_tag_read(cls, _schema): + if cls._schema_filtering_tag_read is not None: + _schema.action = cls._schema_filtering_tag_read.action + _schema.name = cls._schema_filtering_tag_read.name + _schema.value = cls._schema_filtering_tag_read.value + return + + cls._schema_filtering_tag_read = _schema_filtering_tag_read = AAZObjectType() + + filtering_tag_read = _schema_filtering_tag_read + filtering_tag_read.action = AAZStrType() + filtering_tag_read.name = AAZStrType() + filtering_tag_read.value = AAZStrType() + + _schema.action = cls._schema_filtering_tag_read.action + _schema.name = cls._schema_filtering_tag_read.name + _schema.value = cls._schema_filtering_tag_read.value + + +__all__ = ["List"] diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/monitored_subscription/_show.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/monitored_subscription/_show.py index b4806b722a4..6deb9cb5309 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/monitored_subscription/_show.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/monitored_subscription/_show.py @@ -22,9 +22,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2024-01-01", + "version": "2026-06-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{}", "2024-01-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{}", "2026-06-01"], ] } @@ -52,7 +52,7 @@ def _build_arguments_schema(cls, *args, **kwargs): default="default", enum={"default": "default"}, fmt=AAZStrArgFormat( - pattern="^.*$", + pattern="^[a-zA-Z0-9-]{3,24}$", ), ) _args_schema.monitor_name = AAZStrArg( @@ -65,8 +65,7 @@ def _build_arguments_schema(cls, *args, **kwargs): ), ) _args_schema.resource_group = AAZResourceGroupNameArg( - options=["--resource-group","--g"], - help="Name of resource group. You can configure the default group using `az configure --defaults group=`.", + options=["--resource-group", "-g", "--g"], required=True, ) return cls._args_schema @@ -140,7 +139,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2024-01-01", + "api-version", "2026-06-01", required=True, ), } @@ -180,6 +179,10 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) _schema_on_200.properties = AAZObjectType() + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) _schema_on_200.type = AAZStrType( flags={"read_only": True}, ) @@ -190,6 +193,7 @@ def _build_schema_on_200(cls): ) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", + flags={"read_only": True}, ) monitored_subscription_list = cls._schema_on_200.properties.monitored_subscription_list @@ -214,6 +218,7 @@ def _build_schema_on_200(cls): ) tag_rules.provisioning_state = AAZStrType( serialized_name="provisioningState", + flags={"read_only": True}, ) log_rules = cls._schema_on_200.properties.monitored_subscription_list.Element.tag_rules.log_rules @@ -249,6 +254,26 @@ def _build_schema_on_200(cls): filtering_tags.Element = AAZObjectType() _ShowHelper._build_schema_filtering_tag_read(filtering_tags.Element) + 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/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/monitored_subscription/_update.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/monitored_subscription/_update.py index 0f9cd16ca6b..8e20c982d0e 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/monitored_subscription/_update.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/monitored_subscription/_update.py @@ -15,25 +15,21 @@ "new-relic monitor monitored-subscription update", ) class Update(AAZCommand): - """Update subscriptions to be monitored by the New Relic monitor resource, ensuring optimal observability and performance. + """Update a MonitoredSubscriptionProperties - :example: Update the subscriptions that should be monitored by the NewRelic monitor resource. - Please run below commands in the mentioned order - 1) az new-relic monitor monitored-subscription update --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --configuration-name default --patch-operation AddBegin --subscriptions "[{status:'InProgress',subscription-id:'subscription-id'}]" - 2) az new-relic monitor monitored-subscription update --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --configuration-name default --patch-operation AddComplete --subscriptions "[{status:'Active',subscription-id:'subscription-id'}]" + :example: Add an Azure subscription to a New Relic monitor + az new-relic monitor monitored-subscription update --resource-group myResourceGroup --monitor-name myNewRelicMonitor --configuration-name default --patch-operation AddBegin --monitored-subscription-list "[{subscription-id:/subscriptions/00000000-0000-0000-0000-000000000000,status:Active}]" """ _aaz_info = { - "version": "2024-01-01", + "version": "2026-06-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{}", "2024-01-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{}", "2026-06-01"], ] } AZ_SUPPORT_NO_WAIT = True - AZ_SUPPORT_GENERIC_UPDATE = True - def _handler(self, command_args): super()._handler(command_args) return self.build_lro_poller(self._execute_operations, self._output) @@ -50,18 +46,18 @@ def _build_arguments_schema(cls, *args, **kwargs): _args_schema = cls._args_schema _args_schema.configuration_name = AAZStrArg( - options=["--configuration-name"], + options=["-n", "--name", "--configuration-name"], help="The configuration name. Only 'default' value is supported.", required=True, id_part="child_name_1", enum={"default": "default"}, fmt=AAZStrArgFormat( - pattern="^.*$", + pattern="^[a-zA-Z0-9-]{3,24}$", ), ) _args_schema.monitor_name = AAZStrArg( options=["--monitor-name"], - help="Name of the Monitoring resource", + help="Name of the Monitors resource", required=True, id_part="name", fmt=AAZStrArgFormat( @@ -69,8 +65,7 @@ def _build_arguments_schema(cls, *args, **kwargs): ), ) _args_schema.resource_group = AAZResourceGroupNameArg( - options=["--resource-group","--g"], - help="Name of resource group. You can configure the default group using `az configure --defaults group=`.", + options=["--resource-group", "-g", "--g"], required=True, ) @@ -78,116 +73,30 @@ def _build_arguments_schema(cls, *args, **kwargs): _args_schema = cls._args_schema _args_schema.monitored_subscription_list = AAZListArg( - options=["-n", "--subscriptions", "--monitored-subscription-list"], + options=["--subscriptions", "--monitored-subscription-list"], arg_group="Properties", help="List of subscriptions and the state of the monitoring.", - nullable=True, ) _args_schema.patch_operation = AAZStrArg( options=["--patch-operation"], arg_group="Properties", help="The operation for the patch on the resource.", - nullable=True, enum={"Active": "Active", "AddBegin": "AddBegin", "AddComplete": "AddComplete", "DeleteBegin": "DeleteBegin", "DeleteComplete": "DeleteComplete"}, ) monitored_subscription_list = cls._args_schema.monitored_subscription_list - monitored_subscription_list.Element = AAZObjectArg( - nullable=True, - ) + monitored_subscription_list.Element = AAZObjectArg() _element = cls._args_schema.monitored_subscription_list.Element - _element.error = AAZStrArg( - options=["error"], - help="The reason of not monitoring the subscription.", - nullable=True, - ) _element.status = AAZStrArg( options=["status"], help="The state of monitoring.", - nullable=True, enum={"Active": "Active", "Deleting": "Deleting", "Failed": "Failed", "InProgress": "InProgress"}, ) _element.subscription_id = AAZStrArg( options=["subscription-id"], help="The subscriptionId to be monitored.", - nullable=True, - ) - _element.tag_rules = AAZObjectArg( - options=["tag-rules"], - help="The resource-specific properties for this resource.", - nullable=True, - ) - - tag_rules = cls._args_schema.monitored_subscription_list.Element.tag_rules - tag_rules.log_rules = AAZObjectArg( - options=["log-rules"], - help="Set of rules for sending logs for the Monitor resource.", - nullable=True, ) - tag_rules.metric_rules = AAZObjectArg( - options=["metric-rules"], - help="Set of rules for sending metrics for the Monitor resource.", - nullable=True, - ) - - log_rules = cls._args_schema.monitored_subscription_list.Element.tag_rules.log_rules - log_rules.filtering_tags = AAZListArg( - options=["filtering-tags"], - help="List of filtering tags to be used for capturing logs. This only takes effect if SendActivityLogs flag is enabled. If empty, all resources will be captured. If only Exclude action is specified, the rules will apply to the list of all available resources. If Include actions are specified, the rules will only include resources with the associated tags.", - nullable=True, - ) - log_rules.send_aad_logs = AAZStrArg( - options=["send-aad-logs"], - help="Flag specifying if AAD logs should be sent for the Monitor resource.", - nullable=True, - enum={"Disabled": "Disabled", "Enabled": "Enabled"}, - ) - log_rules.send_activity_logs = AAZStrArg( - options=["send-activity-logs"], - help="Flag specifying if activity logs from Azure resources should be sent for the Monitor resource.", - nullable=True, - enum={"Disabled": "Disabled", "Enabled": "Enabled"}, - ) - log_rules.send_subscription_logs = AAZStrArg( - options=["send-subscription-logs"], - help="Flag specifying if subscription logs should be sent for the Monitor resource.", - nullable=True, - enum={"Disabled": "Disabled", "Enabled": "Enabled"}, - ) - - filtering_tags = cls._args_schema.monitored_subscription_list.Element.tag_rules.log_rules.filtering_tags - filtering_tags.Element = AAZObjectArg( - nullable=True, - ) - cls._build_args_filtering_tag_update(filtering_tags.Element) - - metric_rules = cls._args_schema.monitored_subscription_list.Element.tag_rules.metric_rules - metric_rules.filtering_tags = AAZListArg( - options=["filtering-tags"], - help="List of filtering tags to be used for capturing metrics.", - nullable=True, - ) - metric_rules.send_metrics = AAZStrArg( - options=["send-metrics"], - help="Flag specifying if metrics should be sent for the Monitor resource.", - nullable=True, - enum={"Disabled": "Disabled", "Enabled": "Enabled"}, - ) - metric_rules.user_email = AAZStrArg( - options=["user-email"], - help="User Email", - nullable=True, - fmt=AAZStrArgFormat( - pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$", - ), - ) - - filtering_tags = cls._args_schema.monitored_subscription_list.Element.tag_rules.metric_rules.filtering_tags - filtering_tags.Element = AAZObjectArg( - nullable=True, - ) - cls._build_args_filtering_tag_update(filtering_tags.Element) return cls._args_schema _args_filtering_tag_update = None @@ -200,26 +109,21 @@ def _build_args_filtering_tag_update(cls, _schema): _schema.value = cls._args_filtering_tag_update.value return - cls._args_filtering_tag_update = AAZObjectArg( - nullable=True, - ) + cls._args_filtering_tag_update = AAZObjectArg() filtering_tag_update = cls._args_filtering_tag_update filtering_tag_update.action = AAZStrArg( options=["action"], help="Valid actions for a filtering tag. Exclusion takes priority over inclusion.", - nullable=True, enum={"Exclude": "Exclude", "Include": "Include"}, ) filtering_tag_update.name = AAZStrArg( options=["name"], help="The name (also known as the key) of the tag.", - nullable=True, ) filtering_tag_update.value = AAZStrArg( options=["value"], help="The value of the tag.", - nullable=True, ) _schema.action = cls._args_filtering_tag_update.action @@ -228,12 +132,7 @@ def _build_args_filtering_tag_update(cls, _schema): def _execute_operations(self): self.pre_operations() - self.MonitoredSubscriptionsGet(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) - yield self.MonitoredSubscriptionsCreateorUpdate(ctx=self.ctx)() + yield self.MonitoredSubscriptionsUpdate(ctx=self.ctx)() self.post_operations() @register_callback @@ -244,106 +143,11 @@ def pre_operations(self): def post_operations(self): pass - @register_callback - def pre_instance_update(self, instance): - pass - - @register_callback - def post_instance_update(self, instance): - pass - def _output(self, *args, **kwargs): result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True) return result - class MonitoredSubscriptionsGet(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/NewRelic.Observability/monitors/{monitorName}/monitoredSubscriptions/{configurationName}", - **self.url_parameters - ) - - @property - def method(self): - return "GET" - - @property - def error_format(self): - return "MgmtErrorFormat" - - @property - def url_parameters(self): - parameters = { - **self.serialize_url_param( - "configurationName", self.ctx.args.configuration_name, - required=True, - ), - **self.serialize_url_param( - "monitorName", self.ctx.args.monitor_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-01-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() - _UpdateHelper._build_schema_monitored_subscription_properties_read(cls._schema_on_200) - - return cls._schema_on_200 - - class MonitoredSubscriptionsCreateorUpdate(AAZHttpOperation): + class MonitoredSubscriptionsUpdate(AAZHttpOperation): CLIENT_TYPE = "MgmtClient" def __call__(self, *args, **kwargs): @@ -353,18 +157,18 @@ def __call__(self, *args, **kwargs): return self.client.build_lro_polling( self.ctx.args.no_wait, session, - self.on_200_201, + self.on_200, self.on_error, - lro_options={"final-state-via": "azure-async-operation"}, + lro_options={"final-state-via": "location"}, path_format_arguments=self.url_parameters, ) - if session.http_response.status_code in [200, 201]: + if session.http_response.status_code in [200]: return self.client.build_lro_polling( self.ctx.args.no_wait, session, - self.on_200_201, + self.on_200, self.on_error, - lro_options={"final-state-via": "azure-async-operation"}, + lro_options={"final-state-via": "location"}, path_format_arguments=self.url_parameters, ) @@ -379,7 +183,7 @@ def url(self): @property def method(self): - return "PUT" + return "PATCH" @property def error_format(self): @@ -411,7 +215,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2024-01-01", + "api-version", "2026-06-01", required=True, ), } @@ -433,41 +237,8 @@ def header_parameters(self): def content(self): _content_value, _builder = self.new_content_builder( self.ctx.args, - value=self.ctx.vars.instance, - ) - - return self.serialize_content(_content_value) - - def on_200_201(self, session): - data = self.deserialize_http_content(session) - self.ctx.set_var( - "instance", - data, - schema_builder=self._build_schema_on_200_201 - ) - - _schema_on_200_201 = None - - @classmethod - def _build_schema_on_200_201(cls): - if cls._schema_on_200_201 is not None: - return cls._schema_on_200_201 - - cls._schema_on_200_201 = AAZObjectType() - _UpdateHelper._build_schema_monitored_subscription_properties_read(cls._schema_on_200_201) - - return cls._schema_on_200_201 - - class InstanceUpdateByJson(AAZJsonInstanceUpdateOperation): - - def __call__(self, *args, **kwargs): - self._update_instance(self.ctx.vars.instance) - - def _update_instance(self, instance): - _instance_value, _builder = self.new_content_builder( - self.ctx.args, - value=instance, - typ=AAZObjectType + typ=AAZObjectType, + typ_kwargs={"flags": {"client_flatten": True}} ) _builder.set_prop("properties", AAZObjectType) @@ -482,47 +253,133 @@ def _update_instance(self, instance): _elements = _builder.get(".properties.monitoredSubscriptionList[]") if _elements is not None: - _elements.set_prop("error", AAZStrType, ".error") _elements.set_prop("status", AAZStrType, ".status") _elements.set_prop("subscriptionId", AAZStrType, ".subscription_id") - _elements.set_prop("tagRules", AAZObjectType, ".tag_rules") - tag_rules = _builder.get(".properties.monitoredSubscriptionList[].tagRules") - if tag_rules is not None: - tag_rules.set_prop("logRules", AAZObjectType, ".log_rules") - tag_rules.set_prop("metricRules", AAZObjectType, ".metric_rules") + return self.serialize_content(_content_value) - log_rules = _builder.get(".properties.monitoredSubscriptionList[].tagRules.logRules") - if log_rules is not None: - log_rules.set_prop("filteringTags", AAZListType, ".filtering_tags") - log_rules.set_prop("sendAadLogs", AAZStrType, ".send_aad_logs") - log_rules.set_prop("sendActivityLogs", AAZStrType, ".send_activity_logs") - log_rules.set_prop("sendSubscriptionLogs", AAZStrType, ".send_subscription_logs") + def on_200(self, session): + data = self.deserialize_http_content(session) + self.ctx.set_var( + "instance", + data, + schema_builder=self._build_schema_on_200 + ) - filtering_tags = _builder.get(".properties.monitoredSubscriptionList[].tagRules.logRules.filteringTags") - if filtering_tags is not None: - _UpdateHelper._build_schema_filtering_tag_update(filtering_tags.set_elements(AAZObjectType, ".")) + _schema_on_200 = None + + @classmethod + def _build_schema_on_200(cls): + if cls._schema_on_200 is not None: + return cls._schema_on_200 - metric_rules = _builder.get(".properties.monitoredSubscriptionList[].tagRules.metricRules") - if metric_rules is not None: - metric_rules.set_prop("filteringTags", AAZListType, ".filtering_tags") - metric_rules.set_prop("sendMetrics", AAZStrType, ".send_metrics") - metric_rules.set_prop("userEmail", AAZStrType, ".user_email") + cls._schema_on_200 = AAZObjectType() - filtering_tags = _builder.get(".properties.monitoredSubscriptionList[].tagRules.metricRules.filteringTags") - if filtering_tags is not None: - _UpdateHelper._build_schema_filtering_tag_update(filtering_tags.set_elements(AAZObjectType, ".")) + _schema_on_200 = cls._schema_on_200 + _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.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) + _schema_on_200.type = AAZStrType( + flags={"read_only": True}, + ) - return _instance_value + properties = cls._schema_on_200.properties + properties.monitored_subscription_list = AAZListType( + serialized_name="monitoredSubscriptionList", + ) + properties.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) - class InstanceUpdateByGeneric(AAZGenericInstanceUpdateOperation): + monitored_subscription_list = cls._schema_on_200.properties.monitored_subscription_list + monitored_subscription_list.Element = AAZObjectType() - def __call__(self, *args, **kwargs): - self._update_instance_by_generic( - self.ctx.vars.instance, - self.ctx.generic_update_args + _element = cls._schema_on_200.properties.monitored_subscription_list.Element + _element.error = AAZStrType() + _element.status = AAZStrType() + _element.subscription_id = AAZStrType( + serialized_name="subscriptionId", + ) + _element.tag_rules = AAZObjectType( + serialized_name="tagRules", ) + tag_rules = cls._schema_on_200.properties.monitored_subscription_list.Element.tag_rules + tag_rules.log_rules = AAZObjectType( + serialized_name="logRules", + ) + tag_rules.metric_rules = AAZObjectType( + serialized_name="metricRules", + ) + tag_rules.provisioning_state = AAZStrType( + serialized_name="provisioningState", + flags={"read_only": True}, + ) + + log_rules = cls._schema_on_200.properties.monitored_subscription_list.Element.tag_rules.log_rules + log_rules.filtering_tags = AAZListType( + serialized_name="filteringTags", + ) + log_rules.send_aad_logs = AAZStrType( + serialized_name="sendAadLogs", + ) + log_rules.send_activity_logs = AAZStrType( + serialized_name="sendActivityLogs", + ) + log_rules.send_subscription_logs = AAZStrType( + serialized_name="sendSubscriptionLogs", + ) + + filtering_tags = cls._schema_on_200.properties.monitored_subscription_list.Element.tag_rules.log_rules.filtering_tags + filtering_tags.Element = AAZObjectType() + _UpdateHelper._build_schema_filtering_tag_read(filtering_tags.Element) + + metric_rules = cls._schema_on_200.properties.monitored_subscription_list.Element.tag_rules.metric_rules + metric_rules.filtering_tags = AAZListType( + serialized_name="filteringTags", + ) + metric_rules.send_metrics = AAZStrType( + serialized_name="sendMetrics", + ) + metric_rules.user_email = AAZStrType( + serialized_name="userEmail", + ) + + filtering_tags = cls._schema_on_200.properties.monitored_subscription_list.Element.tag_rules.metric_rules.filtering_tags + filtering_tags.Element = AAZObjectType() + _UpdateHelper._build_schema_filtering_tag_read(filtering_tags.Element) + + 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 + class _UpdateHelper: """Helper class for Update""" @@ -556,100 +413,5 @@ def _build_schema_filtering_tag_read(cls, _schema): _schema.name = cls._schema_filtering_tag_read.name _schema.value = cls._schema_filtering_tag_read.value - _schema_monitored_subscription_properties_read = None - - @classmethod - def _build_schema_monitored_subscription_properties_read(cls, _schema): - if cls._schema_monitored_subscription_properties_read is not None: - _schema.id = cls._schema_monitored_subscription_properties_read.id - _schema.name = cls._schema_monitored_subscription_properties_read.name - _schema.properties = cls._schema_monitored_subscription_properties_read.properties - _schema.type = cls._schema_monitored_subscription_properties_read.type - return - - cls._schema_monitored_subscription_properties_read = _schema_monitored_subscription_properties_read = AAZObjectType() - - monitored_subscription_properties_read = _schema_monitored_subscription_properties_read - monitored_subscription_properties_read.id = AAZStrType( - flags={"read_only": True}, - ) - monitored_subscription_properties_read.name = AAZStrType( - flags={"read_only": True}, - ) - monitored_subscription_properties_read.properties = AAZObjectType() - monitored_subscription_properties_read.type = AAZStrType( - flags={"read_only": True}, - ) - - properties = _schema_monitored_subscription_properties_read.properties - properties.monitored_subscription_list = AAZListType( - serialized_name="monitoredSubscriptionList", - ) - properties.provisioning_state = AAZStrType( - serialized_name="provisioningState", - ) - - monitored_subscription_list = _schema_monitored_subscription_properties_read.properties.monitored_subscription_list - monitored_subscription_list.Element = AAZObjectType() - - _element = _schema_monitored_subscription_properties_read.properties.monitored_subscription_list.Element - _element.error = AAZStrType() - _element.status = AAZStrType() - _element.subscription_id = AAZStrType( - serialized_name="subscriptionId", - ) - _element.tag_rules = AAZObjectType( - serialized_name="tagRules", - ) - - tag_rules = _schema_monitored_subscription_properties_read.properties.monitored_subscription_list.Element.tag_rules - tag_rules.log_rules = AAZObjectType( - serialized_name="logRules", - ) - tag_rules.metric_rules = AAZObjectType( - serialized_name="metricRules", - ) - tag_rules.provisioning_state = AAZStrType( - serialized_name="provisioningState", - ) - - log_rules = _schema_monitored_subscription_properties_read.properties.monitored_subscription_list.Element.tag_rules.log_rules - log_rules.filtering_tags = AAZListType( - serialized_name="filteringTags", - ) - log_rules.send_aad_logs = AAZStrType( - serialized_name="sendAadLogs", - ) - log_rules.send_activity_logs = AAZStrType( - serialized_name="sendActivityLogs", - ) - log_rules.send_subscription_logs = AAZStrType( - serialized_name="sendSubscriptionLogs", - ) - - filtering_tags = _schema_monitored_subscription_properties_read.properties.monitored_subscription_list.Element.tag_rules.log_rules.filtering_tags - filtering_tags.Element = AAZObjectType() - cls._build_schema_filtering_tag_read(filtering_tags.Element) - - metric_rules = _schema_monitored_subscription_properties_read.properties.monitored_subscription_list.Element.tag_rules.metric_rules - metric_rules.filtering_tags = AAZListType( - serialized_name="filteringTags", - ) - metric_rules.send_metrics = AAZStrType( - serialized_name="sendMetrics", - ) - metric_rules.user_email = AAZStrType( - serialized_name="userEmail", - ) - - filtering_tags = _schema_monitored_subscription_properties_read.properties.monitored_subscription_list.Element.tag_rules.metric_rules.filtering_tags - filtering_tags.Element = AAZObjectType() - cls._build_schema_filtering_tag_read(filtering_tags.Element) - - _schema.id = cls._schema_monitored_subscription_properties_read.id - _schema.name = cls._schema_monitored_subscription_properties_read.name - _schema.properties = cls._schema_monitored_subscription_properties_read.properties - _schema.type = cls._schema_monitored_subscription_properties_read.type - __all__ = ["Update"] diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/monitored_subscription/_wait.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/monitored_subscription/_wait.py index 301426919c7..6d1def0730d 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/monitored_subscription/_wait.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/monitored_subscription/_wait.py @@ -20,7 +20,7 @@ class Wait(AAZWaitCommand): _aaz_info = { "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{}", "2024-01-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/monitoredsubscriptions/{}", "2026-06-01"], ] } @@ -48,7 +48,7 @@ def _build_arguments_schema(cls, *args, **kwargs): default="default", enum={"default": "default"}, fmt=AAZStrArgFormat( - pattern="^.*$", + pattern="^[a-zA-Z0-9-]{3,24}$", ), ) _args_schema.monitor_name = AAZStrArg( @@ -61,8 +61,7 @@ def _build_arguments_schema(cls, *args, **kwargs): ), ) _args_schema.resource_group = AAZResourceGroupNameArg( - options=["--resource-group","--g"], - help="Name of resource group. You can configure the default group using `az configure --defaults group=`.", + options=["--resource-group", "-g", "--g"], required=True, ) return cls._args_schema @@ -136,7 +135,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2024-01-01", + "api-version", "2026-06-01", required=True, ), } @@ -176,6 +175,10 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) _schema_on_200.properties = AAZObjectType() + _schema_on_200.system_data = AAZObjectType( + serialized_name="systemData", + flags={"read_only": True}, + ) _schema_on_200.type = AAZStrType( flags={"read_only": True}, ) @@ -186,6 +189,7 @@ def _build_schema_on_200(cls): ) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", + flags={"read_only": True}, ) monitored_subscription_list = cls._schema_on_200.properties.monitored_subscription_list @@ -210,6 +214,7 @@ def _build_schema_on_200(cls): ) tag_rules.provisioning_state = AAZStrType( serialized_name="provisioningState", + flags={"read_only": True}, ) log_rules = cls._schema_on_200.properties.monitored_subscription_list.Element.tag_rules.log_rules @@ -245,6 +250,26 @@ def _build_schema_on_200(cls): filtering_tags.Element = AAZObjectType() _WaitHelper._build_schema_filtering_tag_read(filtering_tags.Element) + 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/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/tag_rule/_create.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/tag_rule/_create.py index 8fd37d4a6c8..f1b323b8199 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/tag_rule/_create.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/tag_rule/_create.py @@ -17,14 +17,14 @@ class Create(AAZCommand): """Creates a new set of tag rules for a specific New Relic monitor resource, determining which Azure resources are monitored based on their tags. - :example: Create a TagRule. - az new-relic monitor tag-rule create --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default --log-rules "{send-aad-logs:'Enabled',send-subscription-logs:'Enabled',send-activity-logs:'Enabled',filtering-tags:[{name:'Environment',value:'Prod',action:'Include'}]}" --metric-rules "{user-email:'UserEmail@123.com',filtering-tags:[{name:'Environment',value:'Prod',action:'Include'}]}" + :example: Create a tag rule for a New Relic monitor + az new-relic monitor tag-rule create --resource-group myResourceGroup --monitor-name myNewRelicMonitor --name default --log-rules send-aad-logs=Enabled send-subscription-logs=Enabled send-activity-logs=Enabled filtering-tags=[] --metric-rules send-metrics=Enabled user-email=user@example.com filtering-tags="[{name:Environment,value:Production,action:Include}]" """ _aaz_info = { - "version": "2024-01-01", + "version": "2026-06-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{}", "2024-01-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{}", "2026-06-01"], ] } @@ -49,15 +49,19 @@ def _build_arguments_schema(cls, *args, **kwargs): options=["--monitor-name"], help="Name of the Monitoring resource", required=True, + fmt=AAZStrArgFormat( + pattern="^.*$", + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( - help="Name of resource group. You can configure the default group using `az configure --defaults group=`.", + options=["--resource-group", "-g"], required=True, ) - _args_schema.rule_set_name = AAZStrArg( - options=["-n", "--name", "--rule-set-name"], + _args_schema.name = AAZStrArg( + options=["--name", "-n", "--rule-set-name"], help="Name of the TagRule", required=True, + default="default", ) # define Arg Group "Properties" @@ -224,7 +228,7 @@ def url_parameters(self): required=True, ), **self.serialize_url_param( - "ruleSetName", self.ctx.args.rule_set_name, + "ruleSetName", self.ctx.args.name, required=True, ), **self.serialize_url_param( @@ -238,7 +242,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2024-01-01", + "api-version", "2026-06-01", required=True, ), } @@ -337,6 +341,7 @@ def _build_schema_on_200_201(cls): ) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", + flags={"read_only": True}, ) log_rules = cls._schema_on_200_201.properties.log_rules diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/tag_rule/_delete.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/tag_rule/_delete.py index a40a8a530b4..e1de031b8ef 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/tag_rule/_delete.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/tag_rule/_delete.py @@ -22,9 +22,9 @@ class Delete(AAZCommand): """ _aaz_info = { - "version": "2024-01-01", + "version": "2026-06-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{}", "2024-01-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{}", "2026-06-01"], ] } @@ -50,16 +50,20 @@ def _build_arguments_schema(cls, *args, **kwargs): help="Name of the Monitoring resource", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="^.*$", + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( - help="Name of resource group. You can configure the default group using `az configure --defaults group=`.", + options=["--resource-group", "-g"], required=True, ) - _args_schema.rule_set_name = AAZStrArg( - options=["-n", "--name", "--rule-set-name"], + _args_schema.name = AAZStrArg( + options=["--name", "-n", "--rule-set-name"], help="Name of the TagRule", required=True, id_part="child_name_1", + default="default", ) return cls._args_schema @@ -139,7 +143,7 @@ def url_parameters(self): required=True, ), **self.serialize_url_param( - "ruleSetName", self.ctx.args.rule_set_name, + "ruleSetName", self.ctx.args.name, required=True, ), **self.serialize_url_param( @@ -153,7 +157,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2024-01-01", + "api-version", "2026-06-01", required=True, ), } diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/tag_rule/_list.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/tag_rule/_list.py index 1c8847b9a05..87d1ebb7057 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/tag_rule/_list.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/tag_rule/_list.py @@ -22,9 +22,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2024-01-01", + "version": "2026-06-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules", "2024-01-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules", "2026-06-01"], ] } @@ -49,9 +49,12 @@ def _build_arguments_schema(cls, *args, **kwargs): options=["--monitor-name"], help="Name of the Monitoring resource", required=True, + fmt=AAZStrArgFormat( + pattern="^.*$", + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( - help="Name of resource group. You can configure the default group using `az configure --defaults group=`.", + options=["--resource-group", "-g"], required=True, ) return cls._args_schema @@ -122,7 +125,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2024-01-01", + "api-version", "2026-06-01", required=True, ), } @@ -192,6 +195,7 @@ def _build_schema_on_200(cls): ) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", + flags={"read_only": True}, ) log_rules = cls._schema_on_200.value.Element.properties.log_rules diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/tag_rule/_show.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/tag_rule/_show.py index 4cfe2b0ae00..44f0b33e8ec 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/tag_rule/_show.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/tag_rule/_show.py @@ -22,9 +22,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2024-01-01", + "version": "2026-06-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{}", "2024-01-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{}", "2026-06-01"], ] } @@ -49,16 +49,20 @@ def _build_arguments_schema(cls, *args, **kwargs): help="Name of the Monitoring resource", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="^.*$", + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( - help="Name of resource group. You can configure the default group using `az configure --defaults group=`.", + options=["--resource-group", "-g"], required=True, ) - _args_schema.rule_set_name = AAZStrArg( - options=["-n", "--name", "--rule-set-name"], + _args_schema.name = AAZStrArg( + options=["--name", "-n", "--rule-set-name"], help="Name of the TagRule", required=True, id_part="child_name_1", + default="default", ) return cls._args_schema @@ -117,7 +121,7 @@ def url_parameters(self): required=True, ), **self.serialize_url_param( - "ruleSetName", self.ctx.args.rule_set_name, + "ruleSetName", self.ctx.args.name, required=True, ), **self.serialize_url_param( @@ -131,7 +135,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2024-01-01", + "api-version", "2026-06-01", required=True, ), } @@ -190,6 +194,7 @@ def _build_schema_on_200(cls): ) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", + flags={"read_only": True}, ) log_rules = cls._schema_on_200.properties.log_rules diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/tag_rule/_update.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/tag_rule/_update.py index c77ed70b8c2..5ec1fb55f0a 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/tag_rule/_update.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/tag_rule/_update.py @@ -15,16 +15,13 @@ "new-relic monitor tag-rule update", ) class Update(AAZCommand): - """Updates the tag rules for a specific New Relic monitor resource, allowing you to modify the rules that control which Azure resources are monitored. - - :example: Update a TagRule. - az new-relic monitor tag-rule update --resource-group MyResourceGroup --monitor-name MyNewRelicMonitor --name default --log-rules "{send-aad-logs:'Enabled',send-subscription-logs:'Enabled',send-activity-logs:'Enabled',filtering-tags:[{name:'Environment',value:'Prod',action:'Include'}]}" --metric-rules "{user-email:'UserEmail@123.com',filtering-tags:[{name:'Environment',value:'Prod',action:'Include'}]}" + """Update the tag rules for a specific New Relic monitor resource, allowing you to modify the rules that control which Azure resources are monitored """ _aaz_info = { - "version": "2024-01-01", + "version": "2026-06-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{}", "2024-01-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{}", "2026-06-01"], ] } @@ -49,6 +46,9 @@ def _build_arguments_schema(cls, *args, **kwargs): help="Name of the Monitors resource", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="^.*$", + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( required=True, @@ -111,7 +111,7 @@ def _build_arguments_schema(cls, *args, **kwargs): ) metric_rules.user_email = AAZStrArg( options=["user-email"], - help="User Email", + help="Email address associated with the metric collection rules for the New Relic monitor.", fmt=AAZStrArgFormat( pattern="^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\\.)+[A-Za-z]{2,}$", ), @@ -222,7 +222,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2024-01-01", + "api-version", "2026-06-01", required=True, ), } @@ -321,6 +321,7 @@ def _build_schema_on_200(cls): ) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", + flags={"read_only": True}, ) log_rules = cls._schema_on_200.properties.log_rules @@ -412,4 +413,4 @@ def _build_schema_filtering_tag_read(cls, _schema): _schema.value = cls._schema_filtering_tag_read.value -__all__ = ["Update"] \ No newline at end of file +__all__ = ["Update"] diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/tag_rule/_wait.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/tag_rule/_wait.py index a29a906dfe2..0a23593b2b4 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/tag_rule/_wait.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/monitor/tag_rule/_wait.py @@ -20,7 +20,7 @@ class Wait(AAZWaitCommand): _aaz_info = { "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{}", "2024-01-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/newrelic.observability/monitors/{}/tagrules/{}", "2026-06-01"], ] } @@ -45,16 +45,20 @@ def _build_arguments_schema(cls, *args, **kwargs): help="Name of the Monitoring resource", required=True, id_part="name", + fmt=AAZStrArgFormat( + pattern="^.*$", + ), ) _args_schema.resource_group = AAZResourceGroupNameArg( - help="Name of resource group. You can configure the default group using `az configure --defaults group=`.", + options=["--resource-group", "-g"], required=True, ) - _args_schema.rule_set_name = AAZStrArg( - options=["-n", "--name", "--rule-set-name"], + _args_schema.name = AAZStrArg( + options=["--name", "-n", "--rule-set-name"], help="Name of the TagRule", required=True, id_part="child_name_1", + default="default", ) return cls._args_schema @@ -113,7 +117,7 @@ def url_parameters(self): required=True, ), **self.serialize_url_param( - "ruleSetName", self.ctx.args.rule_set_name, + "ruleSetName", self.ctx.args.name, required=True, ), **self.serialize_url_param( @@ -127,7 +131,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2024-01-01", + "api-version", "2026-06-01", required=True, ), } @@ -186,6 +190,7 @@ def _build_schema_on_200(cls): ) properties.provisioning_state = AAZStrType( serialized_name="provisioningState", + flags={"read_only": True}, ) log_rules = cls._schema_on_200.properties.log_rules diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/organization/_list.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/organization/_list.py index 39c8c93abfe..5f73c40bbbb 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/organization/_list.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/organization/_list.py @@ -22,9 +22,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2024-01-01", + "version": "2026-06-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/providers/newrelic.observability/organizations", "2024-01-01"], + ["mgmt-plane", "/subscriptions/{}/providers/newrelic.observability/organizations", "2026-06-01"], ] } @@ -123,7 +123,7 @@ def query_parameters(self): required=True, ), **self.serialize_query_param( - "api-version", "2024-01-01", + "api-version", "2026-06-01", required=True, ), } diff --git a/src/new-relic/azext_new_relic/aaz/latest/new_relic/plan/_list.py b/src/new-relic/azext_new_relic/aaz/latest/new_relic/plan/_list.py index 27ac673d0f7..43e3876ff53 100644 --- a/src/new-relic/azext_new_relic/aaz/latest/new_relic/plan/_list.py +++ b/src/new-relic/azext_new_relic/aaz/latest/new_relic/plan/_list.py @@ -22,9 +22,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2024-01-01", + "version": "2026-06-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/providers/newrelic.observability/plans", "2024-01-01"], + ["mgmt-plane", "/subscriptions/{}/providers/newrelic.observability/plans", "2026-06-01"], ] } @@ -119,7 +119,7 @@ def query_parameters(self): "organizationId", self.ctx.args.organization_id, ), **self.serialize_query_param( - "api-version", "2024-01-01", + "api-version", "2026-06-01", required=True, ), } diff --git a/src/new-relic/azext_new_relic/azext_metadata.json b/src/new-relic/azext_new_relic/azext_metadata.json index 9d0fefa5401..06012c7c942 100644 --- a/src/new-relic/azext_new_relic/azext_metadata.json +++ b/src/new-relic/azext_new_relic/azext_metadata.json @@ -1,3 +1,3 @@ { - "azext.minCliCoreVersion": "2.61.0" + "azext.minCliCoreVersion": "2.75.0" } \ No newline at end of file diff --git a/src/new-relic/azext_new_relic/tests/latest/recordings/test_new_relic_monitor.yaml b/src/new-relic/azext_new_relic/tests/latest/recordings/test_new_relic_monitor.yaml index 0be567f3b80..67fc0ea4c3c 100644 --- a/src/new-relic/azext_new_relic/tests/latest/recordings/test_new_relic_monitor.yaml +++ b/src/new-relic/azext_new_relic/tests/latest/recordings/test_new_relic_monitor.yaml @@ -1,11 +1,11 @@ interactions: - request: - body: '{"location": "eastus", "properties": {"accountCreationSource": "LIFTR", - "orgCreationSource": "LIFTR", "planData": {"billingCycle": "MONTHLY", "effectiveDate": - "2023-10-25T13:14:33.000Z", "planDetails": "newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg", - "usageType": "PAYG"}, "userInfo": {"emailAddress": "dipeshbhakat@microsoft.com", - "firstName": "Dipesh", "lastName": "Bhakat", "phoneNumber": "123456"}}, "tags": - {"key6976": "oaxfhf"}}' + body: '{"identity": {"type": "SystemAssigned"}, "location": "eastus", "properties": + {"accountCreationSource": "LIFTR", "orgCreationSource": "LIFTR", "planData": + {"billingCycle": "MONTHLY", "effectiveDate": "2026-06-01T00:00:00.000Z", "planDetails": + "newrelic-pay-as-you-go-free-live@TIDn7ja87drquhy@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg_2025", + "usageType": "PAYG"}, "userInfo": {"emailAddress": "test@example.com", "firstName": + "Test", "lastName": "User", "phoneNumber": "123456"}}, "tags": {"key6976": "oaxfhf"}}' headers: Accept: - application/json @@ -16,38 +16,40 @@ interactions: Connection: - keep-alive Content-Length: - - '487' + - '518' Content-Type: - application/json ParameterSetName: - --resource-group --name --location --user-info --plan-data --account-creation-source --org-creation-source --tags User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) + - AZURECLI/2.90.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor?api-version=2024-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor?api-version=2026-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor","name":"test-new-relic-monitor","type":"newrelic.observability/monitors","location":"eastus","tags":{"key6976":"oaxfhf"},"systemData":{"createdBy":"dipeshbhakat@microsoft.com","createdByType":"User","createdAt":"2024-03-26T11:37:49.7024347Z","lastModifiedBy":"dipeshbhakat@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-03-26T11:37:49.7024347Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Accepted","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"userId":null,"accountInfo":null,"organizationInfo":null},"userInfo":{"firstName":"Dipesh","lastName":"Bhakat","emailAddress":"dipeshbhakat@microsoft.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-10-25T13:14:33Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor","name":"test-new-relic-monitor","type":"newrelic.observability/monitors","location":"eastus","tags":{"key6976":"oaxfhf"},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-09-03T19:26:33.6493563Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-09-03T19:26:33.6493563Z"},"identity":{"principalId":"e46750a2-55c3-459b-be3f-3a0f33f7d215","tenantId":"00000000-0000-0000-0000-000000000000","type":"SystemAssigned"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Accepted","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"userId":null,"accountInfo":null,"organizationInfo":null},"userInfo":{"firstName":"Test","lastName":"User","emailAddress":"test@example.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDn7ja87drquhy@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg_2025","effectiveDate":"2026-06-01T00:00:00Z"},"saaSData":null,"saaSAzureSubscriptionStatus":null,"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}}' headers: + azure-asyncnotification: + - Enabled azure-asyncoperation: - - https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/2bb14a9c-bc36-4c02-b8c6-b8be0c890cfc*3E834572C32600F998162467FA428B1E261120E091B958FE9AABB52049FA1927?api-version=2024-01-01&t=638470498760618338&c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0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kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q&s=QNt_2fy5etfIEcRcRq9d2KlyN8ROypzpN-DMXrdCRXd3FXzOcgtd5zqCELLOvPQgt37-EwlbS6qKBe-vix8WTKJbFZZMtMpaiUWbEIlD9RNIzl1rXCYbZmd-Gm993J_K8bPC5n-dkG8h3-DySysbNiajrtQnFshL2945MVqFIVoMhzPFGfZ8HjYS6WefP5w0VZZo0H1y5hF-hQqPfKBozjHp5b1Vfvoskf26MPohUV5wiaV9tEctlGTyhYC8JEh2TbJrJpTdxV_-PP-oqZNCU13bBPbmP8PMLINTzA3X6qM0q8uYQWU1bZRrngXtfhQw5duVp2jCFfazMy9MKydkwQ&h=J7Bey8vgTjlt-7yryslWb4elOmb_jhxd34zUo_5ppts + - https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/5efbfbe3-c3fa-4212-aa05-c9b50b75d093*DA7A5B9B9621A9FBF85CC945AAF0119FA2854DF10ADDF5B2AF5546F6580D6F58?api-version=2026-06-01&t=639240604031180613&c=MIIHlDCCBnygAwIBAgIQbFnfFOz7A_VYWYwd_BJ05zANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBFVVMyIENBIDAxMB4XDTI2MDgxMzIzNDk1NFoXDTI3MDIwOTA1NDk1NFowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdlbWVudC5henVyZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDhZUPWC_r-S0zyqqusEeSkNqqajuPdy1ZzcQlo4djteyJdwwWNTajAhE0_qUhb8ca-OR_1c9m4sOd9we--hSIuMLXjHhAT7t27MWD-8oa4ZCEMb-76qcQs9HLEUStp7e6RX7LNVjJjLZ8xvkLV7nYiiybkP4E4iYAPDjMhmeu2QH0W2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b_QCS8QTFViWULTEQe2KyTpZbqc37g7PDWR93VDMyjnM_Om5s8H136KxyfZc1ieLQrlPYt-rf6lUu2Fli1ys7_dm6tYTkrNfFryDTn1v-k2KvArgu_-iif_OG4tY7SdibAXhF4_f3yDLniaw-0dl9NUlvAIcJ-_1h9QAzJ5W0w4vSHkLNcEQEgfcK_cz3AXoTN5WtZICuHjj0I-OSplJ6bETrlGli6k7PIVzHJnA8qgFsSPS3ai89LB2xHKpJv-S-ZrtQvUzF3MGrqIQLaDsRrTP912XYR8XQ&h=o_iGa5hu52wAyT28qERh-sg4kQ3zA5mfhtctabNAu3U cache-control: - no-cache content-length: - - '1199' + - '1361' content-type: - application/json; charset=utf-8 date: - - Tue, 26 Mar 2024 11:37:55 GMT + - Thu, 03 Sep 2026 19:26:42 GMT etag: - - '"a90013d1-0000-0100-0000-6602b3930000"' + - '"f700462d-0000-0100-0000-6a99c9f00000"' expires: - '-1' location: - - https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/2bb14a9c-bc36-4c02-b8c6-b8be0c890cfc*3E834572C32600F998162467FA428B1E261120E091B958FE9AABB52049FA1927?api-version=2024-01-01&t=638470498760774441&c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK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l2yXQ3ERkAe4i3Vh9a565SzfJ2KkO0PU3acJDDrfFJXJRoV9bSagCmUHcRpxZnjo96TyBH6VMT0hSSp2TPkaRC2A308RE7Bqi85kIi4fA3er7C5D4wfPUsRO-oeLmMabryQJdoe7MbHPb57d5XUqSE0jliN3st3hKwaw&h=vJ-u4q6oBp1VT5GDtpJZW_fRdz0PRZWNCIFDnizFCyY + - https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/5efbfbe3-c3fa-4212-aa05-c9b50b75d093*DA7A5B9B9621A9FBF85CC945AAF0119FA2854DF10ADDF5B2AF5546F6580D6F58?api-version=2026-06-01&t=639240604031180613&c=MIIHlDCCBnygAwIBAgIQbFnfFOz7A_VYWYwd_BJ05zANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBFVVMyIENBIDAxMB4XDTI2MDgxMzIzNDk1NFoXDTI3MDIwOTA1NDk1NFowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdlbWVudC5henVyZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDhZUPWC_r-S0zyqqusEeSkNqqajuPdy1ZzcQlo4djteyJdwwWNTajAhE0_qUhb8ca-OR_1c9m4sOd9we--hSIuMLXjHhAT7t27MWD-8oa4ZCEMb-76qcQs9HLEUStp7e6RX7LNVjJjLZ8xvkLV7nYiiybkP4E4iYAPDjMhmeu2QH0W2eFB9lq1Nu_iInkGeBK678fHjt_rW6tVcyMHcYpEUVaRZapbCWsfZmBTvk5I7T47dB5_0cqsh13V7f5MEm_Wyn2BAj8lul85GhxL3p8H8jIQEiKqVXnOa_hC5s1xlIKolbh7OW0P33wjATfEXYHJJXUCvWbH92FTFyEJhJZVAgMBAAGjggSSMIIEjjCBnQYDVR0gBIGVMIGSMAwGCisGAQQBgjd7AQEwZgYKKwYBBAG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I_w8xQ3mS0oOD-Ya_h7LxL3qVkdp2_KRh8jYDWbdRPzl2HeRUzpJw&h=o_iGa5hu52wAyT28qERh-sg4kQ3zA5mfhtctabNAu3U mise-correlation-id: - - 8617f94e-20e7-48dc-92ec-6a3fddf31fcc + - 9d60b4e2-1799-442c-96f9-7cbda7aceaf7 pragma: - no-cache request-context: @@ -58,12 +60,20 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-async-operation-timeout: + - P6D + x-ms-operation-identifier: + - tenantId=00000000-0000-0000-0000-000000000000,objectId=00000000-0000-0000-0000-000000000000/southeastasia/f6f566eb-d08b-4731-ac82-1624e3f0e26e x-ms-providerhub-traffic: - 'True' + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '199' + x-ms-resource-provider-hint: + - noPolling x-msedge-ref: - - 'Ref A: B4942217AB84480491753F3D21A97AE0 Ref B: MAA201060514053 Ref C: 2024-03-26T11:37:48Z' + - 'Ref A: 3E12CF843C494508A2BBBF915924F595 Ref B: SG2AA1070305062 Ref C: 2026-09-03T19:26:29Z' status: code: 201 message: Created @@ -82,23 +92,72 @@ interactions: - --resource-group --name --location --user-info --plan-data --account-creation-source --org-creation-source --tags User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) + - AZURECLI/2.90.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/2bb14a9c-bc36-4c02-b8c6-b8be0c890cfc*3E834572C32600F998162467FA428B1E261120E091B958FE9AABB52049FA1927?api-version=2024-01-01&t=638470498760618338&c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwF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yfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q&s=QNt_2fy5etfIEcRcRq9d2KlyN8ROypzpN-DMXrdCRXd3FXzOcgtd5zqCELLOvPQgt37-EwlbS6qKBe-vix8WTKJbFZZMtMpaiUWbEIlD9RNIzl1rXCYbZmd-Gm993J_K8bPC5n-dkG8h3-DySysbNiajrtQnFshL2945MVqFIVoMhzPFGfZ8HjYS6WefP5w0VZZo0H1y5hF-hQqPfKBozjHp5b1Vfvoskf26MPohUV5wiaV9tEctlGTyhYC8JEh2TbJrJpTdxV_-PP-oqZNCU13bBPbmP8PMLINTzA3X6qM0q8uYQWU1bZRrngXtfhQw5duVp2jCFfazMy9MKydkwQ&h=J7Bey8vgTjlt-7yryslWb4elOmb_jhxd34zUo_5ppts + uri: https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/5efbfbe3-c3fa-4212-aa05-c9b50b75d093*DA7A5B9B9621A9FBF85CC945AAF0119FA2854DF10ADDF5B2AF5546F6580D6F58?api-version=2026-06-01&t=639240604031180613&c=MIIHlDCCBnygAwIBAgIQbFnfFOz7A_VYWYwd_BJ05zANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBFVVMyIENBIDAxMB4XDTI2MDgxMzIzNDk1NFoXDTI3MDIwOTA1NDk1NFowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdlbWVudC5henVyZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDhZUPWC_r-S0zyqqusEeSkNqqajuPdy1ZzcQlo4djteyJdwwWNTajAhE0_qUhb8ca-OR_1c9m4sOd9we--hSIuMLXjHhAT7t27MWD-8oa4ZC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ooeTBYUo_A3&s=MWSt1NhBqDkoBHLFwTktIjkjEC4edjlDyNilmwf8G4DliGQ9Z0Z-0b_QCS8QTFViWULTEQe2KyTpZbqc37g7PDWR93VDMyjnM_Om5s8H136KxyfZc1ieLQrlPYt-rf6lUu2Fli1ys7_dm6tYTkrNfFryDTn1v-k2KvArgu_-iif_OG4tY7SdibAXhF4_f3yDLniaw-0dl9NUlvAIcJ-_1h9QAzJ5W0w4vSHkLNcEQEgfcK_cz3AXoTN5WtZICuHjj0I-OSplJ6bETrlGli6k7PIVzHJnA8qgFsSPS3ai89LB2xHKpJv-S-ZrtQvUzF3MGrqIQLaDsRrTP912XYR8XQ&h=o_iGa5hu52wAyT28qERh-sg4kQ3zA5mfhtctabNAu3U response: body: - string: '{"id":"/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/2bb14a9c-bc36-4c02-b8c6-b8be0c890cfc*3E834572C32600F998162467FA428B1E261120E091B958FE9AABB52049FA1927","name":"2bb14a9c-bc36-4c02-b8c6-b8be0c890cfc*3E834572C32600F998162467FA428B1E261120E091B958FE9AABB52049FA1927","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor","status":"Accepted","startTime":"2024-03-26T11:37:54.4733148Z"}' + string: '{"id":"/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/5efbfbe3-c3fa-4212-aa05-c9b50b75d093*DA7A5B9B9621A9FBF85CC945AAF0119FA2854DF10ADDF5B2AF5546F6580D6F58","name":"5efbfbe3-c3fa-4212-aa05-c9b50b75d093*DA7A5B9B9621A9FBF85CC945AAF0119FA2854DF10ADDF5B2AF5546F6580D6F58","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor","status":"Accepted","startTime":"2026-09-03T19:26:38.103853Z"}' headers: cache-control: - no-cache content-length: - - '533' + - '532' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 03 Sep 2026 19:26:44 GMT + etag: + - '"3e00bd79-0000-0100-0000-6a99c9ee0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-cache: + - CONFIG_NOCACHE + x-content-type-options: + - nosniff + x-ms-operation-identifier: + - '' + x-msedge-ref: + - 'Ref A: 2185E03407EB4F61AF04A1E46F42501B Ref B: SG2AA1070303034 Ref C: 2026-09-03T19:26:44Z' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - new-relic monitor create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --name --location --user-info --plan-data --account-creation-source + --org-creation-source --tags + User-Agent: + - AZURECLI/2.90.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) + method: GET + uri: https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/5efbfbe3-c3fa-4212-aa05-c9b50b75d093*DA7A5B9B9621A9FBF85CC945AAF0119FA2854DF10ADDF5B2AF5546F6580D6F58?api-version=2026-06-01&t=639240604031180613&c=MIIHlDCCBnygAwIBAgIQbFnfFOz7A_VYWYwd_BJ05zANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBFVVMyIENBIDAxMB4XDTI2MDgxMzIzNDk1NFoXDTI3MDIwOTA1NDk1NFowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdlbWVudC5henVyZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDhZUPWC_r-S0zyqqusEeSkNqqajuPdy1ZzcQlo4djteyJdwwWNTajAhE0_qUhb8ca-OR_1c9m4sOd9we--hSIuMLXjHhAT7t27MWD-8oa4ZCEMb-76qcQs9HLEUStp7e6RX7LNVjJjL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wTktIjkjEC4edjlDyNilmwf8G4DliGQ9Z0Z-0b_QCS8QTFViWULTEQe2KyTpZbqc37g7PDWR93VDMyjnM_Om5s8H136KxyfZc1ieLQrlPYt-rf6lUu2Fli1ys7_dm6tYTkrNfFryDTn1v-k2KvArgu_-iif_OG4tY7SdibAXhF4_f3yDLniaw-0dl9NUlvAIcJ-_1h9QAzJ5W0w4vSHkLNcEQEgfcK_cz3AXoTN5WtZICuHjj0I-OSplJ6bETrlGli6k7PIVzHJnA8qgFsSPS3ai89LB2xHKpJv-S-ZrtQvUzF3MGrqIQLaDsRrTP912XYR8XQ&h=o_iGa5hu52wAyT28qERh-sg4kQ3zA5mfhtctabNAu3U + response: + body: + string: '{"id":"/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/5efbfbe3-c3fa-4212-aa05-c9b50b75d093*DA7A5B9B9621A9FBF85CC945AAF0119FA2854DF10ADDF5B2AF5546F6580D6F58","name":"5efbfbe3-c3fa-4212-aa05-c9b50b75d093*DA7A5B9B9621A9FBF85CC945AAF0119FA2854DF10ADDF5B2AF5546F6580D6F58","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor","status":"Accepted","startTime":"2026-09-03T19:26:38.103853Z"}' + headers: + cache-control: + - no-cache + content-length: + - '532' content-type: - application/json; charset=utf-8 date: - - Tue, 26 Mar 2024 11:37:56 GMT + - Thu, 03 Sep 2026 19:27:16 GMT etag: - - '"ed00e6cd-0000-0100-0000-6602b3920000"' + - '"3e00bd79-0000-0100-0000-6a99c9ee0000"' expires: - '-1' pragma: @@ -109,8 +168,10 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - '' x-msedge-ref: - - 'Ref A: 6DF9A86A67894AAB8B37CC64F29DDB15 Ref B: MAA201060514053 Ref C: 2024-03-26T11:37:56Z' + - 'Ref A: D30ED07C3F4745B69513E2A5EA2AEA48 Ref B: SG2AA1070301029 Ref C: 2026-09-03T19:27:15Z' status: code: 200 message: OK @@ -129,23 +190,23 @@ interactions: - --resource-group --name --location --user-info --plan-data --account-creation-source --org-creation-source --tags User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) + - AZURECLI/2.90.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/2bb14a9c-bc36-4c02-b8c6-b8be0c890cfc*3E834572C32600F998162467FA428B1E261120E091B958FE9AABB52049FA1927?api-version=2024-01-01&t=638470498760618338&c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcV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uY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q&s=QNt_2fy5etfIEcRcRq9d2KlyN8ROypzpN-DMXrdCRXd3FXzOcgtd5zqCELLOvPQgt37-EwlbS6qKBe-vix8WTKJbFZZMtMpaiUWbEIlD9RNIzl1rXCYbZmd-Gm993J_K8bPC5n-dkG8h3-DySysbNiajrtQnFshL2945MVqFIVoMhzPFGfZ8HjYS6WefP5w0VZZo0H1y5hF-hQqPfKBozjHp5b1Vfvoskf26MPohUV5wiaV9tEctlGTyhYC8JEh2TbJrJpTdxV_-PP-oqZNCU13bBPbmP8PMLINTzA3X6qM0q8uYQWU1bZRrngXtfhQw5duVp2jCFfazMy9MKydkwQ&h=J7Bey8vgTjlt-7yryslWb4elOmb_jhxd34zUo_5ppts + uri: https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/5efbfbe3-c3fa-4212-aa05-c9b50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EwMS9jZXJ0LmNlcjBmBggrBgEFBQcwAoZaaHR0cDovL2NjbWVlYXN0dXMycGtpLmVhc3R1czIucGtpLmNvcmUud2luZG93cy5uZXQvY2VydGlmaWNhdGVBdXRob3JpdGllcy9jY21lZWFzdHVzMmljYTAxMA0GCSqGSIb3DQEBCwUAA4IBAQArBoYZle5U9KReq2R_QLQTC0HpQaitJkId8eDHwRk7WQsLp_JeTtDmTrwkpDAVevurHGj37cSwNzE6fwMZ2qw8TfQyzjACa4kSjTAUyMPumkRas3EHcbtAMTKK_mpum7pBbb0QwWcY3_Iny-txJ0TsAqTbQ9kbGaYBCKXsExLO49xq4Jea64MaxYnk5zhAQ37_kiZbqhegZRfmm0aPdOpq25_lquN-4M4jx_rPWzn1LsMWtiHDldsZf030tHhdS-l4r_WYo_yDs6hAuU6HGacLKshNbbszUNa7q23pSue4dO9tiYywAwnIXStZlJrPbJwnycF6bqWS3ooeTBYUo_A3&s=MWSt1NhBqDkoBHLFwTktIjkjEC4edjlDyNilmwf8G4DliGQ9Z0Z-0b_QCS8QTFViWULTEQe2KyTpZbqc37g7PDWR93VDMyjnM_Om5s8H136KxyfZc1ieLQrlPYt-rf6lUu2Fli1ys7_dm6tYTkrNfFryDTn1v-k2KvArgu_-iif_OG4tY7SdibAXhF4_f3yDLniaw-0dl9NUlvAIcJ-_1h9QAzJ5W0w4vSHkLNcEQEgfcK_cz3AXoTN5WtZICuHjj0I-OSplJ6bETrlGli6k7PIVzHJnA8qgFsSPS3ai89LB2xHKpJv-S-ZrtQvUzF3MGrqIQLaDsRrTP912XYR8XQ&h=o_iGa5hu52wAyT28qERh-sg4kQ3zA5mfhtctabNAu3U response: body: - string: '{"id":"/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/2bb14a9c-bc36-4c02-b8c6-b8be0c890cfc*3E834572C32600F998162467FA428B1E261120E091B958FE9AABB52049FA1927","name":"2bb14a9c-bc36-4c02-b8c6-b8be0c890cfc*3E834572C32600F998162467FA428B1E261120E091B958FE9AABB52049FA1927","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor","status":"Succeeded","startTime":"2024-03-26T11:37:54.4733148Z","endTime":"2024-03-26T11:38:27.7696101Z","error":{"additionalInfo":[null]},"properties":null}' + string: '{"id":"/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/5efbfbe3-c3fa-4212-aa05-c9b50b75d093*DA7A5B9B9621A9FBF85CC945AAF0119FA2854DF10ADDF5B2AF5546F6580D6F58","name":"5efbfbe3-c3fa-4212-aa05-c9b50b75d093*DA7A5B9B9621A9FBF85CC945AAF0119FA2854DF10ADDF5B2AF5546F6580D6F58","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor","status":"Succeeded","startTime":"2026-09-03T19:26:38.103853Z","endTime":"2026-09-03T19:27:37.7335978Z","error":{},"properties":null}' headers: cache-control: - no-cache content-length: - - '627' + - '603' content-type: - application/json; charset=utf-8 date: - - Tue, 26 Mar 2024 11:38:27 GMT + - Thu, 03 Sep 2026 19:27:47 GMT etag: - - '"ed0013d1-0000-0100-0000-6602b3b30000"' + - '"3e00d279-0000-0100-0000-6a99ca290000"' expires: - '-1' pragma: @@ -156,8 +217,10 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - '' x-msedge-ref: - - 'Ref A: F9F14A8EC8264A94935383A5C3CF295A Ref B: MAA201060514053 Ref C: 2024-03-26T11:38:26Z' + - 'Ref A: CDEFE5FF581E4DF496E26167468E3A15 Ref B: SG2AA1070305025 Ref C: 2026-09-03T19:27:47Z' status: code: 200 message: OK @@ -176,23 +239,23 @@ interactions: - --resource-group --name --location --user-info --plan-data --account-creation-source --org-creation-source --tags User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) + - AZURECLI/2.90.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor?api-version=2024-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor?api-version=2026-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor","name":"test-new-relic-monitor","type":"newrelic.observability/monitors","location":"eastus","tags":{"key6976":"oaxfhf"},"systemData":{"createdBy":"dipeshbhakat@microsoft.com","createdByType":"User","createdAt":"2024-03-26T11:37:49.7024347Z","lastModifiedBy":"dipeshbhakat@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-03-26T11:37:49.7024347Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"4401982"},"organizationInfo":{"organizationId":"af29c77d-721e-43a2-a60b-ac0e10b580d0"}},"userInfo":{"firstName":"Dipesh","lastName":"Bhakat","emailAddress":"dipeshbhakat@microsoft.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-10-25T13:14:33Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor","name":"test-new-relic-monitor","type":"newrelic.observability/monitors","location":"eastus","tags":{"key6976":"oaxfhf"},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-09-03T19:26:33.6493563Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-09-03T19:26:33.6493563Z"},"identity":{"principalId":"e46750a2-55c3-459b-be3f-3a0f33f7d215","tenantId":"00000000-0000-0000-0000-000000000000","type":"SystemAssigned"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"8472194"},"organizationInfo":{"organizationId":"f2886261-d821-47a6-859f-e7bede8d4919"}},"userInfo":{"firstName":"Test","lastName":"User","emailAddress":"test@example.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDn7ja87drquhy@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg_2025","effectiveDate":"2026-06-01T00:00:00Z"},"saaSData":{},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}}' headers: cache-control: - no-cache content-length: - - '1258' + - '1383' content-type: - application/json; charset=utf-8 date: - - Tue, 26 Mar 2024 11:38:28 GMT + - Thu, 03 Sep 2026 19:27:49 GMT etag: - - '"a9001ad4-0000-0100-0000-6602b3b30000"' + - '"f700e82f-0000-0100-0000-6a99ca290000"' expires: - '-1' pragma: @@ -205,8 +268,10 @@ interactions: - nosniff x-ms-providerhub-traffic: - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' x-msedge-ref: - - 'Ref A: FD7FAA1E87DD4D81B33EEB25DF4F445D Ref B: MAA201060514053 Ref C: 2024-03-26T11:38:28Z' + - 'Ref A: 7CB42EC0A1C04C91B590D49473DD2EAA Ref B: SG2AA1040515025 Ref C: 2026-09-03T19:27:49Z' status: code: 200 message: OK @@ -214,7 +279,7 @@ interactions: body: '{"properties": {"logRules": {"filteringTags": [], "sendAadLogs": "Enabled", "sendActivityLogs": "Enabled", "sendSubscriptionLogs": "Enabled"}, "metricRules": {"filteringTags": [{"action": "Include", "name": "Environment", "value": "Prod"}], - "userEmail": "dipeshbhakat@microsoft.com"}}}' + "userEmail": "test@example.com"}}}' headers: Accept: - application/json @@ -225,33 +290,33 @@ interactions: Connection: - keep-alive Content-Length: - - '285' + - '275' Content-Type: - application/json ParameterSetName: - --resource-group --monitor-name --name --log-rules --metric-rules User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) + - AZURECLI/2.90.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/tagRules/default?api-version=2024-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/tagRules/default?api-version=2026-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/tagRules/default","name":"default","type":"newrelic.observability/monitors/tagrules","systemData":{"createdBy":"dipeshbhakat@microsoft.com","createdByType":"User","createdAt":"2024-03-26T11:38:30.3190401Z","lastModifiedBy":"dipeshbhakat@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-03-26T11:38:30.3190401Z"},"properties":{"provisioningState":"Succeeded","logRules":{"sendAadLogs":"Enabled","sendSubscriptionLogs":"Enabled","sendActivityLogs":"Enabled","filteringTags":[]},"metricRules":{"sendMetrics":"Disabled","filteringTags":[{"name":"Environment","value":"Prod","action":"Include"}],"userEmail":null}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/tagRules/default","name":"default","type":"newrelic.observability/monitors/tagrules","systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-09-03T19:27:51.1085826Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-09-03T19:27:51.1085826Z"},"properties":{"provisioningState":"Succeeded","logRules":{"sendAadLogs":"Enabled","sendSubscriptionLogs":"Enabled","sendActivityLogs":"Enabled","filteringTags":[]},"metricRules":{"sendMetrics":"Disabled","filteringTags":[{"name":"Environment","value":"Prod","action":"Include"}]}}}' headers: cache-control: - no-cache content-length: - - '799' + - '762' content-type: - application/json; charset=utf-8 date: - - Tue, 26 Mar 2024 11:38:40 GMT + - Thu, 03 Sep 2026 19:27:56 GMT etag: - - '"08000aaf-0000-0100-0000-6602b3c00000"' + - '"af00164f-0000-0100-0000-6a99ca3c0000"' expires: - '-1' mise-correlation-id: - - 054a4dff-6a60-4f0d-9fbe-29b50ec930b2 + - 89f22df4-b523-46aa-9a35-ba60b9093898 pragma: - no-cache request-context: @@ -262,12 +327,16 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - tenantId=00000000-0000-0000-0000-000000000000,objectId=00000000-0000-0000-0000-000000000000/southeastasia/d69604ef-f819-4de6-b2b9-22bcd761dd16 x-ms-providerhub-traffic: - 'True' + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '199' x-msedge-ref: - - 'Ref A: 682B70DA5E0F4A9890F630E5991C2104 Ref B: MAA201060515049 Ref C: 2024-03-26T11:38:29Z' + - 'Ref A: F6728CCF2C344EA980B4A8F48E5D7A10 Ref B: SG2AA1070303034 Ref C: 2026-09-03T19:27:50Z' status: code: 200 message: OK @@ -290,23 +359,23 @@ interactions: ParameterSetName: - --resource-group --monitor-name --name --log-rules User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) + - AZURECLI/2.90.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/tagRules/default?api-version=2024-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/tagRules/default?api-version=2026-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/tagRules/default","name":"default","type":"newrelic.observability/monitors/tagrules","systemData":{"createdBy":"dipeshbhakat@microsoft.com","createdByType":"User","createdAt":"2024-03-26T11:38:30.3190401Z","lastModifiedBy":"dipeshbhakat@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-03-26T11:38:41.1562881Z"},"properties":{"provisioningState":"Succeeded","logRules":{"sendAadLogs":"Enabled","sendSubscriptionLogs":"Enabled","sendActivityLogs":"Disabled","filteringTags":[]},"metricRules":{"sendMetrics":"Disabled","filteringTags":[{"name":"Environment","value":"Prod","action":"Include"}]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/tagRules/default","name":"default","type":"newrelic.observability/monitors/tagrules","systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-09-03T19:27:51.1085826Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-09-03T19:27:58.5921394Z"},"properties":{"provisioningState":"Succeeded","logRules":{"sendAadLogs":"Enabled","sendSubscriptionLogs":"Enabled","sendActivityLogs":"Disabled","filteringTags":[]},"metricRules":{"sendMetrics":"Disabled","filteringTags":[{"name":"Environment","value":"Prod","action":"Include"}]}}}' headers: cache-control: - no-cache content-length: - - '783' + - '763' content-type: - application/json; charset=utf-8 date: - - Tue, 26 Mar 2024 11:38:41 GMT + - Thu, 03 Sep 2026 19:27:58 GMT etag: - - '"08000baf-0000-0100-0000-6602b3c20000"' + - '"af003f4f-0000-0100-0000-6a99ca3e0000"' expires: - '-1' pragma: @@ -317,12 +386,16 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - tenantId=00000000-0000-0000-0000-000000000000,objectId=00000000-0000-0000-0000-000000000000/westus/818ca3c3-ca01-4769-8675-029beb1935a6 x-ms-providerhub-traffic: - 'True' + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '199' x-msedge-ref: - - 'Ref A: 534E28D4B8384D81A1CCAB86C71ED7CC Ref B: MAA201060515023 Ref C: 2024-03-26T11:38:40Z' + - 'Ref A: 11FD774EE7BF4C83AEC658377B180A92 Ref B: SG2AA1040515054 Ref C: 2026-09-03T19:27:58Z' status: code: 200 message: OK @@ -340,21 +413,21 @@ interactions: ParameterSetName: - --resource-group --monitor-name User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) + - AZURECLI/2.90.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/tagRules?api-version=2024-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/tagRules?api-version=2026-06-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/tagRules/default","name":"default","type":"newrelic.observability/monitors/tagrules","systemData":{"createdBy":"dipeshbhakat@microsoft.com","createdByType":"User","createdAt":"2024-03-26T11:38:30.3190401Z","lastModifiedBy":"dipeshbhakat@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-03-26T11:38:41.1562881Z"},"properties":{"provisioningState":"Succeeded","logRules":{"sendAadLogs":"Enabled","sendSubscriptionLogs":"Enabled","sendActivityLogs":"Disabled","filteringTags":[]},"metricRules":{"sendMetrics":"Disabled","filteringTags":[{"name":"Environment","value":"Prod","action":"Include"}]}}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/tagRules/default","name":"default","type":"newrelic.observability/monitors/tagrules","systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-09-03T19:27:51.1085826Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-09-03T19:27:58.5921394Z"},"properties":{"provisioningState":"Succeeded","logRules":{"sendAadLogs":"Enabled","sendSubscriptionLogs":"Enabled","sendActivityLogs":"Disabled","filteringTags":[]},"metricRules":{"sendMetrics":"Disabled","filteringTags":[{"name":"Environment","value":"Prod","action":"Include"}]}}}]}' headers: cache-control: - no-cache content-length: - - '795' + - '775' content-type: - application/json; charset=utf-8 date: - - Tue, 26 Mar 2024 11:38:43 GMT + - Thu, 03 Sep 2026 19:27:59 GMT expires: - '-1' pragma: @@ -365,10 +438,14 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - tenantId=00000000-0000-0000-0000-000000000000,objectId=00000000-0000-0000-0000-000000000000/westus/3203ae00-568d-4716-87ec-4697143c628f x-ms-providerhub-traffic: - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' x-msedge-ref: - - 'Ref A: BD9098EF0D45491EAC3C2CECFEDF79C3 Ref B: MAA201060513011 Ref C: 2024-03-26T11:38:42Z' + - 'Ref A: 26E1C3BCF6784963AA5ACE21D64BA589 Ref B: SG2AA1070302052 Ref C: 2026-09-03T19:27:59Z' status: code: 200 message: OK @@ -386,23 +463,23 @@ interactions: ParameterSetName: - --resource-group --monitor-name --name User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) + - AZURECLI/2.90.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/tagRules/default?api-version=2024-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/tagRules/default?api-version=2026-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/tagRules/default","name":"default","type":"newrelic.observability/monitors/tagrules","systemData":{"createdBy":"dipeshbhakat@microsoft.com","createdByType":"User","createdAt":"2024-03-26T11:38:30.3190401Z","lastModifiedBy":"dipeshbhakat@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-03-26T11:38:41.1562881Z"},"properties":{"provisioningState":"Succeeded","logRules":{"sendAadLogs":"Enabled","sendSubscriptionLogs":"Enabled","sendActivityLogs":"Disabled","filteringTags":[]},"metricRules":{"sendMetrics":"Disabled","filteringTags":[{"name":"Environment","value":"Prod","action":"Include"}]}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/tagRules/default","name":"default","type":"newrelic.observability/monitors/tagrules","systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-09-03T19:27:51.1085826Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-09-03T19:27:58.5921394Z"},"properties":{"provisioningState":"Succeeded","logRules":{"sendAadLogs":"Enabled","sendSubscriptionLogs":"Enabled","sendActivityLogs":"Disabled","filteringTags":[]},"metricRules":{"sendMetrics":"Disabled","filteringTags":[{"name":"Environment","value":"Prod","action":"Include"}]}}}' headers: cache-control: - no-cache content-length: - - '783' + - '763' content-type: - application/json; charset=utf-8 date: - - Tue, 26 Mar 2024 11:38:45 GMT + - Thu, 03 Sep 2026 19:28:02 GMT etag: - - '"08000baf-0000-0100-0000-6602b3c20000"' + - '"af003f4f-0000-0100-0000-6a99ca3e0000"' expires: - '-1' pragma: @@ -413,15 +490,19 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - tenantId=00000000-0000-0000-0000-000000000000,objectId=00000000-0000-0000-0000-000000000000/westus/fe334caf-32dc-4299-b1ab-364238b5e715 x-ms-providerhub-traffic: - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' x-msedge-ref: - - 'Ref A: 5D68B51F2B834EDF990C3AED679FB1B4 Ref B: MAA201060515031 Ref C: 2024-03-26T11:38:44Z' + - 'Ref A: 212ED1F9E377418E9D477001BBA84AE3 Ref B: SG2AA1070306029 Ref C: 2026-09-03T19:28:01Z' status: code: 200 message: OK - request: - body: '{"userEmail": "dipeshbhakat@microsoft.com"}' + body: '{"userEmail": "test@example.com"}' headers: Accept: - application/json @@ -432,31 +513,31 @@ interactions: Connection: - keep-alive Content-Length: - - '43' + - '33' Content-Type: - application/json ParameterSetName: - --monitor-name --resource-group --user-email User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) + - AZURECLI/2.90.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/getMetricRules?api-version=2024-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/getMetricRules?api-version=2026-06-01 response: body: - string: '{"sendMetrics":"Disabled","filteringTags":[],"userEmail":null}' + string: '{"sendMetrics":"Disabled","filteringTags":[]}' headers: cache-control: - no-cache content-length: - - '62' + - '45' content-type: - application/json; charset=utf-8 date: - - Tue, 26 Mar 2024 11:38:56 GMT + - Thu, 03 Sep 2026 19:28:05 GMT expires: - '-1' mise-correlation-id: - - 97a1c669-46f1-4146-b52f-3f36c71a940c + - 55fc6332-4cf2-4f16-bc89-20f9fb6194d9 pragma: - no-cache request-context: @@ -467,18 +548,22 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - tenantId=00000000-0000-0000-0000-000000000000,objectId=00000000-0000-0000-0000-000000000000/westus/e7902958-d184-4314-aeb9-15fe3a273e82 x-ms-providerhub-traffic: - 'True' + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '199' x-msedge-ref: - - 'Ref A: 25188B86D14C4EAD92DD84CEFA802D8D Ref B: MAA201060516037 Ref C: 2024-03-26T11:38:45Z' + - 'Ref A: 8FFD49AA8F4F44BDB977C4E0922AD384 Ref B: SG2AA1040519042 Ref C: 2026-09-03T19:28:03Z' status: code: 200 message: OK - request: body: '{"properties": {"monitoredSubscriptionList": [{"status": "InProgress", - "subscriptionId": "8503bb5b-d6ad-4293-bf3d-c996bf639d9b"}], "patchOperation": + "subscriptionId": "/subscriptions/00000000-0000-0000-0000-000000000000"}], "patchOperation": "AddBegin"}}' headers: Accept: @@ -490,31 +575,31 @@ interactions: Connection: - keep-alive Content-Length: - - '161' + - '176' Content-Type: - application/json ParameterSetName: - - --resource-group --monitor-name --configuration-name --patch-operation --subscriptions + - --resource-group --monitor-name --configuration-name --patch-operation --monitored-subscription-list User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) + - AZURECLI/2.90.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/monitoredSubscriptions/default?api-version=2024-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/monitoredSubscriptions/default?api-version=2026-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/monitoredSubscriptions/default","name":"default","type":"newrelic.observability/monitors/monitoredsubscriptions","properties":{"patchOperation":"AddBegin","monitoredSubscriptionList":[{"subscriptionId":"8503bb5b-d6ad-4293-bf3d-c996bf639d9b","status":"InProgress","error":null,"tagRules":null}],"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/monitoredSubscriptions/default","name":"default","type":"newrelic.observability/monitors/monitoredsubscriptions","systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-09-03T19:28:06.9458906Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-09-03T19:28:06.9458906Z"},"properties":{"patchOperation":"AddBegin","monitoredSubscriptionList":[{"subscriptionId":"/SUBSCRIPTIONS/00000000-0000-0000-0000-000000000000","status":"InProgress","error":null,"tagRules":null}],"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '499' + - '738' content-type: - application/json; charset=utf-8 date: - - Tue, 26 Mar 2024 11:38:58 GMT + - Thu, 03 Sep 2026 19:28:08 GMT expires: - '-1' mise-correlation-id: - - c6b76f5b-470a-43e3-a07d-40ba691f3421 + - 8fb4e0d1-90b1-4064-9480-a4efaef66388 pragma: - no-cache request-context: @@ -525,18 +610,22 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - tenantId=00000000-0000-0000-0000-000000000000,objectId=00000000-0000-0000-0000-000000000000/westus/48550724-2066-480b-a9d9-e318208b2515 x-ms-providerhub-traffic: - 'True' + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '199' x-msedge-ref: - - 'Ref A: 63CF09EB8CC148D0B492B3BEA354DB28 Ref B: MAA201060515047 Ref C: 2024-03-26T11:38:56Z' + - 'Ref A: E598913606094B98B3033CEABC538CFF Ref B: SG2AA1040520062 Ref C: 2026-09-03T19:28:06Z' status: code: 200 message: OK - request: body: '{"properties": {"monitoredSubscriptionList": [{"status": "Active", "subscriptionId": - "8503bb5b-d6ad-4293-bf3d-c996bf639d9b"}], "patchOperation": "AddComplete"}}' + "/subscriptions/00000000-0000-0000-0000-000000000000"}], "patchOperation": "AddComplete"}}' headers: Accept: - application/json @@ -547,31 +636,31 @@ interactions: Connection: - keep-alive Content-Length: - - '160' + - '175' Content-Type: - application/json ParameterSetName: - - --resource-group --monitor-name --configuration-name --patch-operation --subscriptions + - --resource-group --monitor-name --configuration-name --patch-operation --monitored-subscription-list User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) + - AZURECLI/2.90.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/monitoredSubscriptions/default?api-version=2024-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/monitoredSubscriptions/default?api-version=2026-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/monitoredSubscriptions/default","name":"default","type":"newrelic.observability/monitors/monitoredsubscriptions","properties":{"patchOperation":"AddComplete","monitoredSubscriptionList":[{"subscriptionId":"8503bb5b-d6ad-4293-bf3d-c996bf639d9b","status":"Active","error":null,"tagRules":null}],"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/monitoredSubscriptions/default","name":"default","type":"newrelic.observability/monitors/monitoredsubscriptions","systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-09-03T19:28:10.0058786Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-09-03T19:28:10.0058786Z"},"properties":{"patchOperation":"AddComplete","monitoredSubscriptionList":[{"subscriptionId":"/SUBSCRIPTIONS/00000000-0000-0000-0000-000000000000","status":"Active","error":null,"tagRules":null}],"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '498' + - '737' content-type: - application/json; charset=utf-8 date: - - Tue, 26 Mar 2024 11:39:01 GMT + - Thu, 03 Sep 2026 19:28:11 GMT expires: - '-1' mise-correlation-id: - - d9f0d120-e935-44bd-a807-ebeb5c6a0052 + - e1aa5de4-a0f9-4117-9c18-59ed9043887f pragma: - no-cache request-context: @@ -582,12 +671,16 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - tenantId=00000000-0000-0000-0000-000000000000,objectId=00000000-0000-0000-0000-000000000000/westus/60e19cce-359e-4906-bb74-bada539c0ded x-ms-providerhub-traffic: - 'True' + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '199' x-msedge-ref: - - 'Ref A: 25DB72EC102D409980AEB2825F251A6A Ref B: MAA201060515039 Ref C: 2024-03-26T11:38:59Z' + - 'Ref A: 3C77851C4CD443ED8188D117D6153F92 Ref B: SG2AA1070306023 Ref C: 2026-09-03T19:28:09Z' status: code: 200 message: OK @@ -605,131 +698,25 @@ interactions: ParameterSetName: - --resource-group --monitor-name --configuration-name User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/monitoredSubscriptions/default?api-version=2024-01-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/monitoredSubscriptions/default","name":"default","type":"NewRelic.Observability/monitors/monitoredSubscriptions","properties":{"patchOperation":"AddBegin","monitoredSubscriptionList":[{"subscriptionId":"8503BB5B-D6AD-4293-BF3D-C996BF639D9B","status":"Active","error":null,"tagRules":{"provisioningState":"Accepted","logRules":null,"metricRules":null}}]}}' - headers: - cache-control: - - no-cache - content-length: - - '526' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 26 Mar 2024 11:39:02 GMT - expires: - - '-1' - mise-correlation-id: - - 2add193e-f31d-4152-a39c-67f29de65c50 - pragma: - - no-cache - request-context: - - appId=cid-v1:99558bd9-e2af-4edd-b8b9-dfc879de6669 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-cache: - - CONFIG_NOCACHE - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-msedge-ref: - - 'Ref A: A49A91E6F0EF435A8CB6B942BEA2AAC6 Ref B: MAA201060513045 Ref C: 2024-03-26T11:39:01Z' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - new-relic monitor monitored-subscription update - Connection: - - keep-alive - ParameterSetName: - - --resource-group --monitor-name --configuration-name --patch-operation --subscriptions - User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) + - AZURECLI/2.90.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/monitoredSubscriptions/default?api-version=2024-01-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/monitoredSubscriptions/default","name":"default","type":"NewRelic.Observability/monitors/monitoredSubscriptions","properties":{"patchOperation":"AddBegin","monitoredSubscriptionList":[{"subscriptionId":"8503BB5B-D6AD-4293-BF3D-C996BF639D9B","status":"Active","error":null,"tagRules":{"provisioningState":"Accepted","logRules":null,"metricRules":null}}]}}' - headers: - cache-control: - - no-cache - content-length: - - '526' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 26 Mar 2024 11:39:05 GMT - expires: - - '-1' - mise-correlation-id: - - 1a6f2855-3c43-4169-98e1-169cdfb5533a - pragma: - - no-cache - request-context: - - appId=cid-v1:99558bd9-e2af-4edd-b8b9-dfc879de6669 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-cache: - - CONFIG_NOCACHE - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-msedge-ref: - - 'Ref A: 130CE55509114350B9E36B709C4F2741 Ref B: MAA201060515039 Ref C: 2024-03-26T11:39:03Z' - status: - code: 200 - message: OK -- request: - body: '{"properties": {"monitoredSubscriptionList": [{"status": "InProgress", - "subscriptionId": "8503bb5b-d6ad-4293-bf3d-c996bf639d9b"}], "patchOperation": - "AddBegin"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - new-relic monitor monitored-subscription update - Connection: - - keep-alive - Content-Length: - - '161' - Content-Type: - - application/json - ParameterSetName: - - --resource-group --monitor-name --configuration-name --patch-operation --subscriptions - User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/monitoredSubscriptions/default?api-version=2024-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/monitoredSubscriptions/default?api-version=2026-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/monitoredSubscriptions/default","name":"default","type":"newrelic.observability/monitors/monitoredsubscriptions","properties":{"patchOperation":"AddBegin","monitoredSubscriptionList":[{"subscriptionId":"8503bb5b-d6ad-4293-bf3d-c996bf639d9b","status":"InProgress","error":null,"tagRules":null}],"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/monitoredSubscriptions/default","name":"default","type":"NewRelic.Observability/monitors/monitoredSubscriptions","properties":{"patchOperation":"AddBegin","monitoredSubscriptionList":[{"subscriptionId":"/SUBSCRIPTIONS/00000000-0000-0000-0000-000000000000","status":"Active","error":null,"tagRules":{"provisioningState":"Accepted","logRules":null,"metricRules":null}}]}}' headers: cache-control: - no-cache content-length: - - '499' + - '541' content-type: - application/json; charset=utf-8 date: - - Tue, 26 Mar 2024 11:39:07 GMT + - Thu, 03 Sep 2026 19:28:14 GMT expires: - '-1' mise-correlation-id: - - 065d2bb2-0687-461f-a493-110932a0b197 + - 1f7e5805-9118-4fbc-908d-af1e25a0b9df pragma: - no-cache request-context: @@ -740,12 +727,14 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - tenantId=00000000-0000-0000-0000-000000000000,objectId=00000000-0000-0000-0000-000000000000/westus/494065c7-43a4-4655-b419-fbbf944de2d7 x-ms-providerhub-traffic: - 'True' - x-ms-ratelimit-remaining-subscription-writes: - - '1199' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' x-msedge-ref: - - 'Ref A: FA51F4FF535D4D09B7BEC15FD5578314 Ref B: MAA201060515039 Ref C: 2024-03-26T11:39:05Z' + - 'Ref A: D2B1A81ABA68485387180CA5359D89A5 Ref B: SG2AA1070306036 Ref C: 2026-09-03T19:28:13Z' status: code: 200 message: OK @@ -757,86 +746,31 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - new-relic monitor monitored-subscription update + - new-relic monitor monitored-subscription list Connection: - keep-alive ParameterSetName: - - --resource-group --monitor-name --configuration-name --patch-operation --subscriptions + - --resource-group --monitor-name User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) + - AZURECLI/2.90.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/monitoredSubscriptions/default?api-version=2024-01-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/monitoredSubscriptions/default","name":"default","type":"NewRelic.Observability/monitors/monitoredSubscriptions","properties":{"patchOperation":"AddBegin","monitoredSubscriptionList":[{"subscriptionId":"8503BB5B-D6AD-4293-BF3D-C996BF639D9B","status":"Active","error":null,"tagRules":{"provisioningState":"Accepted","logRules":null,"metricRules":null}}]}}' - headers: - cache-control: - - no-cache - content-length: - - '526' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 26 Mar 2024 11:39:09 GMT - expires: - - '-1' - mise-correlation-id: - - 88418110-23f7-4e5d-bf26-7208a99f4b9b - pragma: - - no-cache - request-context: - - appId=cid-v1:99558bd9-e2af-4edd-b8b9-dfc879de6669 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-cache: - - CONFIG_NOCACHE - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-msedge-ref: - - 'Ref A: 928BD4F305CD41B7887D1DC386267322 Ref B: MAA201060513051 Ref C: 2024-03-26T11:39:07Z' - status: - code: 200 - message: OK -- request: - body: '{"properties": {"monitoredSubscriptionList": [{"status": "Active", "subscriptionId": - "8503bb5b-d6ad-4293-bf3d-c996bf639d9b"}], "patchOperation": "AddComplete"}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - new-relic monitor monitored-subscription update - Connection: - - keep-alive - Content-Length: - - '160' - Content-Type: - - application/json - ParameterSetName: - - --resource-group --monitor-name --configuration-name --patch-operation --subscriptions - User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/monitoredSubscriptions/default?api-version=2024-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/monitoredSubscriptions?api-version=2026-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/monitoredSubscriptions/default","name":"default","type":"newrelic.observability/monitors/monitoredsubscriptions","properties":{"patchOperation":"AddComplete","monitoredSubscriptionList":[{"subscriptionId":"8503bb5b-d6ad-4293-bf3d-c996bf639d9b","status":"Active","error":null,"tagRules":null}],"provisioningState":"Succeeded"}}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/monitoredSubscriptions/default","name":"default","type":"NewRelic.Observability/monitors/monitoredSubscriptions","properties":{"patchOperation":"AddBegin","monitoredSubscriptionList":[{"subscriptionId":"/SUBSCRIPTIONS/00000000-0000-0000-0000-000000000000","status":"Active","tagRules":{"provisioningState":"Accepted"}}]}}]}' headers: cache-control: - no-cache content-length: - - '498' + - '505' content-type: - application/json; charset=utf-8 date: - - Tue, 26 Mar 2024 11:39:10 GMT + - Thu, 03 Sep 2026 19:28:16 GMT expires: - '-1' mise-correlation-id: - - 04debab0-c43d-4068-9fbf-bc5969a55d9f + - c870417e-32d8-4ae6-a084-cc83fe2e29e1 pragma: - no-cache request-context: @@ -847,17 +781,19 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - tenantId=00000000-0000-0000-0000-000000000000,objectId=00000000-0000-0000-0000-000000000000/westus/b93b77c1-6623-4752-8acf-d575b580a607 x-ms-providerhub-traffic: - 'True' - x-ms-ratelimit-remaining-subscription-writes: - - '1199' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' x-msedge-ref: - - 'Ref A: 1D9945E646EC40D68E582E0B414F15BC Ref B: MAA201060513051 Ref C: 2024-03-26T11:39:09Z' + - 'Ref A: BC013465964445CEB95AE8426A1D5A11 Ref B: SG2AA1040517023 Ref C: 2026-09-03T19:28:15Z' status: code: 200 message: OK - request: - body: '{"azureResourceIds": ["abcdefg"], "userEmail": "dipeshbhakat@microsoft.com"}' + body: '{"azureResourceIds": ["abcdefg"], "userEmail": "test@example.com"}' headers: Accept: - application/json @@ -868,15 +804,15 @@ interactions: Connection: - keep-alive Content-Length: - - '76' + - '66' Content-Type: - application/json ParameterSetName: - --resource-group --monitor-name --user-email --azure-resource-ids User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) + - AZURECLI/2.90.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/getMetricStatus?api-version=2024-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/getMetricStatus?api-version=2026-06-01 response: body: string: '{"azureResourceIds":[]}' @@ -888,11 +824,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 Mar 2024 11:39:20 GMT + - Thu, 03 Sep 2026 19:28:19 GMT expires: - '-1' mise-correlation-id: - - 558a16f6-2ef8-4849-a595-8205b6344b35 + - 3038ce73-abbf-429e-99ac-e703aabf2262 pragma: - no-cache request-context: @@ -903,12 +839,16 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - tenantId=00000000-0000-0000-0000-000000000000,objectId=00000000-0000-0000-0000-000000000000/westus/cfebd30c-01d8-4335-80eb-a6bbac6f755a x-ms-providerhub-traffic: - 'True' + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '199' x-msedge-ref: - - 'Ref A: CAA80FAF54624E4B827EBD3087807489 Ref B: MAA201060513039 Ref C: 2024-03-26T11:39:11Z' + - 'Ref A: 437CE051C327450694D111D13C4FB89C Ref B: SG2AA1070302023 Ref C: 2026-09-03T19:28:17Z' status: code: 200 message: OK @@ -923,32 +863,24 @@ interactions: - new-relic monitor list Connection: - keep-alive + ParameterSetName: + - --resource-group User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) + - AZURECLI/2.90.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/monitors?api-version=2024-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors?api-version=2026-06-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg2/providers/NewRelic.Observability/monitors/test-new-relic2","name":"test-new-relic2","type":"newrelic.observability/monitors","location":"eastus","systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2023-06-21T09:18:43.0868156Z","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-06-21T09:18:43.0868156Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"3986742"},"organizationInfo":{"organizationId":"d4130b8c-57d6-417b-93aa-ae8f75746ed4"}},"userInfo":{"firstName":"vdftzcggiref","lastName":"bcsztgqovdlmzf","emailAddress":"v-taoxuzeng@microsoft.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2022-10-25T13:14:33Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/utkarshjain-rg-test/providers/NewRelic.Observability/monitors/testlfcp111","name":"testlfcp111","type":"newrelic.observability/monitors","location":"eastus","tags":{},"systemData":{"createdBy":"utkarshjain@microsoft.com","createdByType":"User","createdAt":"2023-07-27T19:57:31.8348486Z","lastModifiedBy":"utkarshjain@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-07-27T19:57:31.8348486Z"},"identity":{"principalId":"1ba1d964-f023-4244-9ed0-3ea4482945ef","tenantId":"888d76fa-54b2-4ced-8ee5-aac1585adee7","type":"SystemAssigned"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"4040105"},"organizationInfo":{"organizationId":"ea5fce87-2927-444e-8000-4b457c5070bd"}},"userInfo":{"firstName":"Utkarsh","lastName":"Jain","emailAddress":"utkarshjain@microsoft.com","phoneNumber":""},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-07-27T19:56:45.939Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/div-test-rg/providers/NewRelic.Observability/monitors/mp-creation-test","name":"mp-creation-test","type":"newrelic.observability/monitors","location":"eastus","tags":{},"systemData":{"createdBy":"agarwald@microsoft.com","createdByType":"User","createdAt":"2023-08-23T12:50:17.9157873Z","lastModifiedBy":"agarwald@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-08-23T12:50:17.9157873Z"},"identity":{"principalId":"f412a084-fd1e-48aa-a625-9ed0b2e1269f","tenantId":"888d76fa-54b2-4ced-8ee5-aac1585adee7","type":"SystemAssigned"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"4110330"},"organizationInfo":{"organizationId":"835e27fe-e0ee-44e7-a301-20d6d03123e4"}},"userInfo":{"firstName":"Divyansh","lastName":"Agarwal","emailAddress":"agarwald@microsoft.com","phoneNumber":""},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-08-23T12:49:55.742Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/abdul/providers/NewRelic.Observability/monitors/aksusingentra","name":"aksusingentra","type":"newrelic.observability/monitors","location":"eastus","tags":{},"systemData":{"createdBy":"v-ahubbali@microsoft.com","createdByType":"User","createdAt":"2023-09-15T07:58:02.5660097Z","lastModifiedBy":"v-ahubbali@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-09-15T07:58:02.5660097Z"},"identity":{"principalId":"2071d3b5-360c-4542-8f15-11c366547962","tenantId":"888d76fa-54b2-4ced-8ee5-aac1585adee7","type":"SystemAssigned"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"4143901"},"organizationInfo":{"organizationId":"26fa8b30-601f-4833-8869-7491e49eefb4"}},"userInfo":{"firstName":"Abdul","lastName":"Kadir - Hubbali (WIPRO LIMITED)","emailAddress":"v-ahubbali@microsoft.com","phoneNumber":""},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-09-15T07:57:22.755Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cloudtest-nr-47357-rgeus/providers/NewRelic.Observability/monitors/liftr-nr-ci-resource75686","name":"liftr-nr-ci-resource75686","type":"newrelic.observability/monitors","location":"eastus","tags":{"TestMethod":"d__16","TestClass":"CreateResourceAndLinkWithExistingAccountForExistingUser"},"systemData":{"createdBy":"6851f3c3-8c68-454f-bc0e-ef1b9bff0216","createdByType":"Application","createdAt":"2023-10-23T04:43:29.6567339Z","lastModifiedBy":"6851f3c3-8c68-454f-bc0e-ef1b9bff0216","lastModifiedByType":"Application","lastModifiedAt":"2023-10-23T04:43:29.6567339Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Failed","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"userId":null,"accountInfo":{"accountId":"11923497","ingestionKey":null},"organizationInfo":{"organizationId":"aaccd659-7033-465e-9594-50ad93a3edb7"}},"userInfo":{"firstName":"fakeUser","lastName":"fakeLastName","emailAddress":"backendCloudTestEmail@MicrosoftCustomerLed.onmicrosoft.com","phoneNumber":null},"planData":null,"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cloudtest-nr-31897-rgeus/providers/NewRelic.Observability/monitors/liftr-nr-ci-resource22576","name":"liftr-nr-ci-resource22576","type":"newrelic.observability/monitors","location":"eastus","tags":{"TestMethod":"d__16","TestClass":"CreateResourceAndLinkWithExistingAccountForExistingUser"},"systemData":{"createdBy":"6851f3c3-8c68-454f-bc0e-ef1b9bff0216","createdByType":"Application","createdAt":"2023-10-23T04:51:13.605651Z","lastModifiedBy":"6851f3c3-8c68-454f-bc0e-ef1b9bff0216","lastModifiedByType":"Application","lastModifiedAt":"2023-10-23T04:51:13.605651Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Failed","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"userId":null,"accountInfo":{"accountId":"11923497","ingestionKey":null},"organizationInfo":{"organizationId":"aaccd659-7033-465e-9594-50ad93a3edb7"}},"userInfo":{"firstName":"fakeUser","lastName":"fakeLastName","emailAddress":"backendCloudTestEmail@MicrosoftCustomerLed.onmicrosoft.com","phoneNumber":null},"planData":null,"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vip-rg/providers/NewRelic.Observability/monitors/liftr-nr-ci-resource14807","name":"liftr-nr-ci-resource14807","type":"newrelic.observability/monitors","location":"eastus","tags":{"TestMethod":"d__16","TestClass":"CreateResourceForNewUser"},"systemData":{"createdBy":"6851f3c3-8c68-454f-bc0e-ef1b9bff0216","createdByType":"Application","createdAt":"2023-10-23T05:15:14.1196076Z","lastModifiedBy":"6851f3c3-8c68-454f-bc0e-ef1b9bff0216","lastModifiedByType":"Application","lastModifiedAt":"2023-10-23T05:15:14.1196076Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"userId":null,"accountInfo":null,"organizationInfo":null},"userInfo":{"firstName":"fakeUser","lastName":"fakeLastName","emailAddress":"backendCloudTestEmail@MicrosoftCustomerLed.onmicrosoft.com","phoneNumber":null},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2022-10-25T13:14:33Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vip-rg/providers/NewRelic.Observability/monitors/liftr-nr-ci-resource41154","name":"liftr-nr-ci-resource41154","type":"newrelic.observability/monitors","location":"eastus","tags":{"TestMethod":"d__16","TestClass":"CreateResourceForNewUser"},"systemData":{"createdBy":"6851f3c3-8c68-454f-bc0e-ef1b9bff0216","createdByType":"Application","createdAt":"2023-10-23T05:22:22.1819713Z","lastModifiedBy":"6851f3c3-8c68-454f-bc0e-ef1b9bff0216","lastModifiedByType":"Application","lastModifiedAt":"2023-10-23T05:22:22.1819713Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Accepted","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11927057"},"organizationInfo":{"organizationId":"c22e3e2c-2257-491d-b679-a516f219854a"}},"userInfo":{"firstName":"fakeUser","lastName":"fakeLastName","emailAddress":"backendCloudTestEmail@MicrosoftCustomerLed.onmicrosoft.com"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2022-10-25T13:14:33Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mj-rg/providers/NewRelic.Observability/monitors/mj-nr-02","name":"mj-nr-02","type":"newrelic.observability/monitors","location":"eastus","tags":{},"systemData":{"createdBy":"maljindal@microsoft.com","createdByType":"User","createdAt":"2023-12-13T07:26:46.5169822Z","lastModifiedBy":"maljindal@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-12-13T07:26:46.5169822Z"},"identity":{"principalId":"f3f638a0-7768-47d6-b138-737cc25f44fc","tenantId":"888d76fa-54b2-4ced-8ee5-aac1585adee7","type":"SystemAssigned"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"4281187"},"organizationInfo":{"organizationId":"1b61bb6e-af07-4911-a445-6db99f0de1a1"}},"userInfo":{"firstName":"Malvika","lastName":"Jindal","emailAddress":"maljindal@microsoft.com","phoneNumber":""},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-12-13T07:26:12.38Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/kansingh-RG/providers/NewRelic.Observability/monitors/14mar-prodtest","name":"14mar-prodtest","type":"newrelic.observability/monitors","location":"eastus","tags":{},"systemData":{"createdBy":"kansingh@microsoft.com","createdByType":"User","createdAt":"2024-03-14T08:17:21.7339082Z","lastModifiedBy":"kansingh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-03-14T08:17:21.7339082Z"},"identity":{"principalId":"1f1b5ba3-7f8e-4198-aecd-e6584099d335","tenantId":"888d76fa-54b2-4ced-8ee5-aac1585adee7","type":"SystemAssigned"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"4389456"},"organizationInfo":{"organizationId":"f0504e47-e80f-4d0d-a26c-884e6e30f949"}},"userInfo":{"firstName":"Kanupriya","lastName":"Singh","emailAddress":"kansingh@microsoft.com","phoneNumber":""},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2024-03-14T08:16:46.77Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/NewRelic.Observability/monitors/NRtestresource","name":"NRtestresource","type":"newrelic.observability/monitors","location":"eastus","tags":{},"systemData":{"createdBy":"shijoy@microsoft.com","createdByType":"User","createdAt":"2024-03-21T14:14:43.6672933Z","lastModifiedBy":"shijoy@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-03-21T14:14:43.6672933Z"},"identity":{"principalId":"9883002f-ca4d-404c-976c-256bf393340f","tenantId":"888d76fa-54b2-4ced-8ee5-aac1585adee7","type":"SystemAssigned"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"4397551"},"organizationInfo":{"organizationId":"ac1b24f9-6f67-449a-8244-fc9e18cc4587"}},"userInfo":{"firstName":"Shijo","lastName":"Joy","emailAddress":"shijoy@microsoft.com","phoneNumber":""},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2024-03-21T14:14:14.074Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor","name":"test-new-relic-monitor","type":"newrelic.observability/monitors","location":"eastus","tags":{"key6976":"oaxfhf"},"systemData":{"createdBy":"dipeshbhakat@microsoft.com","createdByType":"User","createdAt":"2024-03-26T11:37:49.7024347Z","lastModifiedBy":"dipeshbhakat@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-03-26T11:37:49.7024347Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"4401982"},"organizationInfo":{"organizationId":"af29c77d-721e-43a2-a60b-ac0e10b580d0"}},"userInfo":{"firstName":"Dipesh","lastName":"Bhakat","emailAddress":"dipeshbhakat@microsoft.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-10-25T13:14:33Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/acctest-rg-230822104427942795/providers/NewRelic.Observability/monitors/acctest-nrm-230822104427942795","name":"acctest-nrm-230822104427942795","type":"newrelic.observability/monitors","location":"centraluseuap","systemData":{"createdBy":"b7a2724a-2cc3-4049-8a7f-ce0f7b559cdf","createdByType":"Application","createdAt":"2023-08-22T02:44:56.5426561Z","lastModifiedBy":"b7a2724a-2cc3-4049-8a7f-ce0f7b559cdf","lastModifiedByType":"Application","lastModifiedAt":"2023-08-22T02:44:56.5426561Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Failed","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11882762"},"organizationInfo":{"organizationId":"edce4b4f-89a8-4717-aef1-6e8efdf0cc2e"}},"userInfo":{"firstName":"first","lastName":"last","emailAddress":"27362230-e2d8-4c73-9ee3-fdef83459ca3@example.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-08-24T16:00:00Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/acctest-rg-230822104427947870/providers/NewRelic.Observability/monitors/acctest-nrm-230822104427947870","name":"acctest-nrm-230822104427947870","type":"newrelic.observability/monitors","location":"centraluseuap","systemData":{"createdBy":"b7a2724a-2cc3-4049-8a7f-ce0f7b559cdf","createdByType":"Application","createdAt":"2023-08-22T02:44:59.737827Z","lastModifiedBy":"b7a2724a-2cc3-4049-8a7f-ce0f7b559cdf","lastModifiedByType":"Application","lastModifiedAt":"2023-08-22T02:44:59.737827Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Failed","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11882763"},"organizationInfo":{"organizationId":"afb2578c-bfa2-4056-87a7-498cd6f118da"}},"userInfo":{"firstName":"first","lastName":"last","emailAddress":"85b5febd-127d-4633-9c25-bcfea555af46@example.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-08-24T16:00:00Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/acctest-rg-230822104427940301/providers/NewRelic.Observability/monitors/acctest-nrm-230822104427940301","name":"acctest-nrm-230822104427940301","type":"newrelic.observability/monitors","location":"centraluseuap","systemData":{"createdBy":"b7a2724a-2cc3-4049-8a7f-ce0f7b559cdf","createdByType":"Application","createdAt":"2023-08-22T02:45:03.9057546Z","lastModifiedBy":"b7a2724a-2cc3-4049-8a7f-ce0f7b559cdf","lastModifiedByType":"Application","lastModifiedAt":"2023-08-22T02:45:03.9057546Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Failed","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11882765"},"organizationInfo":{"organizationId":"e3cc3b16-4e4e-4efe-ab07-4081fcf3f0b4"}},"userInfo":{"firstName":"first","lastName":"last","emailAddress":"672d9312-65a7-484c-870d-94584850a423@example.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-08-24T16:00:00Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/acctest-rg-230822104427940205/providers/NewRelic.Observability/monitors/acctest-nrm-230822104427940205","name":"acctest-nrm-230822104427940205","type":"newrelic.observability/monitors","location":"centraluseuap","systemData":{"createdBy":"b7a2724a-2cc3-4049-8a7f-ce0f7b559cdf","createdByType":"Application","createdAt":"2023-08-22T02:45:08.8282368Z","lastModifiedBy":"b7a2724a-2cc3-4049-8a7f-ce0f7b559cdf","lastModifiedByType":"Application","lastModifiedAt":"2023-08-22T02:45:08.8282368Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Failed","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11882764"},"organizationInfo":{"organizationId":"517ca320-ac31-4990-be74-b20fc4cdb882"}},"userInfo":{"firstName":"first","lastName":"last","emailAddress":"f0ff47c3-3aed-45b0-b239-260d9625045a@example.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-08-24T16:00:00Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Contoso_Trial_RG/providers/NewRelic.Observability/monitors/Contoso_Trial_NewRelic","name":"Contoso_Trial_NewRelic","type":"newrelic.observability/monitors","location":"centraluseuap","tags":{},"systemData":{"createdBy":"visinghv@microsoft.com","createdByType":"User","createdAt":"2023-04-27T09:40:49.4490184Z","lastModifiedBy":"visinghv@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-04-27T09:40:49.4490184Z"},"identity":{"principalId":"6e758e6e-eeb5-4d1e-8f48-9123bafcc213","tenantId":"888d76fa-54b2-4ced-8ee5-aac1585adee7","type":"SystemAssigned"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11834121"},"organizationInfo":{"organizationId":"baf5ad21-0180-4201-a7fb-2cc0b1a45062"}},"userInfo":{"firstName":"Vikas","lastName":"Singhvi","emailAddress":"visinghv@microsoft.com","phoneNumber":""},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py","effectiveDate":"2023-04-27T09:40:16.459Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/acctest-rg-230817182814035198/providers/NewRelic.Observability/monitors/acctest-nrm-230817182814035198","name":"acctest-nrm-230817182814035198","type":"newrelic.observability/monitors","location":"centraluseuap","systemData":{"createdBy":"b7a2724a-2cc3-4049-8a7f-ce0f7b559cdf","createdByType":"Application","createdAt":"2023-08-17T10:28:59.3834295Z","lastModifiedBy":"b7a2724a-2cc3-4049-8a7f-ce0f7b559cdf","lastModifiedByType":"Application","lastModifiedAt":"2023-08-17T10:28:59.3834295Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Failed","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11881803"},"organizationInfo":{"organizationId":"9bd9ff64-3d0a-4af3-b188-5556c4d6081b"}},"userInfo":{"firstName":"first","lastName":"last","emailAddress":"27362230-e2d8-4c73-9ee3-fdef83459ca3@example.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-08-19T16:00:00Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/acctest-rg-230818072049158349/providers/NewRelic.Observability/monitors/acctest-nrm-230818072049158349","name":"acctest-nrm-230818072049158349","type":"newrelic.observability/monitors","location":"centraluseuap","systemData":{"createdBy":"b7a2724a-2cc3-4049-8a7f-ce0f7b559cdf","createdByType":"Application","createdAt":"2023-08-17T23:21:23.6701931Z","lastModifiedBy":"b7a2724a-2cc3-4049-8a7f-ce0f7b559cdf","lastModifiedByType":"Application","lastModifiedAt":"2023-08-17T23:21:23.6701931Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Failed","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11881902"},"organizationInfo":{"organizationId":"2e1dbcef-72ef-4bee-8c55-f690811719eb"}},"userInfo":{"firstName":"first","lastName":"last","emailAddress":"f0ff47c3-3aed-45b0-b239-260d9625045a@example.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-08-20T16:00:00Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/acctest-rg-230818081147609319/providers/NewRelic.Observability/monitors/acctest-nrm-230818081147609319","name":"acctest-nrm-230818081147609319","type":"newrelic.observability/monitors","location":"centraluseuap","systemData":{"createdBy":"b7a2724a-2cc3-4049-8a7f-ce0f7b559cdf","createdByType":"Application","createdAt":"2023-08-18T00:12:20.2936692Z","lastModifiedBy":"b7a2724a-2cc3-4049-8a7f-ce0f7b559cdf","lastModifiedByType":"Application","lastModifiedAt":"2023-08-18T00:12:20.2936692Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Failed","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11881915"},"organizationInfo":{"organizationId":"6f936bad-47df-43db-8c9c-425295cfe032"}},"userInfo":{"firstName":"first","lastName":"last","emailAddress":"f0ff47c3-3aed-45b0-b239-260d9625045a@example.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-08-20T16:00:00Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/acctest-rg-230821153436759311/providers/NewRelic.Observability/monitors/acctest-nrm-230821153436759311","name":"acctest-nrm-230821153436759311","type":"newrelic.observability/monitors","location":"centraluseuap","systemData":{"createdBy":"b7a2724a-2cc3-4049-8a7f-ce0f7b559cdf","createdByType":"Application","createdAt":"2023-08-21T07:35:14.7873739Z","lastModifiedBy":"b7a2724a-2cc3-4049-8a7f-ce0f7b559cdf","lastModifiedByType":"Application","lastModifiedAt":"2023-08-21T07:35:14.7873739Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Failed","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11882468"},"organizationInfo":{"organizationId":"6f694696-0428-4dd2-aa0e-0b8524427f66"}},"userInfo":{"firstName":"first","lastName":"last","emailAddress":"f0ff47c3-3aed-45b0-b239-260d9625045a@example.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-08-23T16:00:00Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/acctest-rg-230821161133623641/providers/NewRelic.Observability/monitors/acctest-nrm-230821161133623641","name":"acctest-nrm-230821161133623641","type":"newrelic.observability/monitors","location":"centraluseuap","systemData":{"createdBy":"b7a2724a-2cc3-4049-8a7f-ce0f7b559cdf","createdByType":"Application","createdAt":"2023-08-21T08:11:58.8620707Z","lastModifiedBy":"b7a2724a-2cc3-4049-8a7f-ce0f7b559cdf","lastModifiedByType":"Application","lastModifiedAt":"2023-08-21T08:11:58.8620707Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Failed","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11882471"},"organizationInfo":{"organizationId":"d8d4920f-7325-403e-ab29-1f9b8cd72c5b"}},"userInfo":{"firstName":"first","lastName":"last","emailAddress":"f0ff47c3-3aed-45b0-b239-260d9625045a@example.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-08-23T16:00:00Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/acctest-rg-230821161133627638/providers/NewRelic.Observability/monitors/acctest-nrm-230821161133627638","name":"acctest-nrm-230821161133627638","type":"newrelic.observability/monitors","location":"centraluseuap","systemData":{"createdBy":"b7a2724a-2cc3-4049-8a7f-ce0f7b559cdf","createdByType":"Application","createdAt":"2023-08-21T08:12:01.5716965Z","lastModifiedBy":"b7a2724a-2cc3-4049-8a7f-ce0f7b559cdf","lastModifiedByType":"Application","lastModifiedAt":"2023-08-21T08:12:01.5716965Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Failed","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11882472"},"organizationInfo":{"organizationId":"2db8e60b-e5bc-474a-bac2-9d6e2710ae87"}},"userInfo":{"firstName":"first","lastName":"last","emailAddress":"27362230-e2d8-4c73-9ee3-fdef83459ca3@example.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-08-23T16:00:00Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/acctest-rg-230821161133623460/providers/NewRelic.Observability/monitors/acctest-nrm-230821161133623460","name":"acctest-nrm-230821161133623460","type":"newrelic.observability/monitors","location":"centraluseuap","systemData":{"createdBy":"b7a2724a-2cc3-4049-8a7f-ce0f7b559cdf","createdByType":"Application","createdAt":"2023-08-21T08:12:06.2029792Z","lastModifiedBy":"b7a2724a-2cc3-4049-8a7f-ce0f7b559cdf","lastModifiedByType":"Application","lastModifiedAt":"2023-08-21T08:12:06.2029792Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Failed","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11882473"},"organizationInfo":{"organizationId":"9a5c578a-b4ae-40d2-9f7d-9cc3ec3b8f91"}},"userInfo":{"firstName":"first","lastName":"last","emailAddress":"672d9312-65a7-484c-870d-94584850a423@example.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-08-23T16:00:00Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/acctest-rg-230821161133623080/providers/NewRelic.Observability/monitors/acctest-nrm-230821161133623080","name":"acctest-nrm-230821161133623080","type":"newrelic.observability/monitors","location":"centraluseuap","systemData":{"createdBy":"b7a2724a-2cc3-4049-8a7f-ce0f7b559cdf","createdByType":"Application","createdAt":"2023-08-21T08:12:10.4993784Z","lastModifiedBy":"b7a2724a-2cc3-4049-8a7f-ce0f7b559cdf","lastModifiedByType":"Application","lastModifiedAt":"2023-08-21T08:12:10.4993784Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Failed","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11882474"},"organizationInfo":{"organizationId":"1bec8a7d-5073-4a40-b412-57bd2b1016a7"}},"userInfo":{"firstName":"first","lastName":"last","emailAddress":"85b5febd-127d-4633-9c25-bcfea555af46@example.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-08-23T16:00:00Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vidhi-rg/providers/NewRelic.Observability/monitors/testing-auth","name":"testing-auth","type":"newrelic.observability/monitors","location":"centraluseuap","tags":{},"systemData":{"createdBy":"vidhi.kothari@microsoft.com","createdByType":"User","createdAt":"2023-09-06T06:22:28.2409556Z","lastModifiedBy":"vidhi.kothari@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-09-06T06:22:28.2409556Z"},"identity":{"principalId":"a30b2c31-1e55-4a3d-b2a5-5683f0be497e","tenantId":"888d76fa-54b2-4ced-8ee5-aac1585adee7","type":"SystemAssigned"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11885385"},"organizationInfo":{"organizationId":"b6057c49-6832-4139-94bb-9739947ce62f"}},"userInfo":{"firstName":"Vidhi","lastName":"Kothari","emailAddress":"vidhi.kothari@microsoft.com","phoneNumber":""},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-09-06T06:22:03.304Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cloudtest-nr-12205-rg-cuse/providers/NewRelic.Observability/monitors/liftr-nr-ci-resource44887","name":"liftr-nr-ci-resource44887","type":"newrelic.observability/monitors","location":"centraluseuap","tags":{"TestMethod":"d__16","TestClass":"CreateResourceForNewUser"},"systemData":{"createdBy":"6851f3c3-8c68-454f-bc0e-ef1b9bff0216","createdByType":"Application","createdAt":"2023-10-18T11:43:53.4862104Z","lastModifiedBy":"6851f3c3-8c68-454f-bc0e-ef1b9bff0216","lastModifiedByType":"Application","lastModifiedAt":"2023-10-18T11:43:53.4862104Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Failed","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"userId":null,"accountInfo":null,"organizationInfo":null},"userInfo":{"firstName":"fakeUser","lastName":"fakeLastName","emailAddress":"backendCloudTestEmail@MicrosoftCustomerLed.onmicrosoft.com","phoneNumber":null},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2022-10-25T13:14:33Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gaurav-test/providers/NewRelic.Observability/monitors/gb-test-20-10-ceuap-1","name":"gb-test-20-10-ceuap-1","type":"newrelic.observability/monitors","location":"centraluseuap","tags":{},"systemData":{"createdBy":"gauravbang@microsoft.com","createdByType":"User","createdAt":"2023-10-20T10:30:47.9201943Z","lastModifiedBy":"gauravbang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-10-20T10:30:47.9201943Z"},"identity":{"principalId":"8ce291d3-6de0-4646-866e-73a21312133f","tenantId":"888d76fa-54b2-4ced-8ee5-aac1585adee7","type":"SystemAssigned"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11925528"},"organizationInfo":{"organizationId":"ffa3a250-1969-4758-81ae-0e93336e91de"}},"userInfo":{"firstName":"Gaurav","lastName":"Bang","emailAddress":"gauravbang@microsoft.com","phoneNumber":""},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-10-20T10:30:13.487Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vip-rg/providers/NewRelic.Observability/monitors/liftr-nr-ci-resource62107","name":"liftr-nr-ci-resource62107","type":"newrelic.observability/monitors","location":"centraluseuap","tags":{"TestMethod":"d__16","TestClass":"CreateResourceForNewUser"},"systemData":{"createdBy":"6851f3c3-8c68-454f-bc0e-ef1b9bff0216","createdByType":"Application","createdAt":"2023-10-23T04:51:59.1133508Z","lastModifiedBy":"6851f3c3-8c68-454f-bc0e-ef1b9bff0216","lastModifiedByType":"Application","lastModifiedAt":"2023-10-23T04:51:59.1133508Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Accepted","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"4206343"},"organizationInfo":{"organizationId":"cb6bce4b-7a18-44d6-99cf-3493c0867521"}},"userInfo":{"firstName":"fakeUser","lastName":"fakeLastName","emailAddress":"backendCloudTestEmail@MicrosoftCustomerLed.onmicrosoft.com"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2022-10-25T13:14:33Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vip-rg/providers/NewRelic.Observability/monitors/liftr-nr-ci-resource14807","name":"liftr-nr-ci-resource14807","type":"newrelic.observability/monitors","location":"centraluseuap","tags":{"TestMethod":"d__16","TestClass":"CreateResourceForNewUser"},"systemData":{"createdBy":"6851f3c3-8c68-454f-bc0e-ef1b9bff0216","createdByType":"Application","createdAt":"2023-10-23T05:15:15.0526916Z","lastModifiedBy":"6851f3c3-8c68-454f-bc0e-ef1b9bff0216","lastModifiedByType":"Application","lastModifiedAt":"2023-10-23T05:15:15.0526916Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Accepted","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"4206361"},"organizationInfo":{"organizationId":"64136871-ed05-4eab-a152-78514bad4234"}},"userInfo":{"firstName":"fakeUser","lastName":"fakeLastName","emailAddress":"backendCloudTestEmail@MicrosoftCustomerLed.onmicrosoft.com"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2022-10-25T13:14:33Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vip-rg/providers/NewRelic.Observability/monitors/liftr-nr-ci-resource41154","name":"liftr-nr-ci-resource41154","type":"newrelic.observability/monitors","location":"centraluseuap","tags":{"TestMethod":"d__16","TestClass":"CreateResourceForNewUser"},"systemData":{"createdBy":"6851f3c3-8c68-454f-bc0e-ef1b9bff0216","createdByType":"Application","createdAt":"2023-10-23T05:22:23.0536057Z","lastModifiedBy":"6851f3c3-8c68-454f-bc0e-ef1b9bff0216","lastModifiedByType":"Application","lastModifiedAt":"2023-10-23T05:22:23.0536057Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"userId":null,"accountInfo":null,"organizationInfo":null},"userInfo":{"firstName":"fakeUser","lastName":"fakeLastName","emailAddress":"backendCloudTestEmail@MicrosoftCustomerLed.onmicrosoft.com","phoneNumber":null},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2022-10-25T13:14:33Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cloudtest-nr-38978-rgcuse/providers/NewRelic.Observability/monitors/liftr-nr-ci-resource91414","name":"liftr-nr-ci-resource91414","type":"newrelic.observability/monitors","location":"centraluseuap","tags":{"TestMethod":"d__16","TestClass":"CreateResourceAndLinkWithExistingAccountForExistingUser"},"systemData":{"createdBy":"6851f3c3-8c68-454f-bc0e-ef1b9bff0216","createdByType":"Application","createdAt":"2023-10-23T05:27:20.7018244Z","lastModifiedBy":"6851f3c3-8c68-454f-bc0e-ef1b9bff0216","lastModifiedByType":"Application","lastModifiedAt":"2023-10-23T05:27:20.7018244Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Failed","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"userId":null,"accountInfo":{"accountId":"4206343","ingestionKey":null},"organizationInfo":{"organizationId":"cb6bce4b-7a18-44d6-99cf-3493c0867521"}},"userInfo":{"firstName":"fakeUser","lastName":"fakeLastName","emailAddress":"backendCloudTestEmail@MicrosoftCustomerLed.onmicrosoft.com","phoneNumber":null},"planData":null,"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cloudtest-nr-58577-rgcuse/providers/NewRelic.Observability/monitors/liftr-nr-ci-resource28705cuse","name":"liftr-nr-ci-resource28705cuse","type":"newrelic.observability/monitors","location":"centraluseuap","tags":{"TestMethod":"d__16","TestClass":"CreateResourceAndLinkWithExistingAccountForExistingUser"},"systemData":{"createdBy":"6851f3c3-8c68-454f-bc0e-ef1b9bff0216","createdByType":"Application","createdAt":"2023-10-23T05:29:20.0934979Z","lastModifiedBy":"6851f3c3-8c68-454f-bc0e-ef1b9bff0216","lastModifiedByType":"Application","lastModifiedAt":"2023-10-23T05:29:20.0934979Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Failed","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"userId":null,"accountInfo":{"accountId":"4206367","ingestionKey":null},"organizationInfo":{"organizationId":"8dd654e2-c688-4a83-8053-040bff9bd0c5"}},"userInfo":{"firstName":"fakeUser","lastName":"fakeLastName","emailAddress":"backendCloudTestEmail@MicrosoftCustomerLed.onmicrosoft.com","phoneNumber":null},"planData":null,"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gaurav-test/providers/NewRelic.Observability/monitors/gaurav-test-25-10-ceuap-1","name":"gaurav-test-25-10-ceuap-1","type":"newrelic.observability/monitors","location":"centraluseuap","tags":{},"systemData":{"createdBy":"gauravbang@microsoft.com","createdByType":"User","createdAt":"2023-10-25T09:06:21.126758Z","lastModifiedBy":"gauravbang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-10-25T09:06:21.126758Z"},"identity":{"principalId":"0d3b4fdd-7db7-435a-af30-379b3563cdda","tenantId":"888d76fa-54b2-4ced-8ee5-aac1585adee7","type":"SystemAssigned"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11928331"},"organizationInfo":{"organizationId":"5bfa6600-cdd4-4d37-a862-f264d74c13cc"}},"userInfo":{"firstName":"Gaurav","lastName":"Bang","emailAddress":"gauravbang@microsoft.com","phoneNumber":""},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-10-25T09:05:46.416Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cloudtest-nr-06630-rg-cuse/providers/NewRelic.Observability/monitors/liftr-nr-ci-resource58514cuse","name":"liftr-nr-ci-resource58514cuse","type":"newrelic.observability/monitors","location":"centraluseuap","tags":{"TestMethod":"d__16","TestClass":"CreateResourceForNewUser"},"systemData":{"createdBy":"6851f3c3-8c68-454f-bc0e-ef1b9bff0216","createdByType":"Application","createdAt":"2023-10-31T08:15:49.713657Z","lastModifiedBy":"6851f3c3-8c68-454f-bc0e-ef1b9bff0216","lastModifiedByType":"Application","lastModifiedAt":"2023-10-31T08:15:49.713657Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Failed","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"userId":null,"accountInfo":null,"organizationInfo":null},"userInfo":{"firstName":"fakeUser","lastName":"fakeLastName","emailAddress":"backendCloudTestEmail@MicrosoftCustomerLed.onmicrosoft.com","phoneNumber":null},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2022-10-25T13:14:33Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/saurgupta_RG/providers/NewRelic.Observability/monitors/saurgupta_01_01_23_05","name":"saurgupta_01_01_23_05","type":"newrelic.observability/monitors","location":"Central - US EUAP","systemData":{"createdBy":"gauravbang@microsoft.com","createdByType":"User","createdAt":"2023-11-24T12:12:04.7412514Z","lastModifiedBy":"gauravbang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-11-24T12:12:04.7412514Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11943186"},"organizationInfo":{"organizationId":"2a76413b-b156-44b4-90b7-2b2a7fb50bd6"}},"userInfo":{"firstName":"Alice","lastName":"Bob","emailAddress":"gauravbang@microsoft.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2022-10-25T13:14:33Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/apoorva_rg/providers/NewRelic.Observability/monitors/test-az-sub-2","name":"test-az-sub-2","type":"newrelic.observability/monitors","location":"centraluseuap","tags":{},"systemData":{"createdBy":"apoorvasingh@microsoft.com","createdByType":"User","createdAt":"2024-02-22T11:20:57.1693477Z","lastModifiedBy":"apoorvasingh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-03-05T14:23:36.8526717Z"},"identity":{"principalId":"95817b5e-8093-4c0e-8a06-8767c4bd7cca","tenantId":"888d76fa-54b2-4ced-8ee5-aac1585adee7","type":"SystemAssigned"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11988194"},"organizationInfo":{"organizationId":"0b1f9e9e-52ab-453f-a69e-770f889d9037"}},"userInfo":{"firstName":"Apoorva","lastName":"Singh","emailAddress":"apoorvasingh@microsoft.com","phoneNumber":"4257050556"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2024-03-05T14:23:34.377Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vip-rg/providers/NewRelic.Observability/monitors/vipTestError3","name":"vipTestError3","type":"newrelic.observability/monitors","location":"Central - US EUAP","systemData":{"createdBy":"viprayjain@microsoft.com","createdByType":"User","createdAt":"2024-02-26T10:55:48.4973957Z","lastModifiedBy":"viprayjain@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-26T10:55:48.4973957Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Failed","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"userId":null,"accountInfo":{"accountId":"4040105","ingestionKey":null},"organizationInfo":{"organizationId":"ea5fce87-2927-444e-8000-4b457c5070bd"}},"userInfo":{"firstName":"Alice","lastName":"Bob","emailAddress":"viprayjain@microsoft.com","phoneNumber":"123456"},"planData":null,"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vip-rg/providers/NewRelic.Observability/monitors/vipTestError4","name":"vipTestError4","type":"newrelic.observability/monitors","location":"Central - US EUAP","systemData":{"createdBy":"viprayjain@microsoft.com","createdByType":"User","createdAt":"2024-02-27T04:32:57.9750815Z","lastModifiedBy":"viprayjain@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-27T04:32:57.9750815Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Failed","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"userId":null,"accountInfo":{"accountId":"4040105","ingestionKey":null},"organizationInfo":{"organizationId":"ea5fce87-2927-444e-8000-4b457c5070bd"}},"userInfo":{"firstName":"Alice","lastName":"Bob","emailAddress":"viprayjain@microsoft.com","phoneNumber":"123456"},"planData":null,"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vip-rg/providers/NewRelic.Observability/monitors/vipTestError5","name":"vipTestError5","type":"newrelic.observability/monitors","location":"Central - US EUAP","systemData":{"createdBy":"viprayjain@microsoft.com","createdByType":"User","createdAt":"2024-02-27T09:26:14.6972087Z","lastModifiedBy":"viprayjain@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-27T09:26:14.6972087Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Failed","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"userId":null,"accountInfo":{"accountId":"4040105","ingestionKey":null},"organizationInfo":{"organizationId":"ea5fce87-2927-444e-8000-4b457c5070bd"}},"userInfo":{"firstName":"Alice","lastName":"Bob","emailAddress":"viprayjain@microsoft.com","phoneNumber":"123456"},"planData":null,"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dipesh_test/providers/NewRelic.Observability/monitors/dipesh_29_02_01","name":"dipesh_29_02_01","type":"newrelic.observability/monitors","location":"centraluseuap","tags":{},"systemData":{"createdBy":"dipeshbhakat@microsoft.com","createdByType":"User","createdAt":"2024-02-29T11:45:09.5899285Z","lastModifiedBy":"dipeshbhakat@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-29T11:45:09.5899285Z"},"identity":{"principalId":"a44b9c88-8c8f-4514-85eb-62a66010ced2","tenantId":"888d76fa-54b2-4ced-8ee5-aac1585adee7","type":"SystemAssigned"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11990078"},"organizationInfo":{"organizationId":"79cbba8a-cae3-4faa-ac61-4a25042a7d38"}},"userInfo":{"firstName":"Dipesh","lastName":"Bhakat","emailAddress":"dipeshbhakat@microsoft.com","phoneNumber":""},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2024-02-29T11:44:34.73Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dipesh_test/providers/NewRelic.Observability/monitors/dipesh_link_29_02_1","name":"dipesh_link_29_02_1","type":"newrelic.observability/monitors","location":"centraluseuap","tags":{},"systemData":{"createdBy":"dipeshbhakat@microsoft.com","createdByType":"User","createdAt":"2024-02-29T11:55:37.8022967Z","lastModifiedBy":"dipeshbhakat@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-29T11:55:37.8022967Z"},"identity":{"principalId":"b282be89-6023-44de-8285-3ad04efccddf","tenantId":"888d76fa-54b2-4ced-8ee5-aac1585adee7","type":"SystemAssigned"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Failed","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"userId":null,"accountInfo":{"accountId":"3683248","ingestionKey":null},"organizationInfo":{"organizationId":"8b28afd4-fea5-4e44-aec9-3d476709c6ac"}},"userInfo":{"firstName":"Dipesh","lastName":"Bhakat","emailAddress":"dipeshbhakat@microsoft.com","phoneNumber":""},"planData":{"usageType":null,"billingCycle":null,"planDetails":null,"effectiveDate":"0001-01-01T00:00:00Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vip-rg/providers/NewRelic.Observability/monitors/checkDB","name":"checkDB","type":"newrelic.observability/monitors","location":"centraluseuap","tags":{},"systemData":{"createdBy":"viprayjain@microsoft.com","createdByType":"User","createdAt":"2024-03-14T09:07:59.6608227Z","lastModifiedBy":"viprayjain@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-03-14T09:07:59.6608227Z"},"identity":{"principalId":"9c6244c5-bffc-4797-9187-3c7fdd2c488a","tenantId":"888d76fa-54b2-4ced-8ee5-aac1585adee7","type":"SystemAssigned"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11994220"},"organizationInfo":{"organizationId":"29e978b3-47bc-4f6c-8de8-13a15ab5d693"}},"userInfo":{"firstName":"Vipray","lastName":"Jain","emailAddress":"viprayjain@microsoft.com","phoneNumber":""},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2024-03-14T09:07:23.624Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/kansingh-RG/providers/NewRelic.Observability/monitors/14mar-canary2test","name":"14mar-canary2test","type":"newrelic.observability/monitors","location":"centraluseuap","tags":{},"systemData":{"createdBy":"kansingh@microsoft.com","createdByType":"User","createdAt":"2024-03-14T10:28:11.1459865Z","lastModifiedBy":"kansingh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-03-14T10:28:11.1459865Z"},"identity":{"principalId":"280ec43b-4b19-4d18-929a-f96045939e91","tenantId":"888d76fa-54b2-4ced-8ee5-aac1585adee7","type":"SystemAssigned"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11994233"},"organizationInfo":{"organizationId":"cf240f05-bc53-41d8-8952-8b98477ae2ff"}},"userInfo":{"firstName":"Kanupriya","lastName":"Singh","emailAddress":"kansingh@microsoft.com","phoneNumber":""},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2024-03-14T10:27:36.905Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myjstest/providers/NewRelic.Observability/monitors/resourcetest","name":"resourcetest","type":"newrelic.observability/monitors","location":"centraluseuap","systemData":{"createdBy":"261ef4db-ac4d-4671-8780-6137189c0845","createdByType":"Application","createdAt":"2024-03-19T08:54:05.0571803Z","lastModifiedBy":"261ef4db-ac4d-4671-8780-6137189c0845","lastModifiedByType":"Application","lastModifiedAt":"2024-03-19T08:54:05.0571803Z"},"identity":{"principalId":"ac2a6087-7881-4b93-bb8f-274c772bd8f4","tenantId":"888d76fa-54b2-4ced-8ee5-aac1585adee7","type":"SystemAssigned"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Failed","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"userId":null,"accountInfo":null,"organizationInfo":null},"userInfo":{"firstName":"ZiWei","lastName":"Chen - (WICRESOFT NORTH AMERICA LTD)","emailAddress":"v-ziweichen@microsoft.com","phoneNumber":""},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"0001-01-01T00:00:00Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitorrg5beiirty3xc47lcbtr3klwoyncwnd6u7edvvvvkwywe2rj7/providers/NewRelic.Observability/monitors/test-new-relic-monitor","name":"test-new-relic-monitor","type":"newrelic.observability/monitors","location":"centraluseuap","tags":{"key6976":"oaxfhf"},"systemData":{"createdBy":"dipeshbhakat@microsoft.com","createdByType":"User","createdAt":"2024-03-26T04:35:46.8601474Z","lastModifiedBy":"dipeshbhakat@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-03-26T04:35:46.8601474Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Failed","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"userId":null,"accountInfo":null,"organizationInfo":null},"userInfo":{"firstName":"Dipesh","lastName":"Bhakat","emailAddress":"dipeshbhakat@microsoft.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-10-25T13:14:33Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitorwqzhp23jis2szego3r67sh46ynbf2yinim3erfmltniibau6j/providers/NewRelic.Observability/monitors/test-new-relic-monitor","name":"test-new-relic-monitor","type":"newrelic.observability/monitors","location":"centraluseuap","tags":{"key6976":"oaxfhf"},"systemData":{"createdBy":"dipeshbhakat@microsoft.com","createdByType":"User","createdAt":"2024-03-26T04:48:10.9904669Z","lastModifiedBy":"dipeshbhakat@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-03-26T04:48:10.9904669Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Failed","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"userId":null,"accountInfo":null,"organizationInfo":null},"userInfo":{"firstName":"Dipesh","lastName":"Bhakat","emailAddress":"dipeshbhakat@microsoft.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-10-25T13:14:33Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitorkftzyqeraowvs7havpr7bsmuiifabyfozkpozqsoben5skzcd/providers/NewRelic.Observability/monitors/test-new-relic-monitor","name":"test-new-relic-monitor","type":"newrelic.observability/monitors","location":"centraluseuap","tags":{"key6976":"oaxfhf"},"systemData":{"createdBy":"dipeshbhakat@microsoft.com","createdByType":"User","createdAt":"2024-03-26T07:01:11.9647746Z","lastModifiedBy":"dipeshbhakat@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-03-26T07:01:11.9647746Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Failed","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"userId":null,"accountInfo":null,"organizationInfo":null},"userInfo":{"firstName":"Dipesh","lastName":"Bhakat","emailAddress":"dipeshbhakat@microsoft.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-10-25T13:14:33Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cloudtest-nr-48134-rg/providers/NewRelic.Observability/monitors/liftr-nr-ci-resource31390cuse","name":"liftr-nr-ci-resource31390cuse","type":"newrelic.observability/monitors","location":"centraluseuap","tags":{"TestMethod":"d__2","TestClass":"Utils"},"systemData":{"createdBy":"6851f3c3-8c68-454f-bc0e-ef1b9bff0216","createdByType":"Application","createdAt":"2024-03-26T08:39:49.8046262Z","lastModifiedBy":"6851f3c3-8c68-454f-bc0e-ef1b9bff0216","lastModifiedByType":"Application","lastModifiedAt":"2024-03-26T08:39:49.8046262Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Accepted","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"userId":null,"accountInfo":{"accountId":"11923497","ingestionKey":null},"organizationInfo":{"organizationId":"aaccd659-7033-465e-9594-50ad93a3edb7"}},"userInfo":{"firstName":"fakeUser","lastName":"fakeLastName","emailAddress":"backendCloudTestEmail@MicrosoftCustomerLed.onmicrosoft.com","phoneNumber":null},"planData":null,"saaSAzureSubscriptionStatus":null,"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cloudtest-nr-28654-rg-cuse/providers/NewRelic.Observability/monitors/liftr-nr-ci-resource11156cuse","name":"liftr-nr-ci-resource11156cuse","type":"newrelic.observability/monitors","location":"centraluseuap","tags":{"TestMethod":"d__4","TestClass":"Utils"},"systemData":{"createdBy":"6851f3c3-8c68-454f-bc0e-ef1b9bff0216","createdByType":"Application","createdAt":"2024-03-26T09:07:59.2364004Z","lastModifiedBy":"6851f3c3-8c68-454f-bc0e-ef1b9bff0216","lastModifiedByType":"Application","lastModifiedAt":"2024-03-26T09:07:59.2364004Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Accepted","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"userId":null,"accountInfo":null,"organizationInfo":null},"userInfo":{"firstName":"fakeUser","lastName":"fakeLastName","emailAddress":"backendCloudTestEmail@MicrosoftCustomerLed.onmicrosoft.com","phoneNumber":null},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2022-10-25T13:14:33Z"},"saaSAzureSubscriptionStatus":null,"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitoruz2wgp4e43z7ab3dycllnbayx6yjdfgoyg2dpp2hhsew2jka5/providers/NewRelic.Observability/monitors/test-new-relic-monitor","name":"test-new-relic-monitor","type":"newrelic.observability/monitors","location":"centraluseuap","tags":{"key6976":"oaxfhf"},"systemData":{"createdBy":"dipeshbhakat@microsoft.com","createdByType":"User","createdAt":"2024-03-26T11:09:48.8436667Z","lastModifiedBy":"dipeshbhakat@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-03-26T11:09:48.8436667Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Accepted","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"userId":null,"accountInfo":null,"organizationInfo":null},"userInfo":{"firstName":"Dipesh","lastName":"Bhakat","emailAddress":"dipeshbhakat@microsoft.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-10-25T13:14:33Z"},"saaSAzureSubscriptionStatus":null,"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitoro32w6rftbbynrn7acbja5ub422fhnym26llprt4u7ip5x2ng3/providers/NewRelic.Observability/monitors/test-new-relic-monitor","name":"test-new-relic-monitor","type":"newrelic.observability/monitors","location":"centraluseuap","tags":{"key6976":"oaxfhf"},"systemData":{"createdBy":"dipeshbhakat@microsoft.com","createdByType":"User","createdAt":"2024-03-26T11:24:41.5397935Z","lastModifiedBy":"dipeshbhakat@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-03-26T11:24:41.5397935Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Accepted","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"userId":null,"accountInfo":null,"organizationInfo":null},"userInfo":{"firstName":"Dipesh","lastName":"Bhakat","emailAddress":"dipeshbhakat@microsoft.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-10-25T13:14:33Z"},"saaSAzureSubscriptionStatus":null,"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/apoorva_rg/providers/NewRelic.Observability/monitors/test-res-azsub","name":"test-res-azsub","type":"newrelic.observability/monitors","location":"centraluseuap","tags":{},"systemData":{"createdBy":"apoorvasingh@microsoft.com","createdByType":"User","createdAt":"2024-03-26T11:26:36.0010128Z","lastModifiedBy":"apoorvasingh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-03-26T11:26:36.0010128Z"},"identity":{"principalId":"a07bcaf1-9309-4a02-89c3-b50cd1f1a768","tenantId":"888d76fa-54b2-4ced-8ee5-aac1585adee7","type":"SystemAssigned"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Accepted","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"userId":null,"accountInfo":null,"organizationInfo":null},"userInfo":{"firstName":"Apoorva","lastName":"Singh","emailAddress":"apoorvasingh@microsoft.com","phoneNumber":"4257050556"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2024-03-26T11:26:00.685Z"},"saaSAzureSubscriptionStatus":null,"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/saurgupta_RG/providers/NewRelic.Observability/monitors/testing-hot-reloading","name":"testing-hot-reloading","type":"newrelic.observability/monitors","location":"eastus2euap","tags":{},"systemData":{"createdBy":"chsahu@microsoft.com","createdByType":"User","createdAt":"2023-10-25T13:57:21.8967466Z","lastModifiedBy":"chsahu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-10-25T13:57:21.8967466Z"},"identity":{"principalId":"c70d644a-a158-49f0-bd7f-3619e700a170","tenantId":"888d76fa-54b2-4ced-8ee5-aac1585adee7","type":"SystemAssigned"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Failed","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"userId":null,"accountInfo":null,"organizationInfo":null},"userInfo":{"firstName":"Chaitanya","lastName":"Sahu","emailAddress":"chsahu@microsoft.com","phoneNumber":"09676789609"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-10-25T13:56:51.237Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/saurgupta_RG/providers/NewRelic.Observability/monitors/testing-hot-reloading-02","name":"testing-hot-reloading-02","type":"newrelic.observability/monitors","location":"eastus2euap","tags":{},"systemData":{"createdBy":"chsahu@microsoft.com","createdByType":"User","createdAt":"2023-10-26T17:14:18.7575265Z","lastModifiedBy":"chsahu@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-10-26T17:14:18.7575265Z"},"identity":{"principalId":"8cd34506-5c3e-4e0c-b0d2-882da1ef4eed","tenantId":"888d76fa-54b2-4ced-8ee5-aac1585adee7","type":"SystemAssigned"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11929132"},"organizationInfo":{"organizationId":"2c432fa1-0804-4c1c-9656-59f5279303e1"}},"userInfo":{"firstName":"Chaitanya","lastName":"Sahu","emailAddress":"chsahu@microsoft.com","phoneNumber":"09676789609"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-10-26T17:13:52.967Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/gaurav-test/providers/NewRelic.Observability/monitors/gaurav-test-01-11-1","name":"gaurav-test-01-11-1","type":"newrelic.observability/monitors","location":"eastus2euap","tags":{},"systemData":{"createdBy":"gauravbang@microsoft.com","createdByType":"User","createdAt":"2023-11-01T10:50:47.1152866Z","lastModifiedBy":"gauravbang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-11-01T10:50:47.1152866Z"},"identity":{"principalId":"2f6488d7-0faa-472e-a683-554cc750b3e8","tenantId":"888d76fa-54b2-4ced-8ee5-aac1585adee7","type":"SystemAssigned"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11932582"},"organizationInfo":{"organizationId":"a09a6984-f05d-4a8a-a4d3-497bfbfe698e"}},"userInfo":{"firstName":"Gaurav","lastName":"Bang","emailAddress":"gauravbang@microsoft.com","phoneNumber":""},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-11-01T10:50:14.303Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cloudtest-nr-55563-rgeus2e/providers/NewRelic.Observability/monitors/liftr-nr-ci-resource66555eus2e","name":"liftr-nr-ci-resource66555eus2e","type":"newrelic.observability/monitors","location":"eastus2euap","tags":{"TestMethod":"d__16","TestClass":"CreateResourceAndLinkWithExistingAccountForExistingUser"},"systemData":{"createdBy":"6851f3c3-8c68-454f-bc0e-ef1b9bff0216","createdByType":"Application","createdAt":"2023-11-09T06:41:06.2742785Z","lastModifiedBy":"6851f3c3-8c68-454f-bc0e-ef1b9bff0216","lastModifiedByType":"Application","lastModifiedAt":"2023-11-09T06:41:06.2742785Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11937387"},"organizationInfo":{"organizationId":"9a58f36d-e0f9-48a9-b0f0-5010a2c7f830"}},"userInfo":{"firstName":"fakeUser","lastName":"fakeLastName","emailAddress":"viprayjain@microsoft.com"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/saurgupta_RG/providers/NewRelic.Observability/monitors/saurgupta_01_01_23_06","name":"saurgupta_01_01_23_06","type":"newrelic.observability/monitors","location":"East - US2 EUAP","systemData":{"createdBy":"gauravbang@microsoft.com","createdByType":"User","createdAt":"2023-11-27T08:53:24.3204593Z","lastModifiedBy":"gauravbang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-11-27T08:53:24.3204593Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11943901"},"organizationInfo":{"organizationId":"898dffc0-07e9-4d67-bc3c-b91692258d9e"}},"userInfo":{"firstName":"Alice","lastName":"Bob","emailAddress":"gauravbang@microsoft.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2022-10-25T13:14:33Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/saurgupta_RG/providers/NewRelic.Observability/monitors/saurgupta_01_01_23_07","name":"saurgupta_01_01_23_07","type":"newrelic.observability/monitors","location":"East - US2 EUAP","systemData":{"createdBy":"gauravbang@microsoft.com","createdByType":"User","createdAt":"2023-11-27T09:14:29.4376766Z","lastModifiedBy":"gauravbang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-11-27T09:14:29.4376766Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11943904"},"organizationInfo":{"organizationId":"08603c83-8ff3-45e8-964b-a1590a3e6456"}},"userInfo":{"firstName":"Alice","lastName":"Bob","emailAddress":"gauravbang@microsoft.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2022-10-25T13:14:33Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/saurgupta_RG/providers/NewRelic.Observability/monitors/saurgupta_01_01_23_08","name":"saurgupta_01_01_23_08","type":"newrelic.observability/monitors","location":"East - US2 EUAP","systemData":{"createdBy":"gauravbang@microsoft.com","createdByType":"User","createdAt":"2023-11-27T09:19:47.1319092Z","lastModifiedBy":"gauravbang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-11-27T09:19:47.1319092Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11943906"},"organizationInfo":{"organizationId":"8a400ebc-d660-405a-9ec8-ebf627aaa209"}},"userInfo":{"firstName":"Alice","lastName":"Bob","emailAddress":"gauravbang@microsoft.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2022-10-25T13:14:33Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/svee-test-rg/providers/NewRelic.Observability/monitors/svee-test-nr-euap-east-1","name":"svee-test-nr-euap-east-1","type":"newrelic.observability/monitors","location":"eastus2euap","tags":{},"systemData":{"createdBy":"sveeravalli@microsoft.com","createdByType":"User","createdAt":"2024-02-21T18:25:39.3618946Z","lastModifiedBy":"sveeravalli@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-21T18:25:39.3618946Z"},"identity":{"principalId":"0ffe07fc-0c4e-4518-ab8c-f716bb67490c","tenantId":"888d76fa-54b2-4ced-8ee5-aac1585adee7","type":"SystemAssigned"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11988005"},"organizationInfo":{"organizationId":"1810224d-8791-44c7-85e0-6a3c47d7dfa0"}},"userInfo":{"firstName":"Sai","lastName":"Soorya - Rao Veeravalli","emailAddress":"sveeravalli@microsoft.com","phoneNumber":""},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2024-02-21T18:25:10.506Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vip-rg/providers/NewRelic.Observability/monitors/vipTestNotificationE2EUAP","name":"vipTestNotificationE2EUAP","type":"newrelic.observability/monitors","location":"eastus2euap","tags":{},"systemData":{"createdBy":"viprayjain@microsoft.com","createdByType":"User","createdAt":"2024-02-28T07:11:47.5673891Z","lastModifiedBy":"viprayjain@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-02-28T07:11:47.5673891Z"},"identity":{"principalId":"510bfa89-15bb-44ff-944d-c0940cf52a01","tenantId":"888d76fa-54b2-4ced-8ee5-aac1585adee7","type":"SystemAssigned"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11989742"},"organizationInfo":{"organizationId":"9ec1bec4-c876-4d3f-9cd8-02492bd5b3a2"}},"userInfo":{"firstName":"Vipray","lastName":"Jain","emailAddress":"viprayjain@microsoft.com","phoneNumber":""},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2024-02-28T07:10:59.831Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dipesh_test/providers/NewRelic.Observability/monitors/dipesh_lfcp_eastus2euap","name":"dipesh_lfcp_eastus2euap","type":"newrelic.observability/monitors","location":"eastus2euap","tags":{},"systemData":{"createdBy":"dipeshbhakat@microsoft.com","createdByType":"User","createdAt":"2024-03-05T08:47:19.6352919Z","lastModifiedBy":"dipeshbhakat@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-03-05T08:47:19.6352919Z"},"identity":{"principalId":"601bb739-1c48-427d-8ad1-0fe7a0d9cea6","tenantId":"888d76fa-54b2-4ced-8ee5-aac1585adee7","type":"SystemAssigned"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11991341"},"organizationInfo":{"organizationId":"6abcccbb-ae46-4e7b-a692-3cdca14a75c3"}},"userInfo":{"firstName":"Dipesh","lastName":"Bhakat","emailAddress":"dipeshbhakat@microsoft.com","phoneNumber":""},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2024-03-05T08:46:46.436Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/kansingh-RG/providers/NewRelic.Observability/monitors/14mar-canarytest","name":"14mar-canarytest","type":"newrelic.observability/monitors","location":"eastus2euap","tags":{},"systemData":{"createdBy":"kansingh@microsoft.com","createdByType":"User","createdAt":"2024-03-14T08:07:11.2206199Z","lastModifiedBy":"kansingh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-03-14T08:07:11.2206199Z"},"identity":{"principalId":"f6b52f5f-d995-4328-a8a1-3ac5c58ae017","tenantId":"888d76fa-54b2-4ced-8ee5-aac1585adee7","type":"SystemAssigned"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"11994204"},"organizationInfo":{"organizationId":"109fb5bb-bd23-4bfa-97cd-8c725cebf096"}},"userInfo":{"firstName":"Kanupriya","lastName":"Singh","emailAddress":"kansingh@microsoft.com","phoneNumber":""},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2024-03-14T08:06:38.236Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitoryproga32jo7izjs52rw3acyuackysyyjz4oha4e6f7636jvac/providers/NewRelic.Observability/monitors/test-new-relic-monitor","name":"test-new-relic-monitor","type":"newrelic.observability/monitors","location":"eastus2euap","tags":{"key6976":"oaxfhf"},"systemData":{"createdBy":"dipeshbhakat@microsoft.com","createdByType":"User","createdAt":"2024-03-26T07:03:27.2362204Z","lastModifiedBy":"dipeshbhakat@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-03-26T07:03:27.2362204Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Failed","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"userId":null,"accountInfo":null,"organizationInfo":null},"userInfo":{"firstName":"Dipesh","lastName":"Bhakat","emailAddress":"dipeshbhakat@microsoft.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-10-25T13:14:33Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitorzr5zf3oe4qfzlsosbqa53zglcudtspyawbiw5iezvd6atcshu/providers/NewRelic.Observability/monitors/test-new-relic-monitor","name":"test-new-relic-monitor","type":"newrelic.observability/monitors","location":"eastus2euap","tags":{"key6976":"oaxfhf"},"systemData":{"createdBy":"dipeshbhakat@microsoft.com","createdByType":"User","createdAt":"2024-03-26T07:08:23.3611685Z","lastModifiedBy":"dipeshbhakat@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-03-26T07:08:23.3611685Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Failed","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"userId":null,"accountInfo":null,"organizationInfo":null},"userInfo":{"firstName":"Dipesh","lastName":"Bhakat","emailAddress":"dipeshbhakat@microsoft.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-10-25T13:14:33Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor2audlypr3c5px2yxrfczmfb3rtbecf3ddhconfeav3zxsvqly/providers/NewRelic.Observability/monitors/test-new-relic-monitor","name":"test-new-relic-monitor","type":"newrelic.observability/monitors","location":"eastus2euap","tags":{"key6976":"oaxfhf"},"systemData":{"createdBy":"dipeshbhakat@microsoft.com","createdByType":"User","createdAt":"2024-03-26T11:07:52.5843324Z","lastModifiedBy":"dipeshbhakat@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-03-26T11:07:52.5843324Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Failed","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"userId":null,"accountInfo":null,"organizationInfo":null},"userInfo":{"firstName":"Dipesh","lastName":"Bhakat","emailAddress":"dipeshbhakat@microsoft.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-10-25T13:14:33Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor","name":"test-new-relic-monitor","type":"newrelic.observability/monitors","location":"eastus","tags":{"key6976":"oaxfhf"},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-09-03T19:26:33.6493563Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-09-03T19:26:33.6493563Z"},"identity":{"principalId":"e46750a2-55c3-459b-be3f-3a0f33f7d215","tenantId":"00000000-0000-0000-0000-000000000000","type":"SystemAssigned"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"8472194"},"organizationInfo":{"organizationId":"f2886261-d821-47a6-859f-e7bede8d4919"}},"userInfo":{"firstName":"Test","lastName":"User","emailAddress":"test@example.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDn7ja87drquhy@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg_2025","effectiveDate":"2026-06-01T00:00:00Z"},"saaSData":{},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}}]}' headers: cache-control: - no-cache content-length: - - '86453' + - '1395' content-type: - application/json; charset=utf-8 date: - - Tue, 26 Mar 2024 11:39:24 GMT + - Thu, 03 Sep 2026 19:28:21 GMT expires: - '-1' pragma: @@ -960,16 +892,18 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - 0ccdd449-534e-4043-8a5f-6036842e528e - - 0d2c32b9-9097-449d-ad2a-0e75eb88244a - - 55348183-dddf-41d8-b3fa-3384c83c3698 + - 19894ebe-6c39-4d72-b9d9-9f3fce885486 + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' x-msedge-ref: - - 'Ref A: 0643E44EAD1C4F8A84D55AFB42EE5EF7 Ref B: MAA201060515019 Ref C: 2024-03-26T11:39:21Z' + - 'Ref A: 1C288E5227F946A7B6CF00CB4CB5EC29 Ref B: SG2AA1070303054 Ref C: 2026-09-03T19:28:21Z' status: code: 200 message: OK - request: - body: '{"azureResourceIds": ["abcdefg"], "userEmail": "dipeshbhakat@microsoft.com"}' + body: '{"azureResourceIds": ["abcdefg"], "userEmail": "test@example.com"}' headers: Accept: - application/json @@ -980,31 +914,31 @@ interactions: Connection: - keep-alive Content-Length: - - '76' + - '66' Content-Type: - application/json ParameterSetName: - --resource-group --monitor-name --user-email --azure-resource-ids User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) + - AZURECLI/2.90.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/listAppServices?api-version=2024-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/listAppServices?api-version=2026-06-01 response: body: - string: '{"value":[],"nextLink":null}' + string: '{"value":[]}' headers: cache-control: - no-cache content-length: - - '28' + - '12' content-type: - application/json; charset=utf-8 date: - - Tue, 26 Mar 2024 11:39:33 GMT + - Thu, 03 Sep 2026 19:28:24 GMT expires: - '-1' mise-correlation-id: - - 038f9378-85ec-46cf-a815-3d6a3c540528 + - b7265d01-bec0-4c5f-8b0b-f133e3912523 pragma: - no-cache request-context: @@ -1015,17 +949,21 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - tenantId=00000000-0000-0000-0000-000000000000,objectId=00000000-0000-0000-0000-000000000000/westus/89d0089f-2cb4-4171-ba51-3ccc2a648719 x-ms-providerhub-traffic: - 'True' + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '199' x-msedge-ref: - - 'Ref A: 83AFD1D3B0404203AD49CC21DD30D577 Ref B: MAA201060514039 Ref C: 2024-03-26T11:39:25Z' + - 'Ref A: DECD045FFCB2438C9B3ADA08A65C92FB Ref B: SG2AA1040512052 Ref C: 2026-09-03T19:28:22Z' status: code: 200 message: OK - request: - body: '{"userEmail": "dipeshbhakat@microsoft.com", "vmIds": ["test-vm"]}' + body: '{"userEmail": "test@example.com", "vmIds": ["test-vm"]}' headers: Accept: - application/json @@ -1036,31 +974,31 @@ interactions: Connection: - keep-alive Content-Length: - - '65' + - '55' Content-Type: - application/json ParameterSetName: - --resource-group --monitor-name --user-email --vm-ids User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) + - AZURECLI/2.90.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/listHosts?api-version=2024-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/listHosts?api-version=2026-06-01 response: body: - string: '{"value":[],"nextLink":null}' + string: '{"value":[]}' headers: cache-control: - no-cache content-length: - - '28' + - '12' content-type: - application/json; charset=utf-8 date: - - Tue, 26 Mar 2024 11:39:43 GMT + - Thu, 03 Sep 2026 19:28:27 GMT expires: - '-1' mise-correlation-id: - - 21f5dbb5-2023-450f-a5f9-6904a1fe8d86 + - a54b42e3-f6ee-4f1b-bd7e-e3ae1619c1a1 pragma: - no-cache request-context: @@ -1071,12 +1009,16 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - tenantId=00000000-0000-0000-0000-000000000000,objectId=00000000-0000-0000-0000-000000000000/westus/8a830679-f988-42bd-9acb-5891616b0b30 x-ms-providerhub-traffic: - 'True' + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '199' x-msedge-ref: - - 'Ref A: 282AAD9BF27640B6B9412C1696FEF5B7 Ref B: MAA201060514023 Ref C: 2024-03-26T11:39:34Z' + - 'Ref A: CC8229637CFF44F8914BB0E15A0325AE Ref B: SG2AA1040519036 Ref C: 2026-09-03T19:28:25Z' status: code: 200 message: OK @@ -1096,25 +1038,25 @@ interactions: ParameterSetName: - --monitor-name --resource-group User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) + - AZURECLI/2.90.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/monitoredResources?api-version=2024-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/monitoredResources?api-version=2026-06-01 response: body: - string: '{"value":[{"id":"/SUBSCRIPTIONS/00000000-0000-0000-0000-000000000000","sendingLogs":"Disabled","reasonForLogsStatus":"Other"},{"id":"/SUBSCRIPTIONS/00000000-0000-0000-0000-000000000000","sendingLogs":"Disabled","reasonForLogsStatus":"DiagnosticSettingsLimitReached"}],"nextLink":null}' + string: '{"value":[{"id":"/SUBSCRIPTIONS/00000000-0000-0000-0000-000000000000","sendingLogs":"Disabled","reasonForLogsStatus":"DiagnosticSettingsLimitReached"}]}' headers: cache-control: - no-cache content-length: - - '284' + - '152' content-type: - application/json; charset=utf-8 date: - - Tue, 26 Mar 2024 11:39:45 GMT + - Thu, 03 Sep 2026 19:28:29 GMT expires: - '-1' mise-correlation-id: - - bf15f72e-89f5-4b08-a2e0-9531a3201dc4 + - 36b3716c-e0b5-4935-8560-62c66e0433a6 pragma: - no-cache request-context: @@ -1125,12 +1067,16 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - tenantId=00000000-0000-0000-0000-000000000000,objectId=00000000-0000-0000-0000-000000000000/westus/87f32def-a9b5-41d4-94d7-8fb31ee1e2c6 x-ms-providerhub-traffic: - 'True' + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '199' x-msedge-ref: - - 'Ref A: D9A10CC1A131439989FDE9FD4C56CEB4 Ref B: MAA201060515027 Ref C: 2024-03-26T11:39:44Z' + - 'Ref A: 3C878A254777468EB5B651B0D1A2AD76 Ref B: SG2AA1040519025 Ref C: 2026-09-03T19:28:28Z' status: code: 200 message: OK @@ -1150,25 +1096,25 @@ interactions: ParameterSetName: - --monitor-name --resource-group User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) + - AZURECLI/2.90.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/listLinkedResources?api-version=2024-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/listLinkedResources?api-version=2026-06-01 response: body: - string: '{"value":[{"id":"/SUBSCRIPTIONS/00000000-0000-0000-0000-000000000000/RESOURCEGROUPS/CLI_TEST_NEW_RELIC_MONITORXHPBMQICGTYSU5U3H2M7D72PHIQUZEGEDGV7KSXA52A3LB3MU/PROVIDERS/NEWRELIC.OBSERVABILITY/MONITORS/TEST-NEW-RELIC-MONITOR"}],"nextLink":null}' + string: '{"value":[{"id":"/SUBSCRIPTIONS/00000000-0000-0000-0000-000000000000/RESOURCEGROUPS/CLI_TEST_NEW_RELIC_MONITORXVCIZ27CDRK7JLHF5N7XV63SWFD5VOLRKEE4L53ETZMRGNLCV/PROVIDERS/NEWRELIC.OBSERVABILITY/MONITORS/TEST-NEW-RELIC-MONITOR"}]}' headers: cache-control: - no-cache content-length: - - '244' + - '228' content-type: - application/json; charset=utf-8 date: - - Tue, 26 Mar 2024 11:39:48 GMT + - Thu, 03 Sep 2026 19:28:33 GMT expires: - '-1' mise-correlation-id: - - 58b0146e-29b2-4383-9035-42445a3d2a63 + - ef45b95e-7fa4-4392-a726-e761d20b7155 pragma: - no-cache request-context: @@ -1179,12 +1125,16 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - tenantId=00000000-0000-0000-0000-000000000000,objectId=00000000-0000-0000-0000-000000000000/westus/41389ea0-7e28-46c4-b04f-20ff8b8f1652 x-ms-providerhub-traffic: - 'True' + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '199' x-msedge-ref: - - 'Ref A: B58E8FF43B604CAC8018EE43B38CEF3A Ref B: MAA201060514017 Ref C: 2024-03-26T11:39:46Z' + - 'Ref A: B87AE6AB17F840ACBE48C8B045211737 Ref B: SG2AA1070305060 Ref C: 2026-09-03T19:28:31Z' status: code: 200 message: OK @@ -1206,25 +1156,25 @@ interactions: ParameterSetName: - --monitor-name --resource-group User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) + - AZURECLI/2.90.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/listConnectedPartnerResources?api-version=2024-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/listConnectedPartnerResources?api-version=2026-06-01 response: body: - string: '{"value":[{"properties":{"accountName":"Account 4401982","accountId":"4401982","azureResourceId":"/SUBSCRIPTIONS/00000000-0000-0000-0000-000000000000/RESOURCEGROUPS/CLI_TEST_NEW_RELIC_MONITORXHPBMQICGTYSU5U3H2M7D72PHIQUZEGEDGV7KSXA52A3LB3MU/PROVIDERS/NEWRELIC.OBSERVABILITY/MONITORS/TEST-NEW-RELIC-MONITOR","location":"eastus"}}],"nextLink":null}' + string: '{"value":[{"properties":{"accountName":"Account 8472194","accountId":"8472194","azureResourceId":"/SUBSCRIPTIONS/00000000-0000-0000-0000-000000000000/RESOURCEGROUPS/CLI_TEST_NEW_RELIC_MONITORXVCIZ27CDRK7JLHF5N7XV63SWFD5VOLRKEE4L53ETZMRGNLCV/PROVIDERS/NEWRELIC.OBSERVABILITY/MONITORS/TEST-NEW-RELIC-MONITOR","location":"eastus"}}]}' headers: cache-control: - no-cache content-length: - - '346' + - '330' content-type: - application/json; charset=utf-8 date: - - Tue, 26 Mar 2024 11:39:56 GMT + - Thu, 03 Sep 2026 19:28:37 GMT expires: - '-1' mise-correlation-id: - - ec473910-0ef2-4480-8d9d-4bf320992e08 + - b0c3d820-e97e-4c33-a8ee-8f7e81106409 pragma: - no-cache request-context: @@ -1235,12 +1185,16 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - tenantId=00000000-0000-0000-0000-000000000000,objectId=00000000-0000-0000-0000-000000000000/westus/a30bc319-42cd-4758-bd58-2fc6310d78e6 x-ms-providerhub-traffic: - 'True' + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '199' x-msedge-ref: - - 'Ref A: F0D4B992A79943E29DCC588EFBB0CD2B Ref B: MAA201060516039 Ref C: 2024-03-26T11:39:48Z' + - 'Ref A: 395F54EE7AFB41B6AF4B7EB44BA715C9 Ref B: SG2AA1040519031 Ref C: 2026-09-03T19:28:34Z' status: code: 200 message: OK @@ -1260,25 +1214,25 @@ interactions: ParameterSetName: - --monitor-name --resource-group User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) + - AZURECLI/2.90.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/getBillingInfo?api-version=2024-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/getBillingInfo?api-version=2026-06-01 response: body: - string: '{"marketplaceSaasInfo":{"marketplaceSubscriptionId":"d070c4a2-cbc7-4a74-d44e-b5563c574c41","marketplaceSubscriptionName":"AzNewRelic_c11285a1-eb70-4f06-9d40-33f67a4b287c_test-new-relic-m","marketplaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/Microsoft.SaaS/resources/AzNewRelic_c11285a1-eb70-4f06-9d40-33f67a4b287c_test-new-relic-m","marketplaceStatus":"Subscribed","billedAzureSubscriptionId":"272c26cb-7026-4b37-b190-7cb7b2abecb0"},"partnerBillingEntity":{"organizationId":"af29c77d-721e-43a2-a60b-ac0e10b580d0","organizationName":"af29c77d-721e-43a2-a60b-ac0e10b580d0"}}' + string: '{"marketplaceSaasInfo":{"marketplaceSubscriptionId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/Microsoft.SaaS/resources/AzNewRelic_4c419157-ff55-49fe-bb05-1a02fa0f9c6a_test-new-rel","marketplaceSubscriptionName":"AzNewRelic_4c419157-ff55-49fe-bb05-1a02fa0f9c6a_test-new-rel","marketplaceResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/Microsoft.SaaS/resources/AzNewRelic_4c419157-ff55-49fe-bb05-1a02fa0f9c6a_test-new-rel","marketplaceStatus":"Subscribed","billedAzureSubscriptionId":"00000000-0000-0000-0000-000000000000"},"partnerBillingEntity":{"organizationId":"f2886261-d821-47a6-859f-e7bede8d4919","organizationName":"f2886261-d821-47a6-859f-e7bede8d4919"}}' headers: cache-control: - no-cache content-length: - - '654' + - '805' content-type: - application/json; charset=utf-8 date: - - Tue, 26 Mar 2024 11:39:58 GMT + - Thu, 03 Sep 2026 19:28:41 GMT expires: - '-1' mise-correlation-id: - - b3a9f0d0-a70b-47d3-8070-4c5b3e8e5445 + - 605c1cbf-5343-4274-918d-8f44c0d2e389 pragma: - no-cache request-context: @@ -1289,12 +1243,16 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - tenantId=00000000-0000-0000-0000-000000000000,objectId=00000000-0000-0000-0000-000000000000/westus/0069c0a3-a3ac-4b8d-bcd3-355605df6b36 x-ms-providerhub-traffic: - 'True' + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '199' x-msedge-ref: - - 'Ref A: 740A5B98A65A47F694217C5F416279F2 Ref B: MAA201060514021 Ref C: 2024-03-26T11:39:57Z' + - 'Ref A: E7AD941DF41B4D7F9F76DB5AE2116144 Ref B: SG2AA1070303040 Ref C: 2026-09-03T19:28:38Z' status: code: 200 message: OK @@ -1312,23 +1270,23 @@ interactions: ParameterSetName: - --resource-group --monitor-name User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) + - AZURECLI/2.90.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor?api-version=2024-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor?api-version=2026-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor","name":"test-new-relic-monitor","type":"newrelic.observability/monitors","location":"eastus","tags":{"key6976":"oaxfhf"},"systemData":{"createdBy":"dipeshbhakat@microsoft.com","createdByType":"User","createdAt":"2024-03-26T11:37:49.7024347Z","lastModifiedBy":"dipeshbhakat@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2024-03-26T11:37:49.7024347Z"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"4401982"},"organizationInfo":{"organizationId":"af29c77d-721e-43a2-a60b-ac0e10b580d0"}},"userInfo":{"firstName":"Dipesh","lastName":"Bhakat","emailAddress":"dipeshbhakat@microsoft.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","effectiveDate":"2023-10-25T13:14:33Z"},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor","name":"test-new-relic-monitor","type":"newrelic.observability/monitors","location":"eastus","tags":{"key6976":"oaxfhf"},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-09-03T19:26:33.6493563Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-09-03T19:26:33.6493563Z"},"identity":{"principalId":"e46750a2-55c3-459b-be3f-3a0f33f7d215","tenantId":"00000000-0000-0000-0000-000000000000","type":"SystemAssigned"},"properties":{"orgCreationSource":"LIFTR","accountCreationSource":"LIFTR","provisioningState":"Succeeded","monitoringStatus":"Enabled","marketplaceSubscriptionStatus":"Active","newRelicAccountProperties":{"accountInfo":{"accountId":"8472194"},"organizationInfo":{"organizationId":"f2886261-d821-47a6-859f-e7bede8d4919"}},"userInfo":{"firstName":"Test","lastName":"User","emailAddress":"test@example.com","phoneNumber":"123456"},"planData":{"usageType":"PAYG","billingCycle":"MONTHLY","planDetails":"newrelic-pay-as-you-go-free-live@TIDn7ja87drquhy@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg_2025","effectiveDate":"2026-06-01T00:00:00Z"},"saaSData":{},"liftrResourceCategory":"MonitorLogs","liftrResourcePreference":0}}' headers: cache-control: - no-cache content-length: - - '1258' + - '1383' content-type: - application/json; charset=utf-8 date: - - Tue, 26 Mar 2024 11:40:00 GMT + - Thu, 03 Sep 2026 19:28:42 GMT etag: - - '"a9001ad4-0000-0100-0000-6602b3b30000"' + - '"f700e82f-0000-0100-0000-6a99ca290000"' expires: - '-1' pragma: @@ -1341,8 +1299,10 @@ interactions: - nosniff x-ms-providerhub-traffic: - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' x-msedge-ref: - - 'Ref A: CF9C524AA3E8434B8D53BAD06DF944F5 Ref B: MAA201060514047 Ref C: 2024-03-26T11:40:00Z' + - 'Ref A: 1EF08C265C0C4B389F5DE77E47A8D9F1 Ref B: SG2AA1070303034 Ref C: 2026-09-03T19:28:42Z' status: code: 200 message: OK @@ -1362,12 +1322,12 @@ interactions: ParameterSetName: - --monitor-name --resource-group User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) + - AZURECLI/2.90.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/vmHostPayloads?api-version=2024-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/vmHostPayloads?api-version=2026-06-01 response: body: - string: '{"ingestionKey":"c9835133c65e21292e3618c9c5bfc939a59bNRAL"}' + string: '{"ingestionKey":"feafe32045caa054d172d9b7942a38d89a43NRAL"}' headers: cache-control: - no-cache @@ -1376,11 +1336,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 Mar 2024 11:40:02 GMT + - Thu, 03 Sep 2026 19:28:43 GMT expires: - '-1' mise-correlation-id: - - 23093ef7-37aa-4697-a82c-4eac80191e85 + - d853a72f-6b20-4204-bf68-dd4001657af2 pragma: - no-cache request-context: @@ -1391,12 +1351,16 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - tenantId=00000000-0000-0000-0000-000000000000,objectId=00000000-0000-0000-0000-000000000000/westus/96e191ce-8e35-437e-8a46-9f8243ca1394 x-ms-providerhub-traffic: - 'True' + x-ms-ratelimit-remaining-subscription-global-writes: + - '2999' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '199' x-msedge-ref: - - 'Ref A: 37692A44077F40B296244E95F3D82094 Ref B: MAA201060514031 Ref C: 2024-03-26T11:40:01Z' + - 'Ref A: 38D49CEC12A143F1AF6BDDA61AAAE4E7 Ref B: SG2AA1070302052 Ref C: 2026-09-03T19:28:43Z' status: code: 200 message: OK @@ -1414,25 +1378,25 @@ interactions: ParameterSetName: - --location --user-email User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) + - AZURECLI/2.90.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/accounts?location=eastus&userEmail=rheahooda%40microsoft.com&api-version=2024-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/accounts?location=eastus&userEmail=example@example.com&api-version=2026-06-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/accounts/3965156","properties":{"accountId":"3965156","accountName":"3965156","organizationId":"48f0e0d4-83b4-47ba-88a9-02b0402bcfb3","region":"eastus"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/accounts/8472138","properties":{"accountId":"8472138","accountName":"8472138","organizationId":"bcceaeb3-78f5-45a3-a61a-1c7b8380844c","region":"eastus"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/accounts/8472194","properties":{"accountId":"8472194","accountName":"8472194","organizationId":"f2886261-d821-47a6-859f-e7bede8d4919","region":"eastus"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/accounts/8472068","properties":{"accountId":"8472068","accountName":"8472068","organizationId":"d3c5220b-00ab-4af6-80a0-2e62b004c57b","region":"eastus"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/accounts/8472084","properties":{"accountId":"8472084","accountName":"8472084","organizationId":"ee53f379-ac73-4241-97b5-a20b7db4d6fb","region":"eastus"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/accounts/8472092","properties":{"accountId":"8472092","accountName":"8472092","organizationId":"afe06038-987d-46d5-bb93-0c8b62858698","region":"eastus"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/accounts/8472118","properties":{"accountId":"8472118","accountName":"8472118","organizationId":"680b421a-7793-45ff-8c5d-99d74e04b76f","region":"eastus"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/accounts/8472128","properties":{"accountId":"8472128","accountName":"8472128","organizationId":"77cb2fa7-0383-4293-b8ec-a22fb37c062b","region":"eastus"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/accounts/8472156","properties":{"accountId":"8472156","accountName":"8472156","organizationId":"b05c0c43-2165-4d45-b604-ca96f9ac42e8","region":"eastus"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/accounts/8472146","properties":{"accountId":"8472146","accountName":"8472146","organizationId":"8ca81b91-f022-4784-8547-7749a0b17a4e","region":"eastus"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/accounts/8472160","properties":{"accountId":"8472160","accountName":"8472160","organizationId":"362237ec-ae2e-4b9f-8538-882b9b259fda","region":"eastus"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/accounts/8472173","properties":{"accountId":"8472173","accountName":"8472173","organizationId":"8c1b9585-25c7-4bd2-96e2-d5f0976cc766","region":"eastus"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/accounts/8317127","properties":{"accountId":"8317127","accountName":"8317127","organizationId":"8d405725-e1aa-4c39-9e85-234e78705879","region":"eastus"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/accounts/8385730","properties":{"accountId":"8385730","accountName":"8385730","organizationId":"825f8662-b156-4a33-851f-3e7a8a4ad6ff","region":"eastus"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/accounts/8385853","properties":{"accountId":"8385853","accountName":"8385853","organizationId":"1b9ed469-1efc-4182-b2ce-c78cb2525817","region":"eastus"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/accounts/8444534","properties":{"accountId":"8444534","accountName":"8444534","organizationId":"9e0ddb5a-4a10-4327-a51a-1c0a1f6596f4","region":"eastus"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/accounts/8444552","properties":{"accountId":"8444552","accountName":"8444552","organizationId":"8eff13c8-afc9-4fc8-b935-9a7c51300c67","region":"eastus"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/accounts/8444624","properties":{"accountId":"8444624","accountName":"8444624","organizationId":"86555429-ccdc-4d05-a557-be56518906df","region":"eastus"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/accounts/8331081","properties":{"accountId":"8331081","accountName":"8331081","organizationId":"0e7452ec-22af-422b-ac96-dd2fddaf1e75","region":"eastus"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/accounts/8448317","properties":{"accountId":"8448317","accountName":"8448317","organizationId":"0a3d9c76-f32f-4212-bf6a-5e4ccec10ba4","region":"eastus"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/accounts/8448904","properties":{"accountId":"8448904","accountName":"8448904","organizationId":"b1413d33-efbd-432d-89be-8d182e1f98d1","region":"eastus"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/accounts/8448853","properties":{"accountId":"8448853","accountName":"8448853","organizationId":"0697739a-530d-4138-b877-5653c716ad1f","region":"eastus"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/accounts/8462931","properties":{"accountId":"8462931","accountName":"8462931","organizationId":"505e041b-1d5e-4f4d-aca7-a29ce0bd3da5","region":"eastus"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/accounts/8470423","properties":{"accountId":"8470423","accountName":"8470423","organizationId":"1585550d-2cfe-4a79-b7bc-4a417d1f2a67","region":"eastus"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/accounts/8470437","properties":{"accountId":"8470437","accountName":"8470437","organizationId":"98f7217a-10fe-49ed-8e18-e68475a735b9","region":"eastus"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/accounts/8470435","properties":{"accountId":"8470435","accountName":"8470435","organizationId":"9a1d3992-c213-46eb-8b6f-c8cc0bf08d10","region":"eastus"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/accounts/8470449","properties":{"accountId":"8470449","accountName":"8470449","organizationId":"b200b0d2-7a04-45a3-a744-c152750cbbcc","region":"eastus"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/accounts/8463922","properties":{"accountId":"8463922","accountName":"8463922","organizationId":"8952af7e-0be2-47cb-acbb-c3a73838f669","region":"eastus"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/accounts/8463908","properties":{"accountId":"8463908","accountName":"8463908","organizationId":"4359afae-edb0-48dd-bb5c-f4d826b18f2c","region":"eastus"}}]}' headers: cache-control: - no-cache content-length: - - '257' + - '6899' content-type: - application/json; charset=utf-8 date: - - Tue, 26 Mar 2024 11:40:06 GMT + - Thu, 03 Sep 2026 19:28:48 GMT expires: - '-1' mise-correlation-id: - - bd4df1aa-87a0-4c22-a0d8-340c4cc4b6bb + - 00fc7e5e-51f3-474e-a6a1-1ea86e984c49 pragma: - no-cache request-context: @@ -1443,10 +1407,14 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - tenantId=00000000-0000-0000-0000-000000000000,objectId=00000000-0000-0000-0000-000000000000/southeastasia/687b6f89-2963-4046-afc0-1b755a52164b x-ms-providerhub-traffic: - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' x-msedge-ref: - - 'Ref A: 76E3E8B20AD84E3CA3CBFAB8B2F0CC9B Ref B: MAA201060513021 Ref C: 2024-03-26T11:40:03Z' + - 'Ref A: E307802129D74199ABFA758183C360A9 Ref B: SG2AA1040513023 Ref C: 2026-09-03T19:28:45Z' status: code: 200 message: OK @@ -1464,9 +1432,9 @@ interactions: ParameterSetName: - --location --user-email User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) + - AZURECLI/2.90.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/organizations?location=eastus&userEmail=rheahooda%40microsoft.com&api-version=2024-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/organizations?location=eastus&userEmail=example@example.com&api-version=2026-06-01 response: body: string: '{"value":[]}' @@ -1478,61 +1446,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 Mar 2024 11:40:14 GMT - expires: - - '-1' - mise-correlation-id: - - f44de9e0-807e-44e3-95cf-56d519c77d05 - pragma: - - no-cache - request-context: - - appId=cid-v1:99558bd9-e2af-4edd-b8b9-dfc879de6669 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-cache: - - CONFIG_NOCACHE - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-msedge-ref: - - 'Ref A: A8C8640EFBBC43C0B5EC6E45E28D219F Ref B: MAA201060514027 Ref C: 2024-03-26T11:40:07Z' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - new-relic plan list - Connection: - - keep-alive - ParameterSetName: - - --account-id --organization-id - User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/plans?accountId=test-account&organizationId=test-organization&api-version=2024-01-01 - response: - body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/NewRelic.Observability/plans/","properties":{"orgCreationSource":"NEWRELIC"}}]}' - headers: - cache-control: - - no-cache - content-length: - - '158' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 26 Mar 2024 11:40:16 GMT + - Thu, 03 Sep 2026 19:28:52 GMT expires: - '-1' mise-correlation-id: - - 3067fc43-6a0e-41c7-9bbd-5ce28b9d30e2 + - 101e7a77-d9e8-43ba-b598-67b7b3fee849 pragma: - no-cache request-context: @@ -1543,10 +1461,14 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - tenantId=00000000-0000-0000-0000-000000000000,objectId=00000000-0000-0000-0000-000000000000/southeastasia/295b8816-59ce-4023-b8d8-7aa70c0f60a0 x-ms-providerhub-traffic: - 'True' + x-ms-ratelimit-remaining-subscription-global-reads: + - '3749' x-msedge-ref: - - 'Ref A: 92C981C4976E44D58CD533403425F1FC Ref B: MAA201060513025 Ref C: 2024-03-26T11:40:15Z' + - 'Ref A: 6823B78981BF4B5FA5247E998D2441E3 Ref B: SG2AA1070302060 Ref C: 2026-09-03T19:28:49Z' status: code: 200 message: OK @@ -1564,27 +1486,23 @@ interactions: Content-Length: - '0' ParameterSetName: - - --resource-group --monitor-name --configuration-name + - --resource-group --monitor-name --configuration-name --yes User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) + - AZURECLI/2.90.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/monitoredSubscriptions/default?api-version=2024-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/monitoredSubscriptions/default?api-version=2026-06-01 response: body: - string: 'null' + string: '' headers: cache-control: - no-cache - content-length: - - '4' - content-type: - - application/json; charset=utf-8 date: - - Tue, 26 Mar 2024 11:40:18 GMT + - Thu, 03 Sep 2026 19:28:55 GMT expires: - '-1' mise-correlation-id: - - d9f20af2-37d4-4536-a710-748eea99b4ab + - 1508ee78-e59d-4629-ab73-f5a442978f4b pragma: - no-cache request-context: @@ -1595,15 +1513,19 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - tenantId=00000000-0000-0000-0000-000000000000,objectId=00000000-0000-0000-0000-000000000000/westus/ac7f6314-874e-480c-8da6-f8d2c2da5864 x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '199' + x-ms-ratelimit-remaining-subscription-global-deletes: + - '2999' x-msedge-ref: - - 'Ref A: 95AAD60402C54ABEA079990698A011C8 Ref B: MAA201060515049 Ref C: 2024-03-26T11:40:16Z' + - 'Ref A: BC8D1A7ECC2246F28A48E5F0272B9CC2 Ref B: SG2AA1070303054 Ref C: 2026-09-03T19:28:54Z' status: - code: 200 - message: OK + code: 204 + message: No Content - request: body: null headers: @@ -1620,9 +1542,9 @@ interactions: ParameterSetName: - --resource-group --monitor-name --name User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) + - AZURECLI/2.90.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/tagRules/default?api-version=2024-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor/tagRules/default?api-version=2026-06-01 response: body: string: '' @@ -1632,7 +1554,7 @@ interactions: content-length: - '0' date: - - Tue, 26 Mar 2024 11:40:20 GMT + - Thu, 03 Sep 2026 19:28:56 GMT expires: - '-1' pragma: @@ -1643,12 +1565,16 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - tenantId=00000000-0000-0000-0000-000000000000,objectId=00000000-0000-0000-0000-000000000000/westus/36a7b315-09ff-46f8-b9e0-b28d33f59d40 x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '199' + x-ms-ratelimit-remaining-subscription-global-deletes: + - '2999' x-msedge-ref: - - 'Ref A: E6738F15FD5644D8ADF8CE37109FC8BB Ref B: MAA201060514053 Ref C: 2024-03-26T11:40:19Z' + - 'Ref A: 9AEA1ECDD1274174A2C487B9ED5142E0 Ref B: SG2AA1070306023 Ref C: 2026-09-03T19:28:56Z' status: code: 200 message: OK @@ -1668,15 +1594,17 @@ interactions: ParameterSetName: - --resource-group --monitor-name --user-email User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) + - AZURECLI/2.90.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor?userEmail=dipeshbhakat%40microsoft.com&api-version=2024-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor?userEmail=example@example.com&api-version=2026-06-01 response: body: string: 'null' headers: + azure-asyncnotification: + - Enabled azure-asyncoperation: - - https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/fd3329e3-b295-462f-9f0c-15e9917da8f3*3E834572C32600F998162467FA428B1E261120E091B958FE9AABB52049FA1927?api-version=2024-01-01&t=638470500320456029&c=MIIHHjCCBgagAwIBAgITfwKWMg6goKCq4WwU2AAEApYyDjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMTAzMDI3WhcNMjUwMTI0MTAzMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMk1pBZQQoNY8tos8XBaEjHjcdWubRHrQk5CqKcX3tpFfukMI0_PVZK-Kr7xkZFQ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N0XzetJV0qvmRDP_V4BifeEI3q73wZ-0VKODm8hPvl_qB-0RedOABJYjKRiXLnCway6pvvf316wzB3ZbFen9pRO4PCJrnGJM4Kj14u3uOJ3UtM99TMjuwZk90FSEIpLZP4mBBvxUvggJeKTSHWONTtK6RDI9-6FV4i62rE2osgxSLLG30Bvv6fZtSbwuJ6CNrwzZyoKMEuFhtGzTRu8NnzXg09Dj3hEPbCMajw4Ww5fvtOCvHOD4tRQTMpWw&h=UtV2u0xx6CHbqj9STIqb4T1l3NmIN3s1pq4mYs7aTWo + - https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/f6d1f647-067b-43c2-b5a2-5f83001fad91*DA7A5B9B9621A9FBF85CC945AAF0119FA2854DF10ADDF5B2AF5546F6580D6F58?api-version=2026-06-01&t=639240605393986676&c=MIIIJjCCBw6gAwIBAgIQKYrI_-G8focilGMVljTIzTANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBXQ1VTIENBIDAxMB4XDTI2MDgxMTE2NTU0MVoXDTI3MDIwNjIyNTU0MVowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdlbWVudC5henVyZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDHXOnBSi89EFmYFHHz8YjTfsSi_rA52hWsPEfIKxyhGOIhG2O761Sp01X84Pl7Qh66Tjalm7gbOxt50vBo25s3yXMvvM-XHEIuIkpB_lLEPKLeU7cELvlXb2fddJRTEIrehzmmX3y9bZBXZ7sPfC3dVh-BZqoy4DhFruSEgypgs5ccLvFmZo_QMNjMEAy9HnEGP4pN1zz_owJcAMfxrb77LRgNioRD6DAgomJng45__m1bx6DuY7BwTn-1rcAk6IA3EKFMWnFJrUrcfxGqCtQyOu4H3IeyIJvAveQKIWNXlLW1j2rj9_FBXSjAf2x8Z2W_Uf6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FEHo9rJXpNKryiy34&s=VV-lPDhd665t7UFGdCct_KJMo8m_zPoooxdz_kUT0P2C7QsXJiGAazpNSl3xgcm9S2AGo25Sc4Gwsf8hvVqqpMz8xas92jKKjItLtjuj3fqlCMhG8MN5GdNwoA-yOIUpKHKFwdTNu4lKbCVGklmZFUWwnjjUK7nGl2z6Y5dTRfykQ7bdCVvhM6nOq7MT7DVcs1fYX1GHVniYAskCfZiXGJN7VbMHa2iIx9qILtzapeZPn2S668p5K2g_2xMGV0dgMnkx7YglYtZIRdhmmsdDlejm64lI9InLHOMCgr7aIxES3xwkRciCxsvocUgKCndQZ5nQ_4UkwgNx81GhjP4Rhw&h=Sb5EBqthHj5zJU4YUrGwTHqVIc6QPv3RbJtoztifSxQ cache-control: - no-cache content-length: @@ -1684,15 +1612,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 Mar 2024 11:40:31 GMT + - Thu, 03 Sep 2026 19:28:59 GMT etag: - - '"a90016e0-0000-0100-0000-6602b42f0000"' + - '"f7006633-0000-0100-0000-6a99ca7b0000"' expires: - '-1' location: - - https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/fd3329e3-b295-462f-9f0c-15e9917da8f3*3E834572C32600F998162467FA428B1E261120E091B958FE9AABB52049FA1927?api-version=2024-01-01&t=638470500320611777&c=MIIHHjCCBgagAwIBAgITfwKWMg6goKCq4WwU2AAEApYyDjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMTAzMDI3WhcNMjUwMTI0MTAzMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMk1pBZQQoNY8tos8XB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b5Kb7n5QyzFza1zVW3_qAFyHsyG-RJ-G2jx_yBQNwjcVFZ5htBSwDhpe2iSuI-fPJBCcrd9HWptaBto6tT3MU4XhgCjuBWwDUVnbHfc-HHRuWloiK5kCtyLBYkqfT-igB0mskjDrOPnhU6d25V-bVYZufKXTVt-aaG6he75idNjWm9Q4Z5eXHBPoqjamFxsXRx3FXAgqZw69DWg3t2wNuxEUL4VARyGj1aIkwl2CbIteV-pss7VricwZAgp4cyQpB9gfc1pXWHZ5u98yCPcfvux1EiYF2nLmX-BVc31YA&h=2xNRCjMtl5UGuG3vlDS6fvxPPztfx78oYgN4vxt02CM + - https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/f6d1f647-067b-43c2-b5a2-5f83001fad91*DA7A5B9B9621A9FBF85CC945AAF0119FA2854DF10ADDF5B2AF5546F6580D6F58?api-version=2026-06-01&t=639240605394142091&c=MIIIJjCCBw6gAwIBAgIQKYrI_-G8focilGMVljTIzTANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBXQ1VTIENBIDAxMB4XDTI2MDgxMTE2NTU0MVoXDTI3MDIwNjIyNTU0MVowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdlbWVudC5henVyZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDHXOnBSi89EFmYFHHz8YjTfsSi_rA52hWsPEfIKxyhGOIhG2O761Sp01X84Pl7Qh66Tjalm7gbOxt50vBo25s3yXMvvM-XHEIuIkpB_lLEPKLeU7cELvlXb2fddJRTEIrehzmmX3y9bZBXZ7sPfC3dVh-BZqoy4DhFruSEgypgs5ccLvFmZo_QMNjMEAy9HnEGP4pN1zz_owJcAMfxrb77LRgNioRD6DAgomJng45__m1bx6DuY7BwTn-1rcAk6IA3EKFMWnFJrUrcfxGqCtQyOu4H3Iey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ANJTgK_VQ7T7XTkebugJrsOUXarvc0w9IqNUvO1ojxIFEHo9rJXpNKryiy34&s=l66iG1EV5mAFp0Ffan1je7XT07w0fdeAByl44nCnt32qq7g1NcpG_9rL2gKENQ7KBG8AiCWfSgsbSkS4MkOAhg5esjHR0RLXKFg-q0QbGoFwsdecvOux6UCdUX7nVqEgZZZ1Ry04GSWmpR9G5ggROMnDlegpL85bYjoLf7YTcoktoui5aW_8UJS3tUPIAwWZZGTGo684uQBDRGxlb6FrNQWFgD_zfEWS6tsfqnJJWCqfAKhOgc4NNFJ3iIu2z-gqME5eLdav6mYIr4ZZtdn788faXirz0PU_6SYCoHoHpzqsxktKmdX0JmEcMIx9x_V-hp6j-enKwaLRCQYX_5l9GQ&h=R3l1a9bss_YA2K6saTuMlua7Ti3EEG4H3y0ThHH6UZk mise-correlation-id: - - 903b4d95-0d92-4953-87b9-992e67e8b523 + - fa087da5-1b75-49c8-ba30-2900bfa9a482 pragma: - no-cache request-context: @@ -1703,12 +1631,18 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - tenantId=00000000-0000-0000-0000-000000000000,objectId=00000000-0000-0000-0000-000000000000/westus/842dfabe-4adc-4df5-b8d6-96fb8619686e x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '199' + x-ms-ratelimit-remaining-subscription-global-deletes: + - '2999' + x-ms-resource-provider-hint: + - noPolling x-msedge-ref: - - 'Ref A: BD9080D4A7A849F39192D0FD643CA862 Ref B: MAA201060516033 Ref C: 2024-03-26T11:40:21Z' + - 'Ref A: B6654F357B874A0C8F0E19C4345C7191 Ref B: SG2AA1040518054 Ref C: 2026-09-03T19:28:58Z' status: code: 202 message: Accepted @@ -1726,15 +1660,17 @@ interactions: ParameterSetName: - --resource-group --monitor-name --user-email User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) + - AZURECLI/2.90.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/fd3329e3-b295-462f-9f0c-15e9917da8f3*3E834572C32600F998162467FA428B1E261120E091B958FE9AABB52049FA1927?api-version=2024-01-01&t=638470500320456029&c=MIIHHjCCBgagAwIBAgITfwKWMg6goKCq4WwU2AAEApYyDjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMTAzMDI3WhcNMjUwMTI0MTAzMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMk1pBZQQoNY8tos8XBaEjHjcdWubRHrQk5CqKcX3tpFfukMI0_PVZK-Kr7xkZFQTYp_ItaM2RPRDXx-0W9-mmrUBKvdcQ0rdjcSXDek7GvWS29F5sDHojD1v3e9k2jJa4cVSWwdIguvXmdUa57t1EHxqtDzTL4WmjXitzY8QOIHLMRLyXUNg3Gqfxch40cmQeBoN4rVMlP31LizDfdwRyT1qghK7vgvworA3D9rE00aM0n7TcBH9I0mu-96JE0gSX1FWXctlEcmdwQmXj_U0sZCu11_Yr6Oa34bmUQHGc3hDvO226L1Au-QsLuRWFLbKJ-0wmSV5b3CbU1kweD5LUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3J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MBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG6_wraDi57hTBBW8zI9n7Dnd66DCf9ok7v4gM1-qxp2gZjb_eEnriIZQcCD3jLvW4q5_59OicwRN13rP_GY33E9HLUgw245zqSCIGd6gYnaCyxPNdhEa-W6-ZBBw1iWX8l-RJqDOUYwkrI7Lw-iea9CuiTbLjw_BJ5NGmd8D5GOVxFRnhJ7RBRrwa6p2_UqZqvdg8kneiyymbidRJCOZ_xkZ8OwL-ini_ge44CIEB7rvqwdf7DfwOjoDr7JU88gM0QgcE7kzx7cVUZpaJAXXhxLvOcb0MBuRiEyexrV6HrbOTafc9naJB26ejIXNHLsuIhpMMa5NEK60hGauLEMNlY&s=J1FUP6tS6pL9ER4Wzz7sKVuduGTbLZRY1VcHCBpCh5U1R-dufVQl_7mzjmlY0DPTsEkyY9IaYhmtwHpyrklaDMZvSdN0XzetJV0qvmRDP_V4BifeEI3q73wZ-0VKODm8hPvl_qB-0RedOABJYjKRiXLnCway6pvvf316wzB3ZbFen9pRO4PCJrnGJM4Kj14u3uOJ3UtM99TMjuwZk90FSEIpLZP4mBBvxUvggJeKTSHWONTtK6RDI9-6FV4i62rE2osgxSLLG30Bvv6fZtSbwuJ6CNrwzZyoKMEuFhtGzTRu8NnzXg09Dj3hEPbCMajw4Ww5fvtOCvHOD4tRQTMpWw&h=UtV2u0xx6CHbqj9STIqb4T1l3NmIN3s1pq4mYs7aTWo + uri: https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/f6d1f647-067b-43c2-b5a2-5f83001fad91*DA7A5B9B9621A9FBF85CC945AAF0119FA2854DF10ADDF5B2AF5546F6580D6F58?api-version=2026-06-01&t=639240605393986676&c=MIIIJjCCBw6gAwIBAgIQKYrI_-G8focilGMVljTIzTANBgkqh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jY21ld2VzdGNlbnRyYWx1c3BraS9jY21ld2VzdGNlbnRyYWx1c2ljYTAxL2NlcnQuY2VyMHgGCCsGAQUFBzAChmxodHRwOi8vY2NtZXdlc3RjZW50cmFsdXNwa2kud2VzdGNlbnRyYWx1cy5wa2kuY29yZS53aW5kb3dzLm5ldC9jZXJ0aWZpY2F0ZUF1dGhvcml0aWVzL2NjbWV3ZXN0Y2VudHJhbHVzaWNhMDEwDQYJKoZIhvcNAQELBQADggEBACfL6ko2AI0X13NZIZ2IxRjP7slNZDlbiuLO5LrBhOgkqnJSG-Pw5KIk-UvFKLF68OMEap_FaihLps8lIqQ6kvqVwWDWVcWPIupCgb3dLBR_f2PfQQScJnTdbHfxgBaRtwJqnu0GZ-DkMcpb6yHcs5IocvlkFxyduqND0Rt0A0YPO02hzx6DJcHUxQfi3msdmfRAkv9MTTHSwQR3alqI2XOlKbjFG6zYusnGGB6tCrUCu9wmI8fIrGBGRE_o_rlSUU2q4kc9lRy3qNbIDi1TToijN2UANJTgK_VQ7T7XTkebugJrsOUXarvc0w9IqNUvO1ojxIFEHo9rJXpNKryiy34&s=VV-lPDhd665t7UFGdCct_KJMo8m_zPoooxdz_kUT0P2C7QsXJiGAazpNSl3xgcm9S2AGo25Sc4Gwsf8hvVqqpMz8xas92jKKjItLtjuj3fqlCMhG8MN5GdNwoA-yOIUpKHKFwdTNu4lKbCVGklmZFUWwnjjUK7nGl2z6Y5dTRfykQ7bdCVvhM6nOq7MT7DVcs1fYX1GHVniYAskCfZiXGJN7VbMHa2iIx9qILtzapeZPn2S668p5K2g_2xMGV0dgMnkx7YglYtZIRdhmmsdDlejm64lI9InLHOMCgr7aIxES3xwkRciCxsvocUgKCndQZ5nQ_4UkwgNx81GhjP4Rhw&h=Sb5EBqthHj5zJU4YUrGwTHqVIc6QPv3RbJtoztifSxQ response: body: - string: '{"id":"/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/fd3329e3-b295-462f-9f0c-15e9917da8f3*3E834572C32600F998162467FA428B1E261120E091B958FE9AABB52049FA1927","name":"fd3329e3-b295-462f-9f0c-15e9917da8f3*3E834572C32600F998162467FA428B1E261120E091B958FE9AABB52049FA1927","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor","status":"Deleting","startTime":"2024-03-26T11:40:23.1763269Z"}' + string: '{"id":"/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/f6d1f647-067b-43c2-b5a2-5f83001fad91*DA7A5B9B9621A9FBF85CC945AAF0119FA2854DF10ADDF5B2AF5546F6580D6F58","name":"f6d1f647-067b-43c2-b5a2-5f83001fad91*DA7A5B9B9621A9FBF85CC945AAF0119FA2854DF10ADDF5B2AF5546F6580D6F58","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor","status":"Deleting","startTime":"2026-09-03T19:28:58.6162582Z"}' headers: + azure-asyncnotification: + - Enabled azure-asyncoperation: - - https://management.azure.com/providers/NewRelic.Observability/locations/eastus/operationStatuses/fd3329e3-b295-462f-9f0c-15e9917da8f3*3E834572C32600F998162467FA428B1E261120E091B958FE9AABB52049FA1927?api-version=2024-01-01&t=638470500323893566&c=MIIHHjCCBgagAwIBAgITfwKWMg6goKCq4WwU2AAEApYyDjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMTAzMDI3WhcNMjUwMTI0MTAzMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMk1pBZQQoNY8tos8XBaEjHjcdWubRHrQk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fZwK869ZPLKDNcFVUWfl0UyvdzZa0e6VxiwTZjNnMpysfGZCDwgMe1FsVLpwXkkhXhVXW2pXAkVcWLz_7FwXbulx681pmBslGw9F-AW47Tc1ddeMX9k4DcvS57fl41CJpocWI1jewB4Ek4A62_9xj8GCTqgHXO0wuwQckY_tAzi7oBbRFyEUOaC0rLAz2UbNQdw8ye1NCQivXXyZRfJVx0bEB6n--s1BqzNaaoKOQIZ9E2tZvnOc_fVgKRYbOOHXqFs1zK1fzhxJ0aIti0uZwTb2Jgw&h=gKQSe2Jv_el36OYikoYINU0Zc6heHoRzMBfJu8VKjEw + - https://management.azure.com/providers/NewRelic.Observability/locations/eastus/operationStatuses/f6d1f647-067b-43c2-b5a2-5f83001fad91*DA7A5B9B9621A9FBF85CC945AAF0119FA2854DF10ADDF5B2AF5546F6580D6F58?api-version=2026-06-01&t=639240605412381270&c=MIIHlDCCBnygAwIBAgIQbFnfFOz7A_VYWYwd_BJ05zANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBFVVMyIENBIDAxMB4XDTI2MDgxMzIzNDk1NFoXDTI3MDIwOTA1NDk1NFowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdlbWVudC5henVyZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDhZUPWC_r-S0zyqqusEeSkNqqajuPdy1ZzcQlo4djteyJdwwWNTajAhE0_qUhb8ca-OR_1c9m4sOd9we--hSIuMLXjHhAT7t27MWD-8oa4ZCEMb-76qcQs9HLEUStp7e6RX7LNVjJjLZ8xvkLV7nYiiybkP4E4iYAPDjMhmeu2QH0W2eFB9lq1Nu_iInkGeBK678fHjt_rW6tVcyMHcYpEUVaRZapbCWsfZmBTvk5I7T47dB5_0cqsh13V7f5MEm_Wyn2BAj8lul85GhxL3p8H8jIQEiKqVXnOa_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Zb7NqEbWWKRlTNtW6xC8KnzLEXzji0xLtWMLpDnMveO0Z_d1cYATI-kjtC0vifJdwv8WNX4JEqzRQ3Anq-TtLEVQzdySPaDF-Zet0nX0eqWaMc3PLjrDP-CMc1u-hQHtEXDVwyDzQRr9Ey_vQq6QSLfVsvayviKdyhfYFq3FEw&h=DAg6aGXIZB_yX6SrU7iKoGGp5Z5iHWwr_eKL1pcqLn8 cache-control: - no-cache content-length: @@ -1742,63 +1678,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 Mar 2024 11:40:32 GMT - etag: - - '"ed00afdc-0000-0100-0000-6602b4270000"' - expires: - - '-1' - location: - - https://management.azure.com/providers/NewRelic.Observability/locations/eastus/operationStatuses/fd3329e3-b295-462f-9f0c-15e9917da8f3*3E834572C32600F998162467FA428B1E261120E091B958FE9AABB52049FA1927?api-version=2024-01-01&t=638470500324049981&c=MIIHHjCCBgagAwIBAgITfwKWMg6goKCq4WwU2AAEApYyDjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMTAzMDI3WhcNMjUwMTI0MTAzMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMk1pBZQQoNY8tos8XBaEjHjcdWubRHrQk5CqKcX3tpFfukMI0_PVZK-Kr7xkZFQTYp_ItaM2RPRDXx-0W9-mmrUBKvdcQ0rdjcSXDek7GvWS29F5sDHojD1v3e9k2jJa4cVSWwdIguvXmdUa57t1EHxqtDzTL4WmjXitzY8QOIHLMRLyXUNg3Gqfxch40cmQeBoN4rVMlP31LizDfdwRyT1qghK7vgvworA3D9rE00aM0n7TcBH9I0mu-96JE0gS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1g7gZmxpCHx4bzs0M31qrGDKo0RKwHk7jV17wGY3uPLz5wQDNRc3DKyu9eTQ&h=Rj4GqC_wdO0FuGSbOqC73ux_--EbPcFMs0FrnL_fYzs - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-cache: - - CONFIG_NOCACHE - x-content-type-options: - - nosniff - x-msedge-ref: - - 'Ref A: C583E9FE1DE94DF0A2ED7E3843BC2EE3 Ref B: MAA201060516033 Ref C: 2024-03-26T11:40:32Z' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - new-relic monitor delete - Connection: - - keep-alive - ParameterSetName: - - --resource-group --monitor-name --user-email - User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) - method: GET - uri: https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/fd3329e3-b295-462f-9f0c-15e9917da8f3*3E834572C32600F998162467FA428B1E261120E091B958FE9AABB52049FA1927?api-version=2024-01-01&t=638470500320456029&c=MIIHHjCCBgagAwIBAgITfwKWMg6goKCq4WwU2AAEApYyDjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMTAzMDI3WhcNMjUwMTI0MTAzMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMk1pBZQQoNY8tos8XBaEjHjcdWubRHrQk5CqKcX3tpFfukMI0_PVZK-Kr7xkZFQTYp_ItaM2RPRDXx-0W9-mmrUBKvdcQ0rdjcSXDek7GvWS29F5sDHojD1v3e9k2jJa4cVSWwdIguvXm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pRO4PCJrnGJM4Kj14u3uOJ3UtM99TMjuwZk90FSEIpLZP4mBBvxUvggJeKTSHWONTtK6RDI9-6FV4i62rE2osgxSLLG30Bvv6fZtSbwuJ6CNrwzZyoKMEuFhtGzTRu8NnzXg09Dj3hEPbCMajw4Ww5fvtOCvHOD4tRQTMpWw&h=UtV2u0xx6CHbqj9STIqb4T1l3NmIN3s1pq4mYs7aTWo - response: - body: - string: '{"id":"/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/fd3329e3-b295-462f-9f0c-15e9917da8f3*3E834572C32600F998162467FA428B1E261120E091B958FE9AABB52049FA1927","name":"fd3329e3-b295-462f-9f0c-15e9917da8f3*3E834572C32600F998162467FA428B1E261120E091B958FE9AABB52049FA1927","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor","status":"Deleting","startTime":"2024-03-26T11:40:23.1763269Z","error":{"additionalInfo":[null]}}' - headers: - azure-asyncoperation: - - https://management.azure.com/providers/NewRelic.Observability/locations/eastus/operationStatuses/fd3329e3-b295-462f-9f0c-15e9917da8f3*3E834572C32600F998162467FA428B1E261120E091B958FE9AABB52049FA1927?api-version=2024-01-01&t=638470500633814438&c=MIIHHjCCBgagAwIBAgITfwKWMg6goKCq4WwU2AAEApYyDjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMTAzMDI3WhcNMjUwMTI0MTAzMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMk1pBZQQoNY8tos8XBaEjHjcdWubRHrQk5CqKcX3tpFfukMI0_PVZK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Xc4hfI_2toqrc5BN_NVYvHIZ2srar23k8yB-CffZzp1DfGDjU5AR5sCcZamfcPrvlxiVQTBxcb15NPXgPLkU85dMSeaYPy4ZhmA9gxnaMmWoM2hWPCkVn541p2qX92woPtWDabS6ZwGTowFyoV6FlH0Od-7RUKVhlSA3TlEj1t_oO7lLciqCJWndXfdnXtQBnThksOekLHuaaJ36Opfc0byN3wWvuBUIDjoNHD7gCbw86woLhlPLHsaN9ZCwsdsHRAwQQ&h=VupOrAJMXN4mqFe_NgwQKagyezGmTzdCtJT6SzFKRS4 - cache-control: - - no-cache - content-length: - - '567' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 26 Mar 2024 11:41:02 GMT + - Thu, 03 Sep 2026 19:29:00 GMT etag: - - '"ed00a3dd-0000-0100-0000-6602b4300000"' + - '"3e00e579-0000-0100-0000-6a99ca7a0000"' expires: - '-1' location: - - https://management.azure.com/providers/NewRelic.Observability/locations/eastus/operationStatuses/fd3329e3-b295-462f-9f0c-15e9917da8f3*3E834572C32600F998162467FA428B1E261120E091B958FE9AABB52049FA1927?api-version=2024-01-01&t=638470500633814438&c=MIIHHjCCBgagAwIBAgITfwKWMg6goKCq4WwU2AAEApYyDjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMTAzMDI3WhcNMjUwMTI0MTAzMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMk1pBZQQoNY8tos8XBaEjHjcdWubRHrQk5CqKcX3tpFfukMI0_PVZK-Kr7xkZFQTYp_ItaM2RPRDXx-0W9-mmrUBKvdcQ0rdjcSXDek7GvWS29F5sDHojD1v3e9k2jJa4c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LkU85dMSeaYPy4ZhmA9gxnaMmWoM2hWPCkVn541p2qX92woPtWDabS6ZwGTowFyoV6FlH0Od-7RUKVhlSA3TlEj1t_oO7lLciqCJWndXfdnXtQBnThksOekLHuaaJ36Opfc0byN3wWvuBUIDjoNHD7gCbw86woLhlPLHsaN9ZCwsdsHRAwQQ&h=VupOrAJMXN4mqFe_NgwQKagyezGmTzdCtJT6SzFKRS4 + - https://management.azure.com/providers/NewRelic.Observability/locations/eastus/operationStatuses/f6d1f647-067b-43c2-b5a2-5f83001fad91*DA7A5B9B9621A9FBF85CC945AAF0119FA2854DF10ADDF5B2AF5546F6580D6F58?api-version=2026-06-01&t=639240605412537433&c=MIIHlDCCBnygAwIBAgIQbFnfFOz7A_VYWYwd_BJ05zANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBFVVMyIENBIDAxMB4XDTI2MDgxMzIzNDk1NFoXDTI3MDIwOTA1NDk1NFowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdlbWVudC5henVyZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDhZUPWC_r-S0zyqqusEeSkNqqajuPdy1ZzcQlo4djteyJdwwWNTajAhE0_qUhb8ca-OR_1c9m4sOd9we--hSIuMLXjHhAT7t27MWD-8oa4ZCEMb-76qcQs9HLEUStp7e6RX7LNVjJjLZ8xvkLV7nYiiybkP4E4iYAPDjMhmeu2QH0W2eFB9lq1Nu_iInkGeBK678fHjt_rW6tVcyMHcYpEUVaRZapbCWsfZmBTvk5I7T47dB5_0cqsh13V7f5MEm_Wyn2BAj8lul85GhxL3p8H8jIQEiKqVXnOa_hC5s1xlIKolbh7OW0P33wjATfEXYHJJXUCvWbH92FTFyEJhJZVAgMBAAGjggSSMIIEjjCBnQYDVR0gBIGVMIGSMAwGCisGAQQBgjd7AQEwZg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yWNG4woCTaRnVXEE3NrO-QgUhgBKkJWYp7_NhCyw4gnIbuAEbLaML9mJO7EqIZrOYaEwrw&h=WsPC_yMdPsBPK0WLwVdsnOukJ7QKXBDM2jaTIex4M-o pragma: - no-cache strict-transport-security: @@ -1807,8 +1693,12 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - '' + x-ms-resource-provider-hint: + - noPolling x-msedge-ref: - - 'Ref A: D43215D9F09942B094ACC97F5C554636 Ref B: MAA201060516033 Ref C: 2024-03-26T11:41:02Z' + - 'Ref A: 237F2B107C294E71A9C7AD24C977D9A4 Ref B: SG2AA1070302062 Ref C: 2026-09-03T19:29:00Z' status: code: 202 message: Accepted @@ -1826,23 +1716,23 @@ interactions: ParameterSetName: - --resource-group --monitor-name --user-email User-Agent: - - AZURECLI/2.58.0 azsdk-python-core/1.28.0 Python/3.10.11 (Windows-10-10.0.22631-SP0) + - AZURECLI/2.90.0 azsdk-python-core/1.39.0 Python/3.12.10 (Windows-11-10.0.26200-SP0) method: GET - uri: https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/fd3329e3-b295-462f-9f0c-15e9917da8f3*3E834572C32600F998162467FA428B1E261120E091B958FE9AABB52049FA1927?api-version=2024-01-01&t=638470500320456029&c=MIIHHjCCBgagAwIBAgITfwKWMg6goKCq4WwU2AAEApYyDjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMTAzMDI3WhcNMjUwMTI0MTAzMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMk1pBZQQoNY8tos8XBaEjHjcdWubRHrQk5CqKc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sEkyY9IaYhmtwHpyrklaDMZvSdN0XzetJV0qvmRDP_V4BifeEI3q73wZ-0VKODm8hPvl_qB-0RedOABJYjKRiXLnCway6pvvf316wzB3ZbFen9pRO4PCJrnGJM4Kj14u3uOJ3UtM99TMjuwZk90FSEIpLZP4mBBvxUvggJeKTSHWONTtK6RDI9-6FV4i62rE2osgxSLLG30Bvv6fZtSbwuJ6CNrwzZyoKMEuFhtGzTRu8NnzXg09Dj3hEPbCMajw4Ww5fvtOCvHOD4tRQTMpWw&h=UtV2u0xx6CHbqj9STIqb4T1l3NmIN3s1pq4mYs7aTWo + uri: https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/f6d1f647-067b-43c2-b5a2-5f83001fad91*DA7A5B9B9621A9FBF85CC945AAF0119FA2854DF10ADDF5B2AF5546F6580D6F58?api-version=2026-06-01&t=639240605393986676&c=MIIIJjCCBw6gAwIBAgIQKYrI_-G8focilGMVljTIzTANBgkqhkiG9w0BAQsFADA2MTQwMgYDVQQDEytDQ01FIEcxIFRMUyBSU0EgMjA0OCBTSEEyNTYgMjA0OSBXQ1VTIENBIDAxMB4XDTI2MDgxMTE2NTU0MVoXDTI3MDIwNjIyNTU0MVowQDE-MDwGA1UEAxM1YXN5bmNvcGVyYXRpb25zaWduaW5nY2VydGlmaWNhdGUubWFuYWdlbWVudC5henVyZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDHXOnBSi89EFmYFHHz8YjTfsSi_rA52hWsPEfIKxyhGOIhG2O761Sp01X84Pl7Qh66Tjalm7gbOxt50vBo25s3yXMvvM-XHEIuIkpB_lLEPKLeU7cELvlXb2fddJRTEIrehzmmX3y9bZBXZ7sPfC3dVh-BZqoy4DhFruSEgypgs5ccLvFmZo_QMNjMEAy9HnEGP4pN1zz_owJcAMfxrb77LRgNioRD6DAgomJng45__m1bx6DuY7BwTn-1rcAk6IA3EKFMWnFJrUrcfxGqCtQyOu4H3IeyIJvAveQKIWNXlL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TkebugJrsOUXarvc0w9IqNUvO1ojxIFEHo9rJXpNKryiy34&s=VV-lPDhd665t7UFGdCct_KJMo8m_zPoooxdz_kUT0P2C7QsXJiGAazpNSl3xgcm9S2AGo25Sc4Gwsf8hvVqqpMz8xas92jKKjItLtjuj3fqlCMhG8MN5GdNwoA-yOIUpKHKFwdTNu4lKbCVGklmZFUWwnjjUK7nGl2z6Y5dTRfykQ7bdCVvhM6nOq7MT7DVcs1fYX1GHVniYAskCfZiXGJN7VbMHa2iIx9qILtzapeZPn2S668p5K2g_2xMGV0dgMnkx7YglYtZIRdhmmsdDlejm64lI9InLHOMCgr7aIxES3xwkRciCxsvocUgKCndQZ5nQ_4UkwgNx81GhjP4Rhw&h=Sb5EBqthHj5zJU4YUrGwTHqVIc6QPv3RbJtoztifSxQ response: body: - string: '{"id":"/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/fd3329e3-b295-462f-9f0c-15e9917da8f3*3E834572C32600F998162467FA428B1E261120E091B958FE9AABB52049FA1927","name":"fd3329e3-b295-462f-9f0c-15e9917da8f3*3E834572C32600F998162467FA428B1E261120E091B958FE9AABB52049FA1927","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor","status":"Succeeded","startTime":"2024-03-26T11:40:23.1763269Z","endTime":"2024-03-26T11:41:26.4438114Z","error":{"additionalInfo":[null]},"properties":null}' + string: '{"id":"/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/f6d1f647-067b-43c2-b5a2-5f83001fad91*DA7A5B9B9621A9FBF85CC945AAF0119FA2854DF10ADDF5B2AF5546F6580D6F58","name":"f6d1f647-067b-43c2-b5a2-5f83001fad91*DA7A5B9B9621A9FBF85CC945AAF0119FA2854DF10ADDF5B2AF5546F6580D6F58","resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_new_relic_monitor000001/providers/NewRelic.Observability/monitors/test-new-relic-monitor","status":"Succeeded","startTime":"2026-09-03T19:28:58.6162582Z","endTime":"2026-09-03T19:29:07.3116975Z","error":{},"properties":null}' headers: cache-control: - no-cache content-length: - - '627' + - '604' content-type: - application/json; charset=utf-8 date: - - Tue, 26 Mar 2024 11:41:33 GMT + - Thu, 03 Sep 2026 19:29:32 GMT etag: - - '"ed00e3e2-0000-0100-0000-6602b4660000"' + - '"3e00e879-0000-0100-0000-6a99ca830000"' expires: - '-1' pragma: @@ -1853,8 +1743,10 @@ interactions: - CONFIG_NOCACHE x-content-type-options: - nosniff + x-ms-operation-identifier: + - '' x-msedge-ref: - - 'Ref A: 32B03B1DBED041D687F04C91FC9D4826 Ref B: MAA201060516033 Ref C: 2024-03-26T11:41:33Z' + - 'Ref A: CA7F63DED991442EB0F5CF2B8AF19554 Ref B: SG2AA1070306034 Ref C: 2026-09-03T19:29:32Z' status: code: 200 message: OK diff --git a/src/new-relic/azext_new_relic/tests/latest/test_new_relic.py b/src/new-relic/azext_new_relic/tests/latest/test_new_relic.py index e3b3b47455c..f4c1caa35e2 100644 --- a/src/new-relic/azext_new_relic/tests/latest/test_new_relic.py +++ b/src/new-relic/azext_new_relic/tests/latest/test_new_relic.py @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------------------------- from azure.cli.testsdk.scenario_tests import AllowLargeResponse -from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer) +from azure.cli.testsdk import ScenarioTest, ResourceGroupPreparer class NewRelicScenario(ScenarioTest): @@ -14,96 +14,229 @@ class NewRelicScenario(ScenarioTest): @AllowLargeResponse(size_kb=10240) @ResourceGroupPreparer(name_prefix='cli_test_new_relic_monitor') def test_new_relic_monitor(self, resource_group): + user_email = self.cmd('account show').get_output_in_json()['user']['name'] self.kwargs.update({ 'new_relic_monitor_name': 'test-new-relic-monitor', - 'user_email': 'dipeshbhakat@microsoft.com', - 'loc': 'eastus' + 'user_email': user_email, + 'loc': 'eastus', + 'monitored_subscription_id': '/subscriptions/{}'.format( + self.get_subscription_id()) }) - self.cmd('az new-relic monitor create ' - '--resource-group {rg} ' - '--name {new_relic_monitor_name} ' - '--location {loc} ' - '--user-info {{"first-name":"Dipesh","last-name":"Bhakat","email-address":{user_email},"phone-number":"123456"}} ' - '--plan-data {{"billing-cycle":"MONTHLY","effective-date":"\'2023-10-25T15:14:33+02:00\'","plan-details":"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg","usage-type":"PAYG"}} ' - '--account-creation-source "LIFTR" ' - '--org-creation-source "LIFTR" ' - '--tags {{"key6976":"oaxfhf"}}', - checks=[self.check('name', '{new_relic_monitor_name}'), - self.check('accountCreationSource', 'LIFTR'), - self.check('orgCreationSource', 'LIFTR'), - self.check('location', '{loc}'), - self.check('planData.billingCycle', 'MONTHLY'), - self.check('planData.effectiveDate', '2023-10-25T13:14:33Z'), - self.check('planData.planDetails', 'newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg'), - self.check('planData.usageType', 'PAYG'), - self.check('userInfo.emailAddress', '{user_email}'), - self.check('userInfo.firstName', 'Dipesh'), - self.check('userInfo.lastName', 'Bhakat'), - self.check('userInfo.phoneNumber', '123456'), - self.check('tags.key6976', 'oaxfhf')]) - - self.cmd('az new-relic monitor tag-rule create --resource-group {rg} --monitor-name {new_relic_monitor_name} --name default ' - '--log-rules {{"send-aad-logs":"Enabled","send-subscription-logs":"Enabled","send-activity-logs":"Enabled","filtering-tags":[]}} ' - '--metric-rules {{"user-email":"{user_email}","filtering-tags":[{{"name":"Environment","value":"Prod","action":"Include"}}]}}', - checks=[self.check('name', 'default'), - self.check('logRules.sendAadLogs', 'Enabled'), - self.check('logRules.sendActivityLogs', 'Enabled'), - self.check('logRules.sendSubscriptionLogs', 'Enabled'), - self.check('metricRules.filteringTags[0].action', 'Include'), - self.check('metricRules.filteringTags[0].name', 'Environment'), - self.check('metricRules.filteringTags[0].value', 'Prod')]) - self.cmd('az new-relic monitor tag-rule update --resource-group {rg} --monitor-name {new_relic_monitor_name} --name default ' - '--log-rules {{"send-aad-logs":"Enabled","send-subscription-logs":"Enabled","send-activity-logs":"Disabled","filtering-tags":[]}}', - self.check('logRules.sendActivityLogs', 'Disabled')) - self.cmd('az new-relic monitor tag-rule list --resource-group {rg} --monitor-name {new_relic_monitor_name}', - self.check('length(@)', 1)) - self.cmd('az new-relic monitor tag-rule show --resource-group {rg} --monitor-name {new_relic_monitor_name} --name default', - checks=[self.check('name', 'default'), - self.check('length(metricRules.filteringTags)', 1), - self.check('length(logRules.filteringTags)', 0)]) - self.cmd('az new-relic monitor get-metric-rule --monitor-name {new_relic_monitor_name} --resource-group {rg} --user-email {user_email}', - checks=[self.check('length(filteringTags)', 0), - self.check('sendMetrics', 'Disabled')]) - self.cmd('az new-relic monitor monitored-subscription create --resource-group {rg} --monitor-name {new_relic_monitor_name} --configuration-name default --patch-operation AddBegin --subscriptions [{{subscription-id:"8503bb5b-d6ad-4293-bf3d-c996bf639d9b",status:"InProgress"}}]') - self.cmd('az new-relic monitor monitored-subscription create --resource-group {rg} --monitor-name {new_relic_monitor_name} --configuration-name default --patch-operation AddComplete --subscriptions [{{status:"Active",subscription-id:"8503bb5b-d6ad-4293-bf3d-c996bf639d9b"}}]', - checks=[self.check('name', 'default'), - self.check('length(properties.monitoredSubscriptionList)', 1), - self.check('properties.monitoredSubscriptionList[0].subscriptionId', '8503bb5b-d6ad-4293-bf3d-c996bf639d9b'), - self.check('properties.monitoredSubscriptionList[0].status', 'Active')]) - self.cmd('az new-relic monitor monitored-subscription show --resource-group {rg} --monitor-name {new_relic_monitor_name} --configuration-name default', - self.check('name', 'default')) - self.cmd('az new-relic monitor monitored-subscription update --resource-group {rg} --monitor-name {new_relic_monitor_name} --configuration-name default --patch-operation AddBegin --subscriptions [{{subscription-id:"8503bb5b-d6ad-4293-bf3d-c996bf639d9b",status:"InProgress"}}]') - self.cmd('az new-relic monitor monitored-subscription update --resource-group {rg} --monitor-name {new_relic_monitor_name} --configuration-name default --patch-operation AddComplete --subscriptions [{{status:"Active",subscription-id:"8503bb5b-d6ad-4293-bf3d-c996bf639d9b"}}]', - checks=[self.check('name', 'default'), - self.check('length(properties.monitoredSubscriptionList)', 1), - self.check('properties.monitoredSubscriptionList[0].subscriptionId', '8503bb5b-d6ad-4293-bf3d-c996bf639d9b'), - self.check('properties.monitoredSubscriptionList[0].status', 'Active')]) - self.cmd('az new-relic monitor get-metric-statu --resource-group {rg} --monitor-name {new_relic_monitor_name} --user-email {user_email} --azure-resource-ids abcdefg', - self.check('length(azureResourceIds)', 0)) - self.cmd('az new-relic monitor list', self.check('type(@)', 'array')) - self.cmd('az new-relic monitor list-app-service --resource-group {rg} --monitor-name {new_relic_monitor_name} --user-email {user_email} --azure-resource-ids abcdefg', - self.check('type(@)', 'array')) - self.cmd('az new-relic monitor list-host --resource-group {rg} --monitor-name {new_relic_monitor_name} --user-email {user_email} --vm-ids test-vm', - self.check('type(@)', 'array')) - self.cmd('az new-relic monitor monitored-resource --monitor-name {new_relic_monitor_name} --resource-group {rg}', - self.check('type(@)', 'array')) - self.cmd('az new-relic monitor list-linked-resource --monitor-name {new_relic_monitor_name} --resource-group {rg}', - self.check('type(@)', 'array')) - self.cmd('az new-relic monitor list-connected-partner-resource --monitor-name {new_relic_monitor_name} --resource-group {rg}', - self.check('type(@)', 'array')) - self.cmd('az new-relic monitor get-billing-info --monitor-name {new_relic_monitor_name} --resource-group {rg}', - self.check('length(marketplaceSaasInfo)', 5)) - self.cmd('az new-relic monitor show --resource-group {rg} --monitor-name {new_relic_monitor_name}', - self.check('name', '{new_relic_monitor_name}')) - self.cmd('az new-relic monitor vm-host-payload --monitor-name {new_relic_monitor_name} --resource-group {rg}', - self.check('length(@)', 1)) - self.cmd('az new-relic account list --location {loc} --user-email rheahooda@microsoft.com', - self.check('type(@)', 'array')) - self.cmd('az new-relic organization list --location {loc} --user-email rheahooda@microsoft.com', - self.check('type(@)', 'array')) - self.cmd('az new-relic plan list --account-id test-account --organization-id test-organization', - self.check('type(@)', 'array')) - self.cmd('az new-relic monitor monitored-subscription delete --resource-group {rg} --monitor-name {new_relic_monitor_name} --configuration-name default') - self.cmd('az new-relic monitor tag-rule delete --resource-group {rg} --monitor-name {new_relic_monitor_name} --name default') - self.cmd('az new-relic monitor delete --resource-group {rg} --monitor-name {new_relic_monitor_name} --user-email {user_email}') + self.cmd( + 'az new-relic monitor create ' + '--resource-group {rg} ' + '--name {new_relic_monitor_name} ' + '--location {loc} ' + '--user-info {{"first-name":"Test","last-name":"User","email-address":"{user_email}","phone-number":"123456"}} ' + '--plan-data {{"billing-cycle":"MONTHLY","effective-date":"\'2026-06-01T00:00:00Z\'","plan-details":"newrelic-pay-as-you-go-free-live@TIDn7ja87drquhy@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg_2025","usage-type":"PAYG"}} ' + '--account-creation-source "LIFTR" ' + '--org-creation-source "LIFTR" ' + '--tags {{"key6976":"oaxfhf"}}', + checks=[ + self.check('name', '{new_relic_monitor_name}'), + self.check('accountCreationSource', 'LIFTR'), + self.check('orgCreationSource', 'LIFTR'), + self.check('location', '{loc}'), + self.check('planData.billingCycle', 'MONTHLY'), + self.check('planData.effectiveDate', '2026-06-01T00:00:00Z'), + self.check( + 'planData.planDetails', + 'newrelic-pay-as-you-go-free-live@TIDn7ja87drquhy@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg_2025'), + self.check('planData.usageType', 'PAYG'), + self.check('userInfo.emailAddress != null', True), + self.check('userInfo.firstName', 'Test'), + self.check('userInfo.lastName', 'User'), + self.check('userInfo.phoneNumber', '123456'), + self.check('tags.key6976', 'oaxfhf') + ]) + + self.cmd( + 'az new-relic monitor tag-rule create ' + '--resource-group {rg} ' + '--monitor-name {new_relic_monitor_name} ' + '--name default ' + '--log-rules {{"send-aad-logs":"Enabled","send-subscription-logs":"Enabled","send-activity-logs":"Enabled","filtering-tags":[]}} ' + '--metric-rules {{"user-email":"{user_email}","filtering-tags":[{{"name":"Environment","value":"Prod","action":"Include"}}]}}', + checks=[ + self.check('name', 'default'), + self.check('logRules.sendAadLogs', 'Enabled'), + self.check('logRules.sendActivityLogs', 'Enabled'), + self.check('logRules.sendSubscriptionLogs', 'Enabled'), + self.check('metricRules.filteringTags[0].action', 'Include'), + self.check('metricRules.filteringTags[0].name', 'Environment'), + self.check('metricRules.filteringTags[0].value', 'Prod') + ]) + + self.cmd( + 'az new-relic monitor tag-rule update ' + '--resource-group {rg} ' + '--monitor-name {new_relic_monitor_name} ' + '--name default ' + '--log-rules {{"send-aad-logs":"Enabled","send-subscription-logs":"Enabled","send-activity-logs":"Disabled","filtering-tags":[]}}', + self.check('logRules.sendActivityLogs', 'Disabled')) + + self.cmd( + 'az new-relic monitor tag-rule list ' + '--resource-group {rg} ' + '--monitor-name {new_relic_monitor_name}', + self.check('length(@)', 1)) + + self.cmd( + 'az new-relic monitor tag-rule show ' + '--resource-group {rg} ' + '--monitor-name {new_relic_monitor_name} ' + '--name default', + checks=[ + self.check('name', 'default'), + self.check('length(metricRules.filteringTags)', 1), + self.check('length(logRules.filteringTags)', 0) + ]) + + self.cmd( + 'az new-relic monitor get-metric-rule ' + '--monitor-name {new_relic_monitor_name} ' + '--resource-group {rg} ' + '--user-email {user_email}', + checks=[ + self.check('length(filteringTags)', 0), + self.check('sendMetrics', 'Disabled') + ]) + + self.cmd( + 'az new-relic monitor monitored-subscription create ' + '--resource-group {rg} ' + '--monitor-name {new_relic_monitor_name} ' + '--configuration-name default ' + '--patch-operation AddBegin ' + '--monitored-subscription-list ' + '[{{subscription-id:"{monitored_subscription_id}",status:"InProgress"}}]') + + self.cmd( + 'az new-relic monitor monitored-subscription create ' + '--resource-group {rg} ' + '--monitor-name {new_relic_monitor_name} ' + '--configuration-name default ' + '--patch-operation AddComplete ' + '--monitored-subscription-list ' + '[{{status:"Active",subscription-id:"{monitored_subscription_id}"}}]', + checks=[ + self.check('name', 'default'), + self.check('length(properties.monitoredSubscriptionList)', 1), + self.check( + 'properties.monitoredSubscriptionList[0].subscriptionId', + '{monitored_subscription_id}', + case_sensitive=False), + self.check( + 'properties.monitoredSubscriptionList[0].status', + 'Active') + ]) + + self.cmd( + 'az new-relic monitor monitored-subscription show ' + '--resource-group {rg} ' + '--monitor-name {new_relic_monitor_name} ' + '--configuration-name default', + self.check('name', 'default')) + + self.cmd( + 'az new-relic monitor monitored-subscription list ' + '--resource-group {rg} ' + '--monitor-name {new_relic_monitor_name}', + self.check('type(@)', 'array')) + + self.cmd( + 'az new-relic monitor get-metric-statu ' + '--resource-group {rg} ' + '--monitor-name {new_relic_monitor_name} ' + '--user-email {user_email} ' + '--azure-resource-ids abcdefg', + self.check('length(azureResourceIds)', 0)) + + self.cmd( + 'az new-relic monitor list ' + '--resource-group {rg}', + self.check('type(@)', 'array')) + + self.cmd( + 'az new-relic monitor list-app-service ' + '--resource-group {rg} ' + '--monitor-name {new_relic_monitor_name} ' + '--user-email {user_email} ' + '--azure-resource-ids abcdefg', + self.check('type(@)', 'array')) + + self.cmd( + 'az new-relic monitor list-host ' + '--resource-group {rg} ' + '--monitor-name {new_relic_monitor_name} ' + '--user-email {user_email} ' + '--vm-ids test-vm', + self.check('type(@)', 'array')) + + self.cmd( + 'az new-relic monitor monitored-resource ' + '--monitor-name {new_relic_monitor_name} ' + '--resource-group {rg}', + self.check('type(@)', 'array')) + + self.cmd( + 'az new-relic monitor list-linked-resource ' + '--monitor-name {new_relic_monitor_name} ' + '--resource-group {rg}', + self.check('type(@)', 'array')) + + self.cmd( + 'az new-relic monitor list-connected-partner-resource ' + '--monitor-name {new_relic_monitor_name} ' + '--resource-group {rg}', + self.check('type(@)', 'array')) + + self.cmd( + 'az new-relic monitor get-billing-info ' + '--monitor-name {new_relic_monitor_name} ' + '--resource-group {rg}', + self.check('length(marketplaceSaasInfo)', 5)) + + self.cmd( + 'az new-relic monitor show ' + '--resource-group {rg} ' + '--monitor-name {new_relic_monitor_name}', + self.check('name', '{new_relic_monitor_name}')) + + self.cmd( + 'az new-relic monitor vm-host-payload ' + '--monitor-name {new_relic_monitor_name} ' + '--resource-group {rg}', + self.check('length(@)', 1)) + + self.cmd( + 'az new-relic account list ' + '--location {loc} ' + '--user-email {user_email}', + self.check('type(@)', 'array')) + + self.cmd( + 'az new-relic organization list ' + '--location {loc} ' + '--user-email {user_email}', + self.check('type(@)', 'array')) + + self.cmd( + 'az new-relic monitor monitored-subscription delete ' + '--resource-group {rg} ' + '--monitor-name {new_relic_monitor_name} ' + '--configuration-name default ' + '--yes') + + self.cmd( + 'az new-relic monitor tag-rule delete ' + '--resource-group {rg} ' + '--monitor-name {new_relic_monitor_name} ' + '--name default') + + self.cmd( + 'az new-relic monitor delete ' + '--resource-group {rg} ' + '--monitor-name {new_relic_monitor_name} ' + '--user-email {user_email}') diff --git a/src/new-relic/setup.py b/src/new-relic/setup.py index c57ac117fef..ab21e5aa1f8 100644 --- a/src/new-relic/setup.py +++ b/src/new-relic/setup.py @@ -10,7 +10,7 @@ # HISTORY.rst entry. -VERSION = '1.1.0' +VERSION = '1.2.0' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers