diff --git a/src/NewRelic/NewRelic.Autorest/Az.NewRelic.psd1 b/src/NewRelic/NewRelic.Autorest/Az.NewRelic.psd1 index 574614507a02..cc9ad2b956e4 100644 --- a/src/NewRelic/NewRelic.Autorest/Az.NewRelic.psd1 +++ b/src/NewRelic/NewRelic.Autorest/Az.NewRelic.psd1 @@ -11,8 +11,7 @@ DotNetFrameworkVersion = '4.7.2' RequiredAssemblies = './bin/Az.NewRelic.private.dll' FormatsToProcess = './Az.NewRelic.format.ps1xml' - FunctionsToExport = 'Get-AzNewRelicAccount', 'Get-AzNewRelicMonitor', 'Get-AzNewRelicMonitorAppService', 'Get-AzNewRelicMonitorHost', 'Get-AzNewRelicMonitorMetricRule', 'Get-AzNewRelicMonitorMetricStatus', 'Get-AzNewRelicMonitorMonitoredResource', 'Get-AzNewRelicMonitorTagRule', 'Get-AzNewRelicOrganization', 'Get-AzNewRelicPlan', 'Invoke-AzNewRelicHostMonitor', 'New-AzNewRelicMonitor', 'New-AzNewRelicMonitorTagRule', 'Remove-AzNewRelicMonitor', 'Remove-AzNewRelicMonitorTagRule', 'Switch-AzNewRelicMonitorBilling', 'Update-AzNewRelicMonitorTagRule', '*' - AliasesToExport = '*' + FunctionsToExport = 'Get-AzNewRelicAccount', 'Get-AzNewRelicBillingInfo', 'Get-AzNewRelicConnectedPartnerResource', 'Get-AzNewRelicMonitor', 'Get-AzNewRelicMonitoredAppService', 'Get-AzNewRelicMonitoredHost', 'Get-AzNewRelicMonitoredSubscription', 'Get-AzNewRelicMonitorMetricRule', 'Get-AzNewRelicMonitorMetricStatus', 'Get-AzNewRelicMonitorMonitoredResource', 'Get-AzNewRelicMonitorTagRule', 'Get-AzNewRelicOrganization', 'Get-AzNewRelicPlan', 'Invoke-AzNewRelicHostMonitor', 'New-AzNewRelicFilteringTagObject', 'New-AzNewRelicMonitor', 'New-AzNewRelicMonitoredSubscription', 'New-AzNewRelicMonitoredSubscriptionObject', 'New-AzNewRelicMonitorTagRule', 'Remove-AzNewRelicMonitor', 'Remove-AzNewRelicMonitoredSubscription', 'Remove-AzNewRelicMonitorTagRule', 'Switch-AzNewRelicMonitorBilling', 'Update-AzNewRelicMonitoredSubscription', 'Update-AzNewRelicMonitorTagRule' PrivateData = @{ PSData = @{ Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'NewRelic' diff --git a/src/NewRelic/NewRelic.Autorest/README.md b/src/NewRelic/NewRelic.Autorest/README.md index 3509de5e78ba..17aa98c8e188 100644 --- a/src/NewRelic/NewRelic.Autorest/README.md +++ b/src/NewRelic/NewRelic.Autorest/README.md @@ -3,9 +3,6 @@ This directory contains the PowerShell module for the NewRelic service. --- -## Status -[![Az.NewRelic](https://img.shields.io/powershellgallery/v/Az.NewRelic.svg?style=flat-square&label=Az.NewRelic "Az.NewRelic")](https://www.powershellgallery.com/packages/Az.NewRelic/) - ## Info - Modifiable: yes - Generated: all @@ -31,8 +28,8 @@ For information on how to develop for `Az.NewRelic`, see [how-to.md](how-to.md). ```yaml # pin the swagger version by using the commit id instead of branch name -commit: 6b992c049ed7d6a95465d5c0a2234fc54c87b9bf -tag: package-2022-07-01 +commit: 559f989d2b38bc80db762cfd277614583dddc3bb +tag: package-2024-01-01 require: # readme.azure.noprofile.md is the common configuration file - $(this-folder)/../../readme.azure.noprofile.md @@ -49,19 +46,53 @@ module-version: 0.1.0 title: NewRelic subject-prefix: $(service-name) -# If there are post APIs for some kinds of actions in the RP, you may need to -# uncomment following line to support viaIdentity for these post APIs +# The next three configurations are exclusive to v3, and in v4, they are activated by default. If you are still using v3, please uncomment them. # identity-correction-for-post: true -resourcegroup-append: true -nested-object-to-string: true - -# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option -use-extension: - "@autorest/powershell": "3.x" +# resourcegroup-append: true +# nested-object-to-string: true directive: + - remove-operation: MonitoredSubscriptions_Update + # Rename operation + - from: swagger-document + where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/monitoredSubscriptions/{configurationName}"].put.operationId + transform: >- + return "MonitoredSubscriptions_CreateOrUpdate" + # Delete body/email + - from: swagger-document + where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/listConnectedPartnerResources"].post.parameters + transform: >- + return [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "monitorName", + "in": "path", + "required": true, + "description": "Name of the Monitors resource", + "pattern": "^.*$", + "type": "string" + } + ] + # Following are common directives which are normally required in all the RPs + # 1. Remove the unexpanded parameter set + # 2. For New-* cmdlets, ViaIdentity is not required + # Following two directives are v4 specific + - where: + variant: ^(Create|Update)(?!.*?(Expanded|JsonFilePath|JsonString)) + remove: true + - where: + variant: ^CreateViaIdentity.*$ + remove: true - where: - variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$|^Switch$|^SwitchViaIdentity$ + variant: ^Switch$|^SwitchViaIdentity$ remove: true - where: subject: AppService|Host @@ -71,6 +102,29 @@ directive: subject: MetricRule|MetricStatus variant: ^Get$|^GetViaIdentity$ remove: true + # duplicate with Get default config + - where: + subject: MonitoredSubscription + variant: List + remove: true + # Custom create Monitor + - where: + subject: Monitor + verb: New + hide: true + # Custom list linked resource + - where: + subject: MonitorLinkedResource + parameter-name: MonitorName + set: + parameter-name: Name + - where: + subject: MonitorLinkedResource + hide: true + - where: + subject: Monitor + verb: Get + hide: true # Remove the set-* cmdlet - where: verb: Set @@ -80,15 +134,41 @@ directive: subject: Monitor verb: update remove: true - # rename parameters + # create cmdlet + - model-cmdlet: + - model-name: MonitoredSubscription + - model-name: FilteringTag + # rename subjects - where: - subject: ^TagRule(.*) + subject: TagRule set: subject: MonitorTagRule - where: - parameter-name: IdentityUserAssignedIdentity + subject: MonitorHost + set: + subject: MonitoredHost + - where: + subject: MonitorAppService + set: + subject: MonitoredAppService + # customize the body property and parameter name + # - from: source-file-csharp + # where: $ + # transform: $ = $.replace('request.Content = null','request.Content = new global::System.Net.Http.StringContent(body, global::System.Text.Encoding.UTF8);'); + # - where: + # verb: Get + # subject: ConnectedPartnerResource + # variant: List + # parameter-name: body + # set: + # parameter-name: EmailAddress + # Reset description + - where: + verb: Remove + subject: MonitoredSubscription set: - parameter-name: UserAssignedIdentity + command-description: Deletes the subscriptions that are being monitored by the NewRelic monitor resource + # Format setting - where: model-name: AccountResource set: diff --git a/src/NewRelic/NewRelic.Autorest/UX/NewRelic.Observability/monitors-monitoredSubscriptions.json b/src/NewRelic/NewRelic.Autorest/UX/NewRelic.Observability/monitors-monitoredSubscriptions.json new file mode 100644 index 000000000000..66bd1aab8583 --- /dev/null +++ b/src/NewRelic/NewRelic.Autorest/UX/NewRelic.Observability/monitors-monitoredSubscriptions.json @@ -0,0 +1,85 @@ +{ + "resourceType": "monitors/monitoredSubscriptions", + "apiVersion": "2024-01-01", + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.newrelic" + }, + "commands": [ + { + "name": "Get-AzNewRelicMonitoredSubscription", + "description": "List the subscriptions currently being monitored by the NewRelic monitor resource.", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/monitoredSubscriptions/{configurationName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.newrelic/get-aznewrelicmonitoredsubscription" + }, + "parameterSets": [ + { + "parameters": [ + "-MonitorName ", + "-ResourceGroupName ", + "[-SubscriptionId ]" + ] + } + ] + }, + "examples": [ + { + "description": "List the subscriptions currently being monitored by the NewRelic monitor resource.", + "parameters": [ + { + "name": "-MonitorName", + "value": "[Path.monitorName]" + }, + { + "name": "-ResourceGroupName", + "value": "[Path.resourceGroupName]" + }, + { + "name": "-SubscriptionId", + "value": "[Path.subscriptionId]" + } + ] + } + ] + }, + { + "name": "Remove-AzNewRelicMonitoredSubscription", + "description": "Deletes the subscriptions that are being monitored by the NewRelic monitor resource", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/monitoredSubscriptions/{configurationName}", + "help": { + "learnMore": { + "url": "https://learn.microsoft.com/powershell/module/az.newrelic/remove-aznewrelicmonitoredsubscription" + }, + "parameterSets": [ + { + "parameters": [ + "-MonitorName ", + "-ResourceGroupName ", + "[-SubscriptionId ]" + ] + } + ] + }, + "examples": [ + { + "description": "Deletes the subscriptions that are being monitored by the NewRelic monitor resource", + "parameters": [ + { + "name": "-MonitorName", + "value": "[Path.monitorName]" + }, + { + "name": "-ResourceGroupName", + "value": "[Path.resourceGroupName]" + }, + { + "name": "-SubscriptionId", + "value": "[Path.subscriptionId]" + } + ] + } + ] + } + ] +} diff --git a/src/NewRelic/NewRelic.Autorest/UX/NewRelic.Observability/monitors-tagRules.json b/src/NewRelic/NewRelic.Autorest/UX/NewRelic.Observability/monitors-tagRules.json index 31738989ed7a..8931d2453d58 100644 --- a/src/NewRelic/NewRelic.Autorest/UX/NewRelic.Observability/monitors-tagRules.json +++ b/src/NewRelic/NewRelic.Autorest/UX/NewRelic.Observability/monitors-tagRules.json @@ -1,6 +1,6 @@ { "resourceType": "monitors/tagRules", - "apiVersion": "2022-07-01", + "apiVersion": "2024-01-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.newrelic" }, diff --git a/src/NewRelic/NewRelic.Autorest/UX/NewRelic.Observability/monitors.json b/src/NewRelic/NewRelic.Autorest/UX/NewRelic.Observability/monitors.json index 4ac24a3e738f..24cefba7e42e 100644 --- a/src/NewRelic/NewRelic.Autorest/UX/NewRelic.Observability/monitors.json +++ b/src/NewRelic/NewRelic.Autorest/UX/NewRelic.Observability/monitors.json @@ -1,22 +1,22 @@ { "resourceType": "monitors", - "apiVersion": "2022-07-01", + "apiVersion": "2024-01-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.newrelic" }, "commands": [ { - "name": "Get-AzNewRelicMonitor", - "description": "Get a NewRelicMonitorResource", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}", + "name": "Get-AzNewRelicBillingInfo", + "description": "Get marketplace info mapped to the given monitor.", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/getBillingInfo", "help": { "learnMore": { - "url": "https://learn.microsoft.com/powershell/module/az.newrelic/get-aznewrelicmonitor" + "url": "https://learn.microsoft.com/powershell/module/az.newrelic/get-aznewrelicbillinginfo" }, "parameterSets": [ { "parameters": [ - "-Name ", + "-MonitorName ", "-ResourceGroupName ", "[-SubscriptionId ]" ] @@ -25,10 +25,10 @@ }, "examples": [ { - "description": "Get a NewRelicMonitorResource", + "description": "Get marketplace info mapped to the given monitor.", "parameters": [ { - "name": "-Name", + "name": "-MonitorName", "value": "[Path.monitorName]" }, { diff --git a/src/NewRelic/NewRelic.Autorest/custom/Get-AzNewRelicMonitor.ps1 b/src/NewRelic/NewRelic.Autorest/custom/Get-AzNewRelicMonitor.ps1 new file mode 100644 index 000000000000..d4852980f3cb --- /dev/null +++ b/src/NewRelic/NewRelic.Autorest/custom/Get-AzNewRelicMonitor.ps1 @@ -0,0 +1,168 @@ + +# ---------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code +# is regenerated. +# ---------------------------------------------------------------------------------- + +<# +.Synopsis +Get a NewRelicMonitorResource +.Description +Get a NewRelicMonitorResource +.Example +Get-AzNewRelicMonitor +.Example +Get-AzNewRelicMonitor -ResourceGroupName ps-test +.Example +Get-AzNewRelicMonitor -Name test-01 -ResourceGroupName ps-test + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicIdentity +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.ILinkedResource +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicMonitorResource +.Notes +COMPLEX PARAMETER PROPERTIES + +To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. + +INPUTOBJECT : Identity Parameter + [ConfigurationName ]: The configuration name. Only 'default' value is supported. + [Id ]: Resource identity path + [MonitorName ]: Name of the Monitors resource + [ResourceGroupName ]: The name of the resource group. The name is case insensitive. + [RuleSetName ]: Name of the TagRule + [SubscriptionId ]: The ID of the target subscription. +.Link +https://learn.microsoft.com/powershell/module/az.newrelic/get-aznewrelicmonitor +#> +function Get-AzNewRelicMonitor { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicMonitorResource], [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.ILinkedResource])] +[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(ParameterSetName='Get', Mandatory)] + [Alias('MonitorName')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Path')] + [System.String] + # Name of the Monitors resource + ${Name}, + + [Parameter(ParameterSetName='Get', Mandatory)] + [Parameter(ParameterSetName='List1', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Path')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='Get')] + [Parameter(ParameterSetName='List')] + [Parameter(ParameterSetName='List1')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String[]] + # The ID of the target subscription. + ${SubscriptionId}, + + [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicIdentity] + # Identity Parameter + ${InputObject}, + + [Parameter(ParameterSetName='Get')] + [System.Management.Automation.SwitchParameter] + # List Linked Resource + ${ListLinkedResource}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Azure')] + [System.Management.Automation.PSObject] + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +process { + + $LinkedResource = $PSBoundParameters.Remove('ListLinkedResource') + $EnvPSBoundParameters = @{} + if ($PSBoundParameters.ContainsKey('Debug')) { + $EnvPSBoundParameters['Debug'] = $Debug + } + if ($PSBoundParameters.ContainsKey('HttpPipelineAppend')) { + $EnvPSBoundParameters['HttpPipelineAppend'] = $HttpPipelineAppend + } + if ($PSBoundParameters.ContainsKey('HttpPipelinePrepend')) { + $EnvPSBoundParameters['HttpPipelinePrepend'] = $HttpPipelinePrepend + } + if ($PSBoundParameters.ContainsKey('Proxy')) { + $EnvPSBoundParameters['Proxy'] = $Proxy + } + if ($PSBoundParameters.ContainsKey('ProxyCredential')) { + $EnvPSBoundParameters['ProxyCredential'] = $ProxyCredential + } + if ($PSBoundParameters.ContainsKey('ProxyUseDefaultCredentials')) { + $EnvPSBoundParameters['ProxyUseDefaultCredentials'] = $ProxyUseDefaultCredentials + } + + if ($LinkedResource) { + Az.NewRelic.internal\Get-AzNewRelicMonitorLinkedResource -ResourceGroupName $ResourceGroupName -Name $Name @EnvPSBoundParameters + } + else { + Az.NewRelic.internal\Get-AzNewRelicMonitor @PSBoundParameters + } +} +} \ No newline at end of file diff --git a/src/NewRelic/NewRelic.Autorest/custom/New-AzNewRelicMonitor.ps1 b/src/NewRelic/NewRelic.Autorest/custom/New-AzNewRelicMonitor.ps1 new file mode 100644 index 000000000000..c814465fb0ce --- /dev/null +++ b/src/NewRelic/NewRelic.Autorest/custom/New-AzNewRelicMonitor.ps1 @@ -0,0 +1,383 @@ + +# ---------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code +# is regenerated. +# ---------------------------------------------------------------------------------- + +<# +.Synopsis +Create a NewRelicMonitorResource +.Description +Create a NewRelicMonitorResource +.Example +{{ Add code here }} +.Example +{{ Add code here }} + +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicMonitorResource +.Link +https://learn.microsoft.com/powershell/module/az.newrelic/new-aznewrelicmonitor +#> +function New-AzNewRelicMonitor { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicMonitorResource])] +[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(Mandatory)] + [Alias('MonitorName')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Path')] + [System.String] + # Name of the Monitors resource + ${Name}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Path')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + # The ID of the target subscription. + ${SubscriptionId}, + + [Parameter(ParameterSetName='CreateExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Body')] + [System.String] + # The geo-location where the resource lives + ${Location}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.PSArgumentCompleterAttribute("LIFTR", "NEWRELIC")] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Body')] + [System.String] + # Source of account creation + ${AccountCreationSource}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Body')] + [System.String] + # Account id + ${AccountInfoAccountId}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Body')] + [System.Security.SecureString] + # ingestion key of account + ${AccountInfoIngestionKey}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Body')] + [System.String] + # Region where New Relic account is present + ${AccountInfoRegion}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Decides if enable a system assigned identity for the resource. + ${EnableSystemAssignedIdentity}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Body')] + [System.String] + # User id + ${NewRelicAccountPropertyUserId}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.PSArgumentCompleterAttribute("LIFTR", "NEWRELIC")] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Body')] + [System.String] + # Source of org creation + ${OrgCreationSource}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Body')] + [System.String] + # Organization id + ${OrganizationInfoOrganizationId}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.PSArgumentCompleterAttribute("YEARLY", "MONTHLY", "WEEKLY")] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Body')] + [System.String] + # Different billing cycles like MONTHLY/WEEKLY. + # this could be enum + ${PlanDataBillingCycle}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Body')] + [System.DateTime] + # date when plan was applied + ${PlanDataEffectiveDate}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Body')] + [System.String] + # plan id as published by NewRelic + ${PlanDataPlanDetail}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.PSArgumentCompleterAttribute("PAYG", "COMMITTED")] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Body')] + [System.String] + # Different usage type like PAYG/COMMITTED. + # this could be enum + ${PlanDataUsageType}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Body')] + [System.String] + # Status of Azure Subscription where Marketplace SaaS is located. + ${SaaSAzureSubscriptionStatus}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Body')] + [System.String] + # The Id of the Enterprise App used for Single sign-on. + ${SingleSignOnPropertyEnterpriseAppId}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.PSArgumentCompleterAttribute("Accepted", "Creating", "Updating", "Deleting", "Succeeded", "Failed", "Canceled", "Deleted", "NotSpecified")] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Body')] + [System.String] + # Provisioning state + ${SingleSignOnPropertyProvisioningState}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.PSArgumentCompleterAttribute("Initial", "Enable", "Disable", "Existing")] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Body')] + [System.String] + # Single sign-on state + ${SingleSignOnPropertySingleSignOnState}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Body')] + [System.String] + # The login URL specific to this NewRelic Organization + ${SingleSignOnPropertySingleSignOnUrl}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Body')] + [System.String] + # State of the Azure Subscription containing the monitor resource + ${SubscriptionState}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.ITrackedResourceTags]))] + [System.Collections.Hashtable] + # Resource tags. + ${Tag}, + + [Parameter(ParameterSetName='CreateExpanded')] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Body')] + [System.String[]] + # The array of user assigned identities associated with the resource. + # The elements in array will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.' + ${UserAssignedIdentity}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Body')] + [System.String] + # country if user + ${UserInfoCountry}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Body')] + [System.String] + # User Email + ${UserInfoEmailAddress}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Body')] + [System.String] + # First name + ${UserInfoFirstName}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Body')] + [System.String] + # Last name + ${UserInfoLastName}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Body')] + [System.String] + # Contact phone number + ${UserInfoPhoneNumber}, + + [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Body')] + [System.String] + # Path of Json file supplied to the Create operation + ${JsonFilePath}, + + [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Body')] + [System.String] + # Json string supplied to the Create operation + ${JsonString}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Azure')] + [System.Management.Automation.PSObject] + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + ${DefaultProfile}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command as a job + ${AsJob}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command asynchronously + ${NoWait}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +process { + try { + Import-Module -Name Az.Resources + } + catch { + Write-Error -Message "Required module Az.Resources is missing, make sure you have installed Az.Resources. Please try again later Or try importing manually." + } + + $EnvPSBoundParameters = @{} + if ($PSBoundParameters.ContainsKey('Debug')) { + $EnvPSBoundParameters['Debug'] = $Debug + } + if ($PSBoundParameters.ContainsKey('HttpPipelineAppend')) { + $EnvPSBoundParameters['HttpPipelineAppend'] = $HttpPipelineAppend + } + if ($PSBoundParameters.ContainsKey('HttpPipelinePrepend')) { + $EnvPSBoundParameters['HttpPipelinePrepend'] = $HttpPipelinePrepend + } + if ($PSBoundParameters.ContainsKey('Proxy')) { + $EnvPSBoundParameters['Proxy'] = $Proxy + } + if ($PSBoundParameters.ContainsKey('ProxyCredential')) { + $EnvPSBoundParameters['ProxyCredential'] = $ProxyCredential + } + if ($PSBoundParameters.ContainsKey('ProxyUseDefaultCredentials')) { + $EnvPSBoundParameters['ProxyUseDefaultCredentials'] = $ProxyUseDefaultCredentials + } + + $NewRelicProviderNamespace = "NewRelic.Observability" + $SaaSProviderNamespace = "Microsoft.SaaS" + $InsightsProviderNamespace = "microsoft.insights" + $ProviderNamespaceList = @($NewRelicProviderNamespace, $SaaSProviderNamespace, $InsightsProviderNamespace) + + # Checking resource provide $ProviderNamespaceList on this subscription + $rpState = Get-AzResourceProvider -ProviderNamespace $ProviderNamespaceList @EnvPSBoundParameters + $RegisteredResourcesForRP = $rpState.Where({$_.RegistrationState -eq "Registered"}) + $RegisteredSaaS = $RegisteredResourcesForRP.ProviderNamespace.Contains($SaaSProviderNamespace) + $RegisteredInsights = $RegisteredResourcesForRP.ProviderNamespace.Contains($InsightsProviderNamespace) + $RegisteredNewRelic = $RegisteredResourcesForRP.ProviderNamespace.Contains($NewRelicProviderNamespace) + if ($RegisteredSaaS -and $RegisteredInsights -and $RegisteredNewRelic) + { + Write-Debug -Message "NewRelic.Observability, Microsoft.SaaS and microsoft.insights have already registered. Continue creating." + } + if (!$RegisteredSaaS) { + try + { + Write-Host -Message "Please wait while we register Microsoft.SaaS resource provider on this subscription. It might take upto 2 mins." + $null = Register-AzResourceProvider -ProviderNamespace $SaaSProviderNamespace @EnvPSBoundParameters + Write-Host -Message "Success to registered Microsoft.SaaS resource provider on this subscription." + } + catch + { + Write-Error -Message "Failed to register Microsoft.SaaS resource provider on this subscription, make sure you have owner or contributor role on this subscription. Please try again later Or try registering manually." + throw + } + } + if (!$RegisteredInsights) { + try + { + Write-Host -Message "Please wait while we register microsoft.insights resource provider on this subscription. It might take upto 2 mins." + $null = Register-AzResourceProvider -ProviderNamespace $InsightsProviderNamespace @EnvPSBoundParameters + Write-Host -Message "Success to registered microsoft.insights resource provider on this subscription" + } + catch + { + Write-Error -Message "Failed to register microsoft.insights resource provider on this subscription, make sure you have owner or contributor role on this subscription. Please try again later Or try registering manually." + throw + } + } + if (!$RegisteredNewRelic) { + try + { + Write-Host -Message "Please wait while we register NewRelic.Observability resource provider on this subscription. It might take upto 2 mins." + $null = Register-AzResourceProvider -ProviderNamespace $NewRelicProviderNamespace @EnvPSBoundParameters + Write-Host -Message "Success to registered NewRelic.Observability resource provider on this subscription" + } + catch + { + Write-Error -Message "Failed to register NewRelic.Observability resource provider on this subscription, make sure you have owner or contributor role on this subscription. Please try again later Or try registering manually" + throw + } + } + + Az.NewRelic.internal\New-AzNewRelicMonitor @PSBoundParameters +} + +} \ No newline at end of file diff --git a/src/NewRelic/NewRelic.Autorest/docs/Az.NewRelic.md b/src/NewRelic/NewRelic.Autorest/docs/Az.NewRelic.md index 97e2f896680c..bd0d63f58d2f 100644 --- a/src/NewRelic/NewRelic.Autorest/docs/Az.NewRelic.md +++ b/src/NewRelic/NewRelic.Autorest/docs/Az.NewRelic.md @@ -14,15 +14,24 @@ Microsoft Azure PowerShell: NewRelic cmdlets ### [Get-AzNewRelicAccount](Get-AzNewRelicAccount.md) List all the existing accounts +### [Get-AzNewRelicBillingInfo](Get-AzNewRelicBillingInfo.md) +Get marketplace info mapped to the given monitor. + +### [Get-AzNewRelicConnectedPartnerResource](Get-AzNewRelicConnectedPartnerResource.md) +List of all active deployments that are associated with the marketplace subscription linked to the given monitor. + ### [Get-AzNewRelicMonitor](Get-AzNewRelicMonitor.md) Get a NewRelicMonitorResource -### [Get-AzNewRelicMonitorAppService](Get-AzNewRelicMonitorAppService.md) +### [Get-AzNewRelicMonitoredAppService](Get-AzNewRelicMonitoredAppService.md) List the app service resources currently being monitored by the NewRelic resource. -### [Get-AzNewRelicMonitorHost](Get-AzNewRelicMonitorHost.md) +### [Get-AzNewRelicMonitoredHost](Get-AzNewRelicMonitoredHost.md) List the compute vm resources currently being monitored by the NewRelic resource. +### [Get-AzNewRelicMonitoredSubscription](Get-AzNewRelicMonitoredSubscription.md) +List the subscriptions currently being monitored by the NewRelic monitor resource. + ### [Get-AzNewRelicMonitorMetricRule](Get-AzNewRelicMonitorMetricRule.md) Get metric rules @@ -44,21 +53,36 @@ List plans data ### [Invoke-AzNewRelicHostMonitor](Invoke-AzNewRelicHostMonitor.md) Returns the payload that needs to be passed in the request body for installing NewRelic agent on a VM. +### [New-AzNewRelicFilteringTagObject](New-AzNewRelicFilteringTagObject.md) +Create an in-memory object for FilteringTag. + ### [New-AzNewRelicMonitor](New-AzNewRelicMonitor.md) Create a NewRelicMonitorResource +### [New-AzNewRelicMonitoredSubscription](New-AzNewRelicMonitoredSubscription.md) +Add the subscriptions that should be monitored by the NewRelic monitor resource. + +### [New-AzNewRelicMonitoredSubscriptionObject](New-AzNewRelicMonitoredSubscriptionObject.md) +Create an in-memory object for MonitoredSubscription. + ### [New-AzNewRelicMonitorTagRule](New-AzNewRelicMonitorTagRule.md) Create a TagRule ### [Remove-AzNewRelicMonitor](Remove-AzNewRelicMonitor.md) Delete a NewRelicMonitorResource +### [Remove-AzNewRelicMonitoredSubscription](Remove-AzNewRelicMonitoredSubscription.md) +Deletes the subscriptions that are being monitored by the NewRelic monitor resource + ### [Remove-AzNewRelicMonitorTagRule](Remove-AzNewRelicMonitorTagRule.md) Delete a TagRule ### [Switch-AzNewRelicMonitorBilling](Switch-AzNewRelicMonitorBilling.md) Switches the billing for NewRelic monitor resource. +### [Update-AzNewRelicMonitoredSubscription](Update-AzNewRelicMonitoredSubscription.md) +Add the subscriptions that should be monitored by the NewRelic monitor resource. + ### [Update-AzNewRelicMonitorTagRule](Update-AzNewRelicMonitorTagRule.md) Update a TagRule diff --git a/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicAccount.md b/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicAccount.md index bff87bd12950..ed8b6ffb2e5e 100644 --- a/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicAccount.md +++ b/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicAccount.md @@ -24,7 +24,7 @@ List all the existing accounts ### Example 1: Get specific monitor account with specified location ```powershell -Get-AzNewRelicAccount -Location eastus -UserEmail v-jiaji@outlook.com +Get-AzNewRelicAccount -Location eastus -UserEmail user1@outlook.com ``` ```output @@ -111,11 +111,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.Api20220701.IAccountResource +### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.IAccountResource ## NOTES -ALIASES - ## RELATED LINKS diff --git a/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicBillingInfo.md b/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicBillingInfo.md new file mode 100644 index 000000000000..cf8a2c949539 --- /dev/null +++ b/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicBillingInfo.md @@ -0,0 +1,173 @@ +--- +external help file: +Module Name: Az.NewRelic +online version: https://learn.microsoft.com/powershell/module/az.newrelic/get-aznewrelicbillinginfo +schema: 2.0.0 +--- + +# Get-AzNewRelicBillingInfo + +## SYNOPSIS +Get marketplace info mapped to the given monitor. + +## SYNTAX + +### Get (Default) +``` +Get-AzNewRelicBillingInfo -MonitorName -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### GetViaIdentity +``` +Get-AzNewRelicBillingInfo -InputObject [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Get marketplace info mapped to the given monitor. + +## EXAMPLES + +### Example 1: Get marketplace info mapped to the given monitor. +```powershell +Get-AzNewRelicBillingInfo -MonitorName test-01 -ResourceGroupName group-test +``` + +```output +MarketplaceSaaInfoBilledAzureSubscriptionId : 11111111-2222-3333-4444-123456789101 +MarketplaceSaaInfoMarketplaceResourceId : /subscriptions/11111111-2222-3333-4444-123456789101/resourceGroups/group-test/providers/Microsoft.SaaS/resources/AzNewRelic_11111111-2222-3333-4444-123456789102_test-01 +MarketplaceSaaInfoMarketplaceStatus : Subscribed +MarketplaceSaaInfoMarketplaceSubscriptionId : 00000000-0000-0000-0000-000000000000 +MarketplaceSaaInfoMarketplaceSubscriptionName : AzNewRelic_11111111-2222-3333-4444-123456789102_test-01 +PartnerBillingEntityOrganizationId : 11111111-2222-3333-4444-123456789103 +PartnerBillingEntityOrganizationName : 11111111-2222-3333-4444-123456789103 +``` + +This command gets marketplace info mapped to the given monitor. + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -MonitorName +Name of the Monitors resource + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.IBillingInfoResponse + +## NOTES + +## RELATED LINKS + diff --git a/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicConnectedPartnerResource.md b/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicConnectedPartnerResource.md new file mode 100644 index 000000000000..2155dba10e11 --- /dev/null +++ b/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicConnectedPartnerResource.md @@ -0,0 +1,145 @@ +--- +external help file: +Module Name: Az.NewRelic +online version: https://learn.microsoft.com/powershell/module/az.newrelic/get-aznewrelicconnectedpartnerresource +schema: 2.0.0 +--- + +# Get-AzNewRelicConnectedPartnerResource + +## SYNOPSIS +List of all active deployments that are associated with the marketplace subscription linked to the given monitor. + +## SYNTAX + +``` +Get-AzNewRelicConnectedPartnerResource -MonitorName -ResourceGroupName + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +List of all active deployments that are associated with the marketplace subscription linked to the given monitor. + +## EXAMPLES + +### Example 1: List of all active deployments linked to the given monitor +```powershell +Get-AzNewRelicConnectedPartnerResource -MonitorName test-01 -ResourceGroupName group-test +``` + +```output +AccountId AccountName AzureResourceId Location +--------- ----------- --------------- -------- +4404219 Account 4404219 /SUBSCRIPTIONS/11111111-2222-3333-4444-123456789101/RESOURCEGROUPS/GROUP-TEST/PROVIDERS/NEWRELIC.OBSERVABILITY/MONITORS/TEST-01 eastus +``` + +This command list of all active deployments that are associated with the marketplace subscription linked to the given monitor. + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MonitorName +Name of the Monitors resource + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.IConnectedPartnerResourcesListFormat + +## NOTES + +## RELATED LINKS + diff --git a/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitor.md b/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitor.md index 6ee8f959b06d..9c9a97c04119 100644 --- a/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitor.md +++ b/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitor.md @@ -14,24 +14,26 @@ Get a NewRelicMonitorResource ### List (Default) ``` -Get-AzNewRelicMonitor [-SubscriptionId ] [-DefaultProfile ] [] +Get-AzNewRelicMonitor [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] ``` ### Get ``` Get-AzNewRelicMonitor -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [] + [-ListLinkedResource] [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` ### GetViaIdentity ``` -Get-AzNewRelicMonitor -InputObject [-DefaultProfile ] [] +Get-AzNewRelicMonitor -InputObject [-DefaultProfile ] [-Confirm] [-WhatIf] + [] ``` ### List1 ``` Get-AzNewRelicMonitor -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] - [] + [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -47,11 +49,11 @@ Get-AzNewRelicMonitor ```output Location Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy -------- ---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ -eastus dipesh_test_16_3_sb 6/16/2023 6:26:11 AM dipeshbhakat@outlook.com User 6/16/2023 6:47:28 AM f73fdc11-ed25-4c35-a93a-f525ab3… -eastus 16_06_23_01 6/16/2023 7:55:28 AM saurgupta@outlook.com User 6/16/2023 7:55:28 AM saurgupta@outlook.com -eastus test-new-relic 6/19/2023 8:44:48 AM v-taoxuzeng@outlook.com User 6/19/2023 8:44:48 AM v-taoxuzeng@outlook.com -eastus test-new-relic2 6/21/2023 9:18:43 AM v-taoxuzeng@outlook.com User 6/21/2023 9:18:43 AM v-taoxuzeng@outlook.com -eastus test-01 6/27/2023 8:30:45 AM v-jiaji@outlook.com User 6/27/2023 8:30:45 AM v-jiaji@outlook.com +eastus user01_test_16_3_sb 6/16/2023 6:26:11 AM user01@example.com User 6/16/2023 6:47:28 AM 11111111-2222-3333-4444-123456789101 +eastus 16_06_23_01 6/16/2023 7:55:28 AM usaccount@outlook.com User 6/16/2023 7:55:28 AM usaccount@outlook.com +eastus test-new-relic 6/19/2023 8:44:48 AM useraccount@outlook.com User 6/19/2023 8:44:48 AM useraccount@outlook.com +eastus test-new-relic2 6/21/2023 9:18:43 AM useraccount@outlook.com User 6/21/2023 9:18:43 AM useraccount@outlook.com +eastus test-01 6/27/2023 8:30:45 AM user1@outlook.com User 6/27/2023 8:30:45 AM user1@outlook.com centraluseuap testNR-5868 6/5/2023 6:22:07 AM 09a13a20-12be-4fda-a11e-a6895d6b321b Application 6/5/2023 6:22:07 AM 09a13a20-12be-4fda-a11e-a6895d6… centraluseuap testNR-6804 6/5/2023 6:25:37 AM 09a13a20-12be-4fda-a11e-a6895d6b321b Application 6/5/2023 6:25:37 AM 09a13a20-12be-4fda-a11e-a6895d6… Central US EUAP Harsh_PostMan_0706_1 6/9/2023 11:24:46 AM harshkumar@outlook.com User 6/9/2023 11:24:46 AM harshkumar@outlook.com @@ -64,24 +66,24 @@ centraluseuap CUS_1106 6/11/2023 12:29: Central US EUAP Harsh_PostMan_1206 6/12/2023 11:53:46 AM harshkumar@outlook.com User 6/12/2023 11:53:46 AM harshkumar@outlook.com centraluseuap CUS_1206_2 6/12/2023 11:58:07 AM harshkumar@outlook.com User 6/12/2023 11:58:07 AM harshkumar@outlook.com centraluseuap 1406_Develop_CUS 6/14/2023 8:57:58 AM harshkumar@outlook.com User 6/14/2023 8:57:58 AM harshkumar@outlook.com -centraluseuap saurgupta_27_06_23_02 6/27/2023 5:14:26 AM saurgupta@outlook.com User 6/27/2023 5:14:26 AM saurgupta@outlook.com -centraluseuap saurgupta_28_03_23_01 3/28/2023 8:09:47 AM saurgupta@outlook.com User 5/26/2023 7:15:21 AM f73fdc11-ed25-4c35-a93a-f525ab3… -centraluseuap saurgupta_28_03_23_02 3/28/2023 12:04:18 PM saurgupta@outlook.com User 5/26/2023 7:15:21 AM f73fdc11-ed25-4c35-a93a-f525ab3… -centraluseuap saurgupta_05_04_23_01 4/5/2023 8:33:53 AM saurgupta@outlook.com User 5/26/2023 7:15:22 AM f73fdc11-ed25-4c35-a93a-f525ab3… -centraluseuap saurgupta_21_04_23_03 4/21/2023 11:29:46 AM saurgupta@outlook.com User 4/21/2023 11:29:46 AM saurgupta@outlook.com -centraluseuap saurgupta_21_04_23_04 4/21/2023 11:35:23 AM saurgupta@outlook.com User 5/26/2023 7:15:23 AM f73fdc11-ed25-4c35-a93a-f525ab3… -centraluseuap saurgupta_24_04_23_01 4/24/2023 3:33:40 AM saurgupta@outlook.com User 5/26/2023 7:15:23 AM f73fdc11-ed25-4c35-a93a-f525ab3… -centraluseuap acctest2985 5/2/2023 11:33:12 AM dipeshbhakat@outlook.com User 5/2/2023 11:33:12 AM dipeshbhakat@outlook.com -centraluseuap acctestterraform1 5/2/2023 11:50:50 AM dipeshbhakat@outlook.com User 5/2/2023 11:50:50 AM dipeshbhakat@outlook.com +centraluseuap usaccount_27_06_23_02 6/27/2023 5:14:26 AM usaccount@outlook.com User 6/27/2023 5:14:26 AM usaccount@outlook.com +centraluseuap usaccount_28_03_23_01 3/28/2023 8:09:47 AM usaccount@outlook.com User 5/26/2023 7:15:21 AM f73fdc11-ed25-4c35-a93a-f525ab3… +centraluseuap usaccount_28_03_23_02 3/28/2023 12:04:18 PM usaccount@outlook.com User 5/26/2023 7:15:21 AM f73fdc11-ed25-4c35-a93a-f525ab3… +centraluseuap usaccount_05_04_23_01 4/5/2023 8:33:53 AM usaccount@outlook.com User 5/26/2023 7:15:22 AM f73fdc11-ed25-4c35-a93a-f525ab3… +centraluseuap usaccount_21_04_23_03 4/21/2023 11:29:46 AM usaccount@outlook.com User 4/21/2023 11:29:46 AM usaccount@outlook.com +centraluseuap usaccount_21_04_23_04 4/21/2023 11:35:23 AM usaccount@outlook.com User 5/26/2023 7:15:23 AM f73fdc11-ed25-4c35-a93a-f525ab3… +centraluseuap usaccount_24_04_23_01 4/24/2023 3:33:40 AM usaccount@outlook.com User 5/26/2023 7:15:23 AM f73fdc11-ed25-4c35-a93a-f525ab3… +centraluseuap acctest2985 5/2/2023 11:33:12 AM user01@example.com User 5/2/2023 11:33:12 AM user01@example.com +centraluseuap acctestterraform1 5/2/2023 11:50:50 AM user01@example.com User 5/2/2023 11:50:50 AM user01@example.com Central US EUAP Harsh_PostMan_0905_1 5/9/2023 5:13:23 AM harshkumar@outlook.com User 5/9/2023 5:13:23 AM harshkumar@outlook.com centraluseuap Uxuxuxuxuuxux 5/9/2023 7:53:15 AM harshkumar@outlook.com User 5/9/2023 7:53:15 AM harshkumar@outlook.com centraluseuap vip-test-09May23-CEUAP-LinkOrg-1 5/9/2023 9:58:49 AM viprayjain@outlook.com User 5/26/2023 7:15:24 AM f73fdc11-ed25-4c35-a93a-f525ab3… -centraluseuap dipesh_test_canary1 5/19/2023 4:19:33 AM dipeshbhakat@outlook.com User 5/19/2023 4:19:33 AM dipeshbhakat@outlook.com -centraluseuap dipeshterraformcreate5 5/23/2023 11:44:18 AM dipeshbhakat@outlook.com User 5/23/2023 11:44:18 AM dipeshbhakat@outlook.com +centraluseuap user01_test_canary1 5/19/2023 4:19:33 AM user01@example.com User 5/19/2023 4:19:33 AM user01@example.com +centraluseuap user01terraformcreate5 5/23/2023 11:44:18 AM user01@example.com User 5/23/2023 11:44:18 AM user01@example.com centraluseuap java-sdk-8849 5/26/2023 4:55:57 AM 09a13a20-12be-4fda-a11e-a6895d6b321b Application 5/26/2023 4:55:57 AM 09a13a20-12be-4fda-a11e-a6895d6… -centraluseuap saurgupta_31_05_23_01 5/31/2023 9:58:47 AM saurgupta@outlook.com User 5/31/2023 9:58:47 AM saurgupta@outlook.com +centraluseuap usaccount_31_05_23_01 5/31/2023 9:58:47 AM usaccount@outlook.com User 5/31/2023 9:58:47 AM usaccount@outlook.com Central US EUAP Harsh_PostMan_0706 6/7/2023 6:39:55 AM harshkumar@outlook.com -eastus2euap saurgupta_21_06_23_01 6/21/2023 9:06:41 AM saurgupta@outlook.com User 6/21/2023 9:06:41 AM saurgupta@outlook.com +eastus2euap usaccount_21_06_23_01 6/21/2023 9:06:41 AM usaccount@outlook.com User 6/21/2023 9:06:41 AM usaccount@outlook.com ``` Get list of monitors by subscription @@ -94,8 +96,8 @@ Get-AzNewRelicMonitor -ResourceGroupName ps-test ```output Location Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType ResourceGroupName RetryAfter -------- ---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- ----------------- ---------- -eastus test-01 6/27/2023 8:30:45 AM v-jiaji@outlook.com User 6/27/2023 8:30:45 AM v-jiaji@outlook.com User ps-test -eastus test-02 6/27/2023 8:44:10 AM v-jiaji@outlook.com User 6/27/2023 8:44:10 AM v-jiaji@outlook.com User ps-test +eastus test-01 6/27/2023 8:30:45 AM user1@outlook.com User 6/27/2023 8:30:45 AM user1@outlook.com User ps-test +eastus test-02 6/27/2023 8:44:10 AM user1@outlook.com User 6/27/2023 8:44:10 AM user1@outlook.com User ps-test ``` Get list of monitors by specific resource group @@ -108,11 +110,24 @@ Get-AzNewRelicMonitor -Name test-01 -ResourceGroupName ps-test ```output Location Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType ResourceGroupName RetryAfter -------- ---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- ----------------- ---------- -eastus test-01 6/27/2023 8:30:45 AM v-jiaji@outlook.com User 6/27/2023 8:30:45 AM v-jiaji@outlook.com User ps-test +eastus test-01 6/27/2023 8:30:45 AM user1@outlook.com User 6/27/2023 8:30:45 AM user1@outlook.com User ps-test ``` Get specific monitor by name and resource group +### Example 4: List linked Azure resources +```powershell +Get-AzNewRelicMonitor -MonitorName test-01 -ResourceGroupName group-test -ListLinkedResource +``` + +```output +Id +-- +/SUBSCRIPTIONS/11111111-2222-3333-4444-123456789101/RESOURCEGROUPS/group-TEST/PROVIDERS/NEWRELIC.OBSERVABILITY/MONITORS/TEST-01 +``` + +This command lists all Azure resources associated to the same NewRelic organization and account as the target resource. + ## PARAMETERS ### -DefaultProfile @@ -133,7 +148,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicIdentity @@ -147,6 +161,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -ListLinkedResource +List Linked Resource + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: Get +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name Name of the Monitors resource @@ -193,6 +222,37 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). @@ -202,23 +262,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.Api20220701.INewRelicMonitorResource +### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.ILinkedResource -## NOTES - -ALIASES - -COMPLEX PARAMETER PROPERTIES +### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicMonitorResource -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[Id ]`: Resource identity path - - `[MonitorName ]`: Name of the Monitors resource - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[RuleSetName ]`: Name of the TagRule - - `[SubscriptionId ]`: The ID of the target subscription. +## NOTES ## RELATED LINKS diff --git a/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitorMetricRule.md b/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitorMetricRule.md index e4a59f0ef9bf..51e5a7abe550 100644 --- a/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitorMetricRule.md +++ b/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitorMetricRule.md @@ -24,6 +24,18 @@ Get-AzNewRelicMonitorMetricRule -InputObject -UserEmail ] [-Confirm] [-WhatIf] [] ``` +### GetViaJsonFilePath +``` +Get-AzNewRelicMonitorMetricRule -MonitorName -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### GetViaJsonString +``` +Get-AzNewRelicMonitorMetricRule -MonitorName -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION Get metric rules @@ -31,7 +43,7 @@ Get metric rules ### Example 1: Get specific monitor metric rule with specified resource group ```powershell -Get-AzNewRelicMonitorMetricRule -MonitorName test-01 -ResourceGroupName ps-test -UserEmail v-jiaji@outlook.com +Get-AzNewRelicMonitorMetricRule -MonitorName test-01 -ResourceGroupName ps-test -UserEmail user1@outlook.com ``` ```output @@ -62,7 +74,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicIdentity @@ -76,12 +87,42 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Get operation + +```yaml +Type: System.String +Parameter Sets: GetViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Get operation + +```yaml +Type: System.String +Parameter Sets: GetViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -MonitorName Name of the Monitors resource ```yaml Type: System.String -Parameter Sets: GetExpanded +Parameter Sets: GetExpanded, GetViaJsonFilePath, GetViaJsonString Aliases: Required: True @@ -97,7 +138,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: GetExpanded +Parameter Sets: GetExpanded, GetViaJsonFilePath, GetViaJsonString Aliases: Required: True @@ -112,7 +153,7 @@ The ID of the target subscription. ```yaml Type: System.String[] -Parameter Sets: GetExpanded +Parameter Sets: GetExpanded, GetViaJsonFilePath, GetViaJsonString Aliases: Required: False @@ -127,7 +168,7 @@ User Email ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: GetExpanded, GetViaIdentityExpanded Aliases: Required: True @@ -177,23 +218,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.Api20220701.IMetricRules +### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.IMetricRules ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[Id ]`: Resource identity path - - `[MonitorName ]`: Name of the Monitors resource - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[RuleSetName ]`: Name of the TagRule - - `[SubscriptionId ]`: The ID of the target subscription. - ## RELATED LINKS diff --git a/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitorMetricStatus.md b/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitorMetricStatus.md index 6a03b0adec5e..b983a762a626 100644 --- a/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitorMetricStatus.md +++ b/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitorMetricStatus.md @@ -25,6 +25,18 @@ Get-AzNewRelicMonitorMetricStatus -InputObject -UserEmail ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` +### GetViaJsonFilePath +``` +Get-AzNewRelicMonitorMetricStatus -MonitorName -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### GetViaJsonString +``` +Get-AzNewRelicMonitorMetricStatus -MonitorName -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION Get metric status @@ -32,11 +44,11 @@ Get metric status ### Example 1: Get a list of metrics resource ids ```powershell -Get-AzNewRelicMonitorMetricStatus -MonitorName test-03 -ResourceGroupName ps-test -UserEmail v-jiaji@outlook.com -AzureResourceId /subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/Microsoft.Web/sites/joyertest +Get-AzNewRelicMonitorMetricStatus -MonitorName test-03 -ResourceGroupName ps-test -UserEmail user1@outlook.com -AzureResourceId /subscriptions/11111111-2222-3333-4444-123456789101/resourceGroups/ps-test/providers/Microsoft.Web/sites/grouptest ``` ```output -/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourcegroups/ps-test/providers/microsoft.web/sites/joyertest +/subscriptions/11111111-2222-3333-4444-123456789101/resourcegroups/ps-test/providers/microsoft.web/sites/grouptest ``` List resource ids. @@ -48,7 +60,7 @@ Azure resource IDs ```yaml Type: System.String[] -Parameter Sets: (All) +Parameter Sets: GetExpanded, GetViaIdentityExpanded Aliases: Required: False @@ -76,7 +88,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicIdentity @@ -90,12 +101,42 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Get operation + +```yaml +Type: System.String +Parameter Sets: GetViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Get operation + +```yaml +Type: System.String +Parameter Sets: GetViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -MonitorName Name of the Monitors resource ```yaml Type: System.String -Parameter Sets: GetExpanded +Parameter Sets: GetExpanded, GetViaJsonFilePath, GetViaJsonString Aliases: Required: True @@ -111,7 +152,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: GetExpanded +Parameter Sets: GetExpanded, GetViaJsonFilePath, GetViaJsonString Aliases: Required: True @@ -126,7 +167,7 @@ The ID of the target subscription. ```yaml Type: System.String[] -Parameter Sets: GetExpanded +Parameter Sets: GetExpanded, GetViaJsonFilePath, GetViaJsonString Aliases: Required: False @@ -141,7 +182,7 @@ User Email ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: GetExpanded, GetViaIdentityExpanded Aliases: Required: True @@ -191,23 +232,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### System.String +### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.IMetricsStatusResponse ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[Id ]`: Resource identity path - - `[MonitorName ]`: Name of the Monitors resource - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[RuleSetName ]`: Name of the TagRule - - `[SubscriptionId ]`: The ID of the target subscription. - ## RELATED LINKS diff --git a/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitorMonitoredResource.md b/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitorMonitoredResource.md index 7f67e46f4127..c3d8a5b65b56 100644 --- a/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitorMonitoredResource.md +++ b/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitorMonitoredResource.md @@ -28,38 +28,37 @@ Get-AzNewRelicMonitorMonitoredResource -MonitorName test-03 -ResourceGroupName p ``` ```output -Id : /SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/PS-TEST/PROVIDERS/MICROSOFT.WEB/SITES/JOYERTEST +Id : /SUBSCRIPTIONS/11111111-2222-3333-4444-123456789101/RESOURCEGROUPS/PS-TEST/PROVIDERS/MICROSOFT.WEB/SITES/SITETEST ReasonForLogsStatus : CapturedByRules ReasonForMetricsStatus : SendingLog : Enabled SendingMetric : -Id : /SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/PS-TEST/PROVIDERS/MICROSOFT.WEB/SERVERFARMS/PSTEST +Id : /SUBSCRIPTIONS/11111111-2222-3333-4444-123456789101/RESOURCEGROUPS/PS-TEST/PROVIDERS/MICROSOFT.WEB/SERVERFARMS/PSTEST ReasonForLogsStatus : CapturedByRules ReasonForMetricsStatus : SendingLog : Enabled SendingMetric : -Id : /SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/PS-TEST/PROVIDERS/MICROSOFT.WEB/SITES/JOYERTEST2 +Id : /SUBSCRIPTIONS/11111111-2222-3333-4444-123456789101/RESOURCEGROUPS/PS-TEST/PROVIDERS/MICROSOFT.WEB/SITES/SITETEST2 ReasonForLogsStatus : CapturedByRules ReasonForMetricsStatus : SendingLog : Enabled SendingMetric : -Id : /SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/PS-TEST/PROVIDERS/MICROSOFT.INSIGHTS/COMPONENTS/JOYERTEST2 +Id : /SUBSCRIPTIONS/11111111-2222-3333-4444-123456789101/RESOURCEGROUPS/PS-TEST/PROVIDERS/MICROSOFT.INSIGHTS/COMPONENTS/INSIGHTTEST2 ReasonForLogsStatus : CapturedByRules ReasonForMetricsStatus : SendingLog : Enabled SendingMetric : -Id : /SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/ACCTEST9482/PROVIDERS/MICROSOFT.INSIGHTS/COMPONENTS/TEST3210 +Id : /SUBSCRIPTIONS/11111111-2222-3333-4444-123456789101/RESOURCEGROUPS/ACCTEST9482/PROVIDERS/MICROSOFT.INSIGHTS/COMPONENTS/TEST3210 ReasonForLogsStatus : DiagnosticSettingsLimitReached ReasonForMetricsStatus : SendingLog : Disabled SendingMetric : -Id : /SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/MC_KANSINGH-RG_TESTNRCLUSTER_EASTUS/PROVIDERS/MICROSOFT.NETWORK/PUBLICIPADDRESSES/99894EC0-4C67-4D40-BF63-B640D5 - 9E1596 +Id : /SUBSCRIPTIONS/11111111-2222-3333-4444-123456789101/RESOURCEGROUPS/MC_KANSINGH-RG_TESTNRCLUSTER_EASTUS/PROVIDERS/MICROSOFT.NETWORK/PUBLICIPADDRESSES/11111111-2222-3333-4444-123456789123 ReasonForLogsStatus : DiagnosticSettingsLimitReached ReasonForMetricsStatus : SendingLog : Disabled @@ -170,11 +169,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.Api20220701.IMonitoredResource +### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.IMonitoredResource ## NOTES -ALIASES - ## RELATED LINKS diff --git a/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitorTagRule.md b/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitorTagRule.md index a607e9757213..1f970419fb84 100644 --- a/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitorTagRule.md +++ b/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitorTagRule.md @@ -30,6 +30,12 @@ Get-AzNewRelicMonitorTagRule -InputObject [-DefaultProfile < [] ``` +### GetViaIdentityMonitor +``` +Get-AzNewRelicMonitorTagRule -MonitorInputObject -RuleSetName + [-DefaultProfile ] [] +``` + ## DESCRIPTION Get a TagRule @@ -43,7 +49,7 @@ Get-AzNewRelicMonitorTagRule -MonitorName test-03 -ResourceGroupName ps-test ```output Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType ResourceGroupName RetryAfter ---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- ----------------- ---------- -default 6/28/2023 6:03:14 AM v-jiaji@outlook.com User 6/28/2023 6:03:14 AM v-jiaji@outlook.com User ps-test +default 6/28/2023 6:03:14 AM user1@outlook.com User 6/28/2023 6:03:14 AM user1@outlook.com User ps-test ``` Get tag rule with specified monitor and resource group @@ -68,7 +74,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicIdentity @@ -82,6 +87,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -MonitorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicIdentity +Parameter Sets: GetViaIdentityMonitor +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -MonitorName Name of the Monitors resource @@ -118,7 +138,7 @@ Name of the TagRule ```yaml Type: System.String -Parameter Sets: Get +Parameter Sets: Get, GetViaIdentityMonitor Aliases: Required: True @@ -152,23 +172,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.Api20220701.ITagRule +### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.ITagRule ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[Id ]`: Resource identity path - - `[MonitorName ]`: Name of the Monitors resource - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[RuleSetName ]`: Name of the TagRule - - `[SubscriptionId ]`: The ID of the target subscription. - ## RELATED LINKS diff --git a/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitorAppService.md b/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitoredAppService.md similarity index 66% rename from src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitorAppService.md rename to src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitoredAppService.md index 77a7e015255a..0087bf22c1fb 100644 --- a/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitorAppService.md +++ b/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitoredAppService.md @@ -1,23 +1,36 @@ --- external help file: Module Name: Az.NewRelic -online version: https://learn.microsoft.com/powershell/module/az.newrelic/get-aznewrelicmonitorappservice +online version: https://learn.microsoft.com/powershell/module/az.newrelic/get-aznewrelicmonitoredappservice schema: 2.0.0 --- -# Get-AzNewRelicMonitorAppService +# Get-AzNewRelicMonitoredAppService ## SYNOPSIS List the app service resources currently being monitored by the NewRelic resource. ## SYNTAX +### ListExpanded (Default) ``` -Get-AzNewRelicMonitorAppService -MonitorName -ResourceGroupName -UserEmail +Get-AzNewRelicMonitoredAppService -MonitorName -ResourceGroupName -UserEmail [-SubscriptionId ] [-AzureResourceId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` +### ListViaJsonFilePath +``` +Get-AzNewRelicMonitoredAppService -MonitorName -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### ListViaJsonString +``` +Get-AzNewRelicMonitoredAppService -MonitorName -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION List the app service resources currently being monitored by the NewRelic resource. @@ -25,7 +38,7 @@ List the app service resources currently being monitored by the NewRelic resourc ### Example 1: Get specific App Service ```powershell -Get-AzNewRelicMonitorAppService -MonitorName test-02 -ResourceGroupName ps-test -UserEmail v-jiaji@outlook.com -AzureResourceId /SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/PS-TEST/PROVIDERS/MICROSOFT.WEB/SITES/JOYERTEST +Get-AzNewRelicMonitoredAppService -MonitorName test-02 -ResourceGroupName ps-test -UserEmail user1@outlook.com -AzureResourceId /SUBSCRIPTIONS/11111111-2222-3333-4444-123456789101/RESOURCEGROUPS/PS-TEST/PROVIDERS/MICROSOFT.WEB/SITES/WEBSITETEST ``` Get specified app service information currently being monitored by specified NewRelic resource. @@ -37,7 +50,7 @@ Azure resource IDs ```yaml Type: System.String[] -Parameter Sets: (All) +Parameter Sets: ListExpanded Aliases: Required: False @@ -63,6 +76,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the List operation + +```yaml +Type: System.String +Parameter Sets: ListViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the List operation + +```yaml +Type: System.String +Parameter Sets: ListViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -MonitorName Name of the Monitors resource @@ -114,7 +157,7 @@ User Email ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ListExpanded Aliases: Required: True @@ -162,11 +205,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.Api20220701.IAppServiceInfo +### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.IAppServiceInfo ## NOTES -ALIASES - ## RELATED LINKS diff --git a/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitorHost.md b/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitoredHost.md similarity index 69% rename from src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitorHost.md rename to src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitoredHost.md index c64b34ed7a37..d52ce5af2269 100644 --- a/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitorHost.md +++ b/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitoredHost.md @@ -1,23 +1,36 @@ --- external help file: Module Name: Az.NewRelic -online version: https://learn.microsoft.com/powershell/module/az.newrelic/get-aznewrelicmonitorhost +online version: https://learn.microsoft.com/powershell/module/az.newrelic/get-aznewrelicmonitoredhost schema: 2.0.0 --- -# Get-AzNewRelicMonitorHost +# Get-AzNewRelicMonitoredHost ## SYNOPSIS List the compute vm resources currently being monitored by the NewRelic resource. ## SYNTAX +### ListExpanded (Default) ``` -Get-AzNewRelicMonitorHost -MonitorName -ResourceGroupName -UserEmail +Get-AzNewRelicMonitoredHost -MonitorName -ResourceGroupName -UserEmail [-SubscriptionId ] [-VMId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` +### ListViaJsonFilePath +``` +Get-AzNewRelicMonitoredHost -MonitorName -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### ListViaJsonString +``` +Get-AzNewRelicMonitoredHost -MonitorName -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION List the compute vm resources currently being monitored by the NewRelic resource. @@ -25,7 +38,7 @@ List the compute vm resources currently being monitored by the NewRelic resource ### Example 1: Get specific virtual machines ```powershell -Get-AzNewRelicMonitorHost -MonitorName test-03 -ResourceGroupName ps-test -VMId saurg-vm-01 -UserEmail v-jiaji@outlook.com +Get-AzNewRelicMonitoredHost -MonitorName test-03 -ResourceGroupName ps-test -VMId test-vm-01 -UserEmail user1@outlook.com ``` Get specific compute virtual machine resources currently being monitored by specific NewRelic resource. @@ -48,6 +61,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the List operation + +```yaml +Type: System.String +Parameter Sets: ListViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the List operation + +```yaml +Type: System.String +Parameter Sets: ListViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -MonitorName Name of the Monitors resource @@ -99,7 +142,7 @@ User Email ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: ListExpanded Aliases: Required: True @@ -114,7 +157,7 @@ VM resource IDs ```yaml Type: System.String[] -Parameter Sets: (All) +Parameter Sets: ListExpanded Aliases: Required: False @@ -162,11 +205,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.Api20220701.IVMInfo +### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.IVMInfo ## NOTES -ALIASES - ## RELATED LINKS diff --git a/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitoredSubscription.md b/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitoredSubscription.md new file mode 100644 index 000000000000..08cbe00af7ab --- /dev/null +++ b/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicMonitoredSubscription.md @@ -0,0 +1,142 @@ +--- +external help file: +Module Name: Az.NewRelic +online version: https://learn.microsoft.com/powershell/module/az.newrelic/get-aznewrelicmonitoredsubscription +schema: 2.0.0 +--- + +# Get-AzNewRelicMonitoredSubscription + +## SYNOPSIS +List the subscriptions currently being monitored by the NewRelic monitor resource. + +## SYNTAX + +### Get (Default) +``` +Get-AzNewRelicMonitoredSubscription -MonitorName -ResourceGroupName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzNewRelicMonitoredSubscription -InputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +List the subscriptions currently being monitored by the NewRelic monitor resource. + +## EXAMPLES + +### Example 1: List the subscriptions monitored by the NewRelic monitor resource +```powershell +Get-AzNewRelicMonitoredSubscription -MonitorName test-01 -ResourceGroupName group-test +``` + +```output +Id : /subscriptions/11111111-2222-3333-4444-123456789101/resourceGroups/group-test/providers/NewRelic.Observability/monitors/test-01/monitoredSubscriptions/default +MonitoredSubscriptionList : {} +Name : default +PatchOperation : +ProvisioningState : +ResourceGroupName : group-test +Type : NewRelic.Observability/monitors/monitoredSubscriptions +``` + +This command lists the subscriptions currently being monitored by the NewRelic monitor resource. + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -MonitorName +Name of the Monitors resource + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String[] +Parameter Sets: Get +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.IMonitoredSubscriptionProperties + +## NOTES + +## RELATED LINKS + diff --git a/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicOrganization.md b/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicOrganization.md index 00d93ecc5b76..4c758873fa82 100644 --- a/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicOrganization.md +++ b/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicOrganization.md @@ -24,7 +24,7 @@ List all the existing organizations ### Example 1: List all the existing organizations ```powershell -Get-AzNewRelicOrganization -Location eastus -UserEmail v-jiaji@outlook.com +Get-AzNewRelicOrganization -Location eastus -UserEmail user1@outlook.com ``` List all the existing organizations in New Relic @@ -99,11 +99,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.Api20220701.IOrganizationResource +### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.IOrganizationResource ## NOTES -ALIASES - ## RELATED LINKS diff --git a/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicPlan.md b/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicPlan.md index e1a78d0b3428..c715c2365ade 100644 --- a/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicPlan.md +++ b/src/NewRelic/NewRelic.Autorest/docs/Get-AzNewRelicPlan.md @@ -24,20 +24,20 @@ List plans data ### Example 1: List plans data associated with specified organization ```powershell -Get-AzNewRelicPlan -SubscriptionId 272c26cb-7026-4b37-b190-7cb7b2abecb0 -OrganizationId 9c5445c7-65e3-4bd5-8581-80c65584100f +Get-AzNewRelicPlan -SubscriptionId 11111111-2222-3333-4444-123456789101 -OrganizationId 11111111-2222-3333-4444-123456789104 ``` ```output PlanDataUsageType PlanDataBillingCycle PlanDataPlanDetail PlanDataEffectiveDate OrgCreationSource AccountCreationSource ----------------- -------------------- ------------------ --------------------- ----------------- --------------------- -PAYG MONTHLY newrelicpaygtestplan2@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg 6/28/2023 9:28:22 AM LIFTR +PAYG MONTHLY newrelicpaygtestplan2@123456789123456@PUBIDnewrelicinc1234567891234.newrelic_liftr_payg 6/28/2023 9:28:22 AM LIFTR ``` List plans data associated with specified Organization Id ### Example 2: Link plans account with specified organization in different subscription ```powershell -Get-AzNewRelicPlan -SubscriptionId 272c26cb-7026-4b37-b190-7cb7b2abecb0 -OrganizationId 9c5445c7-65e3-4bd5-8581-80c65584100f -AccountId 3996563 +Get-AzNewRelicPlan -SubscriptionId 11111111-2222-3333-4444-123456789101 -OrganizationId 11111111-2222-3333-4444-123456789104 -AccountId 1234567 ``` Link plans account with specified organization in different subscription @@ -112,11 +112,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.Api20220701.IPlanDataResource +### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.IPlanDataResource ## NOTES -ALIASES - ## RELATED LINKS diff --git a/src/NewRelic/NewRelic.Autorest/docs/Invoke-AzNewRelicHostMonitor.md b/src/NewRelic/NewRelic.Autorest/docs/Invoke-AzNewRelicHostMonitor.md index ac181884c26a..ca75bf10cdcf 100644 --- a/src/NewRelic/NewRelic.Autorest/docs/Invoke-AzNewRelicHostMonitor.md +++ b/src/NewRelic/NewRelic.Autorest/docs/Invoke-AzNewRelicHostMonitor.md @@ -60,7 +60,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicIdentity @@ -160,23 +159,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### System.String +### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.IVMExtensionPayload ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[Id ]`: Resource identity path - - `[MonitorName ]`: Name of the Monitors resource - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[RuleSetName ]`: Name of the TagRule - - `[SubscriptionId ]`: The ID of the target subscription. - ## RELATED LINKS diff --git a/src/NewRelic/NewRelic.Autorest/docs/New-AzNewRelicFilteringTagObject.md b/src/NewRelic/NewRelic.Autorest/docs/New-AzNewRelicFilteringTagObject.md new file mode 100644 index 000000000000..68d48bf9b998 --- /dev/null +++ b/src/NewRelic/NewRelic.Autorest/docs/New-AzNewRelicFilteringTagObject.md @@ -0,0 +1,97 @@ +--- +external help file: +Module Name: Az.NewRelic +online version: https://learn.microsoft.com/powershell/module/Az.NewRelic/new-aznewrelicfilteringtagobject +schema: 2.0.0 +--- + +# New-AzNewRelicFilteringTagObject + +## SYNOPSIS +Create an in-memory object for FilteringTag. + +## SYNTAX + +``` +New-AzNewRelicFilteringTagObject [-Action ] [-Name ] [-Value ] [] +``` + +## DESCRIPTION +Create an in-memory object for FilteringTag. + +## EXAMPLES + +### Example 1: Create Filtering Tag object +```powershell +New-AzNewRelicFilteringTagObject -Action Include -Name testLogRule1 -Value filteringTag1 +``` + +```output +Action Name Value +------ ---- ----- +Include testLogRule1 filteringTag1 +``` + +This command creates a filtering tag object. + +## PARAMETERS + +### -Action +Valid actions for a filtering tag. +Exclusion takes priority over inclusion. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name (also known as the key) of the tag. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Value +The value of the tag. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.FilteringTag + +## NOTES + +## RELATED LINKS + diff --git a/src/NewRelic/NewRelic.Autorest/docs/New-AzNewRelicMonitor.md b/src/NewRelic/NewRelic.Autorest/docs/New-AzNewRelicMonitor.md index dcadce3bb7d7..4c5cbc1568ce 100644 --- a/src/NewRelic/NewRelic.Autorest/docs/New-AzNewRelicMonitor.md +++ b/src/NewRelic/NewRelic.Autorest/docs/New-AzNewRelicMonitor.md @@ -12,19 +12,32 @@ Create a NewRelicMonitorResource ## SYNTAX +### CreateExpanded (Default) ``` New-AzNewRelicMonitor -Name -ResourceGroupName -Location [-SubscriptionId ] - [-AccountCreationSource ] [-AccountInfoAccountId ] - [-AccountInfoIngestionKey ] [-AccountInfoRegion ] - [-IdentityType ] [-NewRelicAccountPropertyUserId ] - [-OrganizationInfoOrganizationId ] [-OrgCreationSource ] - [-PlanDataBillingCycle ] [-PlanDataEffectiveDate ] [-PlanDataPlanDetail ] - [-PlanDataUsageType ] [-SingleSignOnPropertyEnterpriseAppId ] - [-SingleSignOnPropertyProvisioningState ] - [-SingleSignOnPropertySingleSignOnState ] [-SingleSignOnPropertySingleSignOnUrl ] - [-Tag ] [-UserAssignedIdentity ] [-UserInfoCountry ] - [-UserInfoEmailAddress ] [-UserInfoFirstName ] [-UserInfoLastName ] - [-UserInfoPhoneNumber ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [-AccountCreationSource ] [-AccountInfoAccountId ] [-AccountInfoIngestionKey ] + [-AccountInfoRegion ] [-EnableSystemAssignedIdentity] [-NewRelicAccountPropertyUserId ] + [-OrganizationInfoOrganizationId ] [-OrgCreationSource ] [-PlanDataBillingCycle ] + [-PlanDataEffectiveDate ] [-PlanDataPlanDetail ] [-PlanDataUsageType ] + [-SaaSAzureSubscriptionStatus ] [-SingleSignOnPropertyEnterpriseAppId ] + [-SingleSignOnPropertyProvisioningState ] [-SingleSignOnPropertySingleSignOnState ] + [-SingleSignOnPropertySingleSignOnUrl ] [-SubscriptionState ] [-Tag ] + [-UserAssignedIdentity ] [-UserInfoCountry ] [-UserInfoEmailAddress ] + [-UserInfoFirstName ] [-UserInfoLastName ] [-UserInfoPhoneNumber ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonFilePath +``` +New-AzNewRelicMonitor -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### CreateViaJsonString +``` +New-AzNewRelicMonitor -Name -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] ``` @@ -35,13 +48,13 @@ Create a NewRelicMonitorResource ### Example 1: Create monitor ```powershell -New-AzNewRelicMonitor -Name test-01 -ResourceGroupName ps-test -Location eastus -PlanDataPlanDetail "newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg"-PlanDataBillingCycle 'MONTHLY' -PlanDataUsageType 'PAYG' -PlanDataEffectiveDate (Get-Date -DisplayHint DateTime) -UserInfoEmailAddress v-jiaji@outlook.com -UserInfoFirstName "Joyer" -UserInfoLastName "Jin" +New-AzNewRelicMonitor -Name test-01 -ResourceGroupName ps-test -Location eastus -PlanDataPlanDetail "newrelicpaygtestplan2@123456789123456@PUBIDnewrelicinc1234567891234.newrelic_liftr_payg"-PlanDataBillingCycle 'MONTHLY' -PlanDataUsageType 'PAYG' -PlanDataEffectiveDate (Get-Date -DisplayHint DateTime) -UserInfoEmailAddress user1@outlook.com -UserInfoFirstName "group" -UserInfoLastName "test" ``` ```output Location Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType ResourceGroupName RetryAfter -------- ---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- ----------------- ---------- -eastus test-01 6/27/2023 8:30:45 AM v-jiaji@outlook.com User 6/27/2023 8:30:45 AM v-jiaji@outlook.com User ps-test +eastus test-01 6/27/2023 8:30:45 AM user1@outlook.com User 6/27/2023 8:30:45 AM user1@outlook.com User ps-test ``` Create NewRelic monitor with Plan data and User information @@ -52,8 +65,8 @@ Create NewRelic monitor with Plan data and User information Source of account creation ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Support.AccountCreationSource -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateExpanded Aliases: Required: False @@ -68,7 +81,7 @@ Account id ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -83,7 +96,7 @@ ingestion key of account ```yaml Type: System.Security.SecureString -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -94,11 +107,11 @@ Accept wildcard characters: False ``` ### -AccountInfoRegion -NewRelic account region +Region where New Relic account is present ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -139,12 +152,12 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -IdentityType -Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). +### -EnableSystemAssignedIdentity +Decides if enable a system assigned identity for the resource. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Support.ManagedServiceIdentityType -Parameter Sets: (All) +Type: System.Management.Automation.SwitchParameter +Parameter Sets: CreateExpanded Aliases: Required: False @@ -154,12 +167,42 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Location The geo-location where the resource lives ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -189,7 +232,7 @@ User id ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -219,7 +262,7 @@ Organization id ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -233,8 +276,8 @@ Accept wildcard characters: False Source of org creation ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Support.OrgCreationSource -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateExpanded Aliases: Required: False @@ -249,8 +292,8 @@ Different billing cycles like MONTHLY/WEEKLY. this could be enum ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Support.BillingCycle -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateExpanded Aliases: Required: False @@ -265,7 +308,7 @@ date when plan was applied ```yaml Type: System.DateTime -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -280,7 +323,7 @@ plan id as published by NewRelic ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -295,8 +338,8 @@ Different usage type like PAYG/COMMITTED. this could be enum ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Support.UsageType -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateExpanded Aliases: Required: False @@ -322,12 +365,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -SaaSAzureSubscriptionStatus +Status of Azure Subscription where Marketplace SaaS is located. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -SingleSignOnPropertyEnterpriseAppId The Id of the Enterprise App used for Single sign-on. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -341,8 +399,8 @@ Accept wildcard characters: False Provisioning state ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Support.ProvisioningState -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateExpanded Aliases: Required: False @@ -356,8 +414,8 @@ Accept wildcard characters: False Single sign-on state ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Support.SingleSignOnStates -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateExpanded Aliases: Required: False @@ -372,7 +430,7 @@ The login URL specific to this NewRelic Organization ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -397,12 +455,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -SubscriptionState +State of the Azure Subscription containing the monitor resource + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Tag Resource tags. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -413,13 +486,12 @@ Accept wildcard characters: False ``` ### -UserAssignedIdentity -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. +The array of user assigned identities associated with the resource. +The elements in array will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.' ```yaml -Type: System.Collections.Hashtable -Parameter Sets: (All) +Type: System.String[] +Parameter Sets: CreateExpanded Aliases: Required: False @@ -434,7 +506,7 @@ country if user ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -449,7 +521,7 @@ User Email ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -464,7 +536,7 @@ First name ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -479,7 +551,7 @@ Last name ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -494,7 +566,7 @@ Contact phone number ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -542,11 +614,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.Api20220701.INewRelicMonitorResource +### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicMonitorResource ## NOTES -ALIASES - ## RELATED LINKS diff --git a/src/NewRelic/NewRelic.Autorest/docs/New-AzNewRelicMonitorTagRule.md b/src/NewRelic/NewRelic.Autorest/docs/New-AzNewRelicMonitorTagRule.md index 3915d70ed1d9..f18b45a5b90d 100644 --- a/src/NewRelic/NewRelic.Autorest/docs/New-AzNewRelicMonitorTagRule.md +++ b/src/NewRelic/NewRelic.Autorest/docs/New-AzNewRelicMonitorTagRule.md @@ -12,13 +12,27 @@ Create a TagRule ## SYNTAX +### CreateExpanded (Default) ``` New-AzNewRelicMonitorTagRule -MonitorName -ResourceGroupName -RuleSetName - [-SubscriptionId ] [-LogRuleFilteringTag ] [-LogRuleSendAadLog ] - [-LogRuleSendActivityLog ] [-LogRuleSendSubscriptionLog ] - [-MetricRuleFilteringTag ] [-MetricRuleSendMetric ] - [-MetricRuleUserEmail ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] - [] + [-SubscriptionId ] [-LogRuleFilteringTag ] [-LogRuleSendAadLog ] + [-LogRuleSendActivityLog ] [-LogRuleSendSubscriptionLog ] + [-MetricRuleFilteringTag ] [-MetricRuleSendMetric ] [-MetricRuleUserEmail ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonFilePath +``` +New-AzNewRelicMonitorTagRule -MonitorName -ResourceGroupName -RuleSetName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzNewRelicMonitorTagRule -MonitorName -ResourceGroupName -RuleSetName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] ``` ## DESCRIPTION @@ -28,13 +42,13 @@ Create a TagRule ### Example 1: Create tag rule ```powershell -New-AzNewRelicMonitorTagRule -MonitorName test-01 -ResourceGroupName ps-test -RuleSetName default -LogRuleSendAadLog 'Disabled' -LogRuleSendActivityLog 'Enabled' -LogRuleSendSubscriptionLog 'Disabled' -MetricRuleSendMetric 'Enabled' -MetricRuleUserEmail v-jiaji@outlook.com +New-AzNewRelicMonitorTagRule -MonitorName test-01 -ResourceGroupName ps-test -RuleSetName default -LogRuleSendAadLog 'Disabled' -LogRuleSendActivityLog 'Enabled' -LogRuleSendSubscriptionLog 'Disabled' -MetricRuleSendMetric 'Enabled' -MetricRuleUserEmail user1@outlook.com ``` ```output Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType ResourceGroupName RetryAfter ---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- ----------------- ---------- -default 6/28/2023 6:03:14 AM v-jiaji@outlook.com User 6/28/2023 6:03:14 AM v-jiaji@outlook.com User ps-test +default 6/28/2023 6:03:14 AM user1@outlook.com User 6/28/2023 6:03:14 AM user1@outlook.com User ps-test ``` Create monitor tag rule with specified monitor and default name @@ -72,16 +86,45 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -LogRuleFilteringTag 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. -To construct, see NOTES section for LOGRULEFILTERINGTAG properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.Api20220701.IFilteringTag[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.IFilteringTag[] +Parameter Sets: CreateExpanded Aliases: Required: False @@ -95,8 +138,8 @@ Accept wildcard characters: False Flag specifying if AAD logs should be sent for the Monitor resource. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Support.SendAadLogsStatus -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateExpanded Aliases: Required: False @@ -110,8 +153,8 @@ Accept wildcard characters: False Flag specifying if activity logs from Azure resources should be sent for the Monitor resource. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Support.SendActivityLogsStatus -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateExpanded Aliases: Required: False @@ -125,8 +168,8 @@ Accept wildcard characters: False Flag specifying if subscription logs should be sent for the Monitor resource. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Support.SendSubscriptionLogsStatus -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateExpanded Aliases: Required: False @@ -138,11 +181,10 @@ Accept wildcard characters: False ### -MetricRuleFilteringTag List of filtering tags to be used for capturing metrics. -To construct, see NOTES section for METRICRULEFILTERINGTAG properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.Api20220701.IFilteringTag[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.IFilteringTag[] +Parameter Sets: CreateExpanded Aliases: Required: False @@ -156,8 +198,8 @@ Accept wildcard characters: False Flag specifying if metrics should be sent for the Monitor resource. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Support.SendMetricsStatus -Parameter Sets: (All) +Type: System.String +Parameter Sets: CreateExpanded Aliases: Required: False @@ -172,7 +214,7 @@ User Email ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -296,26 +338,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.Api20220701.ITagRule +### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.ITagRule ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`LOGRULEFILTERINGTAG `: 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. - - `[Action ]`: Valid actions for a filtering tag. Exclusion takes priority over inclusion. - - `[Name ]`: The name (also known as the key) of the tag. - - `[Value ]`: The value of the tag. - -`METRICRULEFILTERINGTAG `: List of filtering tags to be used for capturing metrics. - - `[Action ]`: Valid actions for a filtering tag. Exclusion takes priority over inclusion. - - `[Name ]`: The name (also known as the key) of the tag. - - `[Value ]`: The value of the tag. - ## RELATED LINKS diff --git a/src/NewRelic/NewRelic.Autorest/docs/New-AzNewRelicMonitoredSubscription.md b/src/NewRelic/NewRelic.Autorest/docs/New-AzNewRelicMonitoredSubscription.md new file mode 100644 index 000000000000..342d04df0953 --- /dev/null +++ b/src/NewRelic/NewRelic.Autorest/docs/New-AzNewRelicMonitoredSubscription.md @@ -0,0 +1,248 @@ +--- +external help file: +Module Name: Az.NewRelic +online version: https://learn.microsoft.com/powershell/module/az.newrelic/new-aznewrelicmonitoredsubscription +schema: 2.0.0 +--- + +# New-AzNewRelicMonitoredSubscription + +## SYNOPSIS +Add the subscriptions that should be monitored by the NewRelic monitor resource. + +## SYNTAX + +### CreateExpanded (Default) +``` +New-AzNewRelicMonitoredSubscription -MonitorName -ResourceGroupName + [-SubscriptionId ] [-MonitoredSubscriptionList ] [-PatchOperation ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonFilePath +``` +New-AzNewRelicMonitoredSubscription -MonitorName -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +### CreateViaJsonString +``` +New-AzNewRelicMonitoredSubscription -MonitorName -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Add the subscriptions that should be monitored by the NewRelic monitor resource. + +## EXAMPLES + +### Example 1: Add subscriptions +```powershell +$includeFT = New-AzNewRelicFilteringTagObject -Action Include -Name testLogRule1 -Value filteringTag1 +$sub1 = New-AzNewRelicMonitoredSubscriptionObject -LogRuleFilteringTag $includeFT -LogRuleSendAadLog Enabled -LogRuleSendActivityLog Enabled -LogRuleSendSubscriptionLog Enabled -MetricRuleFilteringTag $includeFT -MetricRuleUserEmail user1@outlook.com -Status Active -SubscriptionId 00000000-0000-0000-0000-000000000000 +New-AzNewRelicMonitoredSubscription -MonitorName test-01 -ResourceGroupName group-test -MonitoredSubscriptionList $sub1 -PatchOperation AddBegin +``` + +Select subscriptions to monitor their resources using NewRelic. +Only subscriptions where you have owner access are allowed. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MonitoredSubscriptionList +List of subscriptions and the state of the monitoring. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.IMonitoredSubscription[] +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MonitorName +Name of the Monitors resource + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PatchOperation +The operation for the patch on the resource. + +```yaml +Type: System.String +Parameter Sets: CreateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.IMonitoredSubscriptionProperties + +## NOTES + +## RELATED LINKS + diff --git a/src/NewRelic/NewRelic.Autorest/docs/New-AzNewRelicMonitoredSubscriptionObject.md b/src/NewRelic/NewRelic.Autorest/docs/New-AzNewRelicMonitoredSubscriptionObject.md new file mode 100644 index 000000000000..0f8c99068fdd --- /dev/null +++ b/src/NewRelic/NewRelic.Autorest/docs/New-AzNewRelicMonitoredSubscriptionObject.md @@ -0,0 +1,225 @@ +--- +external help file: +Module Name: Az.NewRelic +online version: https://learn.microsoft.com/powershell/module/Az.NewRelic/new-aznewrelicmonitoredsubscriptionobject +schema: 2.0.0 +--- + +# New-AzNewRelicMonitoredSubscriptionObject + +## SYNOPSIS +Create an in-memory object for MonitoredSubscription. + +## SYNTAX + +``` +New-AzNewRelicMonitoredSubscriptionObject [-Error ] [-LogRuleFilteringTag ] + [-LogRuleSendAadLog ] [-LogRuleSendActivityLog ] [-LogRuleSendSubscriptionLog ] + [-MetricRuleFilteringTag ] [-MetricRuleSendMetric ] [-MetricRuleUserEmail ] + [-Status ] [-SubscriptionId ] [] +``` + +## DESCRIPTION +Create an in-memory object for MonitoredSubscription. + +## EXAMPLES + +### Example 1: Create subscription object +```powershell +$includeFT = New-AzNewRelicFilteringTagObject -Action Include -Name testLogRule1 -Value filteringTag1 +New-AzNewRelicMonitoredSubscriptionObject -LogRuleFilteringTag $includeFT -LogRuleSendAadLog Enabled -LogRuleSendActivityLog Enabled -LogRuleSendSubscriptionLog Enabled -MetricRuleFilteringTag $includeFT -MetricRuleUserEmail test@testing.com -Status Active -SubscriptionId 00000000-0000-0000-0000-000000000000 +``` + +```output +Error : +LogRuleFilteringTag : {{ + "name": "testLogRule1", + "value": "filteringTag1", + "action": "Include" + }} +LogRuleSendAadLog : Enabled +LogRuleSendActivityLog : Enabled +LogRuleSendSubscriptionLog : Enabled +MetricRuleFilteringTag : {{ + "name": "testLogRule1", + "value": "filteringTag1", + "action": "Include" + }} +MetricRuleSendMetric : +MetricRuleUserEmail : test@testing.com +Status : Active +SubscriptionId : 00000000-0000-0000-0000-000000000000 +TagRuleProvisioningState : +``` + +This command creates a subscription object. + +## PARAMETERS + +### -Error +The reason of not monitoring the subscription. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LogRuleFilteringTag +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. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.IFilteringTag[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LogRuleSendAadLog +Flag specifying if AAD logs should be sent for the Monitor resource. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LogRuleSendActivityLog +Flag specifying if activity logs from Azure resources should be sent for the Monitor resource. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LogRuleSendSubscriptionLog +Flag specifying if subscription logs should be sent for the Monitor resource. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MetricRuleFilteringTag +List of filtering tags to be used for capturing metrics. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.IFilteringTag[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MetricRuleSendMetric +Flag specifying if metrics should be sent for the Monitor resource. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MetricRuleUserEmail +User Email. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Status +The state of monitoring. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The subscriptionId to be monitored. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.MonitoredSubscription + +## NOTES + +## RELATED LINKS + diff --git a/src/NewRelic/NewRelic.Autorest/docs/Remove-AzNewRelicMonitor.md b/src/NewRelic/NewRelic.Autorest/docs/Remove-AzNewRelicMonitor.md index 0b7f0d1a2ab3..a862ec493065 100644 --- a/src/NewRelic/NewRelic.Autorest/docs/Remove-AzNewRelicMonitor.md +++ b/src/NewRelic/NewRelic.Autorest/docs/Remove-AzNewRelicMonitor.md @@ -32,7 +32,7 @@ Delete a NewRelicMonitorResource ### Example 1: Delete a NewRelic Monitor Resource ```powershell -Remove-AzNewRelicMonitor -Name test-03 -ResourceGroupName ps-test -UserEmail v-jiaji@outlook.com +Remove-AzNewRelicMonitor -Name test-03 -ResourceGroupName ps-test -UserEmail user1@outlook.com ``` Delete a NewRelic Monitor Resource @@ -72,7 +72,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicIdentity @@ -221,19 +220,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[Id ]`: Resource identity path - - `[MonitorName ]`: Name of the Monitors resource - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[RuleSetName ]`: Name of the TagRule - - `[SubscriptionId ]`: The ID of the target subscription. - ## RELATED LINKS diff --git a/src/NewRelic/NewRelic.Autorest/docs/Remove-AzNewRelicMonitorTagRule.md b/src/NewRelic/NewRelic.Autorest/docs/Remove-AzNewRelicMonitorTagRule.md index 804dd3f53bfd..a4b3082afbea 100644 --- a/src/NewRelic/NewRelic.Autorest/docs/Remove-AzNewRelicMonitorTagRule.md +++ b/src/NewRelic/NewRelic.Autorest/docs/Remove-AzNewRelicMonitorTagRule.md @@ -25,6 +25,12 @@ Remove-AzNewRelicMonitorTagRule -InputObject [-DefaultProfil [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] ``` +### DeleteViaIdentityMonitor +``` +Remove-AzNewRelicMonitorTagRule -MonitorInputObject -RuleSetName + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION Delete a TagRule @@ -72,7 +78,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicIdentity @@ -86,6 +91,21 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -MonitorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicIdentity +Parameter Sets: DeleteViaIdentityMonitor +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -MonitorName Name of the Monitors resource @@ -152,7 +172,7 @@ Name of the TagRule ```yaml Type: System.String -Parameter Sets: Delete +Parameter Sets: Delete, DeleteViaIdentityMonitor Aliases: Required: True @@ -221,19 +241,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[Id ]`: Resource identity path - - `[MonitorName ]`: Name of the Monitors resource - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[RuleSetName ]`: Name of the TagRule - - `[SubscriptionId ]`: The ID of the target subscription. - ## RELATED LINKS diff --git a/src/NewRelic/NewRelic.Autorest/docs/Remove-AzNewRelicMonitoredSubscription.md b/src/NewRelic/NewRelic.Autorest/docs/Remove-AzNewRelicMonitoredSubscription.md new file mode 100644 index 000000000000..bae73da7a983 --- /dev/null +++ b/src/NewRelic/NewRelic.Autorest/docs/Remove-AzNewRelicMonitoredSubscription.md @@ -0,0 +1,209 @@ +--- +external help file: +Module Name: Az.NewRelic +online version: https://learn.microsoft.com/powershell/module/az.newrelic/remove-aznewrelicmonitoredsubscription +schema: 2.0.0 +--- + +# Remove-AzNewRelicMonitoredSubscription + +## SYNOPSIS +Deletes the subscriptions that are being monitored by the NewRelic monitor resource + +## SYNTAX + +### Delete (Default) +``` +Remove-AzNewRelicMonitoredSubscription -MonitorName -ResourceGroupName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### DeleteViaIdentity +``` +Remove-AzNewRelicMonitoredSubscription -InputObject [-DefaultProfile ] [-AsJob] + [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes the subscriptions that are being monitored by the NewRelic monitor resource + +## EXAMPLES + +### Example 1: delete the subscriptions that are being monitored by the NewRelic monitor resource +```powershell +Remove-AzNewRelicMonitoredSubscription -MonitorName test-01 -ResourceGroupName group-test +``` + +This command deletes the subscriptions that are being monitored by the NewRelic monitor resource. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -MonitorName +Name of the Monitors resource + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/NewRelic/NewRelic.Autorest/docs/Switch-AzNewRelicMonitorBilling.md b/src/NewRelic/NewRelic.Autorest/docs/Switch-AzNewRelicMonitorBilling.md index a504543597b6..d903e33e4073 100644 --- a/src/NewRelic/NewRelic.Autorest/docs/Switch-AzNewRelicMonitorBilling.md +++ b/src/NewRelic/NewRelic.Autorest/docs/Switch-AzNewRelicMonitorBilling.md @@ -16,19 +16,31 @@ Switches the billing for NewRelic monitor resource. ``` Switch-AzNewRelicMonitorBilling -MonitorName -ResourceGroupName -UserEmail [-SubscriptionId ] [-AzureResourceId ] [-OrganizationId ] - [-PlanDataBillingCycle ] [-PlanDataEffectiveDate ] [-PlanDataPlanDetail ] - [-PlanDataUsageType ] [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] + [-PlanDataBillingCycle ] [-PlanDataEffectiveDate ] [-PlanDataPlanDetail ] + [-PlanDataUsageType ] [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] ``` ### SwitchViaIdentityExpanded ``` Switch-AzNewRelicMonitorBilling -InputObject -UserEmail - [-AzureResourceId ] [-OrganizationId ] [-PlanDataBillingCycle ] - [-PlanDataEffectiveDate ] [-PlanDataPlanDetail ] [-PlanDataUsageType ] + [-AzureResourceId ] [-OrganizationId ] [-PlanDataBillingCycle ] + [-PlanDataEffectiveDate ] [-PlanDataPlanDetail ] [-PlanDataUsageType ] [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] ``` +### SwitchViaJsonFilePath +``` +Switch-AzNewRelicMonitorBilling -MonitorName -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### SwitchViaJsonString +``` +Switch-AzNewRelicMonitorBilling -MonitorName -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION Switches the billing for NewRelic monitor resource. @@ -36,7 +48,7 @@ Switches the billing for NewRelic monitor resource. ### Example 1: Switches the billing for NewRelic monitor resource. ```powershell -Switch-AzNewRelicMonitorBilling -MonitorName test-03 -ResourceGroupName ps-test -UserEmail v-jiaji@microsoft.com -PlanDataBillingCycle 'WEEKLY' +Switch-AzNewRelicMonitorBilling -MonitorName test-03 -ResourceGroupName ps-test -UserEmail user1@outlook.com -PlanDataBillingCycle 'WEEKLY' ``` Switches the billing for NewRelic monitor resource. @@ -48,7 +60,7 @@ Azure resource Id ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: SwitchExpanded, SwitchViaIdentityExpanded Aliases: Required: False @@ -76,7 +88,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicIdentity @@ -90,12 +101,42 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Switch operation + +```yaml +Type: System.String +Parameter Sets: SwitchViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Switch operation + +```yaml +Type: System.String +Parameter Sets: SwitchViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -MonitorName Name of the Monitors resource ```yaml Type: System.String -Parameter Sets: SwitchExpanded +Parameter Sets: SwitchExpanded, SwitchViaJsonFilePath, SwitchViaJsonString Aliases: Required: True @@ -110,7 +151,7 @@ Organization id ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: SwitchExpanded, SwitchViaIdentityExpanded Aliases: Required: False @@ -140,8 +181,8 @@ Different billing cycles like MONTHLY/WEEKLY. this could be enum ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Support.BillingCycle -Parameter Sets: (All) +Type: System.String +Parameter Sets: SwitchExpanded, SwitchViaIdentityExpanded Aliases: Required: False @@ -156,7 +197,7 @@ date when plan was applied ```yaml Type: System.DateTime -Parameter Sets: (All) +Parameter Sets: SwitchExpanded, SwitchViaIdentityExpanded Aliases: Required: False @@ -171,7 +212,7 @@ plan id as published by NewRelic ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: SwitchExpanded, SwitchViaIdentityExpanded Aliases: Required: False @@ -186,8 +227,8 @@ Different usage type like PAYG/COMMITTED. this could be enum ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Support.UsageType -Parameter Sets: (All) +Type: System.String +Parameter Sets: SwitchExpanded, SwitchViaIdentityExpanded Aliases: Required: False @@ -203,7 +244,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: SwitchExpanded +Parameter Sets: SwitchExpanded, SwitchViaJsonFilePath, SwitchViaJsonString Aliases: Required: True @@ -218,7 +259,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: SwitchExpanded +Parameter Sets: SwitchExpanded, SwitchViaJsonFilePath, SwitchViaJsonString Aliases: Required: False @@ -233,7 +274,7 @@ User Email ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: SwitchExpanded, SwitchViaIdentityExpanded Aliases: Required: True @@ -283,23 +324,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.Api20220701.INewRelicMonitorResource +### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicMonitorResource ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[Id ]`: Resource identity path - - `[MonitorName ]`: Name of the Monitors resource - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[RuleSetName ]`: Name of the TagRule - - `[SubscriptionId ]`: The ID of the target subscription. - ## RELATED LINKS diff --git a/src/NewRelic/NewRelic.Autorest/docs/Update-AzNewRelicMonitorTagRule.md b/src/NewRelic/NewRelic.Autorest/docs/Update-AzNewRelicMonitorTagRule.md index 5bb04df14a12..4ff7ff352115 100644 --- a/src/NewRelic/NewRelic.Autorest/docs/Update-AzNewRelicMonitorTagRule.md +++ b/src/NewRelic/NewRelic.Autorest/docs/Update-AzNewRelicMonitorTagRule.md @@ -15,19 +15,41 @@ Update a TagRule ### UpdateExpanded (Default) ``` Update-AzNewRelicMonitorTagRule -MonitorName -ResourceGroupName -RuleSetName - [-SubscriptionId ] [-LogRuleFilteringTag ] [-LogRuleSendAadLog ] - [-LogRuleSendActivityLog ] [-LogRuleSendSubscriptionLog ] - [-MetricRuleFilteringTag ] [-MetricRuleSendMetric ] - [-MetricRuleUserEmail ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] + [-SubscriptionId ] [-LogRuleFilteringTag ] [-LogRuleSendAadLog ] + [-LogRuleSendActivityLog ] [-LogRuleSendSubscriptionLog ] + [-MetricRuleFilteringTag ] [-MetricRuleSendMetric ] [-MetricRuleUserEmail ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` ### UpdateViaIdentityExpanded ``` Update-AzNewRelicMonitorTagRule -InputObject [-LogRuleFilteringTag ] - [-LogRuleSendAadLog ] [-LogRuleSendActivityLog ] - [-LogRuleSendSubscriptionLog ] [-MetricRuleFilteringTag ] - [-MetricRuleSendMetric ] [-MetricRuleUserEmail ] [-DefaultProfile ] - [-Confirm] [-WhatIf] [] + [-LogRuleSendAadLog ] [-LogRuleSendActivityLog ] [-LogRuleSendSubscriptionLog ] + [-MetricRuleFilteringTag ] [-MetricRuleSendMetric ] [-MetricRuleUserEmail ] + [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityMonitorExpanded +``` +Update-AzNewRelicMonitorTagRule -MonitorInputObject -RuleSetName + [-LogRuleFilteringTag ] [-LogRuleSendAadLog ] [-LogRuleSendActivityLog ] + [-LogRuleSendSubscriptionLog ] [-MetricRuleFilteringTag ] + [-MetricRuleSendMetric ] [-MetricRuleUserEmail ] [-DefaultProfile ] [-Confirm] + [-WhatIf] [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzNewRelicMonitorTagRule -MonitorName -ResourceGroupName -RuleSetName + -JsonFilePath [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +### UpdateViaJsonString +``` +Update-AzNewRelicMonitorTagRule -MonitorName -ResourceGroupName -RuleSetName + -JsonString [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -43,7 +65,7 @@ Update-AzNewRelicMonitorTagRule -MonitorName test-03 -ResourceGroupName ps-test ```output Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType ResourceGroupName RetryAfter ---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- ----------------- ---------- -default 6/28/2023 9:29:45 AM v-jiaji@microsoft.com User 6/29/2023 8:12:51 AM v-jiaji@microsoft.com User ps-test +default 6/28/2023 9:29:45 AM user1@outlook.com User 6/29/2023 8:12:51 AM user1@outlook.com User ps-test ``` Update specific TagRule with specified monitor resource @@ -68,7 +90,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicIdentity @@ -82,16 +103,45 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -LogRuleFilteringTag 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. -To construct, see NOTES section for LOGRULEFILTERINGTAG properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.Api20220701.IFilteringTag[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.IFilteringTag[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityMonitorExpanded Aliases: Required: False @@ -105,8 +155,8 @@ Accept wildcard characters: False Flag specifying if AAD logs should be sent for the Monitor resource. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Support.SendAadLogsStatus -Parameter Sets: (All) +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityMonitorExpanded Aliases: Required: False @@ -120,8 +170,8 @@ Accept wildcard characters: False Flag specifying if activity logs from Azure resources should be sent for the Monitor resource. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Support.SendActivityLogsStatus -Parameter Sets: (All) +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityMonitorExpanded Aliases: Required: False @@ -135,8 +185,8 @@ Accept wildcard characters: False Flag specifying if subscription logs should be sent for the Monitor resource. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Support.SendSubscriptionLogsStatus -Parameter Sets: (All) +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityMonitorExpanded Aliases: Required: False @@ -148,11 +198,10 @@ Accept wildcard characters: False ### -MetricRuleFilteringTag List of filtering tags to be used for capturing metrics. -To construct, see NOTES section for METRICRULEFILTERINGTAG properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.Api20220701.IFilteringTag[] -Parameter Sets: (All) +Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.IFilteringTag[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityMonitorExpanded Aliases: Required: False @@ -166,8 +215,8 @@ Accept wildcard characters: False Flag specifying if metrics should be sent for the Monitor resource. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Support.SendMetricsStatus -Parameter Sets: (All) +Type: System.String +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityMonitorExpanded Aliases: Required: False @@ -182,7 +231,7 @@ User Email ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded, UpdateViaIdentityMonitorExpanded Aliases: Required: False @@ -192,12 +241,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -MonitorInputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicIdentity +Parameter Sets: UpdateViaIdentityMonitorExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -MonitorName Name of the Monitors resource ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -213,7 +277,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -228,7 +292,7 @@ Name of the TagRule ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaIdentityMonitorExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -243,7 +307,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: False @@ -293,33 +357,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.Api20220701.ITagRule +### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.ITagRule ## NOTES -ALIASES - -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - - -`INPUTOBJECT `: Identity Parameter - - `[Id ]`: Resource identity path - - `[MonitorName ]`: Name of the Monitors resource - - `[ResourceGroupName ]`: The name of the resource group. The name is case insensitive. - - `[RuleSetName ]`: Name of the TagRule - - `[SubscriptionId ]`: The ID of the target subscription. - -`LOGRULEFILTERINGTAG `: 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. - - `[Action ]`: Valid actions for a filtering tag. Exclusion takes priority over inclusion. - - `[Name ]`: The name (also known as the key) of the tag. - - `[Value ]`: The value of the tag. - -`METRICRULEFILTERINGTAG `: List of filtering tags to be used for capturing metrics. - - `[Action ]`: Valid actions for a filtering tag. Exclusion takes priority over inclusion. - - `[Name ]`: The name (also known as the key) of the tag. - - `[Value ]`: The value of the tag. - ## RELATED LINKS diff --git a/src/NewRelic/NewRelic.Autorest/docs/Update-AzNewRelicMonitoredSubscription.md b/src/NewRelic/NewRelic.Autorest/docs/Update-AzNewRelicMonitoredSubscription.md new file mode 100644 index 000000000000..ee79b050de49 --- /dev/null +++ b/src/NewRelic/NewRelic.Autorest/docs/Update-AzNewRelicMonitoredSubscription.md @@ -0,0 +1,249 @@ +--- +external help file: +Module Name: Az.NewRelic +online version: https://learn.microsoft.com/powershell/module/az.newrelic/update-aznewrelicmonitoredsubscription +schema: 2.0.0 +--- + +# Update-AzNewRelicMonitoredSubscription + +## SYNOPSIS +Add the subscriptions that should be monitored by the NewRelic monitor resource. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzNewRelicMonitoredSubscription -MonitorName -ResourceGroupName + [-SubscriptionId ] [-MonitoredSubscriptionList ] [-PatchOperation ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzNewRelicMonitoredSubscription -InputObject + [-MonitoredSubscriptionList ] [-PatchOperation ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Add the subscriptions that should be monitored by the NewRelic monitor resource. + +## EXAMPLES + +### Example 1: Update the subscriptions that are being monitored by the NewRelic monitor resource +```powershell +$includeFT = New-AzNewRelicFilteringTagObject -Action Include -Name testLogRule1 -Value filteringTag1 +$sub1 = New-AzNewRelicMonitoredSubscriptionObject -LogRuleFilteringTag $includeFT -LogRuleSendAadLog Enabled -LogRuleSendActivityLog Enabled -LogRuleSendSubscriptionLog Enabled -MetricRuleFilteringTag $includeFT -MetricRuleUserEmail user1@outlook.com -Status Active -SubscriptionId 11111111-2222-3333-4444-12345678910122 +Update-AzNewRelicMonitoredSubscription -MonitorName test-01 -ResourceGroupName group-test -PatchOperation AddComplete -MonitoredSubscriptionList $sub1 +``` + +```output +Id : /subscriptions/11111111-2222-3333-4444-123456789123/resourceGroups/group_test/providers/NewRelic.Observability/monitors/test-01/monitoredSubscriptions/default +MonitoredSubscriptionList : {{ + "tagRules": { + "provisioningState": "Accepted" + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "status": "Active" + }, { + "tagRules": { + "provisioningState": "Accepted" + }, + "subscriptionId": "11111111-2222-3333-4444-123456789101", + "status": "Active" + }} +Name : default +PatchOperation : +ProvisioningState : +ResourceGroupName : group_test +Type : NewRelic.Observability/monitors/monitoredSubscriptions +``` + +This command updates the subscriptions that are being monitored by the NewRelic monitor resource. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -MonitoredSubscriptionList +List of subscriptions and the state of the monitoring. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.IMonitoredSubscription[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MonitorName +Name of the Monitors resource + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PatchOperation +The operation for the patch on the resource. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.INewRelicIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.IMonitoredSubscriptionProperties + +## NOTES + +## RELATED LINKS + diff --git a/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicAccount.md b/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicAccount.md index 5f21b719524e..6253439bbacb 100644 --- a/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicAccount.md +++ b/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicAccount.md @@ -1,6 +1,6 @@ ### Example 1: Get specific monitor account with specified location ```powershell -Get-AzNewRelicAccount -Location eastus -UserEmail v-jiaji@outlook.com +Get-AzNewRelicAccount -Location eastus -UserEmail user1@outlook.com ``` ```output diff --git a/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicBillingInfo.md b/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicBillingInfo.md new file mode 100644 index 000000000000..0c1b14af4a42 --- /dev/null +++ b/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicBillingInfo.md @@ -0,0 +1,17 @@ +### Example 1: Get marketplace info mapped to the given monitor. +```powershell +Get-AzNewRelicBillingInfo -MonitorName test-01 -ResourceGroupName group-test +``` + +```output +MarketplaceSaaInfoBilledAzureSubscriptionId : 11111111-2222-3333-4444-123456789101 +MarketplaceSaaInfoMarketplaceResourceId : /subscriptions/11111111-2222-3333-4444-123456789101/resourceGroups/group-test/providers/Microsoft.SaaS/resources/AzNewRelic_11111111-2222-3333-4444-123456789102_test-01 +MarketplaceSaaInfoMarketplaceStatus : Subscribed +MarketplaceSaaInfoMarketplaceSubscriptionId : 00000000-0000-0000-0000-000000000000 +MarketplaceSaaInfoMarketplaceSubscriptionName : AzNewRelic_11111111-2222-3333-4444-123456789102_test-01 +PartnerBillingEntityOrganizationId : 11111111-2222-3333-4444-123456789103 +PartnerBillingEntityOrganizationName : 11111111-2222-3333-4444-123456789103 +``` + +This command gets marketplace info mapped to the given monitor. + diff --git a/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicConnectedPartnerResource.md b/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicConnectedPartnerResource.md new file mode 100644 index 000000000000..96e312b21899 --- /dev/null +++ b/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicConnectedPartnerResource.md @@ -0,0 +1,13 @@ +### Example 1: List of all active deployments linked to the given monitor +```powershell +Get-AzNewRelicConnectedPartnerResource -MonitorName test-01 -ResourceGroupName group-test +``` + +```output +AccountId AccountName AzureResourceId Location +--------- ----------- --------------- -------- +4404219 Account 4404219 /SUBSCRIPTIONS/11111111-2222-3333-4444-123456789101/RESOURCEGROUPS/GROUP-TEST/PROVIDERS/NEWRELIC.OBSERVABILITY/MONITORS/TEST-01 eastus +``` + +This command list of all active deployments that are associated with the marketplace subscription linked to the given monitor. + diff --git a/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitor.md b/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitor.md index f481b6422493..28a2e9184033 100644 --- a/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitor.md +++ b/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitor.md @@ -6,11 +6,11 @@ Get-AzNewRelicMonitor ```output Location Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy -------- ---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ -eastus dipesh_test_16_3_sb 6/16/2023 6:26:11 AM dipeshbhakat@outlook.com User 6/16/2023 6:47:28 AM f73fdc11-ed25-4c35-a93a-f525ab3… -eastus 16_06_23_01 6/16/2023 7:55:28 AM saurgupta@outlook.com User 6/16/2023 7:55:28 AM saurgupta@outlook.com -eastus test-new-relic 6/19/2023 8:44:48 AM v-taoxuzeng@outlook.com User 6/19/2023 8:44:48 AM v-taoxuzeng@outlook.com -eastus test-new-relic2 6/21/2023 9:18:43 AM v-taoxuzeng@outlook.com User 6/21/2023 9:18:43 AM v-taoxuzeng@outlook.com -eastus test-01 6/27/2023 8:30:45 AM v-jiaji@outlook.com User 6/27/2023 8:30:45 AM v-jiaji@outlook.com +eastus user01_test_16_3_sb 6/16/2023 6:26:11 AM user01@example.com User 6/16/2023 6:47:28 AM 11111111-2222-3333-4444-123456789101 +eastus 16_06_23_01 6/16/2023 7:55:28 AM usaccount@outlook.com User 6/16/2023 7:55:28 AM usaccount@outlook.com +eastus test-new-relic 6/19/2023 8:44:48 AM useraccount@outlook.com User 6/19/2023 8:44:48 AM useraccount@outlook.com +eastus test-new-relic2 6/21/2023 9:18:43 AM useraccount@outlook.com User 6/21/2023 9:18:43 AM useraccount@outlook.com +eastus test-01 6/27/2023 8:30:45 AM user1@outlook.com User 6/27/2023 8:30:45 AM user1@outlook.com centraluseuap testNR-5868 6/5/2023 6:22:07 AM 09a13a20-12be-4fda-a11e-a6895d6b321b Application 6/5/2023 6:22:07 AM 09a13a20-12be-4fda-a11e-a6895d6… centraluseuap testNR-6804 6/5/2023 6:25:37 AM 09a13a20-12be-4fda-a11e-a6895d6b321b Application 6/5/2023 6:25:37 AM 09a13a20-12be-4fda-a11e-a6895d6… Central US EUAP Harsh_PostMan_0706_1 6/9/2023 11:24:46 AM harshkumar@outlook.com User 6/9/2023 11:24:46 AM harshkumar@outlook.com @@ -23,24 +23,24 @@ centraluseuap CUS_1106 6/11/2023 12:29: Central US EUAP Harsh_PostMan_1206 6/12/2023 11:53:46 AM harshkumar@outlook.com User 6/12/2023 11:53:46 AM harshkumar@outlook.com centraluseuap CUS_1206_2 6/12/2023 11:58:07 AM harshkumar@outlook.com User 6/12/2023 11:58:07 AM harshkumar@outlook.com centraluseuap 1406_Develop_CUS 6/14/2023 8:57:58 AM harshkumar@outlook.com User 6/14/2023 8:57:58 AM harshkumar@outlook.com -centraluseuap saurgupta_27_06_23_02 6/27/2023 5:14:26 AM saurgupta@outlook.com User 6/27/2023 5:14:26 AM saurgupta@outlook.com -centraluseuap saurgupta_28_03_23_01 3/28/2023 8:09:47 AM saurgupta@outlook.com User 5/26/2023 7:15:21 AM f73fdc11-ed25-4c35-a93a-f525ab3… -centraluseuap saurgupta_28_03_23_02 3/28/2023 12:04:18 PM saurgupta@outlook.com User 5/26/2023 7:15:21 AM f73fdc11-ed25-4c35-a93a-f525ab3… -centraluseuap saurgupta_05_04_23_01 4/5/2023 8:33:53 AM saurgupta@outlook.com User 5/26/2023 7:15:22 AM f73fdc11-ed25-4c35-a93a-f525ab3… -centraluseuap saurgupta_21_04_23_03 4/21/2023 11:29:46 AM saurgupta@outlook.com User 4/21/2023 11:29:46 AM saurgupta@outlook.com -centraluseuap saurgupta_21_04_23_04 4/21/2023 11:35:23 AM saurgupta@outlook.com User 5/26/2023 7:15:23 AM f73fdc11-ed25-4c35-a93a-f525ab3… -centraluseuap saurgupta_24_04_23_01 4/24/2023 3:33:40 AM saurgupta@outlook.com User 5/26/2023 7:15:23 AM f73fdc11-ed25-4c35-a93a-f525ab3… -centraluseuap acctest2985 5/2/2023 11:33:12 AM dipeshbhakat@outlook.com User 5/2/2023 11:33:12 AM dipeshbhakat@outlook.com -centraluseuap acctestterraform1 5/2/2023 11:50:50 AM dipeshbhakat@outlook.com User 5/2/2023 11:50:50 AM dipeshbhakat@outlook.com +centraluseuap usaccount_27_06_23_02 6/27/2023 5:14:26 AM usaccount@outlook.com User 6/27/2023 5:14:26 AM usaccount@outlook.com +centraluseuap usaccount_28_03_23_01 3/28/2023 8:09:47 AM usaccount@outlook.com User 5/26/2023 7:15:21 AM f73fdc11-ed25-4c35-a93a-f525ab3… +centraluseuap usaccount_28_03_23_02 3/28/2023 12:04:18 PM usaccount@outlook.com User 5/26/2023 7:15:21 AM f73fdc11-ed25-4c35-a93a-f525ab3… +centraluseuap usaccount_05_04_23_01 4/5/2023 8:33:53 AM usaccount@outlook.com User 5/26/2023 7:15:22 AM f73fdc11-ed25-4c35-a93a-f525ab3… +centraluseuap usaccount_21_04_23_03 4/21/2023 11:29:46 AM usaccount@outlook.com User 4/21/2023 11:29:46 AM usaccount@outlook.com +centraluseuap usaccount_21_04_23_04 4/21/2023 11:35:23 AM usaccount@outlook.com User 5/26/2023 7:15:23 AM f73fdc11-ed25-4c35-a93a-f525ab3… +centraluseuap usaccount_24_04_23_01 4/24/2023 3:33:40 AM usaccount@outlook.com User 5/26/2023 7:15:23 AM f73fdc11-ed25-4c35-a93a-f525ab3… +centraluseuap acctest2985 5/2/2023 11:33:12 AM user01@example.com User 5/2/2023 11:33:12 AM user01@example.com +centraluseuap acctestterraform1 5/2/2023 11:50:50 AM user01@example.com User 5/2/2023 11:50:50 AM user01@example.com Central US EUAP Harsh_PostMan_0905_1 5/9/2023 5:13:23 AM harshkumar@outlook.com User 5/9/2023 5:13:23 AM harshkumar@outlook.com centraluseuap Uxuxuxuxuuxux 5/9/2023 7:53:15 AM harshkumar@outlook.com User 5/9/2023 7:53:15 AM harshkumar@outlook.com centraluseuap vip-test-09May23-CEUAP-LinkOrg-1 5/9/2023 9:58:49 AM viprayjain@outlook.com User 5/26/2023 7:15:24 AM f73fdc11-ed25-4c35-a93a-f525ab3… -centraluseuap dipesh_test_canary1 5/19/2023 4:19:33 AM dipeshbhakat@outlook.com User 5/19/2023 4:19:33 AM dipeshbhakat@outlook.com -centraluseuap dipeshterraformcreate5 5/23/2023 11:44:18 AM dipeshbhakat@outlook.com User 5/23/2023 11:44:18 AM dipeshbhakat@outlook.com +centraluseuap user01_test_canary1 5/19/2023 4:19:33 AM user01@example.com User 5/19/2023 4:19:33 AM user01@example.com +centraluseuap user01terraformcreate5 5/23/2023 11:44:18 AM user01@example.com User 5/23/2023 11:44:18 AM user01@example.com centraluseuap java-sdk-8849 5/26/2023 4:55:57 AM 09a13a20-12be-4fda-a11e-a6895d6b321b Application 5/26/2023 4:55:57 AM 09a13a20-12be-4fda-a11e-a6895d6… -centraluseuap saurgupta_31_05_23_01 5/31/2023 9:58:47 AM saurgupta@outlook.com User 5/31/2023 9:58:47 AM saurgupta@outlook.com +centraluseuap usaccount_31_05_23_01 5/31/2023 9:58:47 AM usaccount@outlook.com User 5/31/2023 9:58:47 AM usaccount@outlook.com Central US EUAP Harsh_PostMan_0706 6/7/2023 6:39:55 AM harshkumar@outlook.com -eastus2euap saurgupta_21_06_23_01 6/21/2023 9:06:41 AM saurgupta@outlook.com User 6/21/2023 9:06:41 AM saurgupta@outlook.com +eastus2euap usaccount_21_06_23_01 6/21/2023 9:06:41 AM usaccount@outlook.com User 6/21/2023 9:06:41 AM usaccount@outlook.com ``` Get list of monitors by subscription @@ -53,8 +53,8 @@ Get-AzNewRelicMonitor -ResourceGroupName ps-test ```output Location Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType ResourceGroupName RetryAfter -------- ---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- ----------------- ---------- -eastus test-01 6/27/2023 8:30:45 AM v-jiaji@outlook.com User 6/27/2023 8:30:45 AM v-jiaji@outlook.com User ps-test -eastus test-02 6/27/2023 8:44:10 AM v-jiaji@outlook.com User 6/27/2023 8:44:10 AM v-jiaji@outlook.com User ps-test +eastus test-01 6/27/2023 8:30:45 AM user1@outlook.com User 6/27/2023 8:30:45 AM user1@outlook.com User ps-test +eastus test-02 6/27/2023 8:44:10 AM user1@outlook.com User 6/27/2023 8:44:10 AM user1@outlook.com User ps-test ``` Get list of monitors by specific resource group @@ -67,7 +67,20 @@ Get-AzNewRelicMonitor -Name test-01 -ResourceGroupName ps-test ```output Location Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType ResourceGroupName RetryAfter -------- ---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- ----------------- ---------- -eastus test-01 6/27/2023 8:30:45 AM v-jiaji@outlook.com User 6/27/2023 8:30:45 AM v-jiaji@outlook.com User ps-test +eastus test-01 6/27/2023 8:30:45 AM user1@outlook.com User 6/27/2023 8:30:45 AM user1@outlook.com User ps-test ``` -Get specific monitor by name and resource group \ No newline at end of file +Get specific monitor by name and resource group + +### Example 4: List linked Azure resources +```powershell +Get-AzNewRelicMonitor -MonitorName test-01 -ResourceGroupName group-test -ListLinkedResource +``` + +```output +Id +-- +/SUBSCRIPTIONS/11111111-2222-3333-4444-123456789101/RESOURCEGROUPS/group-TEST/PROVIDERS/NEWRELIC.OBSERVABILITY/MONITORS/TEST-01 +``` + +This command lists all Azure resources associated to the same NewRelic organization and account as the target resource. \ No newline at end of file diff --git a/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitorAppService.md b/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitorAppService.md deleted file mode 100644 index 971b40a71585..000000000000 --- a/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitorAppService.md +++ /dev/null @@ -1,6 +0,0 @@ -### Example 1: Get specific App Service -```powershell -Get-AzNewRelicMonitorAppService -MonitorName test-02 -ResourceGroupName ps-test -UserEmail v-jiaji@outlook.com -AzureResourceId /SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/PS-TEST/PROVIDERS/MICROSOFT.WEB/SITES/JOYERTEST -``` - -Get specified app service information currently being monitored by specified NewRelic resource. \ No newline at end of file diff --git a/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitorMetricRule.md b/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitorMetricRule.md index ddea4c1a801c..8151b5d4461c 100644 --- a/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitorMetricRule.md +++ b/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitorMetricRule.md @@ -1,6 +1,6 @@ ### Example 1: Get specific monitor metric rule with specified resource group ```powershell -Get-AzNewRelicMonitorMetricRule -MonitorName test-01 -ResourceGroupName ps-test -UserEmail v-jiaji@outlook.com +Get-AzNewRelicMonitorMetricRule -MonitorName test-01 -ResourceGroupName ps-test -UserEmail user1@outlook.com ``` ```output diff --git a/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitorMetricStatus.md b/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitorMetricStatus.md index f081a1580e52..ac246984a94d 100644 --- a/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitorMetricStatus.md +++ b/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitorMetricStatus.md @@ -1,10 +1,10 @@ ### Example 1: Get a list of metrics resource ids ```powershell -Get-AzNewRelicMonitorMetricStatus -MonitorName test-03 -ResourceGroupName ps-test -UserEmail v-jiaji@outlook.com -AzureResourceId /subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/Microsoft.Web/sites/joyertest +Get-AzNewRelicMonitorMetricStatus -MonitorName test-03 -ResourceGroupName ps-test -UserEmail user1@outlook.com -AzureResourceId /subscriptions/11111111-2222-3333-4444-123456789101/resourceGroups/ps-test/providers/Microsoft.Web/sites/grouptest ``` ```output -/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourcegroups/ps-test/providers/microsoft.web/sites/joyertest +/subscriptions/11111111-2222-3333-4444-123456789101/resourcegroups/ps-test/providers/microsoft.web/sites/grouptest ``` List resource ids. \ No newline at end of file diff --git a/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitorMonitoredResource.md b/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitorMonitoredResource.md index cf8d7812f42e..95f7ad3e1cf2 100644 --- a/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitorMonitoredResource.md +++ b/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitorMonitoredResource.md @@ -4,38 +4,37 @@ Get-AzNewRelicMonitorMonitoredResource -MonitorName test-03 -ResourceGroupName p ``` ```output -Id : /SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/PS-TEST/PROVIDERS/MICROSOFT.WEB/SITES/JOYERTEST +Id : /SUBSCRIPTIONS/11111111-2222-3333-4444-123456789101/RESOURCEGROUPS/PS-TEST/PROVIDERS/MICROSOFT.WEB/SITES/SITETEST ReasonForLogsStatus : CapturedByRules ReasonForMetricsStatus : SendingLog : Enabled SendingMetric : -Id : /SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/PS-TEST/PROVIDERS/MICROSOFT.WEB/SERVERFARMS/PSTEST +Id : /SUBSCRIPTIONS/11111111-2222-3333-4444-123456789101/RESOURCEGROUPS/PS-TEST/PROVIDERS/MICROSOFT.WEB/SERVERFARMS/PSTEST ReasonForLogsStatus : CapturedByRules ReasonForMetricsStatus : SendingLog : Enabled SendingMetric : -Id : /SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/PS-TEST/PROVIDERS/MICROSOFT.WEB/SITES/JOYERTEST2 +Id : /SUBSCRIPTIONS/11111111-2222-3333-4444-123456789101/RESOURCEGROUPS/PS-TEST/PROVIDERS/MICROSOFT.WEB/SITES/SITETEST2 ReasonForLogsStatus : CapturedByRules ReasonForMetricsStatus : SendingLog : Enabled SendingMetric : -Id : /SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/PS-TEST/PROVIDERS/MICROSOFT.INSIGHTS/COMPONENTS/JOYERTEST2 +Id : /SUBSCRIPTIONS/11111111-2222-3333-4444-123456789101/RESOURCEGROUPS/PS-TEST/PROVIDERS/MICROSOFT.INSIGHTS/COMPONENTS/INSIGHTTEST2 ReasonForLogsStatus : CapturedByRules ReasonForMetricsStatus : SendingLog : Enabled SendingMetric : -Id : /SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/ACCTEST9482/PROVIDERS/MICROSOFT.INSIGHTS/COMPONENTS/TEST3210 +Id : /SUBSCRIPTIONS/11111111-2222-3333-4444-123456789101/RESOURCEGROUPS/ACCTEST9482/PROVIDERS/MICROSOFT.INSIGHTS/COMPONENTS/TEST3210 ReasonForLogsStatus : DiagnosticSettingsLimitReached ReasonForMetricsStatus : SendingLog : Disabled SendingMetric : -Id : /SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/MC_KANSINGH-RG_TESTNRCLUSTER_EASTUS/PROVIDERS/MICROSOFT.NETWORK/PUBLICIPADDRESSES/99894EC0-4C67-4D40-BF63-B640D5 - 9E1596 +Id : /SUBSCRIPTIONS/11111111-2222-3333-4444-123456789101/RESOURCEGROUPS/MC_KANSINGH-RG_TESTNRCLUSTER_EASTUS/PROVIDERS/MICROSOFT.NETWORK/PUBLICIPADDRESSES/11111111-2222-3333-4444-123456789123 ReasonForLogsStatus : DiagnosticSettingsLimitReached ReasonForMetricsStatus : SendingLog : Disabled diff --git a/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitorTagRule.md b/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitorTagRule.md index de1ca43a57c3..99e5bb53280b 100644 --- a/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitorTagRule.md +++ b/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitorTagRule.md @@ -6,7 +6,7 @@ Get-AzNewRelicMonitorTagRule -MonitorName test-03 -ResourceGroupName ps-test ```output Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType ResourceGroupName RetryAfter ---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- ----------------- ---------- -default 6/28/2023 6:03:14 AM v-jiaji@outlook.com User 6/28/2023 6:03:14 AM v-jiaji@outlook.com User ps-test +default 6/28/2023 6:03:14 AM user1@outlook.com User 6/28/2023 6:03:14 AM user1@outlook.com User ps-test ``` Get tag rule with specified monitor and resource group \ No newline at end of file diff --git a/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitoredAppService.md b/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitoredAppService.md new file mode 100644 index 000000000000..4f44e765db68 --- /dev/null +++ b/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitoredAppService.md @@ -0,0 +1,6 @@ +### Example 1: Get specific App Service +```powershell +Get-AzNewRelicMonitoredAppService -MonitorName test-02 -ResourceGroupName ps-test -UserEmail user1@outlook.com -AzureResourceId /SUBSCRIPTIONS/11111111-2222-3333-4444-123456789101/RESOURCEGROUPS/PS-TEST/PROVIDERS/MICROSOFT.WEB/SITES/WEBSITETEST +``` + +Get specified app service information currently being monitored by specified NewRelic resource. \ No newline at end of file diff --git a/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitorHost.md b/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitoredHost.md similarity index 57% rename from src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitorHost.md rename to src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitoredHost.md index 51a3a70a95b6..87857277688b 100644 --- a/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitorHost.md +++ b/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitoredHost.md @@ -1,6 +1,6 @@ ### Example 1: Get specific virtual machines ```powershell -Get-AzNewRelicMonitorHost -MonitorName test-03 -ResourceGroupName ps-test -VMId saurg-vm-01 -UserEmail v-jiaji@outlook.com +Get-AzNewRelicMonitoredHost -MonitorName test-03 -ResourceGroupName ps-test -VMId test-vm-01 -UserEmail user1@outlook.com ``` Get specific compute virtual machine resources currently being monitored by specific NewRelic resource. \ No newline at end of file diff --git a/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitoredSubscription.md b/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitoredSubscription.md new file mode 100644 index 000000000000..76e2c3d47105 --- /dev/null +++ b/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicMonitoredSubscription.md @@ -0,0 +1,17 @@ +### Example 1: List the subscriptions monitored by the NewRelic monitor resource +```powershell +Get-AzNewRelicMonitoredSubscription -MonitorName test-01 -ResourceGroupName group-test +``` + +```output +Id : /subscriptions/11111111-2222-3333-4444-123456789101/resourceGroups/group-test/providers/NewRelic.Observability/monitors/test-01/monitoredSubscriptions/default +MonitoredSubscriptionList : {} +Name : default +PatchOperation : +ProvisioningState : +ResourceGroupName : group-test +Type : NewRelic.Observability/monitors/monitoredSubscriptions +``` + +This command lists the subscriptions currently being monitored by the NewRelic monitor resource. + diff --git a/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicOrganization.md b/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicOrganization.md index e2a597a6ddde..b69982e02fd4 100644 --- a/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicOrganization.md +++ b/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicOrganization.md @@ -1,6 +1,6 @@ ### Example 1: List all the existing organizations ```powershell -Get-AzNewRelicOrganization -Location eastus -UserEmail v-jiaji@outlook.com +Get-AzNewRelicOrganization -Location eastus -UserEmail user1@outlook.com ``` List all the existing organizations in New Relic \ No newline at end of file diff --git a/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicPlan.md b/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicPlan.md index c2c63ab72f62..5846da5b37c3 100644 --- a/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicPlan.md +++ b/src/NewRelic/NewRelic.Autorest/examples/Get-AzNewRelicPlan.md @@ -1,19 +1,19 @@ ### Example 1: List plans data associated with specified organization ```powershell -Get-AzNewRelicPlan -SubscriptionId 272c26cb-7026-4b37-b190-7cb7b2abecb0 -OrganizationId 9c5445c7-65e3-4bd5-8581-80c65584100f +Get-AzNewRelicPlan -SubscriptionId 11111111-2222-3333-4444-123456789101 -OrganizationId 11111111-2222-3333-4444-123456789104 ``` ```output PlanDataUsageType PlanDataBillingCycle PlanDataPlanDetail PlanDataEffectiveDate OrgCreationSource AccountCreationSource ----------------- -------------------- ------------------ --------------------- ----------------- --------------------- -PAYG MONTHLY newrelicpaygtestplan2@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg 6/28/2023 9:28:22 AM LIFTR +PAYG MONTHLY newrelicpaygtestplan2@123456789123456@PUBIDnewrelicinc1234567891234.newrelic_liftr_payg 6/28/2023 9:28:22 AM LIFTR ``` List plans data associated with specified Organization Id ### Example 2: Link plans account with specified organization in different subscription ```powershell -Get-AzNewRelicPlan -SubscriptionId 272c26cb-7026-4b37-b190-7cb7b2abecb0 -OrganizationId 9c5445c7-65e3-4bd5-8581-80c65584100f -AccountId 3996563 +Get-AzNewRelicPlan -SubscriptionId 11111111-2222-3333-4444-123456789101 -OrganizationId 11111111-2222-3333-4444-123456789104 -AccountId 1234567 ``` Link plans account with specified organization in different subscription diff --git a/src/NewRelic/NewRelic.Autorest/examples/New-AzNewRelicFilteringTagObject.md b/src/NewRelic/NewRelic.Autorest/examples/New-AzNewRelicFilteringTagObject.md new file mode 100644 index 000000000000..bfeeb42d4e7b --- /dev/null +++ b/src/NewRelic/NewRelic.Autorest/examples/New-AzNewRelicFilteringTagObject.md @@ -0,0 +1,13 @@ +### Example 1: Create Filtering Tag object +```powershell +New-AzNewRelicFilteringTagObject -Action Include -Name testLogRule1 -Value filteringTag1 +``` + +```output +Action Name Value +------ ---- ----- +Include testLogRule1 filteringTag1 +``` + +This command creates a filtering tag object. + diff --git a/src/NewRelic/NewRelic.Autorest/examples/New-AzNewRelicMonitor.md b/src/NewRelic/NewRelic.Autorest/examples/New-AzNewRelicMonitor.md index 0fb3454c18f5..6925c2e9bc02 100644 --- a/src/NewRelic/NewRelic.Autorest/examples/New-AzNewRelicMonitor.md +++ b/src/NewRelic/NewRelic.Autorest/examples/New-AzNewRelicMonitor.md @@ -1,12 +1,12 @@ ### Example 1: Create monitor ```powershell -New-AzNewRelicMonitor -Name test-01 -ResourceGroupName ps-test -Location eastus -PlanDataPlanDetail "newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg"-PlanDataBillingCycle 'MONTHLY' -PlanDataUsageType 'PAYG' -PlanDataEffectiveDate (Get-Date -DisplayHint DateTime) -UserInfoEmailAddress v-jiaji@outlook.com -UserInfoFirstName "Joyer" -UserInfoLastName "Jin" +New-AzNewRelicMonitor -Name test-01 -ResourceGroupName ps-test -Location eastus -PlanDataPlanDetail "newrelicpaygtestplan2@123456789123456@PUBIDnewrelicinc1234567891234.newrelic_liftr_payg"-PlanDataBillingCycle 'MONTHLY' -PlanDataUsageType 'PAYG' -PlanDataEffectiveDate (Get-Date -DisplayHint DateTime) -UserInfoEmailAddress user1@outlook.com -UserInfoFirstName "group" -UserInfoLastName "test" ``` ```output Location Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType ResourceGroupName RetryAfter -------- ---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- ----------------- ---------- -eastus test-01 6/27/2023 8:30:45 AM v-jiaji@outlook.com User 6/27/2023 8:30:45 AM v-jiaji@outlook.com User ps-test +eastus test-01 6/27/2023 8:30:45 AM user1@outlook.com User 6/27/2023 8:30:45 AM user1@outlook.com User ps-test ``` Create NewRelic monitor with Plan data and User information \ No newline at end of file diff --git a/src/NewRelic/NewRelic.Autorest/examples/New-AzNewRelicMonitorTagRule.md b/src/NewRelic/NewRelic.Autorest/examples/New-AzNewRelicMonitorTagRule.md index 01e094c39880..06c3d92c01f4 100644 --- a/src/NewRelic/NewRelic.Autorest/examples/New-AzNewRelicMonitorTagRule.md +++ b/src/NewRelic/NewRelic.Autorest/examples/New-AzNewRelicMonitorTagRule.md @@ -1,12 +1,12 @@ ### Example 1: Create tag rule ```powershell -New-AzNewRelicMonitorTagRule -MonitorName test-01 -ResourceGroupName ps-test -RuleSetName default -LogRuleSendAadLog 'Disabled' -LogRuleSendActivityLog 'Enabled' -LogRuleSendSubscriptionLog 'Disabled' -MetricRuleSendMetric 'Enabled' -MetricRuleUserEmail v-jiaji@outlook.com +New-AzNewRelicMonitorTagRule -MonitorName test-01 -ResourceGroupName ps-test -RuleSetName default -LogRuleSendAadLog 'Disabled' -LogRuleSendActivityLog 'Enabled' -LogRuleSendSubscriptionLog 'Disabled' -MetricRuleSendMetric 'Enabled' -MetricRuleUserEmail user1@outlook.com ``` ```output Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType ResourceGroupName RetryAfter ---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- ----------------- ---------- -default 6/28/2023 6:03:14 AM v-jiaji@outlook.com User 6/28/2023 6:03:14 AM v-jiaji@outlook.com User ps-test +default 6/28/2023 6:03:14 AM user1@outlook.com User 6/28/2023 6:03:14 AM user1@outlook.com User ps-test ``` Create monitor tag rule with specified monitor and default name diff --git a/src/NewRelic/NewRelic.Autorest/examples/New-AzNewRelicMonitoredSubscription.md b/src/NewRelic/NewRelic.Autorest/examples/New-AzNewRelicMonitoredSubscription.md new file mode 100644 index 000000000000..39877fed88ce --- /dev/null +++ b/src/NewRelic/NewRelic.Autorest/examples/New-AzNewRelicMonitoredSubscription.md @@ -0,0 +1,9 @@ +### Example 1: Add subscriptions +```powershell +$includeFT = New-AzNewRelicFilteringTagObject -Action Include -Name testLogRule1 -Value filteringTag1 +$sub1 = New-AzNewRelicMonitoredSubscriptionObject -LogRuleFilteringTag $includeFT -LogRuleSendAadLog Enabled -LogRuleSendActivityLog Enabled -LogRuleSendSubscriptionLog Enabled -MetricRuleFilteringTag $includeFT -MetricRuleUserEmail user1@outlook.com -Status Active -SubscriptionId 00000000-0000-0000-0000-000000000000 +New-AzNewRelicMonitoredSubscription -MonitorName test-01 -ResourceGroupName group-test -MonitoredSubscriptionList $sub1 -PatchOperation AddBegin +``` + +Select subscriptions to monitor their resources using NewRelic. Only subscriptions where you have owner access are allowed. + diff --git a/src/NewRelic/NewRelic.Autorest/examples/New-AzNewRelicMonitoredSubscriptionObject.md b/src/NewRelic/NewRelic.Autorest/examples/New-AzNewRelicMonitoredSubscriptionObject.md new file mode 100644 index 000000000000..cf96e1061ed7 --- /dev/null +++ b/src/NewRelic/NewRelic.Autorest/examples/New-AzNewRelicMonitoredSubscriptionObject.md @@ -0,0 +1,30 @@ +### Example 1: Create subscription object +```powershell +$includeFT = New-AzNewRelicFilteringTagObject -Action Include -Name testLogRule1 -Value filteringTag1 +New-AzNewRelicMonitoredSubscriptionObject -LogRuleFilteringTag $includeFT -LogRuleSendAadLog Enabled -LogRuleSendActivityLog Enabled -LogRuleSendSubscriptionLog Enabled -MetricRuleFilteringTag $includeFT -MetricRuleUserEmail test@testing.com -Status Active -SubscriptionId 00000000-0000-0000-0000-000000000000 +``` + +```output +Error : +LogRuleFilteringTag : {{ + "name": "testLogRule1", + "value": "filteringTag1", + "action": "Include" + }} +LogRuleSendAadLog : Enabled +LogRuleSendActivityLog : Enabled +LogRuleSendSubscriptionLog : Enabled +MetricRuleFilteringTag : {{ + "name": "testLogRule1", + "value": "filteringTag1", + "action": "Include" + }} +MetricRuleSendMetric : +MetricRuleUserEmail : test@testing.com +Status : Active +SubscriptionId : 00000000-0000-0000-0000-000000000000 +TagRuleProvisioningState : +``` + +This command creates a subscription object. + diff --git a/src/NewRelic/NewRelic.Autorest/examples/Remove-AzNewRelicMonitor.md b/src/NewRelic/NewRelic.Autorest/examples/Remove-AzNewRelicMonitor.md index 07b7c8e6b137..2483aeca2443 100644 --- a/src/NewRelic/NewRelic.Autorest/examples/Remove-AzNewRelicMonitor.md +++ b/src/NewRelic/NewRelic.Autorest/examples/Remove-AzNewRelicMonitor.md @@ -1,6 +1,6 @@ ### Example 1: Delete a NewRelic Monitor Resource ```powershell -Remove-AzNewRelicMonitor -Name test-03 -ResourceGroupName ps-test -UserEmail v-jiaji@outlook.com +Remove-AzNewRelicMonitor -Name test-03 -ResourceGroupName ps-test -UserEmail user1@outlook.com ``` Delete a NewRelic Monitor Resource \ No newline at end of file diff --git a/src/NewRelic/NewRelic.Autorest/examples/Remove-AzNewRelicMonitoredSubscription.md b/src/NewRelic/NewRelic.Autorest/examples/Remove-AzNewRelicMonitoredSubscription.md new file mode 100644 index 000000000000..25e1fa64a861 --- /dev/null +++ b/src/NewRelic/NewRelic.Autorest/examples/Remove-AzNewRelicMonitoredSubscription.md @@ -0,0 +1,7 @@ +### Example 1: delete the subscriptions that are being monitored by the NewRelic monitor resource +```powershell +Remove-AzNewRelicMonitoredSubscription -MonitorName test-01 -ResourceGroupName group-test +``` + +This command deletes the subscriptions that are being monitored by the NewRelic monitor resource. + diff --git a/src/NewRelic/NewRelic.Autorest/examples/Switch-AzNewRelicMonitorBilling.md b/src/NewRelic/NewRelic.Autorest/examples/Switch-AzNewRelicMonitorBilling.md index 8ca7b61cfdc0..f38bc57d9660 100644 --- a/src/NewRelic/NewRelic.Autorest/examples/Switch-AzNewRelicMonitorBilling.md +++ b/src/NewRelic/NewRelic.Autorest/examples/Switch-AzNewRelicMonitorBilling.md @@ -1,6 +1,6 @@ ### Example 1: Switches the billing for NewRelic monitor resource. ```powershell -Switch-AzNewRelicMonitorBilling -MonitorName test-03 -ResourceGroupName ps-test -UserEmail v-jiaji@microsoft.com -PlanDataBillingCycle 'WEEKLY' +Switch-AzNewRelicMonitorBilling -MonitorName test-03 -ResourceGroupName ps-test -UserEmail user1@outlook.com -PlanDataBillingCycle 'WEEKLY' ``` Switches the billing for NewRelic monitor resource. \ No newline at end of file diff --git a/src/NewRelic/NewRelic.Autorest/examples/Update-AzNewRelicMonitorTagRule.md b/src/NewRelic/NewRelic.Autorest/examples/Update-AzNewRelicMonitorTagRule.md index 45537660edc4..e405158b80be 100644 --- a/src/NewRelic/NewRelic.Autorest/examples/Update-AzNewRelicMonitorTagRule.md +++ b/src/NewRelic/NewRelic.Autorest/examples/Update-AzNewRelicMonitorTagRule.md @@ -6,7 +6,7 @@ Update-AzNewRelicMonitorTagRule -MonitorName test-03 -ResourceGroupName ps-test ```output Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType ResourceGroupName RetryAfter ---- ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- ----------------- ---------- -default 6/28/2023 9:29:45 AM v-jiaji@microsoft.com User 6/29/2023 8:12:51 AM v-jiaji@microsoft.com User ps-test +default 6/28/2023 9:29:45 AM user1@outlook.com User 6/29/2023 8:12:51 AM user1@outlook.com User ps-test ``` Update specific TagRule with specified monitor resource \ No newline at end of file diff --git a/src/NewRelic/NewRelic.Autorest/examples/Update-AzNewRelicMonitoredSubscription.md b/src/NewRelic/NewRelic.Autorest/examples/Update-AzNewRelicMonitoredSubscription.md new file mode 100644 index 000000000000..882a62aa8312 --- /dev/null +++ b/src/NewRelic/NewRelic.Autorest/examples/Update-AzNewRelicMonitoredSubscription.md @@ -0,0 +1,31 @@ +### Example 1: Update the subscriptions that are being monitored by the NewRelic monitor resource +```powershell +$includeFT = New-AzNewRelicFilteringTagObject -Action Include -Name testLogRule1 -Value filteringTag1 +$sub1 = New-AzNewRelicMonitoredSubscriptionObject -LogRuleFilteringTag $includeFT -LogRuleSendAadLog Enabled -LogRuleSendActivityLog Enabled -LogRuleSendSubscriptionLog Enabled -MetricRuleFilteringTag $includeFT -MetricRuleUserEmail user1@outlook.com -Status Active -SubscriptionId 11111111-2222-3333-4444-12345678910122 +Update-AzNewRelicMonitoredSubscription -MonitorName test-01 -ResourceGroupName group-test -PatchOperation AddComplete -MonitoredSubscriptionList $sub1 +``` + +```output +Id : /subscriptions/11111111-2222-3333-4444-123456789123/resourceGroups/group_test/providers/NewRelic.Observability/monitors/test-01/monitoredSubscriptions/default +MonitoredSubscriptionList : {{ + "tagRules": { + "provisioningState": "Accepted" + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "status": "Active" + }, { + "tagRules": { + "provisioningState": "Accepted" + }, + "subscriptionId": "11111111-2222-3333-4444-123456789101", + "status": "Active" + }} +Name : default +PatchOperation : +ProvisioningState : +ResourceGroupName : group_test +Type : NewRelic.Observability/monitors/monitoredSubscriptions +``` + +This command updates the subscriptions that are being monitored by the NewRelic monitor resource. + diff --git a/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicAccount.Tests.ps1 b/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicAccount.Tests.ps1 index b248ce418bf6..52020f51a2d5 100644 --- a/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicAccount.Tests.ps1 +++ b/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicAccount.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzNewRelicAccount')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzNewRelicAccount' { +Describe 'Get-AzNewRelicAccount' { #Scenario Test It 'List' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } diff --git a/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicBillingInfo.Tests.ps1 b/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicBillingInfo.Tests.ps1 new file mode 100644 index 000000000000..a133acf7b773 --- /dev/null +++ b/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicBillingInfo.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzNewRelicBillingInfo')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzNewRelicBillingInfo.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzNewRelicBillingInfo' { #Scenario Test + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicConnectedPartnerResource.Tests.ps1 b/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicConnectedPartnerResource.Tests.ps1 new file mode 100644 index 000000000000..0c090badeddc --- /dev/null +++ b/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicConnectedPartnerResource.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzNewRelicConnectedPartnerResource')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzNewRelicConnectedPartnerResource.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzNewRelicConnectedPartnerResource' { #Scenario Test + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitor.Recording.json b/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitor.Recording.json new file mode 100644 index 000000000000..e3c569005581 --- /dev/null +++ b/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitor.Recording.json @@ -0,0 +1,88 @@ +{ + "Get-AzNewRelicMonitor+[NoContext]+MonitorListSub+$GET+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/monitors?api-version=2024-01-01+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/monitors?api-version=2024-01-01", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "02bbc5c0-ae96-401b-a96c-04a4ba3e2658" ], + "CommandName": [ "Get-AzNewRelicMonitor" ], + "FullCommandName": [ "Get-AzNewRelicMonitor_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.NewRelic/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-original-request-ids": [ "66a356ee-a659-4f19-bb8c-595d365c6b15", "263a2c12-1510-4c66-9a86-cd81329683b7", "185d9bc7-be0e-4857-85af-5691c8ee5e57" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-request-id": [ "ffb191f5-5f2f-425c-8d0a-821eb78dea41" ], + "x-ms-correlation-request-id": [ "ffb191f5-5f2f-425c-8d0a-821eb78dea41" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240527T084005Z:ffb191f5-5f2f-425c-8d0a-821eb78dea41" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: A2C833068EDF42289C1C88B533ECA68F Ref B: MAA201060515029 Ref C: 2024-05-27T08:39:58Z" ], + "Date": [ "Mon, 27 May 2024 08:40:05 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "87407" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"value\":[{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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\":\"\u003cExecuteOperationsAsync\u003ed__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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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\":\"apoorvasingh@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-03-27T10:20:10.4254802Z\"},\"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/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/vip-rg/providers/NewRelic.Observability/monitors/liftr-nr-ci-resource62107\",\"name\":\"liftr-nr-ci-resource62107\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{\"TestMethod\":\"\u003cExecuteOperationsAsync\u003ed__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/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/vip-rg/providers/NewRelic.Observability/monitors/liftr-nr-ci-resource14807\",\"name\":\"liftr-nr-ci-resource14807\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{\"TestMethod\":\"\u003cExecuteOperationsAsync\u003ed__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/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/vip-rg/providers/NewRelic.Observability/monitors/liftr-nr-ci-resource41154\",\"name\":\"liftr-nr-ci-resource41154\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{\"TestMethod\":\"\u003cExecuteOperationsAsync\u003ed__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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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\":\"\u003cExecuteOperationsAsync\u003ed__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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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\":\"\u003cExecuteOperationsAsync\u003ed__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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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\":\"\u003cExecuteOperationsAsync\u003ed__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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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\":\"apoorvasingh@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-04-08T06:46:30.034905Z\"},\"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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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\":\"\u003cCreateNewExecuteAsync\u003ed__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\":\"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\"},\"saaSAzureSubscriptionStatus\":null,\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/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\":\"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\"},\"saaSAzureSubscriptionStatus\":null,\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/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\":\"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\"},\"saaSAzureSubscriptionStatus\":null,\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/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\":\"Failed\",\"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/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/cli_test_new_relic_monitora6q5e6cdlxmdl4scwllrgpopthu6smrqgmxh243blpq3m236q/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:52:42.2106103Z\",\"lastModifiedBy\":\"dipeshbhakat@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-03-26T11:52:42.2106103Z\"},\"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\"},\"saaSAzureSubscriptionStatus\":null,\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/cloudtest-nr-94698-rg-cuse/providers/NewRelic.Observability/monitors/liftr-nr-ci-resource56212cuse\",\"name\":\"liftr-nr-ci-resource56212cuse\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{\"TestMethod\":\"\u003cCreateNewExecuteAsync\u003ed__4\",\"TestClass\":\"Utils\"},\"systemData\":{\"createdBy\":\"6851f3c3-8c68-454f-bc0e-ef1b9bff0216\",\"createdByType\":\"Application\",\"createdAt\":\"2024-03-26T13:59:19.2853972Z\",\"lastModifiedBy\":\"6851f3c3-8c68-454f-bc0e-ef1b9bff0216\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2024-03-26T13:59:19.2853972Z\"},\"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/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/cloudtest-nr-86181-rg-cuse/providers/NewRelic.Observability/monitors/liftr-nr-ci-resource09206cuse\",\"name\":\"liftr-nr-ci-resource09206cuse\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{\"TestMethod\":\"\u003cCreateNewExecuteAsync\u003ed__4\",\"TestClass\":\"Utils\"},\"systemData\":{\"createdBy\":\"6851f3c3-8c68-454f-bc0e-ef1b9bff0216\",\"createdByType\":\"Application\",\"createdAt\":\"2024-03-27T14:10:55.5360131Z\",\"lastModifiedBy\":\"6851f3c3-8c68-454f-bc0e-ef1b9bff0216\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2024-03-27T14:10:55.5360131Z\"},\"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\"},\"saaSAzureSubscriptionStatus\":null,\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/Abhishek/providers/NewRelic.Observability/monitors/PortalSDK_Test\",\"name\":\"PortalSDK_Test\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"v-kumabhishe@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-03-28T04:54:17.8804521Z\",\"lastModifiedBy\":\"v-kumabhishe@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-03-28T04:54:17.8804521Z\"},\"identity\":{\"principalId\":\"55a093df-0dde-49c9-979d-14eaef558de8\",\"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\":\"Abhishek\",\"lastName\":\"Kumar (WIPRO LIMITED)\",\"emailAddress\":\"v-kumabhishe@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2024-03-28T04:53:37.593Z\"},\"saaSAzureSubscriptionStatus\":null,\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/naveena/providers/NewRelic.Observability/monitors/naveenars0328\",\"name\":\"naveenars0328\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"v-snaveena@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-03-28T06:23:55.2096837Z\",\"lastModifiedBy\":\"v-snaveena@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-03-28T06:23:55.2096837Z\"},\"identity\":{\"principalId\":\"dec0a21c-86f0-4bff-897e-441ef4f94d9f\",\"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\":\"Sambireddy\",\"lastName\":\"Naveena (WIPRO LIMITED)\",\"emailAddress\":\"v-snaveena@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2024-03-28T06:23:18.97Z\"},\"saaSAzureSubscriptionStatus\":null,\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/cloudtest-nr-97741-rg-cuse/providers/NewRelic.Observability/monitors/liftr-nr-ci-resource63119cuse\",\"name\":\"liftr-nr-ci-resource63119cuse\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{\"TestMethod\":\"\u003cCreateNewExecuteAsync\u003ed__4\",\"TestClass\":\"Utils\"},\"systemData\":{\"createdBy\":\"6851f3c3-8c68-454f-bc0e-ef1b9bff0216\",\"createdByType\":\"Application\",\"createdAt\":\"2024-03-28T06:28:33.5248717Z\",\"lastModifiedBy\":\"6851f3c3-8c68-454f-bc0e-ef1b9bff0216\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2024-03-28T06:28:33.5248717Z\"},\"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\"},\"saaSAzureSubscriptionStatus\":null,\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/cloudtest-nr-11261-rg-cuse/providers/NewRelic.Observability/monitors/liftr-nr-ci-resource52846cuse\",\"name\":\"liftr-nr-ci-resource52846cuse\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{\"TestMethod\":\"\u003cCreateNewExecuteAsync\u003ed__4\",\"TestClass\":\"Utils\"},\"systemData\":{\"createdBy\":\"6851f3c3-8c68-454f-bc0e-ef1b9bff0216\",\"createdByType\":\"Application\",\"createdAt\":\"2024-05-10T07:22:15.8124425Z\",\"lastModifiedBy\":\"6851f3c3-8c68-454f-bc0e-ef1b9bff0216\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2024-05-10T07:22:15.8124425Z\"},\"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/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/vip-rg/providers/NewRelic.Observability/monitors/nrTestCanary\",\"name\":\"nrTestCanary\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"viprayjain@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-05-21T08:22:16.8966772Z\",\"lastModifiedBy\":\"viprayjain@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-05-21T08:22:16.8966772Z\"},\"identity\":{\"principalId\":\"86bfad2c-8471-4c1d-8bb8-6c05ac41b901\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"12192478\"},\"organizationInfo\":{\"organizationId\":\"bd5456d9-c7c2-4a38-848f-b4fe68613468\"}},\"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-05-21T08:21:49.205Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/vip-rg/providers/NewRelic.Observability/monitors/nrTestCanary2\",\"name\":\"nrTestCanary2\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"viprayjain@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-05-21T09:20:58.8185843Z\",\"lastModifiedBy\":\"viprayjain@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-05-21T09:20:58.8185843Z\"},\"identity\":{\"principalId\":\"f843994b-f34c-44eb-8673-64787186f500\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"12192480\"},\"organizationInfo\":{\"organizationId\":\"9dfe7ba4-b896-4d2a-8e32-f40a7206e6ef\"}},\"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-05-21T09:20:29.938Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/vip-rg/providers/NewRelic.Observability/monitors/testInCanary\",\"name\":\"testInCanary\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"viprayjain@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-05-22T08:15:14.2794281Z\",\"lastModifiedBy\":\"f73fdc11-ed25-4c35-a93a-f525ab3fd649\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2024-05-22T10:18:40.9024439Z\"},\"identity\":{\"principalId\":\"0d923bb9-b691-4499-af2f-8ddb19613d87\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Disabled\",\"marketplaceSubscriptionStatus\":\"Unsubscribed\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"12192526\"},\"organizationInfo\":{\"organizationId\":\"0af66dcf-7793-45a1-8b27-3cffec57d72d\"}},\"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-05-22T08:14:41.623Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/vip-rg/providers/NewRelic.Observability/monitors/UnsunscribeTestCanaryOne\",\"name\":\"UnsunscribeTestCanaryOne\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"viprayjain@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-05-24T09:07:14.57076Z\",\"lastModifiedBy\":\"f73fdc11-ed25-4c35-a93a-f525ab3fd649\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2024-05-24T09:39:46.9981836Z\"},\"identity\":{\"principalId\":\"e012cd2c-09d4-47ff-a042-5eae554b244b\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Disabled\",\"marketplaceSubscriptionStatus\":\"Unsubscribed\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"12192979\"},\"organizationInfo\":{\"organizationId\":\"6cbdabe9-73bf-462c-a842-65c8578090e9\"}},\"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-05-24T09:06:30.342Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/apoorva_rg/providers/NewRelic.Observability/monitors/test-geneva-actions-2\",\"name\":\"test-geneva-actions-2\",\"type\":\"newrelic.observability/monitors\",\"location\":\"eastus2euap\",\"tags\":{},\"systemData\":{\"createdBy\":\"apoorvasingh@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-05-01T10:36:22.4230016Z\",\"lastModifiedBy\":\"apoorvasingh@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-05-01T10:36:22.4230016Z\"},\"identity\":{\"principalId\":\"6c4ce9a2-4f2f-44a7-82a0-cea3f48ab767\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"12150063\"},\"organizationInfo\":{\"organizationId\":\"1a456933-6d3e-4c8f-84d7-2fa0704bbde4\"}},\"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-05-01T10:35:49.264Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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\":\"\u003cExecuteOperationsAsync\u003ed__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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/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}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/Abhishetk_RG/providers/NewRelic.Observability/monitors/TestPD2803\",\"name\":\"TestPD2803\",\"type\":\"newrelic.observability/monitors\",\"location\":\"eastus2euap\",\"tags\":{},\"systemData\":{\"createdBy\":\"v-kumabhishe@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-03-28T05:23:06.2952346Z\",\"lastModifiedBy\":\"v-kumabhishe@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-03-28T05:23:06.2952346Z\"},\"identity\":{\"principalId\":\"34d17b6d-5e0c-4fb0-86a3-f11454e8ab19\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11999111\"},\"organizationInfo\":{\"organizationId\":\"87f94203-65fb-4c6a-913f-260608d6a7d2\"}},\"userInfo\":{\"firstName\":\"Abhishek\",\"lastName\":\"Kumar (WIPRO LIMITED)\",\"emailAddress\":\"v-kumabhishe@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2024-03-28T05:22:29.524Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/Abhishek/providers/NewRelic.Observability/monitors/P0_Test_EUS2E\",\"name\":\"P0_Test_EUS2E\",\"type\":\"newrelic.observability/monitors\",\"location\":\"eastus2euap\",\"tags\":{},\"systemData\":{\"createdBy\":\"v-kumabhishe@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-04-11T04:37:46.4129884Z\",\"lastModifiedBy\":\"v-kumabhishe@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-04-11T04:37:46.4129884Z\"},\"identity\":{\"principalId\":\"3b653468-386a-4130-ba3b-a802f1ff6aad\",\"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\":\"Abhishek\",\"lastName\":\"Kumar (WIPRO LIMITED)\",\"emailAddress\":\"v-kumabhishe@microsoft.com\",\"phoneNumber\":\"4257050556\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2024-04-11T04:37:13.54Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/vip-rg/providers/NewRelic.Observability/monitors/nrTestCanary3\",\"name\":\"nrTestCanary3\",\"type\":\"newrelic.observability/monitors\",\"location\":\"eastus2euap\",\"tags\":{},\"systemData\":{\"createdBy\":\"viprayjain@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-05-21T09:41:14.2021734Z\",\"lastModifiedBy\":\"viprayjain@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-05-21T09:41:14.2021734Z\"},\"identity\":{\"principalId\":\"7e694386-9fe9-41b8-bf8e-6c970c564adc\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"12192277\"},\"organizationInfo\":{\"organizationId\":\"628d3b34-1fde-47e7-9784-cb260c8ccbc6\"}},\"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-05-21T09:40:44.027Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}}],\"nextLink\":\"https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/monitors?api-version=2024-01-01\u0026%24skiptoken=zY9LagMxEETvorU1khVjkYEQZpFdnIDtHKBbbsbNWNLQkicfk7tHJJcI1KooHvVuKtFHfeY0FdXf1NNwOL4dVK%2fOtc6lNyZCgpEipdrB11WoCzmacsUShOfKORXjvAtuG1B767Z6g3de4%2freah%2fQowOkgNbMkhc%2bkRTzQu97unDoXrGQLIB84fppYk5cs5RHmFkvbdjYD866jbbrFvW9UiBxGEehESqdjnmi1I4O%2b51a%2fUrsQCaSVv1J9P9P4Qc%3d\"}", + "isContentBase64": false + } + }, + "Get-AzNewRelicMonitor+[NoContext]+MonitorListSub+$GET+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/monitors?api-version=2024-01-01\u0026%24skiptoken=zY9LagMxEETvorU1khVjkYEQZpFdnIDtHKBbbsbNWNLQkicfk7tHJJcI1KooHvVuKtFHfeY0FdXf1NNwOL4dVK%2fOtc6lNyZCgpEipdrB11WoCzmacsUShOfKORXjvAtuG1B767Z6g3de4%2freah%2fQowOkgNbMkhc%2bkRTzQu97unDoXrGQLIB84fppYk5cs5RHmFkvbdjYD866jbbrFvW9UiBxGEehESqdjnmi1I4O%2b51a%2fUrsQCaSVv1J9P9P4Qc%3d+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/monitors?api-version=2024-01-01\u0026%24skiptoken=zY9LagMxEETvorU1khVjkYEQZpFdnIDtHKBbbsbNWNLQkicfk7tHJJcI1KooHvVuKtFHfeY0FdXf1NNwOL4dVK%2fOtc6lNyZCgpEipdrB11WoCzmacsUShOfKORXjvAtuG1B767Z6g3de4%2freah%2fQowOkgNbMkhc%2bkRTzQu97unDoXrGQLIB84fppYk5cs5RHmFkvbdjYD866jbbrFvW9UiBxGEehESqdjnmi1I4O%2b51a%2fUrsQCaSVv1J9P9P4Qc%3d", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "02bbc5c0-ae96-401b-a96c-04a4ba3e2658" ], + "CommandName": [ "Get-AzNewRelicMonitor" ], + "FullCommandName": [ "Get-AzNewRelicMonitor_List" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.NewRelic/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 502, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-failure-cause": [ "service" ], + "x-ms-request-id": [ "174bbdd8-50f2-43fc-a4a5-6c6c8e281024" ], + "x-ms-correlation-request-id": [ "174bbdd8-50f2-43fc-a4a5-6c6c8e281024" ], + "x-ms-routing-request-id": [ "MALAYSIASOUTH:20240527T084012Z:174bbdd8-50f2-43fc-a4a5-6c6c8e281024" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Content-Type-Options": [ "nosniff" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: F48CA889ABEA4CEE94C476D43E52978C Ref B: MAA201060515053 Ref C: 2024-05-27T08:40:10Z" ], + "Date": [ "Mon, 27 May 2024 08:40:11 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "147" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"error\":{\"code\":\"ProviderError\",\"message\":\"Resource provider \u0027NewRelic.Observability\u0027 failed to return collection response for type \u0027monitors\u0027.\"}}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitor.Tests.ps1 b/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitor.Tests.ps1 index 49a20587dfb3..deddeefc272c 100644 --- a/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitor.Tests.ps1 +++ b/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitor.Tests.ps1 @@ -14,17 +14,12 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzNewRelicMonitor')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzNewRelicMonitor' { - It 'List' -skip { - { throw [System.NotImplementedException] } | Should -Not -Throw - } - - It 'Get' -skip { - { throw [System.NotImplementedException] } | Should -Not -Throw - } - - It 'List1' -skip { - { throw [System.NotImplementedException] } | Should -Not -Throw +Describe 'Get-AzNewRelicMonitor' { #Scenario Test + It 'MonitorListSub' -skip { + { + $result = Get-AzNewRelicMonitor + $result.Count | Should -BeGreaterThan 5 + } | Should -Not -Throw } It 'GetViaIdentity' -skip { diff --git a/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitorLinkedResource.Tests.ps1 b/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitorLinkedResource.Tests.ps1 new file mode 100644 index 000000000000..4b9cf8ad4cfa --- /dev/null +++ b/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitorLinkedResource.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzNewRelicMonitorLinkedResource')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzNewRelicMonitorLinkedResource.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzNewRelicMonitorLinkedResource' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitorMetricRule.Tests.ps1 b/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitorMetricRule.Tests.ps1 index 41b70d96229a..72f6ec657161 100644 --- a/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitorMetricRule.Tests.ps1 +++ b/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitorMetricRule.Tests.ps1 @@ -14,8 +14,12 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzNewRelicMonitorMetricRu . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzNewRelicMonitorMetricRule' { - It 'GetExpanded' -skip { +Describe 'Get-AzNewRelicMonitorMetricRule' { #Scenario Test + It 'GetViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaJsonFilePath' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } diff --git a/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitorMetricStatus.Tests.ps1 b/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitorMetricStatus.Tests.ps1 index f0056da7fba0..8aab0c7f9616 100644 --- a/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitorMetricStatus.Tests.ps1 +++ b/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitorMetricStatus.Tests.ps1 @@ -14,8 +14,12 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzNewRelicMonitorMetricSt . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzNewRelicMonitorMetricStatus' { - It 'GetExpanded' -skip { +Describe 'Get-AzNewRelicMonitorMetricStatus' { #Scenario Test + It 'GetViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaJsonFilePath' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } diff --git a/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitorMonitoredResource.Tests.ps1 b/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitorMonitoredResource.Tests.ps1 index b375e7e132bb..527f8994ec04 100644 --- a/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitorMonitoredResource.Tests.ps1 +++ b/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitorMonitoredResource.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzNewRelicMonitorMonitore . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzNewRelicMonitorMonitoredResource' { +Describe 'Get-AzNewRelicMonitorMonitoredResource' { #Scenario Test It 'List' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } diff --git a/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitorTagRule.Tests.ps1 b/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitorTagRule.Tests.ps1 index 91d751bc2e2a..381bb6168944 100644 --- a/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitorTagRule.Tests.ps1 +++ b/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitorTagRule.Tests.ps1 @@ -14,12 +14,8 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzNewRelicMonitorTagRule' . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzNewRelicMonitorTagRule' { - It 'List' -skip { - { throw [System.NotImplementedException] } | Should -Not -Throw - } - - It 'Get' -skip { +Describe 'Get-AzNewRelicMonitorTagRule' { #Scenario Test + It 'GetViaIdentityMonitor' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } diff --git a/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitoredAppService.Tests.ps1 b/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitoredAppService.Tests.ps1 new file mode 100644 index 000000000000..e83359f0cddd --- /dev/null +++ b/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitoredAppService.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzNewRelicMonitoredAppService')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzNewRelicMonitoredAppService.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Get-AzNewRelicMonitoredAppService' { #Scenario Test + It 'ListViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'ListViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitorHost.Tests.ps1 b/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitoredHost.Tests.ps1 similarity index 81% rename from src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitorHost.Tests.ps1 rename to src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitoredHost.Tests.ps1 index ba37e1754ae6..6e6184993a6b 100644 --- a/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitorHost.Tests.ps1 +++ b/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitoredHost.Tests.ps1 @@ -1,11 +1,11 @@ -if(($null -eq $TestName) -or ($TestName -contains 'Get-AzNewRelicMonitorHost')) +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzNewRelicMonitoredHost')) { $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' if (-Not (Test-Path -Path $loadEnvPath)) { $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' } . ($loadEnvPath) - $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzNewRelicMonitorHost.Recording.json' + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzNewRelicMonitoredHost.Recording.json' $currentPath = $PSScriptRoot while(-not $mockingPath) { $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File @@ -14,12 +14,12 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzNewRelicMonitorHost')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzNewRelicMonitorHost' { - It 'ListExpanded' -skip { +Describe 'Get-AzNewRelicMonitoredHost' { #Scenario Test + It 'ListViaJsonFilePath' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } - It 'List' -skip { + It 'ListViaJsonString' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } } diff --git a/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitorAppService.Tests.ps1 b/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitoredSubscription.Tests.ps1 similarity index 82% rename from src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitorAppService.Tests.ps1 rename to src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitoredSubscription.Tests.ps1 index 2368d997d4fe..3f9e5de94583 100644 --- a/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitorAppService.Tests.ps1 +++ b/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicMonitoredSubscription.Tests.ps1 @@ -1,11 +1,11 @@ -if(($null -eq $TestName) -or ($TestName -contains 'Get-AzNewRelicMonitorAppService')) +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzNewRelicMonitoredSubscription')) { $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' if (-Not (Test-Path -Path $loadEnvPath)) { $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' } . ($loadEnvPath) - $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzNewRelicMonitorAppService.Recording.json' + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzNewRelicMonitoredSubscription.Recording.json' $currentPath = $PSScriptRoot while(-not $mockingPath) { $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File @@ -14,12 +14,12 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzNewRelicMonitorAppServi . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzNewRelicMonitorAppService' { - It 'ListExpanded' -skip { +Describe 'Get-AzNewRelicMonitoredSubscription' { + It 'Get' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } - It 'List' -skip { + It 'GetViaIdentity' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } } diff --git a/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicOrganization.Tests.ps1 b/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicOrganization.Tests.ps1 index 26580a75fc14..27c0383de121 100644 --- a/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicOrganization.Tests.ps1 +++ b/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicOrganization.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzNewRelicOrganization')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzNewRelicOrganization' { +Describe 'Get-AzNewRelicOrganization' { #Scenario Test It 'List' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } diff --git a/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicPlan.Tests.ps1 b/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicPlan.Tests.ps1 index 851adf5b52fa..305a33ef2b64 100644 --- a/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicPlan.Tests.ps1 +++ b/src/NewRelic/NewRelic.Autorest/test/Get-AzNewRelicPlan.Tests.ps1 @@ -14,7 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Get-AzNewRelicPlan')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Get-AzNewRelicPlan' { +Describe 'Get-AzNewRelicPlan' { #Scenario Test It 'List' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } diff --git a/src/NewRelic/NewRelic.Autorest/test/Invoke-AzNewRelicHostMonitor.Tests.ps1 b/src/NewRelic/NewRelic.Autorest/test/Invoke-AzNewRelicHostMonitor.Tests.ps1 index 71e0aacce645..9b08cf5887c6 100644 --- a/src/NewRelic/NewRelic.Autorest/test/Invoke-AzNewRelicHostMonitor.Tests.ps1 +++ b/src/NewRelic/NewRelic.Autorest/test/Invoke-AzNewRelicHostMonitor.Tests.ps1 @@ -14,11 +14,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Invoke-AzNewRelicHostMonitor' . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Invoke-AzNewRelicHostMonitor' { - It 'Host' -skip { - { throw [System.NotImplementedException] } | Should -Not -Throw - } - +Describe 'Invoke-AzNewRelicHostMonitor' { #Scenario Test It 'HostViaIdentity' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } diff --git a/src/NewRelic/NewRelic.Autorest/test/New-AzNewRelicFilteringTagObject.Tests.ps1 b/src/NewRelic/NewRelic.Autorest/test/New-AzNewRelicFilteringTagObject.Tests.ps1 new file mode 100644 index 000000000000..3f2b4b59c574 --- /dev/null +++ b/src/NewRelic/NewRelic.Autorest/test/New-AzNewRelicFilteringTagObject.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzNewRelicFilteringTagObject')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzNewRelicFilteringTagObject.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-AzNewRelicFilteringTagObject' { #Object + It '__AllParameterSets' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/NewRelic/NewRelic.Autorest/test/New-AzNewRelicMonitor.Tests.ps1 b/src/NewRelic/NewRelic.Autorest/test/New-AzNewRelicMonitor.Tests.ps1 index 12f80b291809..183336674778 100644 --- a/src/NewRelic/NewRelic.Autorest/test/New-AzNewRelicMonitor.Tests.ps1 +++ b/src/NewRelic/NewRelic.Autorest/test/New-AzNewRelicMonitor.Tests.ps1 @@ -14,8 +14,22 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzNewRelicMonitor')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzNewRelicMonitor' { - It 'CreateExpanded' -skip { +Describe 'New-AzNewRelicMonitor' -Tag 'LiveOnly' { + It 'CreateExpanded' { + { + New-AzResourceGroup -Name $env.resourceGroup -Location $env.region # $rgName = $rg.ResourceGroupName + + $monitor = New-AzNewRelicMonitor -Name $env.NewMonitorName -ResourceGroupName $env.resourceGroup -Location $env.region -PlanDataPlanDetail $env.planDetails -PlanDataBillingCycle $env.billingCycle -PlanDataUsageType $env.usageType -PlanDataEffectiveDate (Get-Date -DisplayHint DateTime) -UserInfoEmailAddress $env.testerEmail -UserInfoFirstName $env.testerFirstName -UserInfoLastName $env.testerLastName + $monitor.Name | Should -Be $env.NewMonitorName + $monitor.ResourceGroup | Should -Be $env.resourceGroup + } | Should -Not -Throw + } + + It 'CreateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaJsonString' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } } diff --git a/src/NewRelic/NewRelic.Autorest/test/New-AzNewRelicMonitorTagRule.Tests.ps1 b/src/NewRelic/NewRelic.Autorest/test/New-AzNewRelicMonitorTagRule.Tests.ps1 index 3ee504a1245a..244a6e058160 100644 --- a/src/NewRelic/NewRelic.Autorest/test/New-AzNewRelicMonitorTagRule.Tests.ps1 +++ b/src/NewRelic/NewRelic.Autorest/test/New-AzNewRelicMonitorTagRule.Tests.ps1 @@ -14,8 +14,12 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzNewRelicMonitorTagRule' . ($mockingPath | Select-Object -First 1).FullName } -Describe 'New-AzNewRelicMonitorTagRule' { - It 'CreateExpanded' -skip { +Describe 'New-AzNewRelicMonitorTagRule' { #Scenario Test + It 'CreateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaJsonString' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } } diff --git a/src/NewRelic/NewRelic.Autorest/test/New-AzNewRelicMonitoredSubscription.Tests.ps1 b/src/NewRelic/NewRelic.Autorest/test/New-AzNewRelicMonitoredSubscription.Tests.ps1 new file mode 100644 index 000000000000..9cbb4fb6b456 --- /dev/null +++ b/src/NewRelic/NewRelic.Autorest/test/New-AzNewRelicMonitoredSubscription.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzNewRelicMonitoredSubscription')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzNewRelicMonitoredSubscription.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-AzNewRelicMonitoredSubscription' { + It 'CreateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'CreateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/NewRelic/NewRelic.Autorest/test/New-AzNewRelicMonitoredSubscriptionObject.Tests.ps1 b/src/NewRelic/NewRelic.Autorest/test/New-AzNewRelicMonitoredSubscriptionObject.Tests.ps1 new file mode 100644 index 000000000000..e610870ec5bb --- /dev/null +++ b/src/NewRelic/NewRelic.Autorest/test/New-AzNewRelicMonitoredSubscriptionObject.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzNewRelicMonitoredSubscriptionObject')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzNewRelicMonitoredSubscriptionObject.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-AzNewRelicMonitoredSubscriptionObject' { #Object + It '__AllParameterSets' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/NewRelic/NewRelic.Autorest/test/NewRelicObservability.Recording.json b/src/NewRelic/NewRelic.Autorest/test/NewRelicObservability.Recording.json index 7a060783d228..eb7b4029d314 100644 --- a/src/NewRelic/NewRelic.Autorest/test/NewRelicObservability.Recording.json +++ b/src/NewRelic/NewRelic.Autorest/test/NewRelicObservability.Recording.json @@ -1,173 +1,8 @@ { - "NewRelicObservability+[NoContext]+MonitorCreateExpanded+$PUT+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01?api-version=2022-07-01+1": { + "NewRelicObservability+[NoContext]+MonitorTagRuleCreateExpanded+$PUT+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/tagRules/default?api-version=2024-01-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01?api-version=2022-07-01", - "Content": "{\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"userInfo\": {\r\n \"firstName\": \"Joyer\",\r\n \"lastName\": \"Jin\",\r\n \"emailAddress\": \"v-jiaji@microsoft.com\"\r\n },\r\n \"planData\": {\r\n \"usageType\": \"PAYG\",\r\n \"billingCycle\": \"MONTHLY\",\r\n \"planDetails\": \"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\r\n \"effectiveDate\": \"2023-07-04T10:39:27.0785029+08:00\"\r\n }\r\n }\r\n}", - "isContentBase64": false, - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "454" ] - } - }, - "Response": { - "StatusCode": 201, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"700038c4-0000-0100-0000-64a3866a0000\"" ], - "Location": [ "https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/29fd2130-fab3-44a3-ac4e-3ed28586ad22*5B35BF236CB20EBB1F5715CFE9DACBBDE54DB30CA4D4003540E6DE9871D332EE?api-version=2022-07-01" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-providerhub-traffic": [ "True" ], - "Request-Context": [ "appId=cid-v1:99558bd9-e2af-4edd-b8b9-dfc879de6669" ], - "mise-correlation-id": [ "943fff10-7a03-4818-b8bd-136436a27260" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/29fd2130-fab3-44a3-ac4e-3ed28586ad22*5B35BF236CB20EBB1F5715CFE9DACBBDE54DB30CA4D4003540E6DE9871D332EE?api-version=2022-07-01" ], - "x-ms-request-id": [ "29fd2130-fab3-44a3-ac4e-3ed28586ad22" ], - "x-ms-correlation-request-id": [ "d78a7005-af60-40ac-bda4-56ab95e4c37b" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20230704T023939Z:d78a7005-af60-40ac-bda4-56ab95e4c37b" ], - "Date": [ "Tue, 04 Jul 2023 02:39:39 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "1106" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01\",\"name\":\"test-01\",\"type\":\"newrelic.observability/monitors\",\"location\":\"eastus\",\"systemData\":{\"createdBy\":\"v-jiaji@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-07-04T02:39:33.0098815Z\",\"lastModifiedBy\":\"v-jiaji@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-07-04T02:39:33.0098815Z\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Accepted\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"userId\":null,\"accountInfo\":null,\"organizationInfo\":null},\"userInfo\":{\"firstName\":\"Joyer\",\"lastName\":\"Jin\",\"emailAddress\":\"v-jiaji@microsoft.com\",\"phoneNumber\":null},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-07-04T02:39:27.0785029+00:00\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}}", - "isContentBase64": false - } - }, - "NewRelicObservability+[NoContext]+MonitorCreateExpanded+$GET+https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/29fd2130-fab3-44a3-ac4e-3ed28586ad22*5B35BF236CB20EBB1F5715CFE9DACBBDE54DB30CA4D4003540E6DE9871D332EE?api-version=2022-07-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/29fd2130-fab3-44a3-ac4e-3ed28586ad22*5B35BF236CB20EBB1F5715CFE9DACBBDE54DB30CA4D4003540E6DE9871D332EE?api-version=2022-07-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "fcf26269-bfae-4a9b-9c49-26307038cdc6" ], - "CommandName": [ "New-AzNewRelicMonitor" ], - "FullCommandName": [ "New-AzNewRelicMonitor_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.5", "Az.NewRelic/0.1.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"f901e614-0000-0100-0000-64a3866a0000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11999" ], - "x-ms-request-id": [ "71086a8f-99ba-48a2-8cd9-35add3527f86" ], - "x-ms-correlation-request-id": [ "61dc6ce7-0b21-4137-85d2-af80ff8d1b83" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20230704T024010Z:61dc6ce7-0b21-4137-85d2-af80ff8d1b83" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 04 Jul 2023 02:40:09 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "493" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/29fd2130-fab3-44a3-ac4e-3ed28586ad22*5B35BF236CB20EBB1F5715CFE9DACBBDE54DB30CA4D4003540E6DE9871D332EE\",\"name\":\"29fd2130-fab3-44a3-ac4e-3ed28586ad22*5B35BF236CB20EBB1F5715CFE9DACBBDE54DB30CA4D4003540E6DE9871D332EE\",\"resourceId\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01\",\"status\":\"Accepted\",\"startTime\":\"2023-07-04T02:39:38.3926162Z\"}", - "isContentBase64": false - } - }, - "NewRelicObservability+[NoContext]+MonitorCreateExpanded+$GET+https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/29fd2130-fab3-44a3-ac4e-3ed28586ad22*5B35BF236CB20EBB1F5715CFE9DACBBDE54DB30CA4D4003540E6DE9871D332EE?api-version=2022-07-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/29fd2130-fab3-44a3-ac4e-3ed28586ad22*5B35BF236CB20EBB1F5715CFE9DACBBDE54DB30CA4D4003540E6DE9871D332EE?api-version=2022-07-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "fcf26269-bfae-4a9b-9c49-26307038cdc6" ], - "CommandName": [ "New-AzNewRelicMonitor" ], - "FullCommandName": [ "New-AzNewRelicMonitor_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.5", "Az.NewRelic/0.1.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"f9016417-0000-0100-0000-64a386920000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11998" ], - "x-ms-request-id": [ "4a17465d-8c97-4519-a6f3-ce34c4b22a0f" ], - "x-ms-correlation-request-id": [ "7bbbb01b-c8ee-4499-b230-c2f3479cbed9" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20230704T024040Z:7bbbb01b-c8ee-4499-b230-c2f3479cbed9" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 04 Jul 2023 02:40:40 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "564" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/29fd2130-fab3-44a3-ac4e-3ed28586ad22*5B35BF236CB20EBB1F5715CFE9DACBBDE54DB30CA4D4003540E6DE9871D332EE\",\"name\":\"29fd2130-fab3-44a3-ac4e-3ed28586ad22*5B35BF236CB20EBB1F5715CFE9DACBBDE54DB30CA4D4003540E6DE9871D332EE\",\"resourceId\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01\",\"status\":\"Succeeded\",\"startTime\":\"2023-07-04T02:39:38.3926162Z\",\"endTime\":\"2023-07-04T02:40:18.0006406Z\",\"error\":{},\"properties\":null}", - "isContentBase64": false - } - }, - "NewRelicObservability+[NoContext]+MonitorCreateExpanded+$GET+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01?api-version=2022-07-01+4": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01?api-version=2022-07-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "fcf26269-bfae-4a9b-9c49-26307038cdc6" ], - "CommandName": [ "New-AzNewRelicMonitor" ], - "FullCommandName": [ "New-AzNewRelicMonitor_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.5", "Az.NewRelic/0.1.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"70003ac4-0000-0100-0000-64a386920000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "f9cdfdec-06c5-4aa0-b551-75c79c18cc64" ], - "x-ms-correlation-request-id": [ "37b0546c-268a-4298-a429-507ca3bea242" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20230704T024041Z:37b0546c-268a-4298-a429-507ca3bea242" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 04 Jul 2023 02:40:41 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "1137" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01\",\"name\":\"test-01\",\"type\":\"newrelic.observability/monitors\",\"location\":\"eastus\",\"systemData\":{\"createdBy\":\"v-jiaji@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-07-04T02:39:33.0098815Z\",\"lastModifiedBy\":\"v-jiaji@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-07-04T02:39:33.0098815Z\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"4003694\"},\"organizationInfo\":{\"organizationId\":\"2ae82717-8d07-45e6-946f-6221e47687fb\"}},\"userInfo\":{\"firstName\":\"Joyer\",\"lastName\":\"Jin\",\"emailAddress\":\"v-jiaji@microsoft.com\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-07-04T02:39:27.078Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}}", - "isContentBase64": false - } - }, - "NewRelicObservability+[NoContext]+MonitorTagRuleCreateExpanded+$PUT+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01/tagRules/default?api-version=2022-07-01+1": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01/tagRules/default?api-version=2022-07-01", + "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/tagRules/default?api-version=2024-01-01", "Content": "{\r\n \"properties\": {\r\n \"logRules\": {\r\n \"sendAadLogs\": \"Enabled\",\r\n \"sendSubscriptionLogs\": \"Enabled\",\r\n \"sendActivityLogs\": \"Enabled\"\r\n },\r\n \"metricRules\": {\r\n \"sendMetrics\": \"Enabled\",\r\n \"userEmail\": \"v-jiaji@microsoft.com\"\r\n }\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -182,42 +17,45 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"76007725-0000-0100-0000-64a386ad0000\"" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "ETag": [ "\"0d00033a-0000-0100-0000-664f1a8a0000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], "Request-Context": [ "appId=cid-v1:99558bd9-e2af-4edd-b8b9-dfc879de6669" ], - "mise-correlation-id": [ "1e7a50e8-2cf0-4feb-a316-0023c9e34207" ], + "mise-correlation-id": [ "796061cd-bf35-4de6-835a-715aa2561eb8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-correlation-request-id": [ "5a64bcce-6434-4102-8b8f-23381c70a557" ], - "x-ms-client-request-id": [ "022ed586-83ff-4fca-946c-5c627856a9d0" ], - "x-ms-request-id": [ "1af427d5-72ca-4f99-84c6-049953f30b23" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20230704T024046Z:5a64bcce-6434-4102-8b8f-23381c70a557" ], - "Date": [ "Tue, 04 Jul 2023 02:40:45 GMT" ] + "x-ms-correlation-request-id": [ "0fbf3bfc-d785-4613-b314-0f2ea31ef2f8" ], + "x-ms-client-request-id": [ "881ad8b7-c645-4fd4-a4a5-52f9f5726cb5" ], + "x-ms-request-id": [ "c0b42689-31a7-4cce-b41d-d268a316b3ec" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240523T102930Z:0fbf3bfc-d785-4613-b314-0f2ea31ef2f8" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 4E90B85580CE43FCA23BA957196833D0 Ref B: MAA201060516031 Ref C: 2024-05-23T10:29:26Z" ], + "Date": [ "Thu, 23 May 2024 10:29:30 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "692" ], + "Content-Length": [ "707" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01/tagRules/default\",\"name\":\"default\",\"type\":\"newrelic.observability/monitors/tagrules\",\"systemData\":{\"createdBy\":\"v-jiaji@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-07-04T02:40:41.5577204Z\",\"lastModifiedBy\":\"v-jiaji@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-07-04T02:40:41.5577204Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"logRules\":{\"sendAadLogs\":\"Enabled\",\"sendSubscriptionLogs\":\"Enabled\",\"sendActivityLogs\":\"Enabled\",\"filteringTags\":[]},\"metricRules\":{\"sendMetrics\":\"Enabled\",\"filteringTags\":[],\"userEmail\":null}}}", + "Content": "{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/tagRules/default\",\"name\":\"default\",\"type\":\"newrelic.observability/monitors/tagrules\",\"systemData\":{\"createdBy\":\"v-jiaji@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-05-23T10:29:27.0521822Z\",\"lastModifiedBy\":\"v-jiaji@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-05-23T10:29:27.0521822Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"logRules\":{\"sendAadLogs\":\"Enabled\",\"sendSubscriptionLogs\":\"Enabled\",\"sendActivityLogs\":\"Enabled\",\"filteringTags\":[]},\"metricRules\":{\"sendMetrics\":\"Enabled\",\"filteringTags\":[],\"userEmail\":null}}}", "isContentBase64": false } }, - "NewRelicObservability+[NoContext]+MonitorTagRuleCreateExpanded+$GET+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01/tagRules/default?api-version=2022-07-01+2": { + "NewRelicObservability+[NoContext]+MonitorTagRuleCreateExpanded+$GET+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/tagRules/default?api-version=2024-01-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01/tagRules/default?api-version=2022-07-01", + "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/tagRules/default?api-version=2024-01-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "022ed586-83ff-4fca-946c-5c627856a9d0" ], + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "881ad8b7-c645-4fd4-a4a5-52f9f5726cb5" ], "CommandName": [ "New-AzNewRelicMonitorTagRule" ], "FullCommandName": [ "New-AzNewRelicMonitorTagRule_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.5", "Az.NewRelic/0.1.0" ] + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.NewRelic/0.1.0" ] }, "ContentHeaders": { } @@ -227,39 +65,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"76007725-0000-0100-0000-64a386ad0000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "ETag": [ "\"0d00033a-0000-0100-0000-664f1a8a0000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "528b86b8-db0d-4f95-8f6b-6b3145906fbd" ], - "x-ms-correlation-request-id": [ "533791cf-bd99-4253-b938-53cd28aba40f" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20230704T024116Z:533791cf-bd99-4253-b938-53cd28aba40f" ], + "x-ms-request-id": [ "f620f09f-a583-4b7b-ae10-41f2071ec1f2" ], + "x-ms-correlation-request-id": [ "f3eadb4a-5fcd-4576-8d34-9d2394e80f50" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240523T103001Z:f3eadb4a-5fcd-4576-8d34-9d2394e80f50" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 04 Jul 2023 02:41:15 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 53D4A237DAD74FD79C3ABCDD5B02D135 Ref B: MAA201060516031 Ref C: 2024-05-23T10:30:00Z" ], + "Date": [ "Thu, 23 May 2024 10:30:01 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "692" ], + "Content-Length": [ "707" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01/tagRules/default\",\"name\":\"default\",\"type\":\"newrelic.observability/monitors/tagrules\",\"systemData\":{\"createdBy\":\"v-jiaji@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-07-04T02:40:41.5577204Z\",\"lastModifiedBy\":\"v-jiaji@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-07-04T02:40:41.5577204Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"logRules\":{\"sendAadLogs\":\"Enabled\",\"sendSubscriptionLogs\":\"Enabled\",\"sendActivityLogs\":\"Enabled\",\"filteringTags\":[]},\"metricRules\":{\"sendMetrics\":\"Enabled\",\"filteringTags\":[],\"userEmail\":null}}}", + "Content": "{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/tagRules/default\",\"name\":\"default\",\"type\":\"newrelic.observability/monitors/tagrules\",\"systemData\":{\"createdBy\":\"v-jiaji@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-05-23T10:29:27.0521822Z\",\"lastModifiedBy\":\"v-jiaji@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-05-23T10:29:27.0521822Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"logRules\":{\"sendAadLogs\":\"Enabled\",\"sendSubscriptionLogs\":\"Enabled\",\"sendActivityLogs\":\"Enabled\",\"filteringTags\":[]},\"metricRules\":{\"sendMetrics\":\"Enabled\",\"filteringTags\":[],\"userEmail\":null}}}", "isContentBase64": false } }, - "NewRelicObservability+[NoContext]+MonitorTagRuleCreateExpanded+$GET+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01/tagRules/default?api-version=2022-07-01+3": { + "NewRelicObservability+[NoContext]+MonitorTagRuleCreateExpanded+$GET+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/tagRules/default?api-version=2024-01-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01/tagRules/default?api-version=2022-07-01", + "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/tagRules/default?api-version=2024-01-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "022ed586-83ff-4fca-946c-5c627856a9d0" ], + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "881ad8b7-c645-4fd4-a4a5-52f9f5726cb5" ], "CommandName": [ "New-AzNewRelicMonitorTagRule" ], "FullCommandName": [ "New-AzNewRelicMonitorTagRule_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.5", "Az.NewRelic/0.1.0" ] + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.NewRelic/0.1.0" ] }, "ContentHeaders": { } @@ -269,38 +110,41 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"76007725-0000-0100-0000-64a386ad0000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "ETag": [ "\"0d00033a-0000-0100-0000-664f1a8a0000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "1c93ac3c-540b-497b-8a65-1812dfdf3c6c" ], - "x-ms-correlation-request-id": [ "6c77a99a-6bd4-4142-9a0f-cc8321fd3756" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20230704T024117Z:6c77a99a-6bd4-4142-9a0f-cc8321fd3756" ], + "x-ms-request-id": [ "2279a6d9-be70-4cd2-ae26-dc728a3f108e" ], + "x-ms-correlation-request-id": [ "2f0dcac0-0167-415a-b3ef-a9de19048d17" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240523T103003Z:2f0dcac0-0167-415a-b3ef-a9de19048d17" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 04 Jul 2023 02:41:16 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 3D87F79352464D7CAF50350719CEC846 Ref B: MAA201060516031 Ref C: 2024-05-23T10:30:01Z" ], + "Date": [ "Thu, 23 May 2024 10:30:02 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "692" ], + "Content-Length": [ "707" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01/tagRules/default\",\"name\":\"default\",\"type\":\"newrelic.observability/monitors/tagrules\",\"systemData\":{\"createdBy\":\"v-jiaji@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-07-04T02:40:41.5577204Z\",\"lastModifiedBy\":\"v-jiaji@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-07-04T02:40:41.5577204Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"logRules\":{\"sendAadLogs\":\"Enabled\",\"sendSubscriptionLogs\":\"Enabled\",\"sendActivityLogs\":\"Enabled\",\"filteringTags\":[]},\"metricRules\":{\"sendMetrics\":\"Enabled\",\"filteringTags\":[],\"userEmail\":null}}}", + "Content": "{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/tagRules/default\",\"name\":\"default\",\"type\":\"newrelic.observability/monitors/tagrules\",\"systemData\":{\"createdBy\":\"v-jiaji@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-05-23T10:29:27.0521822Z\",\"lastModifiedBy\":\"v-jiaji@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-05-23T10:29:27.0521822Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"logRules\":{\"sendAadLogs\":\"Enabled\",\"sendSubscriptionLogs\":\"Enabled\",\"sendActivityLogs\":\"Enabled\",\"filteringTags\":[]},\"metricRules\":{\"sendMetrics\":\"Enabled\",\"filteringTags\":[],\"userEmail\":null}}}", "isContentBase64": false } }, - "NewRelicObservability+[NoContext]+MonitorTagRuleList+$GET+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01/tagRules?api-version=2022-07-01+1": { + "NewRelicObservability+[NoContext]+MonitorTagRuleList+$GET+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/tagRules?api-version=2024-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01/tagRules?api-version=2022-07-01", + "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/tagRules?api-version=2024-01-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "c044c3b6-d65b-44ce-af7d-cb48dc6e08cf" ], + "x-ms-unique-id": [ "6" ], + "x-ms-client-request-id": [ "e04d129c-0cda-49fa-8ad1-43ecbf22c628" ], "CommandName": [ "Get-AzNewRelicMonitorTagRule" ], "FullCommandName": [ "Get-AzNewRelicMonitorTagRule_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.5", "Az.NewRelic/0.1.0" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.NewRelic/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -311,78 +155,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "e2477dcd-0168-48cf-9171-297a759924c7" ], - "x-ms-correlation-request-id": [ "ee45ff19-2544-4d6a-a5cc-58bfd2f5c063" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20230704T024117Z:ee45ff19-2544-4d6a-a5cc-58bfd2f5c063" ], + "x-ms-request-id": [ "44defd44-9f10-418e-80e5-ad840199f692" ], + "x-ms-correlation-request-id": [ "191daaf8-ae1a-45ea-af07-98dc5c61f7c4" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240523T103004Z:191daaf8-ae1a-45ea-af07-98dc5c61f7c4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 04 Jul 2023 02:41:17 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 0C4C42757B9643939BB3A1A6F1874DB2 Ref B: MAA201060516031 Ref C: 2024-05-23T10:30:03Z" ], + "Date": [ "Thu, 23 May 2024 10:30:04 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "704" ], + "Content-Length": [ "719" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01/tagRules/default\",\"name\":\"default\",\"type\":\"newrelic.observability/monitors/tagrules\",\"systemData\":{\"createdBy\":\"v-jiaji@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-07-04T02:40:41.5577204Z\",\"lastModifiedBy\":\"v-jiaji@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-07-04T02:40:41.5577204Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"logRules\":{\"sendAadLogs\":\"Enabled\",\"sendSubscriptionLogs\":\"Enabled\",\"sendActivityLogs\":\"Enabled\",\"filteringTags\":[]},\"metricRules\":{\"sendMetrics\":\"Enabled\",\"filteringTags\":[],\"userEmail\":null}}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/tagRules/default\",\"name\":\"default\",\"type\":\"newrelic.observability/monitors/tagrules\",\"systemData\":{\"createdBy\":\"v-jiaji@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-05-23T10:29:27.0521822Z\",\"lastModifiedBy\":\"v-jiaji@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-05-23T10:29:27.0521822Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"logRules\":{\"sendAadLogs\":\"Enabled\",\"sendSubscriptionLogs\":\"Enabled\",\"sendActivityLogs\":\"Enabled\",\"filteringTags\":[]},\"metricRules\":{\"sendMetrics\":\"Enabled\",\"filteringTags\":[],\"userEmail\":null}}}]}", "isContentBase64": false } }, - "NewRelicObservability+[NoContext]+MonitorListSub+$GET+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/monitors?api-version=2022-07-01+1": { + "NewRelicObservability+[NoContext]+MonitorListGp+$GET+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors?api-version=2024-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/monitors?api-version=2022-07-01", + "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors?api-version=2024-01-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "71fafee3-8789-4e02-ae01-0e87bbb06131" ], - "CommandName": [ "Get-AzNewRelicMonitor" ], - "FullCommandName": [ "Get-AzNewRelicMonitor_List" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.5", "Az.NewRelic/0.1.0" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-original-request-ids": [ "c87e3d69-c5cf-4f54-8160-8af00b50d157", "e5ab4ed9-84f6-4cd0-bb9b-00483b92aa90", "d8d21936-3273-4508-9bdc-b1ce5aa8ccdd" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], - "x-ms-request-id": [ "bc15436a-e654-4875-b481-7ca1aebc5206" ], - "x-ms-correlation-request-id": [ "bc15436a-e654-4875-b481-7ca1aebc5206" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20230704T024119Z:bc15436a-e654-4875-b481-7ca1aebc5206" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 04 Jul 2023 02:41:18 GMT" ] - }, - "ContentHeaders": { - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ], - "Content-Length": [ "90567" ] - }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/dipesh_test/providers/NewRelic.Observability/monitors/dipesh_test_16_3_sb\",\"name\":\"dipesh_test_16_3_sb\",\"type\":\"newrelic.observability/monitors\",\"location\":\"eastus\",\"tags\":{},\"systemData\":{\"createdBy\":\"dipeshbhakat@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-06-16T06:26:11.4295321Z\",\"lastModifiedBy\":\"f73fdc11-ed25-4c35-a93a-f525ab3fd649\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-06-16T06:47:28.4938976Z\"},\"identity\":{\"principalId\":\"7b257014-f3ac-471d-9f4b-282c031949f6\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"NEWRELIC\",\"provisioningState\":\"Failed\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"3821452\"},\"organizationInfo\":{\"organizationId\":\"fdd04e7d-c6a6-4a08-ab2c-b5095e9c1297\"}},\"userInfo\":{\"firstName\":\"Dipesh\",\"lastName\":\"Bhakat\",\"emailAddress\":\"dipeshbhakat@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"effectiveDate\":\"2023-06-16T06:46:52.991Z\",\"usageType\":\"COMMITTED\",\"planDetails\":\"nr-privateofferplan03-upfront@TID5xd5yfrmr6no@PUBIDnewrelicinc-privateoffers.nr-privateoffers1\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/saurgupta_RG/providers/NewRelic.Observability/monitors/16_06_23_01\",\"name\":\"16_06_23_01\",\"type\":\"newrelic.observability/monitors\",\"location\":\"eastus\",\"tags\":{},\"systemData\":{\"createdBy\":\"saurgupta@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-06-16T07:55:28.702026Z\",\"lastModifiedBy\":\"saurgupta@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-06-16T07:55:28.702026Z\"},\"identity\":{\"principalId\":\"2471d8ff-16fd-4447-b91a-3d633479ec14\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"3980260\"},\"organizationInfo\":{\"organizationId\":\"d724ee97-7ed0-4d08-917b-0090481c72b4\"}},\"userInfo\":{\"firstName\":\"Saurabh\",\"lastName\":\"Gupta\",\"emailAddress\":\"saurgupta@microsoft.com\",\"phoneNumber\":\"4257050556\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-06-16T07:55:05.642Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testrg2/providers/NewRelic.Observability/monitors/test-new-relic\",\"name\":\"test-new-relic\",\"type\":\"newrelic.observability/monitors\",\"location\":\"eastus\",\"systemData\":{\"createdBy\":\"v-taoxuzeng@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-06-19T08:44:48.5556683Z\",\"lastModifiedBy\":\"v-taoxuzeng@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-06-19T08:44:48.5556683Z\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Failed\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"3983546\"},\"organizationInfo\":{\"organizationId\":\"28a63237-6e4d-4033-80be-486def47933c\"}},\"userInfo\":{\"firstName\":\"vdftzcggiref\",\"lastName\":\"bcsztgqovdlmzf\",\"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\":\"2022-10-25T13:14:33Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-03\",\"name\":\"test-03\",\"type\":\"newrelic.observability/monitors\",\"location\":\"eastus\",\"tags\":{},\"systemData\":{\"createdBy\":\"v-jiaji@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-06-28T09:28:40.7762554Z\",\"lastModifiedBy\":\"v-jiaji@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-06-28T09:28:40.7762554Z\"},\"identity\":{\"principalId\":\"1f686a8f-1ae1-4ba5-8bc4-8e615e300bb2\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"3996563\"},\"organizationInfo\":{\"organizationId\":\"9c5445c7-65e3-4bd5-8581-80c65584100f\"}},\"userInfo\":{\"firstName\":\"Joyer\",\"lastName\":\"Jin (Wicresoft North America Ltd)\",\"emailAddress\":\"v-jiaji@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelicpaygtestplan2@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-06-28T09:28:22.286Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/harsh-rg/providers/NewRelic.Observability/monitors/3006_WithOutLogs\",\"name\":\"3006_WithOutLogs\",\"type\":\"newrelic.observability/monitors\",\"location\":\"eastus\",\"tags\":{},\"systemData\":{\"createdBy\":\"harshkumar@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-06-30T09:25:02.0657299Z\",\"lastModifiedBy\":\"harshkumar@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-06-30T09:25:02.0657299Z\"},\"identity\":{\"principalId\":\"fe8861eb-2098-480a-91ad-bb412253f7d5\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"3999568\"},\"organizationInfo\":{\"organizationId\":\"b1c41cb2-8696-44fc-af10-b55839b4dd18\"}},\"userInfo\":{\"firstName\":\"Harsh\",\"lastName\":\"Kumar\",\"emailAddress\":\"harshkumar@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-06-30T09:24:38.364Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/saurgupta_RG/providers/NewRelic.Observability/monitors/saurgupta_30_06_23_05\",\"name\":\"saurgupta_30_06_23_05\",\"type\":\"newrelic.observability/monitors\",\"location\":\"eastus\",\"tags\":{},\"systemData\":{\"createdBy\":\"saurgupta@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-06-30T09:54:45.7558609Z\",\"lastModifiedBy\":\"saurgupta@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-06-30T09:54:45.7558609Z\"},\"identity\":{\"principalId\":\"6cdfb3b4-5c5a-400d-8f2c-85c2fefc7324\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"3999609\"},\"organizationInfo\":{\"organizationId\":\"df2a74c9-ea95-4875-af12-a1ee8ad22355\"}},\"userInfo\":{\"firstName\":\"Saurabh\",\"lastName\":\"Gupta\",\"emailAddress\":\"saurgupta@microsoft.com\",\"phoneNumber\":\"4257050556\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-06-30T09:54:19.353Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01\",\"name\":\"test-01\",\"type\":\"newrelic.observability/monitors\",\"location\":\"eastus\",\"systemData\":{\"createdBy\":\"v-jiaji@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-07-04T02:39:33.0098815Z\",\"lastModifiedBy\":\"v-jiaji@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-07-04T02:39:33.0098815Z\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"4003694\"},\"organizationInfo\":{\"organizationId\":\"2ae82717-8d07-45e6-946f-6221e47687fb\"}},\"userInfo\":{\"firstName\":\"Joyer\",\"lastName\":\"Jin\",\"emailAddress\":\"v-jiaji@microsoft.com\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-07-04T02:39:27.078Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/SDKTestNRRG-8597/providers/NewRelic.Observability/monitors/testNR-5868\",\"name\":\"testNR-5868\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"09a13a20-12be-4fda-a11e-a6895d6b321b\",\"createdByType\":\"Application\",\"createdAt\":\"2023-06-05T06:22:07.6920852Z\",\"lastModifiedBy\":\"09a13a20-12be-4fda-a11e-a6895d6b321b\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-06-05T06:22:07.6920852Z\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Failed\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11843582\"},\"organizationInfo\":{\"organizationId\":\"655abb32-8579-475f-ab87-e5981a722ee6\"}},\"userInfo\":{\"firstName\":\"vipray\",\"lastName\":\"jain\",\"emailAddress\":\"viprayjain@microsoft.com\",\"phoneNumber\":\"1234567890\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2022-09-28T07:12:30Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/SDKTestNRRG-2222/providers/NewRelic.Observability/monitors/testNR-6804\",\"name\":\"testNR-6804\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"09a13a20-12be-4fda-a11e-a6895d6b321b\",\"createdByType\":\"Application\",\"createdAt\":\"2023-06-05T06:25:37.420688Z\",\"lastModifiedBy\":\"09a13a20-12be-4fda-a11e-a6895d6b321b\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-06-05T06:25:37.420688Z\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Failed\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11843587\"},\"organizationInfo\":{\"organizationId\":\"78652fd8-7894-4295-8f93-da36926c834a\"}},\"userInfo\":{\"firstName\":\"vipray\",\"lastName\":\"jain\",\"emailAddress\":\"viprayjain@microsoft.com\",\"phoneNumber\":\"1234567890\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2022-09-28T07:12:30Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/harsh-rg/providers/NewRelic.Observability/monitors/Harsh_PostMan_0706_1\",\"name\":\"Harsh_PostMan_0706_1\",\"type\":\"newrelic.observability/monitors\",\"location\":\"Central US EUAP\",\"tags\":{\"Environment\":\"Canary\",\"CustomTag\":\"Harsh\"},\"systemData\":{\"createdBy\":\"harshkumar@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-06-09T11:24:46.443444Z\",\"lastModifiedBy\":\"harshkumar@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-06-09T11:24:46.443444Z\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Failed\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"userId\":null,\"accountInfo\":null,\"organizationInfo\":null},\"userInfo\":{\"firstName\":\"Harsh\",\"lastName\":\"Kumar\",\"emailAddress\":\"harshkumar@microsoft.com\",\"phoneNumber\":\"1234567890\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-05-09T13:14:33Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/harsh-rg/providers/NewRelic.Observability/monitors/FromPortal0906\",\"name\":\"FromPortal0906\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"harshkumar@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-06-09T12:44:44.6025114Z\",\"lastModifiedBy\":\"harshkumar@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-06-09T12:44:44.6025114Z\"},\"identity\":{\"principalId\":\"f33ebe4c-1833-467f-a590-819322ad7b54\",\"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\":\"Harsh\",\"lastName\":\"Kumar\",\"emailAddress\":\"harshkumar@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-06-09T12:44:20.914Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/harsh-rg/providers/NewRelic.Observability/monitors/Harsh_PostMan_0906_7pm\",\"name\":\"Harsh_PostMan_0906_7pm\",\"type\":\"newrelic.observability/monitors\",\"location\":\"Central US EUAP\",\"tags\":{\"Environment\":\"Canary\",\"CustomTag\":\"Harsh\"},\"systemData\":{\"createdBy\":\"harshkumar@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-06-09T13:26:54.3110889Z\",\"lastModifiedBy\":\"harshkumar@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-06-09T13:26:54.3110889Z\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Failed\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"userId\":null,\"accountInfo\":null,\"organizationInfo\":null},\"userInfo\":{\"firstName\":\"Harsh\",\"lastName\":\"Kumar\",\"emailAddress\":\"harshkumar@microsoft.com\",\"phoneNumber\":\"1234567890\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-05-09T13:14:33Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/harsh-rg/providers/NewRelic.Observability/monitors/0906_7pm_CUSEUAP\",\"name\":\"0906_7pm_CUSEUAP\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"harshkumar@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-06-09T13:29:55.2113598Z\",\"lastModifiedBy\":\"harshkumar@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-06-09T13:29:55.2113598Z\"},\"identity\":{\"principalId\":\"4f38cee9-9aa2-4049-99b4-3ee1f08d194c\",\"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\":\"Harsh\",\"lastName\":\"Kumar\",\"emailAddress\":\"harshkumar@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-06-09T13:29:29.513Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/harsh-rg/providers/NewRelic.Observability/monitors/CertificateDoesntHaveCNPrefix_CUSEUAP_0906_10pm\",\"name\":\"CertificateDoesntHaveCNPrefix_CUSEUAP_0906_10pm\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"harshkumar@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-06-09T16:51:53.6820618Z\",\"lastModifiedBy\":\"harshkumar@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-06-09T16:51:53.6820618Z\"},\"identity\":{\"principalId\":\"c43a1d4d-7310-4aae-a7c7-7fb216512d5a\",\"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\":\"Harsh\",\"lastName\":\"Kumar\",\"emailAddress\":\"harshkumar@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-06-09T16:51:32.155Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/harsh-rg/providers/NewRelic.Observability/monitors/1006_CUS_2am\",\"name\":\"1006_CUS_2am\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"harshkumar@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-06-09T20:25:23.0223306Z\",\"lastModifiedBy\":\"harshkumar@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-06-09T20:25:23.0223306Z\"},\"identity\":{\"principalId\":\"9a4201b3-0739-4379-aecc-898a09633f0b\",\"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\":\"Harsh\",\"lastName\":\"Kumar\",\"emailAddress\":\"harshkumar@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-06-09T20:24:59.876Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/harsh-rg/providers/NewRelic.Observability/monitors/CUS_1106\",\"name\":\"CUS_1106\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"harshkumar@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-06-11T12:29:58.4810597Z\",\"lastModifiedBy\":\"harshkumar@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-06-11T12:29:58.4810597Z\"},\"identity\":{\"principalId\":\"de9e2b8f-d78d-4dfb-b7b5-375e41f17d4a\",\"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\":\"Harsh\",\"lastName\":\"Kumar\",\"emailAddress\":\"harshkumar@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-06-11T12:29:36.785Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/harsh-rg/providers/NewRelic.Observability/monitors/Harsh_PostMan_1206\",\"name\":\"Harsh_PostMan_1206\",\"type\":\"newrelic.observability/monitors\",\"location\":\"Central US EUAP\",\"tags\":{\"Environment\":\"Canary\",\"CustomTag\":\"Harsh\"},\"systemData\":{\"createdBy\":\"harshkumar@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-06-12T11:53:46.7444095Z\",\"lastModifiedBy\":\"harshkumar@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-06-12T11:53:46.7444095Z\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11849090\"},\"organizationInfo\":{\"organizationId\":\"b7fdee17-24e9-4e9b-a818-785975a1a06a\"}},\"userInfo\":{\"firstName\":\"Harsh\",\"lastName\":\"Kumar\",\"emailAddress\":\"harshkumar@microsoft.com\",\"phoneNumber\":\"1234567890\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-05-09T13:14:33Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/harsh-rg/providers/NewRelic.Observability/monitors/CUS_1206_2\",\"name\":\"CUS_1206_2\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"harshkumar@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-06-12T11:58:07.2993474Z\",\"lastModifiedBy\":\"harshkumar@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-06-12T11:58:07.2993474Z\"},\"identity\":{\"principalId\":\"733c9088-d3ac-414d-b986-35eeac850fe6\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11849091\"},\"organizationInfo\":{\"organizationId\":\"7f1336d0-a830-46bf-a811-dcea7bae23b4\"}},\"userInfo\":{\"firstName\":\"Harsh\",\"lastName\":\"Kumar\",\"emailAddress\":\"harshkumar@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-06-12T11:57:41.756Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/harsh-rg/providers/NewRelic.Observability/monitors/1406_Develop_CUS\",\"name\":\"1406_Develop_CUS\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"harshkumar@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-06-14T08:57:58.3517504Z\",\"lastModifiedBy\":\"harshkumar@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-06-14T08:57:58.3517504Z\"},\"identity\":{\"principalId\":\"64fcb375-aa48-4868-bf05-a6b09ae41fe5\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11850474\"},\"organizationInfo\":{\"organizationId\":\"f8b1b903-c778-4632-9349-65b7cee008a4\"}},\"userInfo\":{\"firstName\":\"Harsh\",\"lastName\":\"Kumar\",\"emailAddress\":\"harshkumar@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-06-14T08:57:34.366Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/saurgupta_RG/providers/NewRelic.Observability/monitors/saurgupta_27_06_23_02\",\"name\":\"saurgupta_27_06_23_02\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"saurgupta@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-06-27T05:14:26.0831752Z\",\"lastModifiedBy\":\"saurgupta@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-06-27T05:14:26.0831752Z\"},\"identity\":{\"principalId\":\"5058cba5-74b7-409d-a79c-933d89d343b8\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11854213\"},\"organizationInfo\":{\"organizationId\":\"064e58a4-5215-4e8b-be02-dd88e3143e7e\"}},\"userInfo\":{\"firstName\":\"Saurabh\",\"lastName\":\"Gupta\",\"emailAddress\":\"saurgupta@microsoft.com\",\"phoneNumber\":\"4257050556\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-06-27T05:13:59.809Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/saurgupta_RG/providers/NewRelic.Observability/monitors/saurgupta_30_06_23_01\",\"name\":\"saurgupta_30_06_23_01\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"saurgupta@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-06-30T08:58:33.1310762Z\",\"lastModifiedBy\":\"saurgupta@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-06-30T08:58:33.1310762Z\"},\"identity\":{\"principalId\":\"0c3d6490-ca0a-46d2-8d58-346e5e18c1ca\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11854999\"},\"organizationInfo\":{\"organizationId\":\"2e3d6ae5-95f3-458f-aac5-f3534f470d98\"}},\"userInfo\":{\"firstName\":\"Saurabh\",\"lastName\":\"Gupta\",\"emailAddress\":\"saurgupta@microsoft.com\",\"phoneNumber\":\"4257050556\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-06-30T08:58:08.593Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/vip-rg/providers/NewRelic.Observability/monitors/vip-test-30Jun23-CEUAP-New-1\",\"name\":\"vip-test-30Jun23-CEUAP-New-1\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"viprayjain@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-06-30T08:59:51.3424701Z\",\"lastModifiedBy\":\"viprayjain@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-06-30T08:59:51.3424701Z\"},\"identity\":{\"principalId\":\"88ddff94-44e3-4280-a5a3-b50e63f9af1f\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11855000\"},\"organizationInfo\":{\"organizationId\":\"bde2643d-6d25-4359-b4e0-9a297eb49640\"}},\"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\":\"2023-06-30T08:59:28.096Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/harsh-rg/providers/NewRelic.Observability/monitors/3006_CUSEUAP\",\"name\":\"3006_CUSEUAP\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"harshkumar@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-06-30T09:02:13.0614085Z\",\"lastModifiedBy\":\"harshkumar@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-06-30T09:02:13.0614085Z\"},\"identity\":{\"principalId\":\"d5f83f58-6d7d-498b-bcd7-84835feebfbf\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11855001\"},\"organizationInfo\":{\"organizationId\":\"fc27eebc-0af9-441c-bceb-3975b7eda4d4\"}},\"userInfo\":{\"firstName\":\"Harsh\",\"lastName\":\"Kumar\",\"emailAddress\":\"harshkumar@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-06-30T09:01:48.496Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/vip-rg/providers/NewRelic.Observability/monitors/vip-test-30Jun-CreateNew-11\",\"name\":\"vip-test-30Jun-CreateNew-11\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"viprayjain@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-06-30T09:28:52.5471841Z\",\"lastModifiedBy\":\"viprayjain@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-06-30T09:28:52.5471841Z\"},\"identity\":{\"principalId\":\"fb3e2771-7eaa-4932-99f7-3c5fb742cf2d\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11855004\"},\"organizationInfo\":{\"organizationId\":\"deeb3505-0ad8-4e12-88da-68745181b730\"}},\"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\":\"2023-06-30T09:28:26.719Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/saurgupta_RG/providers/NewRelic.Observability/monitors/saurgupta_30_06_23_04_link_with_org\",\"name\":\"saurgupta_30_06_23_04_link_with_org\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"saurgupta@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-06-30T09:46:19.8856043Z\",\"lastModifiedBy\":\"f73fdc11-ed25-4c35-a93a-f525ab3fd649\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-06-30T09:49:56.771029Z\"},\"identity\":{\"principalId\":\"75d273bb-6953-4a2f-85f2-c1f4fc58cee6\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"NEWRELIC\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11807952\"},\"organizationInfo\":{\"organizationId\":\"ed1228f8-f148-415c-8a0c-c759f6f34554\"}},\"userInfo\":{\"firstName\":\"Saurabh\",\"lastName\":\"Gupta\",\"emailAddress\":\"saurgupta@microsoft.com\",\"phoneNumber\":\"4257050556\"},\"planData\":{\"effectiveDate\":\"2023-06-30T09:49:26.355Z\",\"usageType\":\"COMMITTED\",\"billingCycle\":\"YEARLY\",\"planDetails\":\"nr-privateofferplan01@TIDo73usof6rkyy@PUBIDnewrelicinc-privateoffers.nr-privateoffers1\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/saurgupta_RG/providers/NewRelic.Observability/monitors/saurgupta_03_07_23_01\",\"name\":\"saurgupta_03_07_23_01\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"saurgupta@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-07-03T09:30:50.6411523Z\",\"lastModifiedBy\":\"saurgupta@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-07-03T09:30:50.6411523Z\"},\"identity\":{\"principalId\":\"ccb7ad4d-6770-4471-b407-493e8d8e7ca8\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11855565\"},\"organizationInfo\":{\"organizationId\":\"b01438d5-171b-4af7-9b2e-91cc210dcd12\"}},\"userInfo\":{\"firstName\":\"Saurabh\",\"lastName\":\"Gupta\",\"emailAddress\":\"saurgupta@microsoft.com\",\"phoneNumber\":\"4257050556\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-07-03T09:30:28.257Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/gaurav-test/providers/NewRelic.Observability/monitors/gaurav-testing-8-3-1\",\"name\":\"gaurav-testing-8-3-1\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"gauravbang@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-03-08T09:41:40.0331875Z\",\"lastModifiedBy\":\"gauravbang@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-03-08T09:41:40.0331875Z\"},\"identity\":{\"principalId\":\"59a57071-f81b-4ed3-8a4f-91a925f9c182\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"userId\":\"\",\"accountInfo\":{\"accountId\":\"11823108\"},\"organizationInfo\":{\"organizationId\":\"1ee672c1-7cec-4d2d-8fbf-a13e3f28ba3d\"}},\"userInfo\":{\"firstName\":\"Gaurav\",\"lastName\":\"Bang\",\"emailAddress\":\"gauravbang@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py\",\"effectiveDate\":\"2023-03-08T09:41:13.088Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/dipesh_test/providers/NewRelic.Observability/monitors/test_13_3_1\",\"name\":\"test_13_3_1\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"dipeshbhakat@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-03-13T04:30:35.2584238Z\",\"lastModifiedBy\":\"dipeshbhakat@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-03-13T04:30:35.2584238Z\"},\"identity\":{\"principalId\":\"5f63772c-3bdf-44b4-86ed-fdfde1974703\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"userId\":\"\",\"accountInfo\":{\"accountId\":\"11823900\"},\"organizationInfo\":{\"organizationId\":\"f97588f3-2353-43b2-a4f5-dd8b4b8bd5eb\"}},\"userInfo\":{\"firstName\":\"Dipesh\",\"lastName\":\"Bhakat\",\"emailAddress\":\"dipeshbhakat@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py\",\"effectiveDate\":\"2023-03-13T04:29:52.569Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/gaurav-test/providers/NewRelic.Observability/monitors/gaurav-linkNRorg\",\"name\":\"gaurav-linkNRorg\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"gauravbang@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-03-14T18:08:10.3253686Z\",\"lastModifiedBy\":\"gauravbang@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-03-14T18:08:10.3253686Z\"},\"identity\":{\"principalId\":\"00c2da54-a2ce-4f76-9260-dfa69be2fb75\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"NEWRELIC\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11824478\"},\"organizationInfo\":{\"organizationId\":\"b05c5b7f-f214-48da-9b62-7642f50f20eb\"}},\"userInfo\":{\"firstName\":\"Gaurav\",\"lastName\":\"Bang\",\"emailAddress\":\"gauravbang@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"effectiveDate\":\"0001-01-01T00:00:00Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/saurgupta_RG/providers/NewRelic.Observability/monitors/saurgupta_15_03_23_01\",\"name\":\"saurgupta_15_03_23_01\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"saurgupta@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-03-15T04:57:49.1688805Z\",\"lastModifiedBy\":\"saurgupta@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-03-15T04:57:49.1688805Z\"},\"identity\":{\"principalId\":\"e3d6ca1b-cd67-4790-ac1e-566d3db98ca5\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Failed\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"userId\":\"\",\"accountInfo\":{\"accountId\":\"11824616\"},\"organizationInfo\":{\"organizationId\":\"e4dde9c4-1020-4127-bc4c-f7637a5bb4f7\"}},\"userInfo\":{\"firstName\":\"Saurabh\",\"lastName\":\"Gupta\",\"emailAddress\":\"saurgupta@microsoft.com\",\"phoneNumber\":\"4257050556\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py\",\"effectiveDate\":\"2023-03-15T04:57:20.623Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/gaurav-test/providers/NewRelic.Observability/monitors/gaurav-testing-15-3-Pro_org\",\"name\":\"gaurav-testing-15-3-Pro_org\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"gauravbang@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-03-15T10:20:47.220948Z\",\"lastModifiedBy\":\"gauravbang@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-03-15T10:20:47.220948Z\"},\"identity\":{\"principalId\":\"28862184-112d-4701-bc98-ba357dd48da7\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"userId\":\"\",\"accountInfo\":{\"accountId\":\"11824630\"},\"organizationInfo\":{\"organizationId\":\"7e958091-9552-4f8c-8b98-afe2d45d37b8\"}},\"userInfo\":{\"firstName\":\"Gaurav\",\"lastName\":\"Bang\",\"emailAddress\":\"gauravbang@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py\",\"effectiveDate\":\"2023-03-15T10:20:28.933Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/gaurav-test/providers/NewRelic.Observability/monitors/gaurav-testing-auto-role-3\",\"name\":\"gaurav-testing-auto-role-3\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"gauravbang@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-03-15T16:56:01.1054503Z\",\"lastModifiedBy\":\"gauravbang@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-03-15T16:56:01.1054503Z\"},\"identity\":{\"principalId\":\"616b8733-aab5-478a-b07a-8c1823b46a47\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"NEWRELIC\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11824684\"},\"organizationInfo\":{\"organizationId\":\"b05c5b7f-f214-48da-9b62-7642f50f20eb\"}},\"userInfo\":{\"firstName\":\"Gaurav\",\"lastName\":\"Bang\",\"emailAddress\":\"gauravbang@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"effectiveDate\":\"0001-01-01T00:00:00Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/saurgupta_RG/providers/NewRelic.Observability/monitors/saurgupta_27_03_23_01\",\"name\":\"saurgupta_27_03_23_01\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"lastModifiedBy\":\"saurgupta@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-03-27T09:14:20.3022742Z\"},\"identity\":{\"principalId\":\"8035763f-50d7-43dc-9506-0a13aa2c562c\",\"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\":{\"organizationId\":\"fe5759fb-092a-4353-906b-74df3b17f3d4\"}},\"userInfo\":{\"firstName\":\"Saurabh\",\"lastName\":\"Gupta\",\"emailAddress\":\"saurgupta@microsoft.com\",\"phoneNumber\":\"4257050556\"},\"planData\":{\"usageType\":null,\"billingCycle\":null,\"planDetails\":null,\"effectiveDate\":\"0001-01-01T00:00:00Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/saurgupta_RG/providers/NewRelic.Observability/monitors/saurgupta_27_03_23_02\",\"name\":\"saurgupta_27_03_23_02\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"saurgupta@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-03-27T09:21:34.9721531Z\",\"lastModifiedBy\":\"saurgupta@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-03-27T09:21:34.9721531Z\"},\"identity\":{\"principalId\":\"5d3eceb2-b8cc-45f6-899f-d0e25e7db505\",\"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\":{\"organizationId\":\"fe5759fb-092a-4353-906b-74df3b17f3d4\"}},\"userInfo\":{\"firstName\":\"Saurabh\",\"lastName\":\"Gupta\",\"emailAddress\":\"saurgupta@microsoft.com\",\"phoneNumber\":\"4257050556\"},\"planData\":{\"usageType\":null,\"billingCycle\":null,\"planDetails\":null,\"effectiveDate\":\"0001-01-01T00:00:00Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/saurgupta_RG/providers/NewRelic.Observability/monitors/saurgupta_27_03_23_03\",\"name\":\"saurgupta_27_03_23_03\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"saurgupta@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-03-27T10:55:52.0921309Z\",\"lastModifiedBy\":\"saurgupta@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-03-27T10:55:52.0921309Z\"},\"identity\":{\"principalId\":\"faba6b5e-59a3-4e20-bf52-f0a8aca2ef07\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"NEWRELIC\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Failed\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11826589\"},\"organizationInfo\":{\"organizationId\":\"fe5759fb-092a-4353-906b-74df3b17f3d4\"}},\"userInfo\":{\"firstName\":\"Saurabh\",\"lastName\":\"Gupta\",\"emailAddress\":\"saurgupta@microsoft.com\",\"phoneNumber\":\"4257050556\"},\"planData\":{\"effectiveDate\":\"0001-01-01T00:00:00Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/saurgupta_RG/providers/NewRelic.Observability/monitors/saurgupta_28_03_23_01\",\"name\":\"saurgupta_28_03_23_01\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"saurgupta@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-03-28T08:09:47.2965032Z\",\"lastModifiedBy\":\"f73fdc11-ed25-4c35-a93a-f525ab3fd649\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-05-26T07:15:21.3677826Z\"},\"identity\":{\"principalId\":\"6f616062-2081-4c85-b090-bad52e121f56\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Failed\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11826838\"},\"organizationInfo\":{\"organizationId\":\"fe5759fb-092a-4353-906b-74df3b17f3d4\"}},\"userInfo\":{\"firstName\":\"Saurabh\",\"lastName\":\"Gupta\",\"emailAddress\":\"saurgupta@microsoft.com\",\"phoneNumber\":\"4257050556\"},\"planData\":{\"usageType\":\"COMMITTED\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-05-26T07:14:51.312Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/saurgupta_RG/providers/NewRelic.Observability/monitors/saurgupta_28_03_23_02\",\"name\":\"saurgupta_28_03_23_02\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"saurgupta@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-03-28T12:04:18.7332277Z\",\"lastModifiedBy\":\"f73fdc11-ed25-4c35-a93a-f525ab3fd649\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-05-26T07:15:21.7115366Z\"},\"identity\":{\"principalId\":\"2075e7df-6260-4329-8d32-c031f854be21\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Failed\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11826851\"},\"organizationInfo\":{\"organizationId\":\"fe5759fb-092a-4353-906b-74df3b17f3d4\"}},\"userInfo\":{\"firstName\":\"Saurabh\",\"lastName\":\"Gupta\",\"emailAddress\":\"saurgupta@microsoft.com\",\"phoneNumber\":\"4257050556\"},\"planData\":{\"effectiveDate\":\"2023-05-26T07:14:51.312Z\",\"usageType\":\"COMMITTED\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/dipesh_test/providers/NewRelic.Observability/monitors/dipesh_test_3_30_1\",\"name\":\"dipesh_test_3_30_1\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"dipeshbhakat@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-03-30T07:05:10.426026Z\",\"lastModifiedBy\":\"dipeshbhakat@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-03-30T07:05:10.426026Z\"},\"identity\":{\"principalId\":\"12d001d2-7be0-48ad-97fa-6caca31b40d0\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11827357\"},\"organizationInfo\":{\"organizationId\":\"b4950cae-9384-40c3-8849-ff30354e4764\"}},\"userInfo\":{\"firstName\":\"Dipesh\",\"lastName\":\"Bhakat\",\"emailAddress\":\"dipeshbhakat@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py\",\"effectiveDate\":\"2023-03-30T07:04:40.4Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/dipesh_test/providers/NewRelic.Observability/monitors/dipesh_test_automonitoring_3_31\",\"name\":\"dipesh_test_automonitoring_3_31\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"dipeshbhakat@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-03-31T09:40:40.3833976Z\",\"lastModifiedBy\":\"dipeshbhakat@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-03-31T09:40:40.3833976Z\"},\"identity\":{\"principalId\":\"7b24fed8-66b1-4d7d-89e1-990d8e6ea3e6\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11827596\"},\"organizationInfo\":{\"organizationId\":\"217c8ebc-cfbf-44c8-8aa7-329199bb88b6\"}},\"userInfo\":{\"firstName\":\"Dipesh\",\"lastName\":\"Bhakat\",\"emailAddress\":\"dipeshbhakat@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py\",\"effectiveDate\":\"2023-03-31T09:40:03.079Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/gaurav-test/providers/NewRelic.Observability/monitors/gaurav-test-canary-auto-2\",\"name\":\"gaurav-test-canary-auto-2\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"gauravbang@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-03-31T11:51:42.313165Z\",\"lastModifiedBy\":\"gauravbang@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-03-31T11:51:42.313165Z\"},\"identity\":{\"principalId\":\"eaab4f37-c5db-4db1-8ef5-70e37ff3cd5f\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11827602\"},\"organizationInfo\":{\"organizationId\":\"4a4a71ca-a850-4449-8c6a-e6ba65e9c7ec\"}},\"userInfo\":{\"firstName\":\"Gaurav\",\"lastName\":\"Bang\",\"emailAddress\":\"gauravbang@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py\",\"effectiveDate\":\"2023-03-31T11:51:18.995Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/dipesh_test/providers/NewRelic.Observability/monitors/test_automonitoring_2_dipesh\",\"name\":\"test_automonitoring_2_dipesh\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"dipeshbhakat@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-03-31T12:01:35.9357989Z\",\"lastModifiedBy\":\"dipeshbhakat@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-03-31T12:01:35.9357989Z\"},\"identity\":{\"principalId\":\"25c3c518-316e-4da4-a6f4-79630717a5da\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11827623\"},\"organizationInfo\":{\"organizationId\":\"7b7a4854-743e-44ad-9acb-cc9ce73d8680\"}},\"userInfo\":{\"firstName\":\"Dipesh\",\"lastName\":\"Bhakat\",\"emailAddress\":\"dipeshbhakat@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py\",\"effectiveDate\":\"2023-03-31T12:00:59.046Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/saurgupta_RG/providers/NewRelic.Observability/monitors/saurgupta_05_04_23_01\",\"name\":\"saurgupta_05_04_23_01\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"saurgupta@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-04-05T08:33:53.7023903Z\",\"lastModifiedBy\":\"f73fdc11-ed25-4c35-a93a-f525ab3fd649\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-05-26T07:15:22.5084139Z\"},\"identity\":{\"principalId\":\"5fba8e2d-c4fc-42a0-8c68-1b178d0e3693\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11828436\"},\"organizationInfo\":{\"organizationId\":\"fe5759fb-092a-4353-906b-74df3b17f3d4\"}},\"userInfo\":{\"firstName\":\"Saurabh\",\"lastName\":\"Gupta\",\"emailAddress\":\"saurgupta@microsoft.com\",\"phoneNumber\":\"4257050556\"},\"planData\":{\"effectiveDate\":\"2023-05-26T07:14:51.312Z\",\"usageType\":\"COMMITTED\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/saurgupta_RG/providers/NewRelic.Observability/monitors/saurgupta_21_04_23_03\",\"name\":\"saurgupta_21_04_23_03\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"saurgupta@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-04-21T11:29:46.1598733Z\",\"lastModifiedBy\":\"saurgupta@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-04-21T11:29:46.1598733Z\"},\"identity\":{\"principalId\":\"0b7c8541-4c24-44a1-9566-5d850172db50\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11833107\"},\"organizationInfo\":{\"organizationId\":\"7e8a045c-620d-43ad-955a-16dbc48b0796\"}},\"userInfo\":{\"firstName\":\"Saurabh\",\"lastName\":\"Gupta\",\"emailAddress\":\"saurgupta@microsoft.com\",\"phoneNumber\":\"4257050556\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py\",\"effectiveDate\":\"2023-04-21T11:29:24.332Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/saurgupta_RG/providers/NewRelic.Observability/monitors/saurgupta_21_04_23_04\",\"name\":\"saurgupta_21_04_23_04\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"saurgupta@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-04-21T11:35:23.5801822Z\",\"lastModifiedBy\":\"f73fdc11-ed25-4c35-a93a-f525ab3fd649\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-05-26T07:15:23.2271416Z\"},\"identity\":{\"principalId\":\"0a123d99-6836-4e83-84e8-679a9d69ec7f\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11833108\"},\"organizationInfo\":{\"organizationId\":\"fe5759fb-092a-4353-906b-74df3b17f3d4\"}},\"userInfo\":{\"firstName\":\"Saurabh\",\"lastName\":\"Gupta\",\"emailAddress\":\"saurgupta@microsoft.com\",\"phoneNumber\":\"4257050556\"},\"planData\":{\"effectiveDate\":\"2023-05-26T07:14:51.312Z\",\"usageType\":\"COMMITTED\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/saurgupta_RG/providers/NewRelic.Observability/monitors/saurgupta_24_04_23_01\",\"name\":\"saurgupta_24_04_23_01\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"saurgupta@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-04-24T03:33:40.6315557Z\",\"lastModifiedBy\":\"f73fdc11-ed25-4c35-a93a-f525ab3fd649\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-05-26T07:15:23.5240557Z\"},\"identity\":{\"principalId\":\"ecc769f1-0815-424c-bc4a-cf3f4cb0f0de\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11833430\"},\"organizationInfo\":{\"organizationId\":\"fe5759fb-092a-4353-906b-74df3b17f3d4\"}},\"userInfo\":{\"firstName\":\"Saurabh\",\"lastName\":\"Gupta\",\"emailAddress\":\"saurgupta@microsoft.com\",\"phoneNumber\":\"4257050556\"},\"planData\":{\"effectiveDate\":\"2023-05-26T07:14:51.312Z\",\"usageType\":\"COMMITTED\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/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/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/dipesh_test/providers/NewRelic.Observability/monitors/dipesh_test_accessibility\",\"name\":\"dipesh_test_accessibility\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"dipeshbhakat@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-04-28T15:25:56.6263226Z\",\"lastModifiedBy\":\"dipeshbhakat@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-04-28T15:25:56.6263226Z\"},\"identity\":{\"principalId\":\"a6031395-056d-4e0b-8e5e-aaa8b74b7e71\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11834507\"},\"organizationInfo\":{\"organizationId\":\"931ba244-498a-4c90-a330-9c6efc89d8ca\"}},\"userInfo\":{\"firstName\":\"Dipesh\",\"lastName\":\"Bhakat\",\"emailAddress\":\"dipeshbhakat@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py\",\"effectiveDate\":\"2023-04-28T15:24:55.21Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/acctest9482/providers/NewRelic.Observability/monitors/acctest2985\",\"name\":\"acctest2985\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{\"key6976\":\"oaxfhf\"},\"systemData\":{\"createdBy\":\"dipeshbhakat@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-05-02T11:33:12.1997957Z\",\"lastModifiedBy\":\"dipeshbhakat@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-05-02T11:33:12.1997957Z\"},\"identity\":{\"principalId\":\"7bc5a722-008c-4793-b00d-050cb2aa54af\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Failed\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"userId\":\"vcscxlncofcuduadesd\",\"accountInfo\":{\"accountId\":\"xhqmg\"},\"organizationInfo\":{\"organizationId\":\"k\"}},\"userInfo\":{\"firstName\":\"Alice\",\"lastName\":\"Bob\",\"emailAddress\":\"dipeshbhakat@microsoft.com\",\"phoneNumber\":\"123456\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py\",\"effectiveDate\":\"2023-04-20T14:32:58.091Z\"},\"liftrResourceCategory\":\"Unknown\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/acctest9482/providers/NewRelic.Observability/monitors/acctestterraform1\",\"name\":\"acctestterraform1\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{\"Env\":\"Dev\"},\"systemData\":{\"createdBy\":\"dipeshbhakat@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-05-02T11:50:50.371331Z\",\"lastModifiedBy\":\"dipeshbhakat@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-05-02T11:50:50.371331Z\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11835067\"},\"organizationInfo\":{\"organizationId\":\"d14d6171-51e7-4983-8835-9d028c34e038\"}},\"userInfo\":{\"firstName\":\"Alice\",\"lastName\":\"Bob\",\"emailAddress\":\"dipeshbhakat@microsoft.com\",\"phoneNumber\":\"123456\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py\",\"effectiveDate\":\"2023-04-20T14:32:58.091Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/harsh-rg/providers/NewRelic.Observability/monitors/Harsh_PostMan_0905_1\",\"name\":\"Harsh_PostMan_0905_1\",\"type\":\"newrelic.observability/monitors\",\"location\":\"Central US EUAP\",\"tags\":{\"Environment\":\"Canary\",\"CustomTag\":\"Harsh\"},\"systemData\":{\"createdBy\":\"harshkumar@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-05-09T05:13:23.7186022Z\",\"lastModifiedBy\":\"harshkumar@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-05-09T05:13:23.7186022Z\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11836432\"},\"organizationInfo\":{\"organizationId\":\"72b3349f-7734-4d26-b15f-c5558e034d88\"}},\"userInfo\":{\"firstName\":\"Harsh\",\"lastName\":\"Kumar\",\"emailAddress\":\"harshkumar@microsoft.com\",\"phoneNumber\":\"1234567890\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py\",\"effectiveDate\":\"2023-05-09T13:14:33Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/harsh-rg/providers/NewRelic.Observability/monitors/Uxuxuxuxuuxux\",\"name\":\"Uxuxuxuxuuxux\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"harshkumar@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-05-09T07:53:15.7591101Z\",\"lastModifiedBy\":\"harshkumar@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-05-09T07:53:15.7591101Z\"},\"identity\":{\"principalId\":\"df61d5f3-c082-46c6-b1c9-3ce15b6c1bc2\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11836445\"},\"organizationInfo\":{\"organizationId\":\"4ac7da6c-ad33-4b03-b979-e06c5a53c1bf\"}},\"userInfo\":{\"firstName\":\"Harsh\",\"lastName\":\"Kumar\",\"emailAddress\":\"harshkumar@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py\",\"effectiveDate\":\"2023-05-09T07:52:50.809Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/vip-rg/providers/NewRelic.Observability/monitors/vip-test-09May23-CEUAP-LinkOrg-1\",\"name\":\"vip-test-09May23-CEUAP-LinkOrg-1\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"viprayjain@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-05-09T09:58:49.8786547Z\",\"lastModifiedBy\":\"f73fdc11-ed25-4c35-a93a-f525ab3fd649\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-05-26T07:15:24.4771307Z\"},\"identity\":{\"principalId\":\"a03ef895-af2e-4c18-abec-cf24fd4dbc3e\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11836452\"},\"organizationInfo\":{\"organizationId\":\"fe5759fb-092a-4353-906b-74df3b17f3d4\"}},\"userInfo\":{\"firstName\":\"Vipray\",\"lastName\":\"Jain\",\"emailAddress\":\"viprayjain@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"COMMITTED\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-05-26T07:14:51.312Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/dipesh_test/providers/NewRelic.Observability/monitors/dipesh_test_canary1\",\"name\":\"dipesh_test_canary1\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"dipeshbhakat@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-05-19T04:19:33.6429203Z\",\"lastModifiedBy\":\"dipeshbhakat@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-05-19T04:19:33.6429203Z\"},\"identity\":{\"principalId\":\"38d7e66e-15ba-490f-89ee-2106aec6b23f\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11838837\"},\"organizationInfo\":{\"organizationId\":\"bbbd8a08-6158-4811-9192-dd5888b9bc4c\"}},\"userInfo\":{\"firstName\":\"Dipesh\",\"lastName\":\"Bhakat\",\"emailAddress\":\"dipeshbhakat@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py\",\"effectiveDate\":\"2023-05-19T04:18:52.037Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/dipeshterraformcreateRG1/providers/NewRelic.Observability/monitors/dipeshterraformcreate5\",\"name\":\"dipeshterraformcreate5\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"systemData\":{\"createdBy\":\"dipeshbhakat@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-05-23T11:44:18.7175972Z\",\"lastModifiedBy\":\"dipeshbhakat@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-05-23T11:44:18.7175972Z\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11840116\"},\"organizationInfo\":{\"organizationId\":\"8e3f65ea-3d45-42ee-b041-b19835e4b4d5\"}},\"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-05-19T08:28:48.752Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/vip-rg/providers/NewRelic.Observability/monitors/java-sdk-8849\",\"name\":\"java-sdk-8849\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"systemData\":{\"createdBy\":\"09a13a20-12be-4fda-a11e-a6895d6b321b\",\"createdByType\":\"Application\",\"createdAt\":\"2023-05-26T04:55:57.8804271Z\",\"lastModifiedBy\":\"09a13a20-12be-4fda-a11e-a6895d6b321b\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-05-26T04:55:57.8804271Z\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11841067\"},\"organizationInfo\":{\"organizationId\":\"6cf3087a-5659-4035-b911-0eb5ab212e24\"}},\"userInfo\":{\"firstName\":\"Vipray\",\"lastName\":\"Jain\",\"emailAddress\":\"viprayjain@microsoft.com\",\"phoneNumber\":\"9876543210\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-05-26T04:55:51.687Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/saurgupta_RG/providers/NewRelic.Observability/monitors/saurgupta_31_05_23_01\",\"name\":\"saurgupta_31_05_23_01\",\"type\":\"newrelic.observability/monitors\",\"location\":\"centraluseuap\",\"tags\":{},\"systemData\":{\"createdBy\":\"saurgupta@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-05-31T09:58:47.4531709Z\",\"lastModifiedBy\":\"saurgupta@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-05-31T09:58:47.4531709Z\"},\"identity\":{\"principalId\":\"dcf4324e-d9ba-4de3-9c76-a8631cce3d5b\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11842169\"},\"organizationInfo\":{\"organizationId\":\"3ed363ff-0f89-41ce-b6a1-cd268cf2e44f\"}},\"userInfo\":{\"firstName\":\"Saurabh\",\"lastName\":\"Gupta\",\"emailAddress\":\"saurgupta@microsoft.com\",\"phoneNumber\":\"4257050556\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-05-31T09:58:21.516Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/harsh-rg/providers/NewRelic.Observability/monitors/Harsh_PostMan_0706\",\"name\":\"Harsh_PostMan_0706\",\"type\":\"newrelic.observability/monitors\",\"location\":\"Central US EUAP\",\"tags\":{\"Environment\":\"Canary\",\"CustomTag\":\"Harsh\"},\"systemData\":{\"lastModifiedBy\":\"harshkumar@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-06-07T06:39:55.6019208Z\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11847605\"},\"organizationInfo\":{\"organizationId\":\"19f656d6-181b-4f61-a403-8e0592cba345\"}},\"userInfo\":{\"firstName\":\"Harsh\",\"lastName\":\"Kumar\",\"emailAddress\":\"harshkumar@microsoft.com\",\"phoneNumber\":\"1234567890\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-06-05T13:14:33Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/saurgupta_RG/providers/NewRelic.Observability/monitors/saurgupta_21_06_23_01\",\"name\":\"saurgupta_21_06_23_01\",\"type\":\"newrelic.observability/monitors\",\"location\":\"eastus2euap\",\"tags\":{},\"systemData\":{\"createdBy\":\"saurgupta@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-06-21T09:06:41.1274412Z\",\"lastModifiedBy\":\"saurgupta@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-06-21T09:06:41.1274412Z\"},\"identity\":{\"principalId\":\"005a57db-e47d-4004-9737-bdd8021539cc\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11852521\"},\"organizationInfo\":{\"organizationId\":\"a2e245d8-a96f-47a0-a84d-e5be9acb099f\"}},\"userInfo\":{\"firstName\":\"Saurabh\",\"lastName\":\"Gupta\",\"emailAddress\":\"saurgupta@microsoft.com\",\"phoneNumber\":\"4257050556\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-06-21T09:06:13.366Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/vip-rg/providers/NewRelic.Observability/monitors/vip-test-EastUs2EUAP-28Jun23\",\"name\":\"vip-test-EastUs2EUAP-28Jun23\",\"type\":\"newrelic.observability/monitors\",\"location\":\"eastus2euap\",\"tags\":{},\"systemData\":{\"createdBy\":\"viprayjain@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-06-28T07:29:51.9286225Z\",\"lastModifiedBy\":\"viprayjain@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-06-28T07:29:51.9286225Z\"},\"identity\":{\"principalId\":\"084a17f2-79c5-43a9-8d1c-3722896f7fb8\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11854461\"},\"organizationInfo\":{\"organizationId\":\"02e2626b-ea02-4cc6-af67-630a97bde699\"}},\"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\":\"2023-06-28T07:29:18.857Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/vip-rg/providers/NewRelic.Observability/monitors/vip-test-3Jul-EEUAP-1\",\"name\":\"vip-test-3Jul-EEUAP-1\",\"type\":\"newrelic.observability/monitors\",\"location\":\"eastus2euap\",\"tags\":{},\"systemData\":{\"createdBy\":\"viprayjain@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-07-03T09:10:43.1958893Z\",\"lastModifiedBy\":\"viprayjain@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-07-03T09:10:43.1958893Z\"},\"identity\":{\"principalId\":\"0cf1cb2e-343b-432b-a672-890e04a41b4f\",\"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\":{\"organizationId\":\"fe5759fb-092a-4353-906b-74df3b17f3d4\"}},\"userInfo\":{\"firstName\":\"Vipray\",\"lastName\":\"Jain\",\"emailAddress\":\"viprayjain@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"COMMITTED\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-07-03T09:10:21.27Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/vip-rg/providers/NewRelic.Observability/monitors/vip-test-3Jul-EEUAP-LinkAcc-3\",\"name\":\"vip-test-3Jul-EEUAP-LinkAcc-3\",\"type\":\"newrelic.observability/monitors\",\"location\":\"eastus2euap\",\"tags\":{},\"systemData\":{\"createdBy\":\"viprayjain@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-07-03T09:45:41.6818583Z\",\"lastModifiedBy\":\"viprayjain@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-07-03T09:45:41.6818583Z\"},\"identity\":{\"principalId\":\"00f0a62a-47ec-47b3-be37-a2aff8246c81\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"NEWRELIC\",\"accountCreationSource\":\"NEWRELIC\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11843584\"},\"organizationInfo\":{\"organizationId\":\"2ea97b36-d94e-40de-ac04-ef78ccd791c4\"}},\"userInfo\":{\"firstName\":\"Vipray\",\"lastName\":\"Jain\",\"emailAddress\":\"viprayjain@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"effectiveDate\":\"0001-01-01T00:00:00Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/vip-rg/providers/NewRelic.Observability/monitors/vip-test-3Jul-EEUAP-LinkNRacc-1\",\"name\":\"vip-test-3Jul-EEUAP-LinkNRacc-1\",\"type\":\"newrelic.observability/monitors\",\"location\":\"eastus2euap\",\"tags\":{},\"systemData\":{\"createdBy\":\"viprayjain@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-07-03T09:56:46.2266575Z\",\"lastModifiedBy\":\"viprayjain@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-07-03T09:56:46.2266575Z\"},\"identity\":{\"principalId\":\"bbb4ced7-70f4-42df-a968-9b1da07d49a9\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"NEWRELIC\",\"accountCreationSource\":\"NEWRELIC\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11835577\"},\"organizationInfo\":{\"organizationId\":\"73aa5d71-5a7c-4a08-a489-44f14d7accb3\"}},\"userInfo\":{\"firstName\":\"Vipray\",\"lastName\":\"Jain\",\"emailAddress\":\"viprayjain@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"COMMITTED\",\"billingCycle\":\"YEARLY\",\"planDetails\":\"nr-privateofferplan01@TIDo73usof6rkyy@PUBIDnewrelicinc-privateoffers.nr-privateoffers1\",\"effectiveDate\":\"2023-07-03T09:56:16.268Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/vip-rg/providers/NewRelic.Observability/monitors/vip-test-fail20-EEUAP\",\"name\":\"vip-test-fail20-EEUAP\",\"type\":\"newrelic.observability/monitors\",\"location\":\"eastus2euap\",\"tags\":{},\"systemData\":{\"createdBy\":\"viprayjain@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-05-04T11:07:08.9420097Z\",\"lastModifiedBy\":\"viprayjain@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-05-04T11:07:08.9420097Z\"},\"identity\":{\"principalId\":\"5e2bf171-e338-427c-8e06-9d0892167d01\",\"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\":\"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\":\"2023-05-04T11:06:35.524Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/saurgupta_RG/providers/NewRelic.Observability/monitors/saurgupta_19_05_23_02\",\"name\":\"saurgupta_19_05_23_02\",\"type\":\"newrelic.observability/monitors\",\"location\":\"eastus2euap\",\"tags\":{},\"systemData\":{\"createdBy\":\"saurgupta@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-05-19T08:29:14.4984643Z\",\"lastModifiedBy\":\"saurgupta@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-05-19T08:29:14.4984643Z\"},\"identity\":{\"principalId\":\"932433af-a169-4ed8-bb7a-6ad21df60960\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11838868\"},\"organizationInfo\":{\"organizationId\":\"f6f06d86-727a-4073-b05d-843fe5bdc910\"}},\"userInfo\":{\"firstName\":\"Saurabh\",\"lastName\":\"Gupta\",\"emailAddress\":\"saurgupta@microsoft.com\",\"phoneNumber\":\"4257050556\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py\",\"effectiveDate\":\"2023-05-19T08:28:48.752Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/harsh-rg/providers/NewRelic.Observability/monitors/1905_EastUS2Euap\",\"name\":\"1905_EastUS2Euap\",\"type\":\"newrelic.observability/monitors\",\"location\":\"eastus2euap\",\"tags\":{},\"systemData\":{\"createdBy\":\"harshkumar@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-05-19T11:10:38.111492Z\",\"lastModifiedBy\":\"harshkumar@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-05-19T11:10:38.111492Z\"},\"identity\":{\"principalId\":\"b6e0dca1-b7e1-4fa8-92a7-198983f5261c\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"11838882\"},\"organizationInfo\":{\"organizationId\":\"46511e30-0877-4cf3-ab80-90cfed910c49\"}},\"userInfo\":{\"firstName\":\"Harsh\",\"lastName\":\"Kumar\",\"emailAddress\":\"harshkumar@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py\",\"effectiveDate\":\"2023-05-19T11:10:15.46Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/harsh-rg/providers/NewRelic.Observability/monitors/2205_EastUS2_WithProdAAD\",\"name\":\"2205_EastUS2_WithProdAAD\",\"type\":\"newrelic.observability/monitors\",\"location\":\"eastus2euap\",\"tags\":{},\"systemData\":{\"createdBy\":\"harshkumar@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-05-22T06:08:38.054975Z\",\"lastModifiedBy\":\"harshkumar@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-05-22T06:08:38.054975Z\"},\"identity\":{\"principalId\":\"82c2cc83-669b-4c71-bab4-2be485b954f9\",\"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\":\"Harsh\",\"lastName\":\"Kumar\",\"emailAddress\":\"harshkumar@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py\",\"effectiveDate\":\"2023-05-22T06:08:11.822Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/harsh-rg/providers/NewRelic.Observability/monitors/2205_EastUS2_WithProd\",\"name\":\"2205_EastUS2_WithProd\",\"type\":\"newrelic.observability/monitors\",\"location\":\"eastus2euap\",\"tags\":{},\"systemData\":{\"createdBy\":\"harshkumar@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-05-22T09:06:43.9138043Z\",\"lastModifiedBy\":\"harshkumar@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-05-22T09:06:43.9138043Z\"},\"identity\":{\"principalId\":\"0093070f-25b8-4830-9178-d0c82ae74184\",\"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\":\"Harsh\",\"lastName\":\"Kumar\",\"emailAddress\":\"harshkumar@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py\",\"effectiveDate\":\"2023-05-22T09:06:16.281Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/harsh-rg/providers/NewRelic.Observability/monitors/2205_EastUS2\",\"name\":\"2205_EastUS2\",\"type\":\"newrelic.observability/monitors\",\"location\":\"eastus2euap\",\"tags\":{},\"systemData\":{\"createdBy\":\"harshkumar@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-05-22T10:37:04.6379696Z\",\"lastModifiedBy\":\"harshkumar@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-05-22T10:37:04.6379696Z\"},\"identity\":{\"principalId\":\"6517ee22-e768-4d6b-9053-24665a38bc29\",\"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\":\"Harsh\",\"lastName\":\"Kumar\",\"emailAddress\":\"harshkumar@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py\",\"effectiveDate\":\"2023-05-22T10:36:39.099Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/dipeshterraformcreateRG1/providers/NewRelic.Observability/monitors/dipeshterraformcreate4\",\"name\":\"dipeshterraformcreate4\",\"type\":\"newrelic.observability/monitors\",\"location\":\"eastus2euap\",\"tags\":{\"tagKey1\":\"tagValue1\"},\"systemData\":{\"createdBy\":\"dipeshbhakat@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-05-23T11:25:32.0201882Z\",\"lastModifiedBy\":\"dipeshbhakat@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-05-23T11:25:32.0201882Z\"},\"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\",\"effectiveDate\":\"2023-05-19T08:28:48.752Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}}]}", - "isContentBase64": false - } - }, - "NewRelicObservability+[NoContext]+MonitorListGp+$GET+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors?api-version=2022-07-01+1": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors?api-version=2022-07-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "5ba57420-4319-449d-bc77-7aa4ad697b1e" ], + "x-ms-unique-id": [ "7" ], + "x-ms-client-request-id": [ "25e0b4ab-20a2-4136-8f25-1daa9e6e27d0" ], "CommandName": [ "Get-AzNewRelicMonitor" ], "FullCommandName": [ "Get-AzNewRelicMonitor_List1" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.5", "Az.NewRelic/0.1.0" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.NewRelic/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -393,37 +199,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-original-request-ids": [ "b4c72d71-8a6b-4134-ab41-74d250ab0c84", "4c4ccd7b-cfdc-464a-889c-50aed24cca0f", "8ee53ba2-2752-4453-886d-f4b57031ad36" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], - "x-ms-request-id": [ "86e33fe1-a40f-4fb4-a8b5-bfed6b1b61cf" ], - "x-ms-correlation-request-id": [ "86e33fe1-a40f-4fb4-a8b5-bfed6b1b61cf" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20230704T024120Z:86e33fe1-a40f-4fb4-a8b5-bfed6b1b61cf" ], + "x-ms-original-request-ids": [ "f8c1f7e9-289b-4022-893a-5b3433b76e89", "86831329-e169-4c5a-81db-0d2f475fae54", "831af7bf-bed1-4bd3-b46f-21f649be67d5" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-request-id": [ "61a3a38e-eab2-4037-a509-bf64fce092d2" ], + "x-ms-correlation-request-id": [ "61a3a38e-eab2-4037-a509-bf64fce092d2" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240523T103010Z:61a3a38e-eab2-4037-a509-bf64fce092d2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 04 Jul 2023 02:41:19 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 4BBF77EF58974E249E26909502B6CAF9 Ref B: MAA201060516031 Ref C: 2024-05-23T10:30:04Z" ], + "Date": [ "Thu, 23 May 2024 10:30:10 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "1368" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ], - "Content-Length": [ "2473" ] + "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-03\",\"name\":\"test-03\",\"type\":\"newrelic.observability/monitors\",\"location\":\"eastus\",\"tags\":{},\"systemData\":{\"createdBy\":\"v-jiaji@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-06-28T09:28:40.7762554Z\",\"lastModifiedBy\":\"v-jiaji@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-06-28T09:28:40.7762554Z\"},\"identity\":{\"principalId\":\"1f686a8f-1ae1-4ba5-8bc4-8e615e300bb2\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"3996563\"},\"organizationInfo\":{\"organizationId\":\"9c5445c7-65e3-4bd5-8581-80c65584100f\"}},\"userInfo\":{\"firstName\":\"Joyer\",\"lastName\":\"Jin (Wicresoft North America Ltd)\",\"emailAddress\":\"v-jiaji@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelicpaygtestplan2@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-06-28T09:28:22.286Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01\",\"name\":\"test-01\",\"type\":\"newrelic.observability/monitors\",\"location\":\"eastus\",\"systemData\":{\"createdBy\":\"v-jiaji@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-07-04T02:39:33.0098815Z\",\"lastModifiedBy\":\"v-jiaji@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-07-04T02:39:33.0098815Z\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"4003694\"},\"organizationInfo\":{\"organizationId\":\"2ae82717-8d07-45e6-946f-6221e47687fb\"}},\"userInfo\":{\"firstName\":\"Joyer\",\"lastName\":\"Jin\",\"emailAddress\":\"v-jiaji@microsoft.com\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-07-04T02:39:27.078Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01\",\"name\":\"testMonitor-01\",\"type\":\"newrelic.observability/monitors\",\"location\":\"eastus\",\"tags\":{},\"systemData\":{\"createdBy\":\"v-jiaji@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-05-23T07:58:51.1346996Z\",\"lastModifiedBy\":\"v-jiaji@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-05-23T07:58:51.1346996Z\"},\"identity\":{\"principalId\":\"3dfd31e1-f0bb-4584-ab76-5d406dd1e405\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"4458669\"},\"organizationInfo\":{\"organizationId\":\"50919780-11fc-42a5-934f-6ae8dc6587d9\"}},\"userInfo\":{\"firstName\":\"Joyer\",\"lastName\":\"Jin (Wicresoft North America Ltd)\",\"emailAddress\":\"v-jiaji@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2024-05-23T07:58:22.926Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}}]}", "isContentBase64": false } }, - "NewRelicObservability+[NoContext]+MonitorGet+$GET+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01?api-version=2022-07-01+1": { + "NewRelicObservability+[NoContext]+MonitorGet+$GET+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01?api-version=2024-01-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01?api-version=2022-07-01", + "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01?api-version=2024-01-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "9cd6eafb-5348-413e-966a-8f9a04c03882" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "f419946a-fd08-4ed3-b555-346545cea2c0" ], "CommandName": [ "Get-AzNewRelicMonitor" ], "FullCommandName": [ "Get-AzNewRelicMonitor_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.5", "Az.NewRelic/0.1.0" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.NewRelic/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -434,36 +243,39 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"70003ac4-0000-0100-0000-64a386920000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "ETag": [ "\"0500f414-0000-0100-0000-664ef7640000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "be15110e-5820-47d5-b30d-47fe54c11782" ], - "x-ms-correlation-request-id": [ "0eaee890-5a85-4a39-85f2-fc1fefc55b73" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20230704T024120Z:0eaee890-5a85-4a39-85f2-fc1fefc55b73" ], + "x-ms-request-id": [ "1c0d8574-27f7-456a-8a4c-58cf950c0ad6" ], + "x-ms-correlation-request-id": [ "a022c94d-cb05-4e9f-99e5-eb43b4e9c0b9" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240523T103011Z:a022c94d-cb05-4e9f-99e5-eb43b4e9c0b9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 04 Jul 2023 02:41:19 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 813E0526770C4230A9E11EF8BB6C9D71 Ref B: MAA201060516031 Ref C: 2024-05-23T10:30:10Z" ], + "Date": [ "Thu, 23 May 2024 10:30:11 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1137" ], + "Content-Length": [ "1356" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01\",\"name\":\"test-01\",\"type\":\"newrelic.observability/monitors\",\"location\":\"eastus\",\"systemData\":{\"createdBy\":\"v-jiaji@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-07-04T02:39:33.0098815Z\",\"lastModifiedBy\":\"v-jiaji@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-07-04T02:39:33.0098815Z\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"4003694\"},\"organizationInfo\":{\"organizationId\":\"2ae82717-8d07-45e6-946f-6221e47687fb\"}},\"userInfo\":{\"firstName\":\"Joyer\",\"lastName\":\"Jin\",\"emailAddress\":\"v-jiaji@microsoft.com\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-07-04T02:39:27.078Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}}", + "Content": "{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01\",\"name\":\"testMonitor-01\",\"type\":\"newrelic.observability/monitors\",\"location\":\"eastus\",\"tags\":{},\"systemData\":{\"createdBy\":\"v-jiaji@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-05-23T07:58:51.1346996Z\",\"lastModifiedBy\":\"v-jiaji@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-05-23T07:58:51.1346996Z\"},\"identity\":{\"principalId\":\"3dfd31e1-f0bb-4584-ab76-5d406dd1e405\",\"tenantId\":\"888d76fa-54b2-4ced-8ee5-aac1585adee7\",\"type\":\"SystemAssigned\"},\"properties\":{\"orgCreationSource\":\"LIFTR\",\"accountCreationSource\":\"LIFTR\",\"provisioningState\":\"Succeeded\",\"monitoringStatus\":\"Enabled\",\"marketplaceSubscriptionStatus\":\"Active\",\"newRelicAccountProperties\":{\"accountInfo\":{\"accountId\":\"4458669\"},\"organizationInfo\":{\"organizationId\":\"50919780-11fc-42a5-934f-6ae8dc6587d9\"}},\"userInfo\":{\"firstName\":\"Joyer\",\"lastName\":\"Jin (Wicresoft North America Ltd)\",\"emailAddress\":\"v-jiaji@microsoft.com\",\"phoneNumber\":\"\"},\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2024-05-23T07:58:22.926Z\"},\"liftrResourceCategory\":\"MonitorLogs\",\"liftrResourcePreference\":0}}", "isContentBase64": false } }, - "NewRelicObservability+[NoContext]+AppServiceList+$POST+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-03/listAppServices?api-version=2022-07-01+1": { + "NewRelicObservability+[NoContext]+AppServiceList+$POST+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/listAppServices?api-version=2024-01-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-03/listAppServices?api-version=2022-07-01", - "Content": "{\r\n \"azureResourceIds\": [ \"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/Microsoft.Web/sites/joyertest\" ],\r\n \"userEmail\": \"v-jiaji@microsoft.com\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/listAppServices?api-version=2024-01-01", + "Content": "{\r\n \"azureResourceIds\": [ \"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/Microsoft.Web/sites/joyertestapp\" ],\r\n \"userEmail\": \"v-jiaji@microsoft.com\"\r\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "189" ] + "Content-Length": [ "200" ] } }, "Response": { @@ -471,16 +283,19 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], "Request-Context": [ "appId=cid-v1:99558bd9-e2af-4edd-b8b9-dfc879de6669" ], - "mise-correlation-id": [ "5424dad5-37b5-4370-a112-d41cdd012709" ], + "mise-correlation-id": [ "b8045a9e-1b84-4970-a451-03ee2f016e72" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "f27275b8-ee72-4e6c-9fb2-2069e2e99801" ], - "x-ms-correlation-request-id": [ "95f09d69-e665-4820-be8c-56a231ca0d5d" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20230704T024123Z:95f09d69-e665-4820-be8c-56a231ca0d5d" ], - "Date": [ "Tue, 04 Jul 2023 02:41:22 GMT" ] + "x-ms-request-id": [ "54a96388-0c1a-4911-93cf-1a010a0503f2" ], + "x-ms-correlation-request-id": [ "fb64ef6d-556c-4926-a169-106d7e63e05c" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240523T103014Z:fb64ef6d-556c-4926-a169-106d7e63e05c" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 72D6C5CA18314592A40BF7DF8F736175 Ref B: MAA201060516031 Ref C: 2024-05-23T10:30:11Z" ], + "Date": [ "Thu, 23 May 2024 10:30:14 GMT" ] }, "ContentHeaders": { "Content-Length": [ "28" ], @@ -491,17 +306,17 @@ "isContentBase64": false } }, - "NewRelicObservability+[NoContext]+HostList+$POST+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01/listHosts?api-version=2022-07-01+1": { + "NewRelicObservability+[NoContext]+HostList+$POST+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/listHosts?api-version=2024-01-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01/listHosts?api-version=2022-07-01", - "Content": "{\r\n \"vmIds\": [ \"saurg-vm-01\" ],\r\n \"userEmail\": \"v-jiaji@microsoft.com\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/listHosts?api-version=2024-01-01", + "Content": "{\r\n \"vmIds\": [ \"joyertestmachine01\" ],\r\n \"userEmail\": \"v-jiaji@microsoft.com\"\r\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "75" ] + "Content-Length": [ "82" ] } }, "Response": { @@ -509,16 +324,19 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], "Request-Context": [ "appId=cid-v1:99558bd9-e2af-4edd-b8b9-dfc879de6669" ], - "mise-correlation-id": [ "3043cc77-8775-47ad-95be-b1fa87c47717" ], + "mise-correlation-id": [ "ce98173c-c959-45a2-b0c5-affc094ad7e2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "75cd6d01-e887-43bd-8f26-a55f8f50b8a3" ], - "x-ms-correlation-request-id": [ "c486c4a4-d141-4f96-a44d-a65bb44f9114" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20230704T024125Z:c486c4a4-d141-4f96-a44d-a65bb44f9114" ], - "Date": [ "Tue, 04 Jul 2023 02:41:24 GMT" ] + "x-ms-request-id": [ "7b0b6ad7-aaae-4970-a25d-7bf2f418a4a6" ], + "x-ms-correlation-request-id": [ "ae693b33-7f54-4748-83c7-464f7600110e" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240523T103021Z:ae693b33-7f54-4748-83c7-464f7600110e" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: BF2BE0E635DA41A886BCFD7EA6E0FA47 Ref B: MAA201060516031 Ref C: 2024-05-23T10:30:14Z" ], + "Date": [ "Thu, 23 May 2024 10:30:20 GMT" ] }, "ContentHeaders": { "Content-Length": [ "28" ], @@ -529,10 +347,10 @@ "isContentBase64": false } }, - "NewRelicObservability+[NoContext]+MetricRuleList+$POST+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-03/getMetricRules?api-version=2022-07-01+1": { + "NewRelicObservability+[NoContext]+MetricRuleList+$POST+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/getMetricRules?api-version=2024-01-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-03/getMetricRules?api-version=2022-07-01", + "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/getMetricRules?api-version=2024-01-01", "Content": "{\r\n \"userEmail\": \"v-jiaji@microsoft.com\"\r\n}", "isContentBase64": false, "Headers": { @@ -547,17 +365,20 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], "Request-Context": [ "appId=cid-v1:99558bd9-e2af-4edd-b8b9-dfc879de6669" ], - "mise-correlation-id": [ "550e663f-4058-4d0f-8534-a3da712a5dae" ], - "x-ms-correlation-request-id": [ "1e03727a-eaab-4b46-8478-6cd22f56dac9" ], - "x-ms-client-request-id": [ "22a0c412-76f2-4be3-ba42-e1293c739dfa" ], + "mise-correlation-id": [ "c76f37d9-5ef0-4557-a86d-28b684036c6a" ], + "x-ms-correlation-request-id": [ "150aa7ac-f9ba-4b4d-b86d-8a20c19db4cc" ], + "x-ms-client-request-id": [ "f677eeff-45f2-4a30-a52e-30b506411e4f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "2637e42c-7353-4396-9f25-a98705bdfc09" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20230704T024127Z:1e03727a-eaab-4b46-8478-6cd22f56dac9" ], - "Date": [ "Tue, 04 Jul 2023 02:41:26 GMT" ] + "x-ms-request-id": [ "6a2ffa1d-c64b-411b-9d3a-b11ee4530dae" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240523T103024Z:150aa7ac-f9ba-4b4d-b86d-8a20c19db4cc" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: D0EE418BEDCC4786818D846D19F2300C Ref B: MAA201060516031 Ref C: 2024-05-23T10:30:21Z" ], + "Date": [ "Thu, 23 May 2024 10:30:24 GMT" ] }, "ContentHeaders": { "Content-Length": [ "61" ], @@ -568,17 +389,17 @@ "isContentBase64": false } }, - "NewRelicObservability+[NoContext]+MetricStatusList+$POST+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-03/getMetricStatus?api-version=2022-07-01+1": { + "NewRelicObservability+[NoContext]+MetricStatusList+$POST+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/getMetricStatus?api-version=2024-01-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-03/getMetricStatus?api-version=2022-07-01", - "Content": "{\r\n \"azureResourceIds\": [ \"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/Microsoft.Web/sites/joyertest\" ],\r\n \"userEmail\": \"v-jiaji@microsoft.com\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/getMetricStatus?api-version=2024-01-01", + "Content": "{\r\n \"azureResourceIds\": [ \"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/Microsoft.Web/sites/joyertestapp\" ],\r\n \"userEmail\": \"v-jiaji@microsoft.com\"\r\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "189" ] + "Content-Length": [ "200" ] } }, "Response": { @@ -586,40 +407,43 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], "Request-Context": [ "appId=cid-v1:99558bd9-e2af-4edd-b8b9-dfc879de6669" ], - "mise-correlation-id": [ "3889c508-b367-462b-b8f3-e4db0bb39b3c" ], - "x-ms-correlation-request-id": [ "64bae419-6e97-4fa7-aa69-9292dde751a5" ], - "x-ms-client-request-id": [ "958fc720-4425-4b9d-8afa-3e99c8f13833" ], + "mise-correlation-id": [ "e0e2066f-cc1f-423b-8b74-01ad70e0d00a" ], + "x-ms-correlation-request-id": [ "d3e37e29-3c03-4b9c-983c-fc98981188ca" ], + "x-ms-client-request-id": [ "e660f245-9f4b-452c-8abb-3dbe4e95563a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "3762a492-2790-44c1-b4c4-51ea4693659b" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20230704T024129Z:64bae419-6e97-4fa7-aa69-9292dde751a5" ], - "Date": [ "Tue, 04 Jul 2023 02:41:29 GMT" ] + "x-ms-request-id": [ "44c36fe2-ba48-4b87-a38e-afd9d98d6a67" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240523T103027Z:d3e37e29-3c03-4b9c-983c-fc98981188ca" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 7E9BAF7707F448C5B59EC427C9537C7D Ref B: MAA201060516031 Ref C: 2024-05-23T10:30:24Z" ], + "Date": [ "Thu, 23 May 2024 10:30:27 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "139" ], + "Content-Length": [ "23" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"azureResourceIds\":[\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourcegroups/ps-test/providers/microsoft.web/sites/joyertest\"]}", + "Content": "{\"azureResourceIds\":[]}", "isContentBase64": false } }, - "NewRelicObservability+[NoContext]+MonitoredResource+$POST+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-03/monitoredResources?api-version=2022-07-01+1": { + "NewRelicObservability+[NoContext]+MonitoredResource+$POST+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/monitoredResources?api-version=2024-01-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-03/monitoredResources?api-version=2022-07-01", + "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/monitoredResources?api-version=2024-01-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "16" ], - "x-ms-client-request-id": [ "fd605726-2e44-4072-bdf3-9fec85930f2e" ], + "x-ms-unique-id": [ "13" ], + "x-ms-client-request-id": [ "17ead234-5393-4c08-aab0-3ca3fe123285" ], "CommandName": [ "Get-AzNewRelicMonitorMonitoredResource" ], "FullCommandName": [ "Get-AzNewRelicMonitorMonitoredResource_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.5", "Az.NewRelic/0.1.0" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.NewRelic/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -630,40 +454,43 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], "Request-Context": [ "appId=cid-v1:99558bd9-e2af-4edd-b8b9-dfc879de6669" ], - "mise-correlation-id": [ "c9d55d9c-3617-4567-b664-350bea6ffce5" ], - "x-ms-correlation-request-id": [ "79f03809-aa9d-4c6a-9e29-edbdc059d5f9" ], - "x-ms-client-request-id": [ "fd605726-2e44-4072-bdf3-9fec85930f2e" ], + "mise-correlation-id": [ "ab394686-c33d-4354-b853-045b612bfff2" ], + "x-ms-correlation-request-id": [ "743a400a-7341-48b2-b8b8-d8db78843909" ], + "x-ms-client-request-id": [ "17ead234-5393-4c08-aab0-3ca3fe123285" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "daa509d1-db4b-489a-ad4b-da22704eaae7" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20230704T024130Z:79f03809-aa9d-4c6a-9e29-edbdc059d5f9" ], - "Date": [ "Tue, 04 Jul 2023 02:41:30 GMT" ] + "x-ms-request-id": [ "fefc381a-fce9-49ef-abf2-573e289db7b5" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240523T103029Z:743a400a-7341-48b2-b8b8-d8db78843909" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: E850667FEDCD4FF9A033AD6EA6C8A85E Ref B: MAA201060516031 Ref C: 2024-05-23T10:30:28Z" ], + "Date": [ "Thu, 23 May 2024 10:30:29 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "15812" ], + "Content-Length": [ "28" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/PS-TEST/PROVIDERS/MICROSOFT.INSIGHTS/COMPONENTS/JOYERTEST2\",\"sendingLogs\":\"Enabled\",\"reasonForLogsStatus\":\"CapturedByRules\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/PS-TEST/PROVIDERS/MICROSOFT.WEB/SITES/JOYERTEST\",\"sendingLogs\":\"Enabled\",\"reasonForLogsStatus\":\"CapturedByRules\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/PS-TEST/PROVIDERS/MICROSOFT.WEB/SITES/JOYERTEST2\",\"sendingLogs\":\"Enabled\",\"reasonForLogsStatus\":\"CapturedByRules\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/PS-TEST/PROVIDERS/MICROSOFT.WEB/SERVERFARMS/PSTEST\",\"sendingLogs\":\"Enabled\",\"reasonForLogsStatus\":\"CapturedByRules\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/KANSINGH-RG/PROVIDERS/MICROSOFT.NETWORK/PUBLICIPADDRESSES/KANSINGH-TESTVM1-IP\",\"sendingLogs\":\"Enabled\",\"reasonForLogsStatus\":\"CapturedByRules\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/ACCTEST9482/PROVIDERS/MICROSOFT.INSIGHTS/COMPONENTS/TEST3210\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/MC_KANSINGH-RG_TESTNRCLUSTER_EASTUS/PROVIDERS/MICROSOFT.NETWORK/PUBLICIPADDRESSES/99894EC0-4C67-4D40-BF63-B640D59E1596\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/KANSINGH-RG/PROVIDERS/MICROSOFT.NETWORK/VIRTUALNETWORKS/VIRTUALNETWORK_NRTEST1\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/SAURGUPTA_RG/PROVIDERS/MICROSOFT.INSIGHTS/COMPONENTS/SAURGUPTAFUNCTIONAPP01\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/MC_GAURAV-TEST_GAURAV-TEST-AKS_EASTUS/PROVIDERS/MICROSOFT.NETWORK/PUBLICIPADDRESSES/102094D5-0DC0-4F1A-8343-7AF575755BEA\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/ACCTEST9482/PROVIDERS/MICROSOFT.NETWORK/PUBLICIPADDRESSES/TEST123-IP\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/GAURAV-TEST/PROVIDERS/MICROSOFT.DOCUMENTDB/DATABASEACCOUNTS/GAURAV-TEST-COSMOS\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/MC_KANSINGH-RG_TESTNRCLUSTER_EASTUS/PROVIDERS/MICROSOFT.NETWORK/NETWORKSECURITYGROUPS/AKS-AGENTPOOL-22587335-NSG\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/SAURGUPTA_RG/PROVIDERS/MICROSOFT.NETWORK/NETWORKSECURITYGROUPS/SAURG-VM-01-NSG\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/RG-RHEA/PROVIDERS/MICROSOFT.APPPLATFORM/SPRING/SPRING-TEST-01\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/DIPESH_TEST/PROVIDERS/MICROSOFT.AUTOMATION/AUTOMATIONACCOUNTS/ADDUSERTOGROUP\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/VIP-RG/PROVIDERS/MICROSOFT.NETWORK/VIRTUALNETWORKS/VIP-RG-VNET\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/VIP-RG/PROVIDERS/MICROSOFT.INSIGHTS/COMPONENTS/VIP-JAVA-APP-110123\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/DIV-TEST-RG/PROVIDERS/MICROSOFT.DOCUMENTDB/DATABASEACCOUNTS/DIV-TEST-DB\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/ACCTEST9482/PROVIDERS/MICROSOFT.NETWORK/VIRTUALNETWORKS/TEST123-VNET\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/KANSINGH-RG/PROVIDERS/MICROSOFT.CONTAINERSERVICE/MANAGEDCLUSTERS/TESTNRCLUSTER\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/VIP-RG/PROVIDERS/MICROSOFT.CONTAINERSERVICE/MANAGEDCLUSTERS/VIP-TEST-AKS\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/VIP-RG/PROVIDERS/MICROSOFT.NETWORK/PUBLICIPADDRESSES/TEST-FOR-MONITOREDRESOURCES\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/VIP-RG/PROVIDERS/MICROSOFT.INSIGHTS/COMPONENTS/VIP-TEST-APP-28NOV22\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/KANSINGH-RG/PROVIDERS/MICROSOFT.KEYVAULT/VAULTS/KVTESTNR1\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/GAURAV-TEST/PROVIDERS/MICROSOFT.CONTAINERSERVICE/MANAGEDCLUSTERS/GAURAV-TEST-AKS\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/GAURAV-TEST/PROVIDERS/MICROSOFT.KEYVAULT/VAULTS/GAURAV-KEY-VAULT\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/MC_KANSINGH-RG_TESTNRCLUSTER_EASTUS/PROVIDERS/MICROSOFT.NETWORK/VIRTUALNETWORKS/AKS-VNET-22587335\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/JKALIS-TEST-MEDIA-RG/PROVIDERS/MICROSOFT.MEDIA/MEDIASERVICES/LIFTRMEDIATEST123\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/NGINXAAS_RG/PROVIDERS/MICROSOFT.NETWORK/VIRTUALNETWORKS/NGINXAASTESTJAN-VNET\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/MC_GAURAV-TEST_GAURAV-TEST-AKS_EASTUS/PROVIDERS/MICROSOFT.NETWORK/LOADBALANCERS/KUBERNETES\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/MC_GAURAV-TEST_GAURAV-TEST-AKS_EASTUS/PROVIDERS/MICROSOFT.NETWORK/NETWORKSECURITYGROUPS/AKS-AGENTPOOL-13935798-NSG\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/MC_GAURAV-TEST_GAURAV-TEST-AKS_EASTUS/PROVIDERS/MICROSOFT.NETWORK/VIRTUALNETWORKS/AKS-VNET-13935798\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/SAURGUPTA_RG/PROVIDERS/MICROSOFT.INSIGHTS/COMPONENTS/SAURGUPTAWEBAPP27THFEB\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/MC_VIP-RG_VIP-TEST-AKS_EASTUS2EUAP/PROVIDERS/MICROSOFT.NETWORK/PUBLICIPADDRESSES/7DDD748F-73C2-459C-9E2E-4AE214A0C24D\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/KANSINGH-RG/PROVIDERS/MICROSOFT.NETWORK/NETWORKSECURITYGROUPS/KANSINGH-TESTVM1-NSG\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/NGINXAAS_RG/PROVIDERS/MICROSOFT.NETWORK/NETWORKSECURITYGROUPS/NGINXAASTESTJAN-VNET-NSG\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/MC_KANSINGH-RG_TESTNRCLUSTER_EASTUS/PROVIDERS/MICROSOFT.NETWORK/LOADBALANCERS/KUBERNETES\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/VIP-RG/PROVIDERS/MICROSOFT.NETWORK/PUBLICIPADDRESSES/VIP-TEST-VM-1-IP\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/DEFAULTRESOURCEGROUP-EUS/PROVIDERS/MICROSOFT.OPERATIONALINSIGHTS/WORKSPACES/DEFAULTWORKSPACE-272C26CB-7026-4B37-B190-7CB7B2ABECB0-EUS\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/DIV-TEST-RG/PROVIDERS/MICROSOFT.INSIGHTS/COMPONENTS/VIKASTEST\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/SAURGUPTA_RG/PROVIDERS/MICROSOFT.INSIGHTS/COMPONENTS/SAURGUPTAWEBAPP27THFEB2\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/VIP-RG/PROVIDERS/MICROSOFT.NETWORK/PUBLICIPADDRESSES/VIP-TEST-VM-WINDOWS-IP\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/SAURGUPTA_RG/PROVIDERS/MICROSOFT.NETWORK/VIRTUALNETWORKS/SAURGUPTA_RG-VNET\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/SAURGUPTA_RG/PROVIDERS/MICROSOFT.NETWORK/PUBLICIPADDRESSES/SAURG-VM-01-IP\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/SAURGUPTA_RG/PROVIDERS/MICROSOFT.INSIGHTS/COMPONENTS/SAURGUPTAWA30THJAN01\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/VIP-RG/PROVIDERS/MICROSOFT.KEYVAULT/VAULTS/TEST-KV-VIP\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/ACCTEST9482/PROVIDERS/MICROSOFT.NETWORK/NETWORKSECURITYGROUPS/TEST123-NSG\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/MC_VIP-RG_VIP-TEST-AKS_EASTUS2EUAP/PROVIDERS/MICROSOFT.NETWORK/LOADBALANCERS/KUBERNETES\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/VIP-RG/PROVIDERS/MICROSOFT.NETWORK/NETWORKSECURITYGROUPS/VIP-TEST-VM-2-NSG\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/MC_VIP-RG_VIP-TEST-AKS_EASTUS2EUAP/PROVIDERS/MICROSOFT.NETWORK/VIRTUALNETWORKS/AKS-VNET-33212644\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/DIV-TEST-RG/PROVIDERS/MICROSOFT.APPCONFIGURATION/CONFIGURATIONSTORES/TESTAPPCONFIG12\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/VIP-RG/PROVIDERS/MICROSOFT.NETWORK/NETWORKSECURITYGROUPS/VIP-TEST-VM-WINDOWS-NSG\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/VIP-RG/PROVIDERS/MICROSOFT.NETWORK/NETWORKSECURITYGROUPS/VIP-TEST-VM-1-NSG\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/DIV-TEST-RG/PROVIDERS/MICROSOFT.DATAFACTORY/FACTORIES/DIV-TEST-DATA-FACTORY\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/NGINXAAS_RG/PROVIDERS/MICROSOFT.NETWORK/PUBLICIPADDRESSES/NGINXAASTESTJAN-IP\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/PS-TEST/PROVIDERS/MICROSOFT.INSIGHTS/COMPONENTS/JOYERTEST\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/DIV-TEST-RG/PROVIDERS/MICROSOFT.INSIGHTS/COMPONENTS/DIV-TEST-APP\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/MC_VIP-RG_VIP-TEST-AKS_EASTUS2EUAP/PROVIDERS/MICROSOFT.NETWORK/NETWORKSECURITYGROUPS/AKS-AGENTPOOL-33212644-NSG\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/VIP-TEST-APP-28NOV22-WIN_GROUP/PROVIDERS/MICROSOFT.INSIGHTS/COMPONENTS/VIP-TEST-APP-28NOV22-WIN\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/ACCTEST9482/PROVIDERS/MICROSOFT.WEB/SITES/TEST3210\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/SAURGUPTA_RG/PROVIDERS/MICROSOFT.WEB/SITES/SAURGUPTAFUNCTIONAPP01\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/VIP-TEST-APP-28NOV22-WIN_GROUP/PROVIDERS/MICROSOFT.WEB/SITES/VIP-TEST-APP-28NOV22-WIN\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/VIP-RG/PROVIDERS/MICROSOFT.WEB/SITES/VIP-JAVA-APP-110123\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/DIV-TEST-RG/PROVIDERS/MICROSOFT.WEB/SITES/VIKASTEST\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/DIV-TEST-RG/PROVIDERS/MICROSOFT.WEB/SITES/DIV-TEST-APP\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/SAURGUPTA_RG/PROVIDERS/MICROSOFT.WEB/SITES/SAURGUPTAWEBAPP27THFEB2\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"},{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/VIP-RG/PROVIDERS/MICROSOFT.WEB/SITES/VIP-TEST-APP-28NOV22\",\"sendingLogs\":\"Disabled\",\"reasonForLogsStatus\":\"DiagnosticSettingsLimitReached\"}],\"nextLink\":null}", + "Content": "{\"value\":[],\"nextLink\":null}", "isContentBase64": false } }, - "NewRelicObservability+[NoContext]+AccountPlanList+$GET+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts?api-version=2022-07-01\u0026userEmail=v-jiaji%40microsoft.com\u0026location=eastus+1": { + "NewRelicObservability+[NoContext]+AccountPlanList+$GET+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts?api-version=2024-01-01\u0026userEmail=v-jiaji%40microsoft.com\u0026location=eastus+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts?api-version=2022-07-01\u0026userEmail=v-jiaji%40microsoft.com\u0026location=eastus", + "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts?api-version=2024-01-01\u0026userEmail=v-jiaji%40microsoft.com\u0026location=eastus", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "17" ], - "x-ms-client-request-id": [ "ab7ef4b0-7440-4836-af32-18aa36f82bbf" ], + "x-ms-unique-id": [ "14" ], + "x-ms-client-request-id": [ "b6a9982d-ff93-4f4d-b455-52f5dccdced7" ], "CommandName": [ "Get-AzNewRelicAccount" ], "FullCommandName": [ "Get-AzNewRelicAccount_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.5", "Az.NewRelic/0.1.0" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.NewRelic/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -674,40 +501,43 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], "Request-Context": [ "appId=cid-v1:99558bd9-e2af-4edd-b8b9-dfc879de6669" ], - "mise-correlation-id": [ "e82b4f94-2da8-424a-996d-d71e02a4bf8f" ], - "x-ms-correlation-request-id": [ "eb6a8136-d77c-4ccc-8511-6e9eb1eb8c7d" ], - "x-ms-client-request-id": [ "ab7ef4b0-7440-4836-af32-18aa36f82bbf" ], + "mise-correlation-id": [ "02e9e868-7cff-4101-8f8f-3c0bd5551ca9" ], + "x-ms-correlation-request-id": [ "bf5373f5-928c-43e2-b6db-6ea9cc9ca643" ], + "x-ms-client-request-id": [ "b6a9982d-ff93-4f4d-b455-52f5dccdced7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "188a525d-3d5d-458b-9b1b-3a39a3011493" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20230704T024135Z:eb6a8136-d77c-4ccc-8511-6e9eb1eb8c7d" ], - "Date": [ "Tue, 04 Jul 2023 02:41:35 GMT" ] + "x-ms-request-id": [ "397e36ac-e65f-4638-a939-d0e9ddfbdca3" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240523T103035Z:bf5373f5-928c-43e2-b6db-6ea9cc9ca643" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: E4028F441794462E8F30069BB7CC2A32 Ref B: MAA201060516031 Ref C: 2024-05-23T10:30:29Z" ], + "Date": [ "Thu, 23 May 2024 10:30:34 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2963" ], + "Content-Length": [ "4439" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts/4003694\",\"properties\":{\"accountId\":\"4003694\",\"accountName\":\"4003694\",\"organizationId\":\"2ae82717-8d07-45e6-946f-6221e47687fb\",\"region\":\"eastus\"}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts/4002530\",\"properties\":{\"accountId\":\"4002530\",\"accountName\":\"4002530\",\"organizationId\":\"6f8b584a-02a8-4e0a-bd96-77e39f017802\",\"region\":\"eastus\"}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts/4002524\",\"properties\":{\"accountId\":\"4002524\",\"accountName\":\"4002524\",\"organizationId\":\"88920754-30e2-4356-8211-60ae56d8ea54\",\"region\":\"eastus\"}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts/4002514\",\"properties\":{\"accountId\":\"4002514\",\"accountName\":\"4002514\",\"organizationId\":\"20b21e30-2716-41d0-b5e7-a0b04f30bd22\",\"region\":\"eastus\"}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts/3996563\",\"properties\":{\"accountId\":\"3996563\",\"accountName\":\"3996563\",\"organizationId\":\"9c5445c7-65e3-4bd5-8581-80c65584100f\",\"region\":\"eastus\"}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts/3994857\",\"properties\":{\"accountId\":\"3994857\",\"accountName\":\"3994857\",\"organizationId\":\"ea6e1130-d7a1-4519-826f-e7d51b66c7a4\",\"region\":\"eastus\"}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts/3994838\",\"properties\":{\"accountId\":\"3994838\",\"accountName\":\"3994838\",\"organizationId\":\"40f16846-b6e5-4394-9dcd-36c484b5d907\",\"region\":\"eastus\"}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts/3974757\",\"properties\":{\"accountId\":\"3974757\",\"accountName\":\"3974757\",\"organizationId\":\"d2f7ead5-855d-4c76-ab0e-8db6ace6a4e1\",\"region\":\"eastus\"}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts/3968603\",\"properties\":{\"accountId\":\"3968603\",\"accountName\":\"3968603\",\"organizationId\":\"5ef43ba0-1831-44a3-a8d0-6da95bec103e\",\"region\":\"eastus\"}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts/3967352\",\"properties\":{\"accountId\":\"3967352\",\"accountName\":\"3967352\",\"organizationId\":\"9a7aa973-ff6e-4e0f-acd6-86b41f6a7b80\",\"region\":\"eastus\"}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts/3967342\",\"properties\":{\"accountId\":\"3967342\",\"accountName\":\"3967342\",\"organizationId\":\"51170629-d6fd-4c58-91a3-0efb267704e7\",\"region\":\"eastus\"}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts/3966988\",\"properties\":{\"accountId\":\"3966988\",\"accountName\":\"3966988\",\"organizationId\":\"61c8301a-d564-4c97-aeec-d9bec5bca043\",\"region\":\"eastus\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts/3974757\",\"properties\":{\"accountId\":\"3974757\",\"accountName\":\"3974757\",\"organizationId\":\"d2f7ead5-855d-4c76-ab0e-8db6ace6a4e1\",\"region\":\"eastus\"}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts/4003694\",\"properties\":{\"accountId\":\"4003694\",\"accountName\":\"4003694\",\"organizationId\":\"2ae82717-8d07-45e6-946f-6221e47687fb\",\"region\":\"eastus\"}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts/3967352\",\"properties\":{\"accountId\":\"3967352\",\"accountName\":\"3967352\",\"organizationId\":\"9a7aa973-ff6e-4e0f-acd6-86b41f6a7b80\",\"region\":\"eastus\"}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts/4456029\",\"properties\":{\"accountId\":\"4456029\",\"accountName\":\"4456029\",\"organizationId\":\"a5dec75f-e145-4243-bae7-5197df2219f6\",\"region\":\"eastus\"}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts/4458669\",\"properties\":{\"accountId\":\"4458669\",\"accountName\":\"4458669\",\"organizationId\":\"50919780-11fc-42a5-934f-6ae8dc6587d9\",\"region\":\"eastus\"}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts/3967342\",\"properties\":{\"accountId\":\"3967342\",\"accountName\":\"3967342\",\"organizationId\":\"51170629-d6fd-4c58-91a3-0efb267704e7\",\"region\":\"eastus\"}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts/3966988\",\"properties\":{\"accountId\":\"3966988\",\"accountName\":\"3966988\",\"organizationId\":\"61c8301a-d564-4c97-aeec-d9bec5bca043\",\"region\":\"eastus\"}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts/4002514\",\"properties\":{\"accountId\":\"4002514\",\"accountName\":\"4002514\",\"organizationId\":\"20b21e30-2716-41d0-b5e7-a0b04f30bd22\",\"region\":\"eastus\"}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts/3994838\",\"properties\":{\"accountId\":\"3994838\",\"accountName\":\"3994838\",\"organizationId\":\"40f16846-b6e5-4394-9dcd-36c484b5d907\",\"region\":\"eastus\"}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts/3994857\",\"properties\":{\"accountId\":\"3994857\",\"accountName\":\"3994857\",\"organizationId\":\"ea6e1130-d7a1-4519-826f-e7d51b66c7a4\",\"region\":\"eastus\"}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts/3968603\",\"properties\":{\"accountId\":\"3968603\",\"accountName\":\"3968603\",\"organizationId\":\"5ef43ba0-1831-44a3-a8d0-6da95bec103e\",\"region\":\"eastus\"}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts/3996563\",\"properties\":{\"accountId\":\"3996563\",\"accountName\":\"3996563\",\"organizationId\":\"9c5445c7-65e3-4bd5-8581-80c65584100f\",\"region\":\"eastus\"}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts/4002530\",\"properties\":{\"accountId\":\"4002530\",\"accountName\":\"4002530\",\"organizationId\":\"6f8b584a-02a8-4e0a-bd96-77e39f017802\",\"region\":\"eastus\"}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts/4002524\",\"properties\":{\"accountId\":\"4002524\",\"accountName\":\"4002524\",\"organizationId\":\"88920754-30e2-4356-8211-60ae56d8ea54\",\"region\":\"eastus\"}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts/4442203\",\"properties\":{\"accountId\":\"4442203\",\"accountName\":\"4442203\",\"organizationId\":\"b5c18841-c8a2-4c34-9aa6-45edfa0e0783\",\"region\":\"eastus\"}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts/4404219\",\"properties\":{\"accountId\":\"4404219\",\"accountName\":\"4404219\",\"organizationId\":\"c15df2c9-75ba-4d92-9e83-6b9657a60aac\",\"region\":\"eastus\"}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts/4457435\",\"properties\":{\"accountId\":\"4457435\",\"accountName\":\"4457435\",\"organizationId\":\"d660d396-4114-4f97-a29e-ad8833c4bec6\",\"region\":\"eastus\"}},{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/accounts/4457456\",\"properties\":{\"accountId\":\"4457456\",\"accountName\":\"4457456\",\"organizationId\":\"fe8fd616-c10d-40c2-b680-0a487ec69b0d\",\"region\":\"eastus\"}}]}", "isContentBase64": false } }, - "NewRelicObservability+[NoContext]+AccountPlanList+$GET+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/plans?api-version=2022-07-01\u0026organizationId=2ae82717-8d07-45e6-946f-6221e47687fb+2": { + "NewRelicObservability+[NoContext]+AccountPlanList+$GET+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/plans?api-version=2024-01-01\u0026organizationId=d2f7ead5-855d-4c76-ab0e-8db6ace6a4e1+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/plans?api-version=2022-07-01\u0026organizationId=2ae82717-8d07-45e6-946f-6221e47687fb", + "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/plans?api-version=2024-01-01\u0026organizationId=d2f7ead5-855d-4c76-ab0e-8db6ace6a4e1", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "18" ], - "x-ms-client-request-id": [ "4abb9084-4e47-48fc-91b6-73d6a66bf076" ], + "x-ms-unique-id": [ "15" ], + "x-ms-client-request-id": [ "28dba85a-f73e-48ab-b244-bc33ce8c046e" ], "CommandName": [ "Get-AzNewRelicPlan" ], "FullCommandName": [ "Get-AzNewRelicPlan_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.5", "Az.NewRelic/0.1.0" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.NewRelic/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -718,40 +548,43 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], "Request-Context": [ "appId=cid-v1:99558bd9-e2af-4edd-b8b9-dfc879de6669" ], - "mise-correlation-id": [ "71928dd5-2348-4b3e-8782-aba6f41aed7e" ], - "x-ms-correlation-request-id": [ "ff902ad6-c60f-4a9b-a311-889ce8a663f2" ], - "x-ms-client-request-id": [ "4abb9084-4e47-48fc-91b6-73d6a66bf076" ], + "mise-correlation-id": [ "f82ea6f6-5a4f-4684-9ae3-3457b2d439cf" ], + "x-ms-correlation-request-id": [ "f7cba895-f618-4a1b-a2e9-b21db4576e49" ], + "x-ms-client-request-id": [ "28dba85a-f73e-48ab-b244-bc33ce8c046e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "e8d31600-965b-44a4-8699-04bd3f78d963" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20230704T024135Z:ff902ad6-c60f-4a9b-a311-889ce8a663f2" ], - "Date": [ "Tue, 04 Jul 2023 02:41:35 GMT" ] + "x-ms-request-id": [ "1b3534ea-7116-480b-a3df-c503a5a4c53e" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240523T103038Z:f7cba895-f618-4a1b-a2e9-b21db4576e49" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: D5C611F4094945A993F89A1F1BDD9B1E Ref B: MAA201060516031 Ref C: 2024-05-23T10:30:35Z" ], + "Date": [ "Thu, 23 May 2024 10:30:38 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "402" ], + "Content-Length": [ "158" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/plans/newrelic-pay-as-you-go-free-live\",\"properties\":{\"planData\":{\"usageType\":\"PAYG\",\"billingCycle\":\"MONTHLY\",\"planDetails\":\"newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg\",\"effectiveDate\":\"2023-07-04T02:39:27.078Z\"},\"orgCreationSource\":\"LIFTR\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/plans/\",\"properties\":{\"orgCreationSource\":\"NEWRELIC\"}}]}", "isContentBase64": false } }, - "NewRelicObservability+[NoContext]+OrganizationList+$GET+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/organizations?api-version=2022-07-01\u0026userEmail=v-jiaji%40microsoft.com\u0026location=eastus+1": { + "NewRelicObservability+[NoContext]+OrganizationList+$GET+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/organizations?api-version=2024-01-01\u0026userEmail=v-jiaji%40microsoft.com\u0026location=eastus+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/organizations?api-version=2022-07-01\u0026userEmail=v-jiaji%40microsoft.com\u0026location=eastus", + "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/providers/NewRelic.Observability/organizations?api-version=2024-01-01\u0026userEmail=v-jiaji%40microsoft.com\u0026location=eastus", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "19" ], - "x-ms-client-request-id": [ "a03cc145-914e-4710-85a4-7d17137dc607" ], + "x-ms-unique-id": [ "16" ], + "x-ms-client-request-id": [ "a8be3673-2c55-4f4b-8e8d-af79e3c06e89" ], "CommandName": [ "Get-AzNewRelicOrganization" ], "FullCommandName": [ "Get-AzNewRelicOrganization_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.5", "Az.NewRelic/0.1.0" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.NewRelic/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -762,16 +595,19 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], "Request-Context": [ "appId=cid-v1:99558bd9-e2af-4edd-b8b9-dfc879de6669" ], - "mise-correlation-id": [ "18d7eafc-ee73-4f02-85ab-28f047d51e23" ], + "mise-correlation-id": [ "2d23b9ff-0c4a-45a5-9dc1-a682f79fe692" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "1acc5e61-0b12-41fd-84c7-a12a6c516c1e" ], - "x-ms-correlation-request-id": [ "540e2c79-34f7-42ce-9f27-aa7471b9f667" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20230704T024138Z:540e2c79-34f7-42ce-9f27-aa7471b9f667" ], - "Date": [ "Tue, 04 Jul 2023 02:41:38 GMT" ] + "x-ms-request-id": [ "ac638a51-55bd-4d6a-85ed-60d55b4d1083" ], + "x-ms-correlation-request-id": [ "6c06d57e-db73-46ee-a32d-ca6941aa6e4c" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240523T103042Z:6c06d57e-db73-46ee-a32d-ca6941aa6e4c" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: CDEEB124EB134A02B120496FCFB3F98A Ref B: MAA201060516031 Ref C: 2024-05-23T10:30:39Z" ], + "Date": [ "Thu, 23 May 2024 10:30:42 GMT" ] }, "ContentHeaders": { "Content-Length": [ "12" ], @@ -782,56 +618,19 @@ "isContentBase64": false } }, - "NewRelicObservability+[NoContext]+MonitorTagRuleUpdateExpanded+$PATCH+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01/tagRules/default?api-version=2022-07-01+1": { + "NewRelicObservability+[NoContext]+ListMonitorLinkedResource+$POST+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/listLinkedResources?api-version=2024-01-01+1": { "Request": { - "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01/tagRules/default?api-version=2022-07-01", - "Content": "{\r\n \"properties\": {\r\n \"logRules\": {\r\n \"sendActivityLogs\": \"Disabled\"\r\n }\r\n }\r\n}", - "isContentBase64": false, - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "92" ] - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "ETag": [ "\"7600f425-0000-0100-0000-64a386e20000\"" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], - "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "c39ebe9c-8ab6-4ba0-b16e-362abbcdd22e" ], - "x-ms-correlation-request-id": [ "c8627b84-4839-488f-9ff6-5083f1150a48" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20230704T024138Z:c8627b84-4839-488f-9ff6-5083f1150a48" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 04 Jul 2023 02:41:38 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "676" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01/tagRules/default\",\"name\":\"default\",\"type\":\"newrelic.observability/monitors/tagrules\",\"systemData\":{\"createdBy\":\"v-jiaji@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-07-04T02:40:41.5577204Z\",\"lastModifiedBy\":\"v-jiaji@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-07-04T02:41:38.3240677Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"logRules\":{\"sendAadLogs\":\"Enabled\",\"sendSubscriptionLogs\":\"Enabled\",\"sendActivityLogs\":\"Disabled\",\"filteringTags\":[]},\"metricRules\":{\"sendMetrics\":\"Enabled\",\"filteringTags\":[]}}}", - "isContentBase64": false - } - }, - "NewRelicObservability+[NoContext]+MonitorTagRuleDelete+$DELETE+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01/tagRules/default?api-version=2022-07-01+1": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01/tagRules/default?api-version=2022-07-01", + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/listLinkedResources?api-version=2024-01-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "21" ], - "x-ms-client-request-id": [ "59ab65ac-5e7b-4a99-b060-4b5d75e2965a" ], - "CommandName": [ "Remove-AzNewRelicMonitorTagRule" ], - "FullCommandName": [ "Remove-AzNewRelicMonitorTagRule_Delete" ], + "x-ms-unique-id": [ "17" ], + "x-ms-client-request-id": [ "157d667d-10fb-4458-8fab-20b0697b83d9" ], + "CommandName": [ "Get-AzNewRelicMonitorLinkedResource" ], + "FullCommandName": [ "Get-AzNewRelicMonitorLinkedResource_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.5", "Az.NewRelic/0.1.0" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.NewRelic/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -842,126 +641,132 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "00000000-0000-0000-0000-000000000000" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], - "x-ms-correlation-request-id": [ "a47dd092-c3d2-46fb-8fd6-a05eb6ad9d54" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20230704T024139Z:a47dd092-c3d2-46fb-8fd6-a05eb6ad9d54" ], + "Request-Context": [ "appId=cid-v1:99558bd9-e2af-4edd-b8b9-dfc879de6669" ], + "mise-correlation-id": [ "a1a26de9-1dd3-4c08-ae0e-b270998048e8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 04 Jul 2023 02:41:39 GMT" ] + "x-ms-request-id": [ "026690f5-c2fc-4546-ad85-883557f79743" ], + "x-ms-correlation-request-id": [ "77492902-c2d1-4ccf-a4db-9091ad59f4ea" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240523T103044Z:77492902-c2d1-4ccf-a4db-9091ad59f4ea" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: C238A3C3604F4D78B601B591AF78F45A Ref B: MAA201060516031 Ref C: 2024-05-23T10:30:42Z" ], + "Date": [ "Thu, 23 May 2024 10:30:44 GMT" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "176" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] }, - "Content": null, + "Content": "{\"value\":[{\"id\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/TESTGROUP-JOYER/PROVIDERS/NEWRELIC.OBSERVABILITY/MONITORS/TESTMONITOR-01\"}],\"nextLink\":null}", "isContentBase64": false } }, - "NewRelicObservability+[NoContext]+MonitorDelete+$DELETE+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01?api-version=2022-07-01\u0026userEmail=v-jiaji%40microsoft.com+1": { + "NewRelicObservability+[NoContext]+BillingInfoGet+$POST+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/getBillingInfo?api-version=2024-01-01+1": { "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01?api-version=2022-07-01\u0026userEmail=v-jiaji%40microsoft.com", + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/getBillingInfo?api-version=2024-01-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "22" ], - "x-ms-client-request-id": [ "cf1b1aae-5f47-4633-a2e4-7ab8cec1a707" ], - "CommandName": [ "Remove-AzNewRelicMonitor" ], - "FullCommandName": [ "Remove-AzNewRelicMonitor_Delete" ], + "x-ms-unique-id": [ "18" ], + "x-ms-client-request-id": [ "8ba8ada0-82fa-42dd-8ef2-91485fe7fcb4" ], + "CommandName": [ "Get-AzNewRelicBillingInfo" ], + "FullCommandName": [ "Get-AzNewRelicBillingInfo_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.5", "Az.NewRelic/0.1.0" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.NewRelic/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { } }, "Response": { - "StatusCode": 202, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"70003bc4-0000-0100-0000-64a386e40000\"" ], - "Location": [ "https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/be765926-3b7f-4f35-af4c-15e5ce70f4d1*5B35BF236CB20EBB1F5715CFE9DACBBDE54DB30CA4D4003540E6DE9871D332EE?api-version=2022-07-01" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], "Request-Context": [ "appId=cid-v1:99558bd9-e2af-4edd-b8b9-dfc879de6669" ], - "mise-correlation-id": [ "7c01e7b3-5799-4504-a647-97ee7ef7fd6a" ], + "mise-correlation-id": [ "8767dfa1-dbdf-4413-b258-08cd60bed69e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/be765926-3b7f-4f35-af4c-15e5ce70f4d1*5B35BF236CB20EBB1F5715CFE9DACBBDE54DB30CA4D4003540E6DE9871D332EE?api-version=2022-07-01" ], - "x-ms-request-id": [ "be765926-3b7f-4f35-af4c-15e5ce70f4d1" ], - "x-ms-correlation-request-id": [ "629c23c4-877e-43b8-9455-c56a63e31573" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20230704T024140Z:629c23c4-877e-43b8-9455-c56a63e31573" ], - "Date": [ "Tue, 04 Jul 2023 02:41:40 GMT" ] + "x-ms-request-id": [ "25ffe5f7-3ca1-4e19-a26f-73ce77401a8f" ], + "x-ms-correlation-request-id": [ "fff74525-53d2-47ed-be5f-2a83ecf395d4" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240523T103047Z:fff74525-53d2-47ed-be5f-2a83ecf395d4" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 0D36ABBFE2D0452286E76845C9EFE26C Ref B: MAA201060516031 Ref C: 2024-05-23T10:30:44Z" ], + "Date": [ "Thu, 23 May 2024 10:30:47 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "4" ], + "Content-Length": [ "633" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "bnVsbA==", + "Content": "{\"marketplaceSaasInfo\":{\"marketplaceSubscriptionId\":\"d0d07a42-ee17-478b-d979-1ddf7d726657\",\"marketplaceSubscriptionName\":\"AzNewRelic_1c26e57e-f627-44d0-8943-a2adebe4d900_testMonitor-01\",\"marketplaceResourceId\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/Microsoft.SaaS/resources/AzNewRelic_ab3d1aa1-285c-44c2-a82a-a1b7e10ac465_testMonitor-01\",\"marketplaceStatus\":\"Subscribed\",\"billedAzureSubscriptionId\":\"272c26cb-7026-4b37-b190-7cb7b2abecb0\"},\"partnerBillingEntity\":{\"organizationId\":\"d660d396-4114-4f97-a29e-ad8833c4bec6\",\"organizationName\":\"d660d396-4114-4f97-a29e-ad8833c4bec6\"}}", "isContentBase64": false } }, - "NewRelicObservability+[NoContext]+MonitorDelete+$GET+https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/be765926-3b7f-4f35-af4c-15e5ce70f4d1*5B35BF236CB20EBB1F5715CFE9DACBBDE54DB30CA4D4003540E6DE9871D332EE?api-version=2022-07-01+2": { + "NewRelicObservability+[NoContext]+GetConnectedPartnerResource+$POST+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/listConnectedPartnerResources?api-version=2024-01-01+1": { "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/be765926-3b7f-4f35-af4c-15e5ce70f4d1*5B35BF236CB20EBB1F5715CFE9DACBBDE54DB30CA4D4003540E6DE9871D332EE?api-version=2022-07-01", + "Method": "POST", + "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/listConnectedPartnerResources?api-version=2024-01-01", "Content": null, "isContentBase64": false, "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "23" ], - "x-ms-client-request-id": [ "cf1b1aae-5f47-4633-a2e4-7ab8cec1a707" ], - "CommandName": [ "Remove-AzNewRelicMonitor" ], - "FullCommandName": [ "Remove-AzNewRelicMonitor_Delete" ], + "x-ms-unique-id": [ "19" ], + "x-ms-client-request-id": [ "611783a2-3679-4636-ab5a-5854ba80df23" ], + "CommandName": [ "Get-AzNewRelicConnectedPartnerResource" ], + "FullCommandName": [ "Get-AzNewRelicConnectedPartnerResource_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.5", "Az.NewRelic/0.1.0" ] + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.NewRelic/0.1.0" ], + "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { } }, "Response": { - "StatusCode": 202, + "StatusCode": 200, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"f901041d-0000-0100-0000-64a386e60000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11997" ], - "x-ms-request-id": [ "40ae2177-db29-4e23-a6a8-dca252e33d19" ], - "x-ms-correlation-request-id": [ "6af34ef2-91ef-4157-91ef-1993ade548e7" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20230704T024210Z:6af34ef2-91ef-4157-91ef-1993ade548e7" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-providerhub-traffic": [ "True" ], + "Request-Context": [ "appId=cid-v1:99558bd9-e2af-4edd-b8b9-dfc879de6669" ], + "mise-correlation-id": [ "fb0721b2-733c-4c57-ae83-49317cdb0f9b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 04 Jul 2023 02:42:09 GMT" ] + "x-ms-request-id": [ "e4938e1b-f179-45db-8e3a-69a58d765569" ], + "x-ms-correlation-request-id": [ "9dbdb79a-7497-413d-b402-72fd31871aa4" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240523T103050Z:9dbdb79a-7497-413d-b402-72fd31871aa4" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: DBDE10686A004AACA695FAD589083BA7 Ref B: MAA201060516031 Ref C: 2024-05-23T10:30:47Z" ], + "Date": [ "Thu, 23 May 2024 10:30:49 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "504" ], + "Content-Length": [ "278" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/be765926-3b7f-4f35-af4c-15e5ce70f4d1*5B35BF236CB20EBB1F5715CFE9DACBBDE54DB30CA4D4003540E6DE9871D332EE\",\"name\":\"be765926-3b7f-4f35-af4c-15e5ce70f4d1*5B35BF236CB20EBB1F5715CFE9DACBBDE54DB30CA4D4003540E6DE9871D332EE\",\"resourceId\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01\",\"status\":\"Deleting\",\"startTime\":\"2023-07-04T02:41:40.2438994Z\",\"error\":{}}", + "Content": "{\"value\":[{\"properties\":{\"accountName\":\"Account 4458669\",\"accountId\":\"4458669\",\"azureResourceId\":\"/SUBSCRIPTIONS/272C26CB-7026-4B37-B190-7CB7B2ABECB0/RESOURCEGROUPS/TESTGROUP-JOYER/PROVIDERS/NEWRELIC.OBSERVABILITY/MONITORS/TESTMONITOR-01\",\"location\":\"eastus\"}}],\"nextLink\":null}", "isContentBase64": false } }, - "NewRelicObservability+[NoContext]+MonitorDelete+$GET+https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/be765926-3b7f-4f35-af4c-15e5ce70f4d1*5B35BF236CB20EBB1F5715CFE9DACBBDE54DB30CA4D4003540E6DE9871D332EE?api-version=2022-07-01+3": { + "NewRelicObservability+[NoContext]+MonitorTagRuleUpdateExpanded+$PATCH+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/tagRules/default?api-version=2024-01-01+1": { "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/be765926-3b7f-4f35-af4c-15e5ce70f4d1*5B35BF236CB20EBB1F5715CFE9DACBBDE54DB30CA4D4003540E6DE9871D332EE?api-version=2022-07-01", - "Content": null, + "Method": "PATCH", + "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/tagRules/default?api-version=2024-01-01", + "Content": "{\r\n \"properties\": {\r\n \"logRules\": {\r\n \"sendActivityLogs\": \"Disabled\"\r\n }\r\n }\r\n}", "isContentBase64": false, "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "24" ], - "x-ms-client-request-id": [ "cf1b1aae-5f47-4633-a2e4-7ab8cec1a707" ], - "CommandName": [ "Remove-AzNewRelicMonitor" ], - "FullCommandName": [ "Remove-AzNewRelicMonitor_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.5", "Az.NewRelic/0.1.0" ] }, "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "92" ] } }, "Response": { @@ -969,38 +774,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"f901fe20-0000-0100-0000-64a3871e0000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11996" ], - "x-ms-request-id": [ "09ae458f-dee4-4e6f-b4d9-6cd075e8f12b" ], - "x-ms-correlation-request-id": [ "578baca9-8f67-493a-a0d9-4e3283147349" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20230704T024241Z:578baca9-8f67-493a-a0d9-4e3283147349" ], + "ETag": [ "\"0d00ad43-0000-0100-0000-664f1adb0000\"" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-providerhub-traffic": [ "True" ], + "x-ms-request-id": [ "d53036e7-e22d-4989-ae78-056aa1840267" ], + "x-ms-correlation-request-id": [ "6f4ab2ab-01d5-478c-8db8-b5a7be35e334" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240523T103051Z:6f4ab2ab-01d5-478c-8db8-b5a7be35e334" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 04 Jul 2023 02:42:40 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 3AF04EF35225419AA4656EF08D1A507E Ref B: MAA201060516031 Ref C: 2024-05-23T10:30:50Z" ], + "Date": [ "Thu, 23 May 2024 10:30:51 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "564" ], + "Content-Length": [ "691" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/be765926-3b7f-4f35-af4c-15e5ce70f4d1*5B35BF236CB20EBB1F5715CFE9DACBBDE54DB30CA4D4003540E6DE9871D332EE\",\"name\":\"be765926-3b7f-4f35-af4c-15e5ce70f4d1*5B35BF236CB20EBB1F5715CFE9DACBBDE54DB30CA4D4003540E6DE9871D332EE\",\"resourceId\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01\",\"status\":\"Succeeded\",\"startTime\":\"2023-07-04T02:41:40.2438994Z\",\"endTime\":\"2023-07-04T02:42:38.2416043Z\",\"error\":{},\"properties\":null}", + "Content": "{\"id\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/tagRules/default\",\"name\":\"default\",\"type\":\"newrelic.observability/monitors/tagrules\",\"systemData\":{\"createdBy\":\"v-jiaji@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-05-23T10:29:27.0521822Z\",\"lastModifiedBy\":\"v-jiaji@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-05-23T10:30:50.7241381Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"logRules\":{\"sendAadLogs\":\"Enabled\",\"sendSubscriptionLogs\":\"Enabled\",\"sendActivityLogs\":\"Disabled\",\"filteringTags\":[]},\"metricRules\":{\"sendMetrics\":\"Enabled\",\"filteringTags\":[]}}}", "isContentBase64": false } }, - "NewRelicObservability+[NoContext]+MonitorDelete+$GET+https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/be765926-3b7f-4f35-af4c-15e5ce70f4d1*5B35BF236CB20EBB1F5715CFE9DACBBDE54DB30CA4D4003540E6DE9871D332EE?api-version=2022-07-01+4": { + "NewRelicObservability+[NoContext]+MonitorTagRuleDelete+$DELETE+https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/tagRules/default?api-version=2024-01-01+1": { "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/be765926-3b7f-4f35-af4c-15e5ce70f4d1*5B35BF236CB20EBB1F5715CFE9DACBBDE54DB30CA4D4003540E6DE9871D332EE?api-version=2022-07-01", + "Method": "DELETE", + "RequestUri": "https://management.azure.com/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/NewRelic.Observability/monitors/testMonitor-01/tagRules/default?api-version=2024-01-01", "Content": null, "isContentBase64": false, "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "25" ], - "x-ms-client-request-id": [ "cf1b1aae-5f47-4633-a2e4-7ab8cec1a707" ], - "CommandName": [ "Remove-AzNewRelicMonitor" ], - "FullCommandName": [ "Remove-AzNewRelicMonitor_Delete" ], + "x-ms-unique-id": [ "21" ], + "x-ms-client-request-id": [ "ec2a91c1-55c1-499a-a219-e189999f4416" ], + "CommandName": [ "Remove-AzNewRelicMonitorTagRule" ], + "FullCommandName": [ "Remove-AzNewRelicMonitorTagRule_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.5", "Az.NewRelic/0.1.0" ] + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.NewRelic/0.1.0" ], + "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { } @@ -1010,21 +819,23 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"f901fe20-0000-0100-0000-64a3871e0000\"" ], - "x-ms-ratelimit-remaining-tenant-reads": [ "11995" ], - "x-ms-request-id": [ "4e47df76-719c-490d-bfd9-6497818b5dec" ], - "x-ms-correlation-request-id": [ "555e2805-606a-4718-827c-4a363619a48d" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20230704T024241Z:555e2805-606a-4718-827c-4a363619a48d" ], + "x-ms-providerhub-traffic": [ "True" ], + "x-ms-request-id": [ "00000000-0000-0000-0000-000000000000" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "2b5b0833-865c-4bd5-8c38-d37f8bc2cb7d" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240523T103054Z:2b5b0833-865c-4bd5-8c38-d37f8bc2cb7d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 04 Jul 2023 02:42:40 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 12323B564DB844708E0F284D7C4B23F4 Ref B: MAA201060516031 Ref C: 2024-05-23T10:30:51Z" ], + "Date": [ "Thu, 23 May 2024 10:30:54 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "564" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] + "Expires": [ "-1" ], + "Content-Length": [ "0" ] }, - "Content": "{\"id\":\"/providers/NewRelic.Observability/locations/EASTUS/operationStatuses/be765926-3b7f-4f35-af4c-15e5ce70f4d1*5B35BF236CB20EBB1F5715CFE9DACBBDE54DB30CA4D4003540E6DE9871D332EE\",\"name\":\"be765926-3b7f-4f35-af4c-15e5ce70f4d1*5B35BF236CB20EBB1F5715CFE9DACBBDE54DB30CA4D4003540E6DE9871D332EE\",\"resourceId\":\"/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/NewRelic.Observability/monitors/test-01\",\"status\":\"Succeeded\",\"startTime\":\"2023-07-04T02:41:40.2438994Z\",\"endTime\":\"2023-07-04T02:42:38.2416043Z\",\"error\":{},\"properties\":null}", + "Content": null, "isContentBase64": false } } diff --git a/src/NewRelic/NewRelic.Autorest/test/NewRelicObservability.Tests.ps1 b/src/NewRelic/NewRelic.Autorest/test/NewRelicObservability.Tests.ps1 index f6bf7a46c0bd..3a05c42f694c 100644 --- a/src/NewRelic/NewRelic.Autorest/test/NewRelicObservability.Tests.ps1 +++ b/src/NewRelic/NewRelic.Autorest/test/NewRelicObservability.Tests.ps1 @@ -14,63 +14,58 @@ if(($null -eq $TestName) -or ($TestName -contains 'NewRelicObservability')) . ($mockingPath | Select-Object -First 1).FullName } -DEscribe 'NewRelicObservability' { - # New monitor - It 'MonitorCreateExpanded' { - { - New-AzNewRelicMonitor -Name $env.NewMonitorName -ResourceGroupName $env.resourceGroup -Location $env.region -PlanDataPlanDetail $env.planDetails -PlanDataBillingCycle $env.billingCycle -PlanDataUsageType $env.usageType -PlanDataEffectiveDate (Get-Date -DisplayHint DateTime) -UserInfoEmailAddress $env.testerEmail -UserInfoFirstName "Joyer" -UserInfoLastName "Jin" - } | Should -Not -Throw - } +Describe 'NewRelicObservability' { + # New monitor tag rule It 'MonitorTagRuleCreateExpanded' { { - New-AzNewRelicMonitorTagRule -MonitorName $env.NewMonitorName -ResourceGroupName $env.resourceGroup -RuleSetName default -LogRuleSendAadLog 'Enabled' -LogRuleSendActivityLog 'Enabled' -LogRuleSendSubscriptionLog 'Enabled' -MetricRuleSendMetric 'Enabled' -MetricRuleUserEmail $env.testerEmail + $tagrule = New-AzNewRelicMonitorTagRule -MonitorName $env.testMonitorName -ResourceGroupName $env.resourceGroup -RuleSetName 'default' -LogRuleSendAadLog 'Enabled' -LogRuleSendActivityLog 'Enabled' -LogRuleSendSubscriptionLog 'Enabled' -MetricRuleSendMetric 'Enabled' -MetricRuleUserEmail $env.testerEmail + $tagrule.Name | Should -Be 'default' + $tagrule.LogRuleSendActivityLog | Should -Be 'Enabled' + $tagrule.LogRuleSendAadLog | Should -Be 'Enabled' + $tagrule.LogRuleSendSubscriptionLog | Should -Be 'Enabled' + $tagrule.MetricRuleSendMetric | Should -Be 'Enabled' } | Should -Not -Throw } It 'MonitorTagRuleList' { { - Get-AzNewRelicMonitorTagRule -MonitorName $env.NewMonitorName -ResourceGroupName $env.resourceGroup - } | Should -Not -Throw - } - - It 'MonitorListSub' { - { - $result = Get-AzNewRelicMonitor - $result.Count | Should -BeGreaterThan 5 + $MonitorTagRuleList = Get-AzNewRelicMonitorTagRule -MonitorName $env.testMonitorName -ResourceGroupName $env.resourceGroup + $MonitorTagRuleList.Count | Should -BeGreaterOrEqual 1 } | Should -Not -Throw } It 'MonitorListGp' { { $result = Get-AzNewRelicMonitor -ResourceGroupName $env.resourceGroup - $result.Count | Should -BeGreaterThan 1 + $result.Count | Should -BeGreaterOrEqual 1 } | Should -Not -Throw } It 'MonitorGet' { { - $result = Get-AzNewRelicMonitor -Name $env.NewMonitorName -ResourceGroupName $env.resourceGroup - $result.Name | Should -Be $env.NewMonitorName + $result = Get-AzNewRelicMonitor -Name $env.testMonitorName -ResourceGroupName $env.resourceGroup + $result.Name | Should -Be $env.testMonitorName } | Should -Not -Throw } # available test It 'AppServiceList' { { - Get-AzNewRelicMonitorAppService -MonitorName $env.testMonitorName -ResourceGroupName $env.resourceGroup -UserEmail $env.testerEmail -AzureResourceId $env.testApp + Get-AzNewRelicMonitoredAppService -MonitorName $env.testMonitorName -ResourceGroupName $env.resourceGroup -UserEmail $env.testerEmail -AzureResourceId $env.testApp } | Should -Not -Throw } It 'HostList' { { - Get-AzNewRelicMonitorHost -MonitorName $env.NewMonitorName -ResourceGroupName $env.resourceGroup -VMId saurg-vm-01 -UserEmail $env.testerEmail + Get-AzNewRelicMonitoredHost -MonitorName $env.testMonitorName -ResourceGroupName $env.resourceGroup -VMId $env.testVMName -UserEmail $env.testerEmail } | Should -Not -Throw } It 'MetricRuleList' { { - Get-AzNewRelicMonitorMetricRule -MonitorName $env.testMonitorName -ResourceGroupName $env.resourceGroup -UserEmail $env.testerEmail + $MetricRuleList = Get-AzNewRelicMonitorMetricRule -MonitorName $env.testMonitorName -ResourceGroupName $env.resourceGroup -UserEmail $env.testerEmail + $MetricRuleList.Count | Should -BeGreaterOrEqual 1 } | Should -Not -Throw } @@ -79,18 +74,21 @@ DEscribe 'NewRelicObservability' { Get-AzNewRelicMonitorMetricStatus -MonitorName $env.testMonitorName -ResourceGroupName $env.resourceGroup -UserEmail $env.testerEmail -AzureResourceId $env.testApp } | Should -Not -Throw } + It 'MonitoredResource' { { Get-AzNewRelicMonitorMonitoredResource -MonitorName $env.testMonitorName -ResourceGroupName $env.resourceGroup } | Should -Not -Throw } - + It 'AccountPlanList' { { # AccountList $accountlist = Get-AzNewRelicAccount -Location eastus -UserEmail $env.testerEmail + $accountlist.Count | Should -BeGreaterThan 1 # PlanList - Get-AzNewRelicPlan -OrganizationId $accountlist[0].OrganizationId + $plan = Get-AzNewRelicPlan -OrganizationId $accountlist[0].OrganizationId + $plan | Should -Not -BeNullOrEmpty } | Should -Not -Throw } @@ -100,16 +98,67 @@ DEscribe 'NewRelicObservability' { } | Should -Not -Throw } - It 'InvokeHost' -skip { + It 'ListMonitorLinkedResource' { + { + $LinkedResource = Get-AzNewRelicMonitor -ListLinkedResource -MonitorName $env.testMonitorName -ResourceGroupName $env.resourceGroup + $LinkedResource.Count | Should -Be 1 + } | Should -Not -Throw + } + + It 'BillingInfoGet' { + { + $billing = Get-AzNewRelicBillingInfo -MonitorName $env.testMonitorName -ResourceGroupName $env.resourceGroup + $billing.Count | Should -Be 1 + } | Should -Not -Throw + } + It 'GetConnectedPartnerResource' { + { + $ConnectedPartnerResource = Get-AzNewRelicConnectedPartnerResource -MonitorName $env.testMonitorName -ResourceGroupName $env.resourceGroup + $ConnectedPartnerResource.Count | Should -BeGreaterOrEqual 1 + } | Should -Not -Throw + } + + It 'InvokeHost' -skip { # secret { - Invoke-AzNewRelicHostMonitor -MonitorName $env.NewMonitorName -ResourceGroupName $env.resourceGroup + Invoke-AzNewRelicHostMonitor -MonitorName $env.testMonitorName -ResourceGroupName $env.resourceGroup + } | Should -Not -Throw + } + + # Owner Subscription + It 'NewMonitoredSubscription' -skip { + { + $testSub = '00000000-0000-0000-0000-000000000000' + $includeFT = New-AzNewRelicFilteringTagObject -Action Include -Name testLogRule1 -Value filteringTag1 + $sub1 = New-AzNewRelicMonitoredSubscriptionObject -LogRuleFilteringTag $includeFT -LogRuleSendAadLog Enabled -LogRuleSendActivityLog Enabled -LogRuleSendSubscriptionLog Enabled -MetricRuleFilteringTag $includeFT -MetricRuleUserEmail $env.testerEmail -Status InProgress -SubscriptionId $testSub + New-AzNewRelicMonitoredSubscription -MonitorName $env.testMonitorName -ResourceGroupName $env.resourceGroup -MonitoredSubscriptionList $sub1 -PatchOperation AddBegin + } | Should -Not -Throw + } + It 'UpdateMonitoredSubscription' -skip { + { + $sub1 = New-AzNewRelicMonitoredSubscriptionObject -Status Active -SubscriptionId 00000000-0000-0000-0000-000000000000 + Update-AzNewRelicMonitoredSubscription -MonitorName $env.testMonitorName -ResourceGroupName $env.resourceGroup -MonitoredSubscriptionList $sub1 -PatchOperation AddComplete + } | Should -Not -Throw + } + It 'GetMonitoredSubscription' -skip { + { + Get-AzNewRelicMonitoredSubscription -MonitorName $env.testMonitorName -ResourceGroupName $env.resourceGroup + } | Should -Not -Throw + } + It 'GetMonitoredSubscriptionList' -skip { + { + Get-AzNewRelicMonitoredSubscription + } | Should -Not -Throw + } + It 'DeleteMonitoredSubscription' -skip { + { + Remove-AzNewRelicMonitoredSubscription -MonitorName $env.testMonitorName -ResourceGroupName $env.resourceGroup } | Should -Not -Throw } # Update monitor tag rule It 'MonitorTagRuleUpdateExpanded'{ { - $rule = Update-AzNewRelicMonitorTagRule -MonitorName $env.NewMonitorName -ResourceGroupName $env.resourceGroup -RuleSetName default -LogRuleSendActivityLog 'Disabled' + $rule = Update-AzNewRelicMonitorTagRule -MonitorName $env.testMonitorName -ResourceGroupName $env.resourceGroup -RuleSetName default -LogRuleSendActivityLog 'Disabled' $rule.LogRuleSendActivityLog | Should -Be 'Disabled' } | Should -Not -Throw } @@ -117,13 +166,7 @@ DEscribe 'NewRelicObservability' { # Remove monitor tag rule It 'MonitorTagRuleDelete' { { - Remove-AzNewRelicMonitorTagRule -MonitorName $env.NewMonitorName -ResourceGroupName $env.resourceGroup -RuleSetName default - } | Should -Not -Throw - } - # Remove monitor - It 'MonitorDelete' { - { - Remove-AzNewRelicMonitor -Name test-01 -ResourceGroupName $env.resourceGroup -UserEmail $env.testerEmail + Remove-AzNewRelicMonitorTagRule -MonitorName $env.testMonitorName -ResourceGroupName $env.resourceGroup -RuleSetName default -PassThru | Should -Be $true } | Should -Not -Throw } } \ No newline at end of file diff --git a/src/NewRelic/NewRelic.Autorest/test/Remove-AzNewRelicMonitor.Tests.ps1 b/src/NewRelic/NewRelic.Autorest/test/Remove-AzNewRelicMonitor.Tests.ps1 index 35c8626a5acc..5306ed735389 100644 --- a/src/NewRelic/NewRelic.Autorest/test/Remove-AzNewRelicMonitor.Tests.ps1 +++ b/src/NewRelic/NewRelic.Autorest/test/Remove-AzNewRelicMonitor.Tests.ps1 @@ -14,9 +14,12 @@ if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzNewRelicMonitor')) . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Remove-AzNewRelicMonitor' { - It 'Delete' -skip { - { throw [System.NotImplementedException] } | Should -Not -Throw +Describe 'Remove-AzNewRelicMonitor' -Tag 'LiveOnly' { + # Remove monitor + It 'MonitorDelete' { + { + Remove-AzNewRelicMonitor -Name $env.NewMonitorName -ResourceGroupName $env.resourceGroup -UserEmail $env.testerEmail + } | Should -Not -Throw } It 'DeleteViaIdentity' -skip { diff --git a/src/NewRelic/NewRelic.Autorest/test/Remove-AzNewRelicMonitorTagRule.Tests.ps1 b/src/NewRelic/NewRelic.Autorest/test/Remove-AzNewRelicMonitorTagRule.Tests.ps1 index c5d21f1d4bd4..4f1100a1fb2e 100644 --- a/src/NewRelic/NewRelic.Autorest/test/Remove-AzNewRelicMonitorTagRule.Tests.ps1 +++ b/src/NewRelic/NewRelic.Autorest/test/Remove-AzNewRelicMonitorTagRule.Tests.ps1 @@ -14,8 +14,8 @@ if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzNewRelicMonitorTagRu . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Remove-AzNewRelicMonitorTagRule' { - It 'Delete' -skip { +Describe 'Remove-AzNewRelicMonitorTagRule' { #Scenario Test + It 'DeleteViaIdentityMonitor' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } diff --git a/src/NewRelic/NewRelic.Autorest/test/Remove-AzNewRelicMonitoredSubscription.Tests.ps1 b/src/NewRelic/NewRelic.Autorest/test/Remove-AzNewRelicMonitoredSubscription.Tests.ps1 new file mode 100644 index 000000000000..ff05507ae2ce --- /dev/null +++ b/src/NewRelic/NewRelic.Autorest/test/Remove-AzNewRelicMonitoredSubscription.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzNewRelicMonitoredSubscription')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Remove-AzNewRelicMonitoredSubscription.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Remove-AzNewRelicMonitoredSubscription' { + It 'DeleteViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/NewRelic/NewRelic.Autorest/test/Switch-AzNewRelicMonitorBilling.Tests.ps1 b/src/NewRelic/NewRelic.Autorest/test/Switch-AzNewRelicMonitorBilling.Tests.ps1 index 5b736771e1e2..c9943e778f17 100644 --- a/src/NewRelic/NewRelic.Autorest/test/Switch-AzNewRelicMonitorBilling.Tests.ps1 +++ b/src/NewRelic/NewRelic.Autorest/test/Switch-AzNewRelicMonitorBilling.Tests.ps1 @@ -14,11 +14,19 @@ if(($null -eq $TestName) -or ($TestName -contains 'Switch-AzNewRelicMonitorBilli . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Switch-AzNewRelicMonitorBilling' { +Describe 'Switch-AzNewRelicMonitorBilling' { # Skip to test It 'SwitchExpanded' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } + It 'SwitchViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'SwitchViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + It 'SwitchViaIdentityExpanded' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } diff --git a/src/NewRelic/NewRelic.Autorest/test/Update-AzNewRelicMonitorTagRule.Tests.ps1 b/src/NewRelic/NewRelic.Autorest/test/Update-AzNewRelicMonitorTagRule.Tests.ps1 index 17b9431fc78e..08c2aab0ce80 100644 --- a/src/NewRelic/NewRelic.Autorest/test/Update-AzNewRelicMonitorTagRule.Tests.ps1 +++ b/src/NewRelic/NewRelic.Autorest/test/Update-AzNewRelicMonitorTagRule.Tests.ps1 @@ -14,8 +14,16 @@ if(($null -eq $TestName) -or ($TestName -contains 'Update-AzNewRelicMonitorTagRu . ($mockingPath | Select-Object -First 1).FullName } -Describe 'Update-AzNewRelicMonitorTagRule' { - It 'UpdateExpanded' -skip { +Describe 'Update-AzNewRelicMonitorTagRule' { #Scenario Test + It 'UpdateViaJsonString' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaJsonFilePath' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'UpdateViaIdentityMonitorExpanded' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } diff --git a/src/NewRelic/NewRelic.Autorest/test/Update-AzNewRelicMonitoredSubscription.Tests.ps1 b/src/NewRelic/NewRelic.Autorest/test/Update-AzNewRelicMonitoredSubscription.Tests.ps1 new file mode 100644 index 000000000000..bd3e62b2a0cc --- /dev/null +++ b/src/NewRelic/NewRelic.Autorest/test/Update-AzNewRelicMonitoredSubscription.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Update-AzNewRelicMonitoredSubscription')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Update-AzNewRelicMonitoredSubscription.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Update-AzNewRelicMonitoredSubscription' { + It 'UpdateViaIdentityExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/NewRelic/NewRelic.Autorest/test/env.json b/src/NewRelic/NewRelic.Autorest/test/env.json index 29b55243246e..cdf77fecddc0 100644 --- a/src/NewRelic/NewRelic.Autorest/test/env.json +++ b/src/NewRelic/NewRelic.Autorest/test/env.json @@ -1,13 +1,16 @@ { - "Tenant": "888d76fa-54b2-4ced-8ee5-aac1585adee7", + "testerFirstName": "Joyer", + "billingCycle": "MONTHLY", + "testApp": "/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/testgroup-joyer/providers/Microsoft.Web/sites/joyertestapp", + "testVMName": "joyertestmachine01", + "testMonitorName": "testMonitor-01", + "resourceGroup": "testgroup-joyer", + "planDetails": "newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg", "usageType": "PAYG", + "SubscriptionId": "272c26cb-7026-4b37-b190-7cb7b2abecb0", + "NewMonitorName": "test-01hevm6s", + "testerLastName": "Jin", "region": "eastus", - "planDetails": "newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg", - "testApp": "/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/Microsoft.Web/sites/joyertest", - "testerEmail": "v-jiaji@microsoft.com", - "testMonitorName": "test-03", - "billingCycle": "MONTHLY", - "resourceGroup": "ps-test", - "NewMonitorName": "test-01", - "SubscriptionId": "272c26cb-7026-4b37-b190-7cb7b2abecb0" + "Tenant": "888d76fa-54b2-4ced-8ee5-aac1585adee7", + "testerEmail": "v-jiaji@microsoft.com" } diff --git a/src/NewRelic/NewRelic.Autorest/test/loadEnv.ps1 b/src/NewRelic/NewRelic.Autorest/test/loadEnv.ps1 index 5f079e89615e..6a7c385c6b7d 100644 --- a/src/NewRelic/NewRelic.Autorest/test/loadEnv.ps1 +++ b/src/NewRelic/NewRelic.Autorest/test/loadEnv.ps1 @@ -25,5 +25,5 @@ if (Test-Path -Path (Join-Path $PSScriptRoot $envFile)) { $env = @{} if (Test-Path -Path $envFilePath) { $env = Get-Content (Join-Path $PSScriptRoot $envFile) | ConvertFrom-Json - $PSDefaultParameterValues=@{"*:SubscriptionId"=$env.SubscriptionId; "*:Tenant"=$env.Tenant} + $PSDefaultParameterValues=@{"*:Tenant"=$env.Tenant} } \ No newline at end of file diff --git a/src/NewRelic/NewRelic.Autorest/test/utils.ps1 b/src/NewRelic/NewRelic.Autorest/test/utils.ps1 index 52db11f06c89..1c06d9bc5a38 100644 --- a/src/NewRelic/NewRelic.Autorest/test/utils.ps1 +++ b/src/NewRelic/NewRelic.Autorest/test/utils.ps1 @@ -48,25 +48,42 @@ function setupEnv() { if ($TestMode -eq 'live') { $envFile = 'localEnv.json' } - $resourceGroup = 'ps-test' + $resourceGroup = 'testgroup-joyer' $env.Add('resourceGroup', $resourceGroup) $region = 'eastus' $env.Add('region', $region) $testerEmail = 'v-jiaji@microsoft.com' + $testerFirstName = 'Joyer' + $testerLastName = 'Jin' + $env.Add('testerEmail', $testerEmail) + $env.Add('testerFirstName', $testerFirstName) + $env.Add('testerLastName', $testerLastName) - $testMonitorName = 'test-03' + $testMonitorName = 'testMonitor-01' $env.Add('testMonitorName', $testMonitorName) - $NewMonitorName = 'test-01' + $NewMonitorName = 'test-01' + (RandomString -allChars $false -len 6) $env.Add('NewMonitorName', $NewMonitorName) - $testApp = '/subscriptions/272c26cb-7026-4b37-b190-7cb7b2abecb0/resourceGroups/ps-test/providers/Microsoft.Web/sites/joyertest' - $env.Add('testApp', $testApp) - - #Plan Data + $testAppPlanName = 'joyertestplan' + $testAppName = 'joyertestapp' + $testVMName = 'joyertestmachine01' + $env.Add('testVMName', $testVMName) + #Plan Data $env.SubscriptionId = 272c26cb-7026-4b37-b190-7cb7b2abecb0 + # Step 1: Create test group + Write-Host 'Start to create test resource group' $resourceGroup + try { + $null = Get-AzResourceGroup -Name $resourceGroup -ErrorAction Stop + Write-Host 'Get created group, go ahead' + } catch { + # New-AzResourceGroup -Name $env.resourceGroup -Location $env.region + Write-Error 'Please create related resources' + throw + } + # Step 2: Create monitor $planDetails = "newrelic-pay-as-you-go-free-live@TIDgmz7xq9ge3py@PUBIDnewrelicinc1635200720692.newrelic_liftr_payg" $env.Add('planDetails', $planDetails) $billingCycle = "MONTHLY" @@ -74,8 +91,30 @@ function setupEnv() { $usageType = 'PAYG' $env.Add('usageType', $usageType) - #create test group - #create app service + # New-AzNewRelicMonitor -Name $env.testMonitorName -ResourceGroupName $env.resourceGroup -Location $env.region -PlanDataPlanDetail $env.planDetails -PlanDataBillingCycle $env.billingCycle -PlanDataUsageType $env.usageType -PlanDataEffectiveDate (Get-Date -DisplayHint DateTime) -UserInfoEmailAddress $env.testerEmail -UserInfoFirstName $env.testerFirstName -UserInfoLastName $env.testerLastName + try { + $null = Get-AzNewRelicMonitor -Name $env.testMonitorName -ResourceGroupName $env.resourceGroup -ErrorAction Stop + } + catch { + Write-Error 'Please create a monitor firstly.' + throw + } + + # Write-Host 'create app service' + # Step 2: Create an App Service plan + # $null = New-AzAppServicePlan -ResourceGroupName $env.resourceGroup -Name $testAppPlanName -Location $env.region -Tier "Free" + # Step 3: Create the web app + # $testApp = New-AzWebApp -Name $testAppName -ResourceGroupName $env.resourceGroup -AppServicePlan $testAppPlanName + # Step 4: Install extension New Relic .NET Agent + try { + $testApp = Get-AzWebApp -Name $testAppName -ResourceGroupName $env.resourceGroup -ErrorAction Stop + } + catch { + Write-Error 'Please create a web app firstly.' + throw + } + + $env.Add('testApp', $testApp.Id) set-content -Path (Join-Path $PSScriptRoot $envFile) -Value (ConvertTo-Json $env) } diff --git a/src/NewRelic/NewRelic.Autorest/utils/Get-SubscriptionIdTestSafe.ps1 b/src/NewRelic/NewRelic.Autorest/utils/Get-SubscriptionIdTestSafe.ps1 new file mode 100644 index 000000000000..5319862d3372 --- /dev/null +++ b/src/NewRelic/NewRelic.Autorest/utils/Get-SubscriptionIdTestSafe.ps1 @@ -0,0 +1,7 @@ +param() +if ($env:AzPSAutorestTestPlaybackMode) { + $loadEnvPath = Join-Path $PSScriptRoot '..' 'test' 'loadEnv.ps1' + . ($loadEnvPath) + return $env.SubscriptionId +} +return (Get-AzContext).Subscription.Id \ No newline at end of file diff --git a/tools/StaticAnalysis/Exceptions/Az.NewRelic/UXMetadataIssues.csv b/tools/StaticAnalysis/Exceptions/Az.NewRelic/UXMetadataIssues.csv new file mode 100644 index 000000000000..fa426460b508 --- /dev/null +++ b/tools/StaticAnalysis/Exceptions/Az.NewRelic/UXMetadataIssues.csv @@ -0,0 +1,3 @@ +"Module","Severity","ResourceType","SubResourceType","Command","Description" +"Az.NewRelic","1","NewRelic.Observability","monitors-monitoredSubscriptions","Get-AzNewRelicMonitoredSubscription","configurationName is defined in path but cannot find in example" +"Az.NewRelic","1","NewRelic.Observability","monitors-monitoredSubscriptions","Remove-AzNewRelicMonitoredSubscription","configurationName is defined in path but cannot find in example" \ No newline at end of file