MonitoredSubscriptions interface

Interface representing a MonitoredSubscriptions.

Methods

beginCreateorUpdate(string, string, string, MonitoredSubscriptionsCreateorUpdateOptionalParams)

Add the subscriptions that should be monitored by the NewRelic monitor resource.

beginCreateorUpdateAndWait(string, string, string, MonitoredSubscriptionsCreateorUpdateOptionalParams)

Add the subscriptions that should be monitored by the NewRelic monitor resource.

beginDelete(string, string, string, MonitoredSubscriptionsDeleteOptionalParams)

Updates the subscriptions that are being monitored by the NewRelic monitor resource

beginDeleteAndWait(string, string, string, MonitoredSubscriptionsDeleteOptionalParams)

Updates the subscriptions that are being monitored by the NewRelic monitor resource

beginUpdate(string, string, string, MonitoredSubscriptionsUpdateOptionalParams)

Updates the subscriptions that are being monitored by the NewRelic monitor resource

beginUpdateAndWait(string, string, string, MonitoredSubscriptionsUpdateOptionalParams)

Updates the subscriptions that are being monitored by the NewRelic monitor resource

get(string, string, string, MonitoredSubscriptionsGetOptionalParams)

List the subscriptions currently being monitored by the NewRelic monitor resource.

list(string, string, MonitoredSubscriptionsListOptionalParams)

List the subscriptions currently being monitored by the NewRelic monitor resource.

Method Details

beginCreateorUpdate(string, string, string, MonitoredSubscriptionsCreateorUpdateOptionalParams)

Add the subscriptions that should be monitored by the NewRelic monitor resource.

function beginCreateorUpdate(resourceGroupName: string, monitorName: string, configurationName: string, options?: MonitoredSubscriptionsCreateorUpdateOptionalParams): Promise<SimplePollerLike<OperationState<MonitoredSubscriptionProperties>, MonitoredSubscriptionProperties>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

monitorName

string

Name of the Monitors resource

configurationName

string

The configuration name. Only 'default' value is supported.

options
MonitoredSubscriptionsCreateorUpdateOptionalParams

The options parameters.

Returns

beginCreateorUpdateAndWait(string, string, string, MonitoredSubscriptionsCreateorUpdateOptionalParams)

Add the subscriptions that should be monitored by the NewRelic monitor resource.

function beginCreateorUpdateAndWait(resourceGroupName: string, monitorName: string, configurationName: string, options?: MonitoredSubscriptionsCreateorUpdateOptionalParams): Promise<MonitoredSubscriptionProperties>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

monitorName

string

Name of the Monitors resource

configurationName

string

The configuration name. Only 'default' value is supported.

options
MonitoredSubscriptionsCreateorUpdateOptionalParams

The options parameters.

Returns

beginDelete(string, string, string, MonitoredSubscriptionsDeleteOptionalParams)

Updates the subscriptions that are being monitored by the NewRelic monitor resource

function beginDelete(resourceGroupName: string, monitorName: string, configurationName: string, options?: MonitoredSubscriptionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<MonitoredSubscriptionsDeleteHeaders>, MonitoredSubscriptionsDeleteHeaders>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

monitorName

string

Name of the Monitors resource

configurationName

string

The configuration name. Only 'default' value is supported.

options
MonitoredSubscriptionsDeleteOptionalParams

The options parameters.

Returns

beginDeleteAndWait(string, string, string, MonitoredSubscriptionsDeleteOptionalParams)

Updates the subscriptions that are being monitored by the NewRelic monitor resource

function beginDeleteAndWait(resourceGroupName: string, monitorName: string, configurationName: string, options?: MonitoredSubscriptionsDeleteOptionalParams): Promise<MonitoredSubscriptionsDeleteHeaders>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

monitorName

string

Name of the Monitors resource

configurationName

string

The configuration name. Only 'default' value is supported.

options
MonitoredSubscriptionsDeleteOptionalParams

The options parameters.

Returns

beginUpdate(string, string, string, MonitoredSubscriptionsUpdateOptionalParams)

Updates the subscriptions that are being monitored by the NewRelic monitor resource

function beginUpdate(resourceGroupName: string, monitorName: string, configurationName: string, options?: MonitoredSubscriptionsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<MonitoredSubscriptionProperties>, MonitoredSubscriptionProperties>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

monitorName

string

Name of the Monitors resource

configurationName

string

The configuration name. Only 'default' value is supported.

options
MonitoredSubscriptionsUpdateOptionalParams

The options parameters.

Returns

beginUpdateAndWait(string, string, string, MonitoredSubscriptionsUpdateOptionalParams)

Updates the subscriptions that are being monitored by the NewRelic monitor resource

function beginUpdateAndWait(resourceGroupName: string, monitorName: string, configurationName: string, options?: MonitoredSubscriptionsUpdateOptionalParams): Promise<MonitoredSubscriptionProperties>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

monitorName

string

Name of the Monitors resource

configurationName

string

The configuration name. Only 'default' value is supported.

options
MonitoredSubscriptionsUpdateOptionalParams

The options parameters.

Returns

get(string, string, string, MonitoredSubscriptionsGetOptionalParams)

List the subscriptions currently being monitored by the NewRelic monitor resource.

function get(resourceGroupName: string, monitorName: string, configurationName: string, options?: MonitoredSubscriptionsGetOptionalParams): Promise<MonitoredSubscriptionProperties>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

monitorName

string

Name of the Monitors resource

configurationName

string

The configuration name. Only 'default' value is supported.

options
MonitoredSubscriptionsGetOptionalParams

The options parameters.

Returns

list(string, string, MonitoredSubscriptionsListOptionalParams)

List the subscriptions currently being monitored by the NewRelic monitor resource.

function list(resourceGroupName: string, monitorName: string, options?: MonitoredSubscriptionsListOptionalParams): PagedAsyncIterableIterator<MonitoredSubscriptionProperties, MonitoredSubscriptionProperties[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

monitorName

string

Name of the Monitors resource

options
MonitoredSubscriptionsListOptionalParams

The options parameters.

Returns