Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

29 changes: 29 additions & 0 deletions src/NewRelic/NewRelic.Autorest/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// 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.

using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")]
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - NewRelic")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.2.1")]
[assembly: System.Reflection.AssemblyVersionAttribute("0.2.1")]
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
[assembly: System.CLSCompliantAttribute(false)]



4 changes: 2 additions & 2 deletions src/NewRelic/NewRelic.Autorest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,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: 559f989d2b38bc80db762cfd277614583dddc3bb
tag: package-2024-01-01
commit: 91e3aca0bfa4b59a9f578959d0b214a26b90df40
tag: package-2025-05-01-preview
require:
# readme.azure.noprofile.md is the common configuration file
- $(this-folder)/../../readme.azure.noprofile.md
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"resourceType": "monitors/monitoredSubscriptions",
"apiVersion": "2024-01-01",
"apiVersion": "2025-05-01-preview",
"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.",
"description": "Lists all the subscriptions currently being monitored by the NewRelic monitor resource.",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/monitoredSubscriptions/{configurationName}",
"help": {
"learnMore": {
Expand All @@ -25,7 +25,7 @@
},
"examples": [
{
"description": "List the subscriptions currently being monitored by the NewRelic monitor resource.",
"description": "Lists all the subscriptions currently being monitored by the NewRelic monitor resource.",
"parameters": [
{
"name": "-MonitorName",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"resourceType": "monitors/tagRules",
"apiVersion": "2024-01-01",
"apiVersion": "2025-05-01-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.newrelic"
},
"commands": [
{
"name": "Get-AzNewRelicMonitorTagRule",
"description": "Get a TagRule",
"description": "Retrieves the details of the tag rules for a specific New Relic monitor resource, providing insight into its setup and status",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules/{ruleSetName}",
"help": {
"learnMore": {
Expand All @@ -26,7 +26,7 @@
},
"examples": [
{
"description": "Get a TagRule",
"description": "Retrieves the details of the tag rules for a specific New Relic monitor resource, providing insight into its setup and status",
"parameters": [
{
"name": "-MonitorName",
Expand All @@ -50,7 +50,7 @@
},
{
"name": "Remove-AzNewRelicMonitorTagRule",
"description": "Delete a TagRule",
"description": "Deletes a tag rule set for a given New Relic monitor resource, removing fine-grained control over observability based on resource tags",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules/{ruleSetName}",
"help": {
"learnMore": {
Expand All @@ -69,7 +69,7 @@
},
"examples": [
{
"description": "Delete a TagRule",
"description": "Deletes a tag rule set for a given New Relic monitor resource, removing fine-grained control over observability based on resource tags",
"parameters": [
{
"name": "-MonitorName",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"resourceType": "monitors",
"apiVersion": "2024-01-01",
"apiVersion": "2025-05-01-preview",
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.newrelic"
},
"commands": [
{
"name": "Get-AzNewRelicBillingInfo",
"description": "Get marketplace info mapped to the given monitor.",
"description": "Retrieves marketplace and organization information mapped to the given New Relic monitor resource",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/getBillingInfo",
"help": {
"learnMore": {
Expand All @@ -25,7 +25,7 @@
},
"examples": [
{
"description": "Get marketplace info mapped to the given monitor.",
"description": "Retrieves marketplace and organization information mapped to the given New Relic monitor resource",
"parameters": [
{
"name": "-MonitorName",
Expand All @@ -45,7 +45,7 @@
},
{
"name": "Invoke-AzNewRelicHostMonitor",
"description": "Returns the payload that needs to be passed in the request body for installing NewRelic agent on a VM.",
"description": "Returns the payload that needs to be passed in the request body for installing the New Relic agent on a VM, providing the necessary configuration details",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/vmHostPayloads",
"help": {
"learnMore": {
Expand All @@ -63,7 +63,45 @@
},
"examples": [
{
"description": "Returns the payload that needs to be passed in the request body for installing NewRelic agent on a VM.",
"description": "Returns the payload that needs to be passed in the request body for installing the New Relic agent on a VM, providing the necessary configuration details",
"parameters": [
{
"name": "-MonitorName",
"value": "[Path.monitorName]"
},
{
"name": "-ResourceGroupName",
"value": "[Path.resourceGroupName]"
},
{
"name": "-SubscriptionId",
"value": "[Path.subscriptionId]"
}
]
}
]
},
{
"name": "Invoke-AzNewRelicLatestMonitorLinkedSaaS",
"description": "Returns the latest SaaS linked to the newrelic organization of the underlying monitor.",
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/latestLinkedSaaS",
"help": {
"learnMore": {
"url": "https://learn.microsoft.com/powershell/module/az.newrelic/invoke-aznewreliclatestmonitorlinkedsaas"
},
"parameterSets": [
{
"parameters": [
"-MonitorName <String>",
"-ResourceGroupName <String>",
"[-SubscriptionId <String>]"
]
}
]
},
"examples": [
{
"description": "Returns the latest SaaS linked to the newrelic organization of the underlying monitor.",
"parameters": [
{
"name": "-MonitorName",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.FilteringTag
https://learn.microsoft.com/powershell/module/Az.NewRelic/new-aznewrelicfilteringtagobject
#>
function New-AzNewRelicFilteringTagObject {
[Microsoft.Azure.PowerShell.Cmdlets.NewRelic.ModelCmdletAttribute()]
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.FilteringTag')]
[CmdletBinding(PositionalBinding=$false)]
Param(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.MonitoredSubscription
https://learn.microsoft.com/powershell/module/Az.NewRelic/new-aznewrelicmonitoredsubscriptionobject
#>
function New-AzNewRelicMonitoredSubscriptionObject {
[Microsoft.Azure.PowerShell.Cmdlets.NewRelic.ModelCmdletAttribute()]
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.NewRelic.Models.MonitoredSubscription')]
[CmdletBinding(PositionalBinding=$false)]
Param(
Expand Down
Loading
Loading