Monitors interface
Interface representing a Monitors.
Methods
| begin |
Creates a new or updates an existing New Relic monitor resource in your Azure subscription. This sets up the integration between Azure and your New Relic account, enabling observability and monitoring of your Azure resources through New Relic |
| begin |
Creates a new or updates an existing New Relic monitor resource in your Azure subscription. This sets up the integration between Azure and your New Relic account, enabling observability and monitoring of your Azure resources through New Relic |
| begin |
Deletes an existing New Relic monitor resource from your Azure subscription, removing the integration and stopping the observability of your Azure resources through New Relic |
| begin |
Deletes an existing New Relic monitor resource from your Azure subscription, removing the integration and stopping the observability of your Azure resources through New Relic |
| begin |
Links a new SaaS to the newrelic organization of the underlying monitor. |
| begin |
Links a new SaaS to the newrelic organization of the underlying monitor. |
| begin |
A long-running resource action. |
| begin |
A long-running resource action. |
| begin |
Updates an existing New Relic monitor resource from your Azure subscription |
| begin |
Updates an existing New Relic monitor resource from your Azure subscription |
| get(string, string, Monitors |
Retrieves the properties and configuration details of a specific New Relic monitor resource, providing insight into its setup and status |
| get |
Retrieves the metric rules that are configured in the New Relic monitor resource |
| get |
Retrieves the metric status that are configured in the New Relic monitor resource |
| latest |
Returns the latest SaaS linked to the newrelic organization of the underlying monitor. |
| list |
Lists the app service resources currently being monitored by the New Relic resource, helping you understand which app services are under monitoring |
| list |
Retrieves a list of all New Relic monitor resources either a specific resource group |
| list |
Lists all New Relic monitor resources either within a specific subscription |
| list |
Lists all VM resources currently being monitored by the New Relic monitor resource, helping you manage observability |
| list |
Lists all Azure resources that are linked to the same New Relic organization as the specified monitor resource, helping you understand the scope of integration |
| list |
Lists all Azure resources that are currently being monitored by the specified New Relic monitor resource, providing insight into the coverage of your observability setup |
| refresh |
Refreshes the ingestion key for all monitors linked to the same account associated to the underlying monitor. |
| switch |
Switches the billing for the New Relic Monitor resource to be billed by Azure Marketplace |
| vm |
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 |
Method Details
beginCreateOrUpdate(string, string, NewRelicMonitorResource, MonitorsCreateOrUpdateOptionalParams)
Creates a new or updates an existing New Relic monitor resource in your Azure subscription. This sets up the integration between Azure and your New Relic account, enabling observability and monitoring of your Azure resources through New Relic
function beginCreateOrUpdate(resourceGroupName: string, monitorName: string, resource: NewRelicMonitorResource, options?: MonitorsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<NewRelicMonitorResource>, NewRelicMonitorResource>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Name of the Monitors resource
- resource
- NewRelicMonitorResource
Resource create parameters.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<NewRelicMonitorResource>, NewRelicMonitorResource>>
beginCreateOrUpdateAndWait(string, string, NewRelicMonitorResource, MonitorsCreateOrUpdateOptionalParams)
Creates a new or updates an existing New Relic monitor resource in your Azure subscription. This sets up the integration between Azure and your New Relic account, enabling observability and monitoring of your Azure resources through New Relic
function beginCreateOrUpdateAndWait(resourceGroupName: string, monitorName: string, resource: NewRelicMonitorResource, options?: MonitorsCreateOrUpdateOptionalParams): Promise<NewRelicMonitorResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Name of the Monitors resource
- resource
- NewRelicMonitorResource
Resource create parameters.
The options parameters.
Returns
Promise<NewRelicMonitorResource>
beginDelete(string, string, string, MonitorsDeleteOptionalParams)
Deletes an existing New Relic monitor resource from your Azure subscription, removing the integration and stopping the observability of your Azure resources through New Relic
function beginDelete(resourceGroupName: string, monitorName: string, userEmail: string, options?: MonitorsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Name of the Monitors resource
- userEmail
-
string
User Email.
- options
- MonitorsDeleteOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, MonitorsDeleteOptionalParams)
Deletes an existing New Relic monitor resource from your Azure subscription, removing the integration and stopping the observability of your Azure resources through New Relic
function beginDeleteAndWait(resourceGroupName: string, monitorName: string, userEmail: string, options?: MonitorsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Name of the Monitors resource
- userEmail
-
string
User Email.
- options
- MonitorsDeleteOptionalParams
The options parameters.
Returns
Promise<void>
beginLinkSaaS(string, string, SaaSData, MonitorsLinkSaaSOptionalParams)
Links a new SaaS to the newrelic organization of the underlying monitor.
function beginLinkSaaS(resourceGroupName: string, monitorName: string, body: SaaSData, options?: MonitorsLinkSaaSOptionalParams): Promise<SimplePollerLike<OperationState<NewRelicMonitorResource>, NewRelicMonitorResource>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Name of the Monitors resource
- body
- SaaSData
Link SaaS body parameter
- options
- MonitorsLinkSaaSOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<NewRelicMonitorResource>, NewRelicMonitorResource>>
beginLinkSaaSAndWait(string, string, SaaSData, MonitorsLinkSaaSOptionalParams)
Links a new SaaS to the newrelic organization of the underlying monitor.
function beginLinkSaaSAndWait(resourceGroupName: string, monitorName: string, body: SaaSData, options?: MonitorsLinkSaaSOptionalParams): Promise<NewRelicMonitorResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Name of the Monitors resource
- body
- SaaSData
Link SaaS body parameter
- options
- MonitorsLinkSaaSOptionalParams
The options parameters.
Returns
Promise<NewRelicMonitorResource>
beginResubscribe(string, string, MonitorsResubscribeOptionalParams)
A long-running resource action.
function beginResubscribe(resourceGroupName: string, monitorName: string, options?: MonitorsResubscribeOptionalParams): Promise<SimplePollerLike<OperationState<NewRelicMonitorResource>, NewRelicMonitorResource>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Name of the Monitors resource
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<NewRelicMonitorResource>, NewRelicMonitorResource>>
beginResubscribeAndWait(string, string, MonitorsResubscribeOptionalParams)
A long-running resource action.
function beginResubscribeAndWait(resourceGroupName: string, monitorName: string, options?: MonitorsResubscribeOptionalParams): Promise<NewRelicMonitorResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Name of the Monitors resource
The options parameters.
Returns
Promise<NewRelicMonitorResource>
beginUpdate(string, string, NewRelicMonitorResourceUpdate, MonitorsUpdateOptionalParams)
Updates an existing New Relic monitor resource from your Azure subscription
function beginUpdate(resourceGroupName: string, monitorName: string, properties: NewRelicMonitorResourceUpdate, options?: MonitorsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<NewRelicMonitorResource>, NewRelicMonitorResource>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Name of the Monitors resource
- properties
- NewRelicMonitorResourceUpdate
The resource properties to be updated.
- options
- MonitorsUpdateOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<NewRelicMonitorResource>, NewRelicMonitorResource>>
beginUpdateAndWait(string, string, NewRelicMonitorResourceUpdate, MonitorsUpdateOptionalParams)
Updates an existing New Relic monitor resource from your Azure subscription
function beginUpdateAndWait(resourceGroupName: string, monitorName: string, properties: NewRelicMonitorResourceUpdate, options?: MonitorsUpdateOptionalParams): Promise<NewRelicMonitorResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Name of the Monitors resource
- properties
- NewRelicMonitorResourceUpdate
The resource properties to be updated.
- options
- MonitorsUpdateOptionalParams
The options parameters.
Returns
Promise<NewRelicMonitorResource>
get(string, string, MonitorsGetOptionalParams)
Retrieves the properties and configuration details of a specific New Relic monitor resource, providing insight into its setup and status
function get(resourceGroupName: string, monitorName: string, options?: MonitorsGetOptionalParams): Promise<NewRelicMonitorResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Name of the Monitors resource
- options
- MonitorsGetOptionalParams
The options parameters.
Returns
Promise<NewRelicMonitorResource>
getMetricRules(string, string, MetricsRequest, MonitorsGetMetricRulesOptionalParams)
Retrieves the metric rules that are configured in the New Relic monitor resource
function getMetricRules(resourceGroupName: string, monitorName: string, request: MetricsRequest, options?: MonitorsGetMetricRulesOptionalParams): Promise<MetricRules>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Name of the Monitors resource
- request
- MetricsRequest
The details of the get metrics status request.
The options parameters.
Returns
Promise<MetricRules>
getMetricStatus(string, string, MetricsStatusRequest, MonitorsGetMetricStatusOptionalParams)
Retrieves the metric status that are configured in the New Relic monitor resource
function getMetricStatus(resourceGroupName: string, monitorName: string, request: MetricsStatusRequest, options?: MonitorsGetMetricStatusOptionalParams): Promise<MetricsStatusResponse>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Name of the Monitors resource
- request
- MetricsStatusRequest
The details of the get metrics status request.
The options parameters.
Returns
Promise<MetricsStatusResponse>
latestLinkedSaaS(string, string, MonitorsLatestLinkedSaaSOptionalParams)
Returns the latest SaaS linked to the newrelic organization of the underlying monitor.
function latestLinkedSaaS(resourceGroupName: string, monitorName: string, options?: MonitorsLatestLinkedSaaSOptionalParams): Promise<LatestLinkedSaaSResponse>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Name of the Monitors resource
The options parameters.
Returns
Promise<LatestLinkedSaaSResponse>
listAppServices(string, string, AppServicesGetRequest, MonitorsListAppServicesOptionalParams)
Lists the app service resources currently being monitored by the New Relic resource, helping you understand which app services are under monitoring
function listAppServices(resourceGroupName: string, monitorName: string, request: AppServicesGetRequest, options?: MonitorsListAppServicesOptionalParams): PagedAsyncIterableIterator<AppServiceInfo, AppServiceInfo[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Name of the Monitors resource
- request
- AppServicesGetRequest
The details of the app services get request.
The options parameters.
Returns
listByResourceGroup(string, MonitorsListByResourceGroupOptionalParams)
Retrieves a list of all New Relic monitor resources either a specific resource group
function listByResourceGroup(resourceGroupName: string, options?: MonitorsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<NewRelicMonitorResource, NewRelicMonitorResource[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
The options parameters.
Returns
listBySubscription(MonitorsListBySubscriptionOptionalParams)
Lists all New Relic monitor resources either within a specific subscription
function listBySubscription(options?: MonitorsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<NewRelicMonitorResource, NewRelicMonitorResource[], PageSettings>
Parameters
The options parameters.
Returns
listHosts(string, string, HostsGetRequest, MonitorsListHostsOptionalParams)
Lists all VM resources currently being monitored by the New Relic monitor resource, helping you manage observability
function listHosts(resourceGroupName: string, monitorName: string, request: HostsGetRequest, options?: MonitorsListHostsOptionalParams): PagedAsyncIterableIterator<VMInfo, VMInfo[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Name of the Monitors resource
- request
- HostsGetRequest
The details of the Hosts get request.
- options
- MonitorsListHostsOptionalParams
The options parameters.
Returns
listLinkedResources(string, string, MonitorsListLinkedResourcesOptionalParams)
Lists all Azure resources that are linked to the same New Relic organization as the specified monitor resource, helping you understand the scope of integration
function listLinkedResources(resourceGroupName: string, monitorName: string, options?: MonitorsListLinkedResourcesOptionalParams): PagedAsyncIterableIterator<LinkedResource, LinkedResource[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Name of the Monitors resource
The options parameters.
Returns
listMonitoredResources(string, string, MonitorsListMonitoredResourcesOptionalParams)
Lists all Azure resources that are currently being monitored by the specified New Relic monitor resource, providing insight into the coverage of your observability setup
function listMonitoredResources(resourceGroupName: string, monitorName: string, options?: MonitorsListMonitoredResourcesOptionalParams): PagedAsyncIterableIterator<MonitoredResource, MonitoredResource[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Name of the Monitors resource
The options parameters.
Returns
refreshIngestionKey(string, string, MonitorsRefreshIngestionKeyOptionalParams)
Refreshes the ingestion key for all monitors linked to the same account associated to the underlying monitor.
function refreshIngestionKey(resourceGroupName: string, monitorName: string, options?: MonitorsRefreshIngestionKeyOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Name of the Monitors resource
The options parameters.
Returns
Promise<void>
switchBilling(string, string, SwitchBillingRequest, MonitorsSwitchBillingOptionalParams)
Switches the billing for the New Relic Monitor resource to be billed by Azure Marketplace
function switchBilling(resourceGroupName: string, monitorName: string, request: SwitchBillingRequest, options?: MonitorsSwitchBillingOptionalParams): Promise<NewRelicMonitorResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Name of the Monitors resource
- request
- SwitchBillingRequest
The details of the switch billing request.
The options parameters.
Returns
Promise<NewRelicMonitorResource>
vmHostPayload(string, string, MonitorsVmHostPayloadOptionalParams)
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
function vmHostPayload(resourceGroupName: string, monitorName: string, options?: MonitorsVmHostPayloadOptionalParams): Promise<VMExtensionPayload>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Name of the Monitors resource
The options parameters.
Returns
Promise<VMExtensionPayload>