MonitorsOperations interface

Interface representing a Monitors operations.

Properties

beginCreate
beginCreateAndWait
beginDelete
beginDeleteAndWait
beginUpdate
beginUpdateAndWait
create

Create a monitor resource.

delete

Delete a monitor resource.

get

Get the properties of a specific monitor resource.

getDefaultApplicationKey

Get the default application key.

getDefaultKey

Get the default api key.

list

List all monitors under the specified subscription.

listApiKeys

List the api keys for a given monitor resource.

listByResourceGroup

List all monitors under the specified resource group.

listHosts

List the hosts for a given monitor resource.

listLinkedResources

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

listMonitoredResources

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

manageSreAgentConnectors

Manages Datadog MCP connectors to add/remove for the SRE Agent.

refreshSetPasswordLink

Refresh the set password link and return a latest one.

setDefaultKey

Set the default api key.

update

Update a monitor resource.

Property Details

beginCreate

Warning

This API is now deprecated.

use create instead

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

Property Value

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

beginCreateAndWait

Warning

This API is now deprecated.

use create instead

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

Property Value

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

beginDelete

Warning

This API is now deprecated.

use delete instead

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

Property Value

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

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

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

Property Value

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

beginUpdate

Warning

This API is now deprecated.

use update instead

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

Property Value

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

beginUpdateAndWait

Warning

This API is now deprecated.

use update instead

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

Property Value

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

create

Create a monitor resource.

create: (resourceGroupName: string, monitorName: string, options?: MonitorsCreateOptionalParams) => PollerLike<OperationState<DatadogMonitorResource>, DatadogMonitorResource>

Property Value

(resourceGroupName: string, monitorName: string, options?: MonitorsCreateOptionalParams) => PollerLike<OperationState<DatadogMonitorResource>, DatadogMonitorResource>

delete

Delete a monitor resource.

delete: (resourceGroupName: string, monitorName: string, options?: MonitorsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, monitorName: string, options?: MonitorsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Get the properties of a specific monitor resource.

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

Property Value

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

getDefaultApplicationKey

Get the default application key.

getDefaultApplicationKey: (resourceGroupName: string, monitorName: string, options?: MonitorsGetDefaultApplicationKeyOptionalParams) => Promise<DatadogApplicationKey>

Property Value

(resourceGroupName: string, monitorName: string, options?: MonitorsGetDefaultApplicationKeyOptionalParams) => Promise<DatadogApplicationKey>

getDefaultKey

Get the default api key.

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

Property Value

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

list

List all monitors under the specified subscription.

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

Property Value

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

listApiKeys

List the api keys for a given monitor resource.

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

Property Value

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

listByResourceGroup

List all monitors under the specified resource group.

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

Property Value

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

listHosts

List the hosts for a given monitor resource.

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

Property Value

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

listLinkedResources

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

listLinkedResources: (resourceGroupName: string, monitorName: string, options?: MonitorsListLinkedResourcesOptionalParams) => PagedAsyncIterableIterator<LinkedResource, LinkedResource[], PageSettings>

Property Value

(resourceGroupName: string, monitorName: string, options?: MonitorsListLinkedResourcesOptionalParams) => PagedAsyncIterableIterator<LinkedResource, LinkedResource[], PageSettings>

listMonitoredResources

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

listMonitoredResources: (resourceGroupName: string, monitorName: string, options?: MonitorsListMonitoredResourcesOptionalParams) => PagedAsyncIterableIterator<MonitoredResource, MonitoredResource[], PageSettings>

Property Value

(resourceGroupName: string, monitorName: string, options?: MonitorsListMonitoredResourcesOptionalParams) => PagedAsyncIterableIterator<MonitoredResource, MonitoredResource[], PageSettings>

manageSreAgentConnectors

Manages Datadog MCP connectors to add/remove for the SRE Agent.

manageSreAgentConnectors: (resourceGroupName: string, monitorName: string, request: SreAgentConnectorRequest, options?: MonitorsManageSreAgentConnectorsOptionalParams) => Promise<SreAgentConfigurationListResponse>

Property Value

(resourceGroupName: string, monitorName: string, request: SreAgentConnectorRequest, options?: MonitorsManageSreAgentConnectorsOptionalParams) => Promise<SreAgentConfigurationListResponse>

Refresh the set password link and return a latest one.

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

Property Value

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

setDefaultKey

Set the default api key.

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

Property Value

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

update

Update a monitor resource.

update: (resourceGroupName: string, monitorName: string, options?: MonitorsUpdateOptionalParams) => PollerLike<OperationState<DatadogMonitorResource>, DatadogMonitorResource>

Property Value

(resourceGroupName: string, monitorName: string, options?: MonitorsUpdateOptionalParams) => PollerLike<OperationState<DatadogMonitorResource>, DatadogMonitorResource>