Monitors interface

Interface representing a Monitors.

Methods

beginCreate(string, string, MonitorsCreateOptionalParams)

Create a monitor resource.

beginCreateAndWait(string, string, MonitorsCreateOptionalParams)

Create a monitor resource.

beginDelete(string, string, MonitorsDeleteOptionalParams)

Delete a monitor resource.

beginDeleteAndWait(string, string, MonitorsDeleteOptionalParams)

Delete a monitor resource.

beginUpdate(string, string, MonitorsUpdateOptionalParams)

Update a monitor resource.

beginUpdateAndWait(string, string, MonitorsUpdateOptionalParams)

Update a monitor resource.

get(string, string, MonitorsGetOptionalParams)

Get the properties of a specific monitor resource.

getDefaultKey(string, string, MonitorsGetDefaultKeyOptionalParams)

Get the default api key.

list(MonitorsListOptionalParams)

List all monitors under the specified subscription.

listApiKeys(string, string, MonitorsListApiKeysOptionalParams)

List the api keys for a given monitor resource.

listByResourceGroup(string, MonitorsListByResourceGroupOptionalParams)

List all monitors under the specified resource group.

listHosts(string, string, MonitorsListHostsOptionalParams)

List the hosts for a given monitor resource.

listLinkedResources(string, string, MonitorsListLinkedResourcesOptionalParams)

List all Azure resources associated to the same Datadog organization as the target resource.

listMonitoredResources(string, string, MonitorsListMonitoredResourcesOptionalParams)

List the resources currently being monitored by the Datadog monitor resource.

refreshSetPasswordLink(string, string, MonitorsRefreshSetPasswordLinkOptionalParams)

Refresh the set password link and return a latest one.

setDefaultKey(string, string, MonitorsSetDefaultKeyOptionalParams)

Set the default api key.

Method Details

beginCreate(string, string, MonitorsCreateOptionalParams)

Create a monitor resource.

function beginCreate(resourceGroupName: string, monitorName: string, options?: MonitorsCreateOptionalParams): Promise<SimplePollerLike<OperationState<DatadogMonitorResource>, DatadogMonitorResource>>

Parameters

resourceGroupName

string

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

monitorName

string

Monitor resource name

options
MonitorsCreateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<DatadogMonitorResource>, DatadogMonitorResource>>

beginCreateAndWait(string, string, MonitorsCreateOptionalParams)

Create a monitor resource.

function beginCreateAndWait(resourceGroupName: string, monitorName: string, options?: MonitorsCreateOptionalParams): Promise<DatadogMonitorResource>

Parameters

resourceGroupName

string

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

monitorName

string

Monitor resource name

options
MonitorsCreateOptionalParams

The options parameters.

Returns

beginDelete(string, string, MonitorsDeleteOptionalParams)

Delete a monitor resource.

function beginDelete(resourceGroupName: string, monitorName: string, options?: MonitorsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

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

monitorName

string

Monitor resource name

options
MonitorsDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, MonitorsDeleteOptionalParams)

Delete a monitor resource.

function beginDeleteAndWait(resourceGroupName: string, monitorName: string, options?: MonitorsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

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

monitorName

string

Monitor resource name

options
MonitorsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginUpdate(string, string, MonitorsUpdateOptionalParams)

Update a monitor resource.

function beginUpdate(resourceGroupName: string, monitorName: string, options?: MonitorsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DatadogMonitorResource>, DatadogMonitorResource>>

Parameters

resourceGroupName

string

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

monitorName

string

Monitor resource name

options
MonitorsUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<DatadogMonitorResource>, DatadogMonitorResource>>

beginUpdateAndWait(string, string, MonitorsUpdateOptionalParams)

Update a monitor resource.

function beginUpdateAndWait(resourceGroupName: string, monitorName: string, options?: MonitorsUpdateOptionalParams): Promise<DatadogMonitorResource>

Parameters

resourceGroupName

string

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

monitorName

string

Monitor resource name

options
MonitorsUpdateOptionalParams

The options parameters.

Returns

get(string, string, MonitorsGetOptionalParams)

Get the properties of a specific monitor resource.

function get(resourceGroupName: string, monitorName: string, options?: MonitorsGetOptionalParams): Promise<DatadogMonitorResource>

Parameters

resourceGroupName

string

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

monitorName

string

Monitor resource name

options
MonitorsGetOptionalParams

The options parameters.

Returns

getDefaultKey(string, string, MonitorsGetDefaultKeyOptionalParams)

Get the default api key.

function getDefaultKey(resourceGroupName: string, monitorName: string, options?: MonitorsGetDefaultKeyOptionalParams): Promise<DatadogApiKey>

Parameters

resourceGroupName

string

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

monitorName

string

Monitor resource name

options
MonitorsGetDefaultKeyOptionalParams

The options parameters.

Returns

Promise<DatadogApiKey>

list(MonitorsListOptionalParams)

List all monitors under the specified subscription.

function list(options?: MonitorsListOptionalParams): PagedAsyncIterableIterator<DatadogMonitorResource, DatadogMonitorResource[], PageSettings>

Parameters

options
MonitorsListOptionalParams

The options parameters.

Returns

listApiKeys(string, string, MonitorsListApiKeysOptionalParams)

List the api keys for a given monitor resource.

function listApiKeys(resourceGroupName: string, monitorName: string, options?: MonitorsListApiKeysOptionalParams): PagedAsyncIterableIterator<DatadogApiKey, DatadogApiKey[], PageSettings>

Parameters

resourceGroupName

string

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

monitorName

string

Monitor resource name

options
MonitorsListApiKeysOptionalParams

The options parameters.

Returns

listByResourceGroup(string, MonitorsListByResourceGroupOptionalParams)

List all monitors under the specified resource group.

function listByResourceGroup(resourceGroupName: string, options?: MonitorsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<DatadogMonitorResource, DatadogMonitorResource[], PageSettings>

Parameters

resourceGroupName

string

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

options
MonitorsListByResourceGroupOptionalParams

The options parameters.

Returns

listHosts(string, string, MonitorsListHostsOptionalParams)

List the hosts for a given monitor resource.

function listHosts(resourceGroupName: string, monitorName: string, options?: MonitorsListHostsOptionalParams): PagedAsyncIterableIterator<DatadogHost, DatadogHost[], PageSettings>

Parameters

resourceGroupName

string

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

monitorName

string

Monitor resource name

options
MonitorsListHostsOptionalParams

The options parameters.

Returns

listLinkedResources(string, string, MonitorsListLinkedResourcesOptionalParams)

List all Azure resources associated to the same Datadog organization as the target resource.

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

Monitor resource name

options
MonitorsListLinkedResourcesOptionalParams

The options parameters.

Returns

listMonitoredResources(string, string, MonitorsListMonitoredResourcesOptionalParams)

List the resources currently being monitored by the Datadog monitor resource.

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

Monitor resource name

options
MonitorsListMonitoredResourcesOptionalParams

The options parameters.

Returns

Refresh the set password link and return a latest one.

function refreshSetPasswordLink(resourceGroupName: string, monitorName: string, options?: MonitorsRefreshSetPasswordLinkOptionalParams): Promise<DatadogSetPasswordLink>

Parameters

resourceGroupName

string

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

monitorName

string

Monitor resource name

options
MonitorsRefreshSetPasswordLinkOptionalParams

The options parameters.

Returns

setDefaultKey(string, string, MonitorsSetDefaultKeyOptionalParams)

Set the default api key.

function setDefaultKey(resourceGroupName: string, monitorName: string, options?: MonitorsSetDefaultKeyOptionalParams): Promise<void>

Parameters

resourceGroupName

string

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

monitorName

string

Monitor resource name

options
MonitorsSetDefaultKeyOptionalParams

The options parameters.

Returns

Promise<void>