Monitors Interface
public interface Monitors
Resource collection API of Monitors.
Method Summary
Method Details
define
public abstract DatadogMonitorResource.DefinitionStages.Blank define(String name)
Begins definition for a new DatadogMonitorResource resource.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String monitorName, Context context)
Delete a monitor resource.
Parameters:
deleteById
public abstract void deleteById(String id)
Delete a monitor resource.
Parameters:
deleteByIdWithResponse
public abstract void deleteByIdWithResponse(String id, Context context)
Delete a monitor resource.
Parameters:
deleteByResourceGroup
public abstract void deleteByResourceGroup(String resourceGroupName, String monitorName)
Delete a monitor resource.
Parameters:
getById
public abstract DatadogMonitorResource getById(String id)
Get the properties of a specific monitor resource.
Parameters:
Returns:
getByIdWithResponse
public abstract Response<DatadogMonitorResource> getByIdWithResponse(String id, Context context)
Get the properties of a specific monitor resource.
Parameters:
Returns:
getByResourceGroup
public abstract DatadogMonitorResource getByResourceGroup(String resourceGroupName, String monitorName)
Get the properties of a specific monitor resource.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response<DatadogMonitorResource> getByResourceGroupWithResponse(String resourceGroupName, String monitorName, Context context)
Get the properties of a specific monitor resource.
Parameters:
Returns:
getDefaultKey
public abstract DatadogApiKey getDefaultKey(String resourceGroupName, String monitorName)
Get the default api key.
Parameters:
Returns:
getDefaultKeyWithResponse
public abstract Response<DatadogApiKey> getDefaultKeyWithResponse(String resourceGroupName, String monitorName, Context context)
Get the default api key.
Parameters:
Returns:
list
public abstract PagedIterable<DatadogMonitorResource> list()
List all monitors under the specified subscription.
Returns:
list
public abstract PagedIterable<DatadogMonitorResource> list(Context context)
List all monitors under the specified subscription.
Parameters:
Returns:
listApiKeys
public abstract PagedIterable<DatadogApiKey> listApiKeys(String resourceGroupName, String monitorName)
List the api keys for a given monitor resource.
Parameters:
Returns:
listApiKeys
public abstract PagedIterable<DatadogApiKey> listApiKeys(String resourceGroupName, String monitorName, Context context)
List the api keys for a given monitor resource.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<DatadogMonitorResource> listByResourceGroup(String resourceGroupName)
List all monitors under the specified resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<DatadogMonitorResource> listByResourceGroup(String resourceGroupName, Context context)
List all monitors under the specified resource group.
Parameters:
Returns:
listHosts
public abstract PagedIterable<DatadogHost> listHosts(String resourceGroupName, String monitorName)
List the hosts for a given monitor resource.
Parameters:
Returns:
listHosts
public abstract PagedIterable<DatadogHost> listHosts(String resourceGroupName, String monitorName, Context context)
List the hosts for a given monitor resource.
Parameters:
Returns:
listLinkedResources
public abstract PagedIterable<LinkedResource> listLinkedResources(String resourceGroupName, String monitorName)
List all Azure resources associated to the same Datadog organization as the target resource.
Parameters:
Returns:
listLinkedResources
public abstract PagedIterable<LinkedResource> listLinkedResources(String resourceGroupName, String monitorName, Context context)
List all Azure resources associated to the same Datadog organization as the target resource.
Parameters:
Returns:
listMonitoredResources
public abstract PagedIterable<MonitoredResource> listMonitoredResources(String resourceGroupName, String monitorName)
List the resources currently being monitored by the Datadog monitor resource.
Parameters:
Returns:
listMonitoredResources
public abstract PagedIterable<MonitoredResource> listMonitoredResources(String resourceGroupName, String monitorName, Context context)
List the resources currently being monitored by the Datadog monitor resource.
Parameters:
Returns:
refreshSetPasswordLink
public abstract DatadogSetPasswordLink refreshSetPasswordLink(String resourceGroupName, String monitorName)
Refresh the set password link and return a latest one.
Parameters:
Returns:
refreshSetPasswordLinkWithResponse
public abstract Response<DatadogSetPasswordLink> refreshSetPasswordLinkWithResponse(String resourceGroupName, String monitorName, Context context)
Refresh the set password link and return a latest one.
Parameters:
Returns:
setDefaultKey
public abstract void setDefaultKey(String resourceGroupName, String monitorName)
Set the default api key.
Parameters:
setDefaultKeyWithResponse
public abstract Response<Void> setDefaultKeyWithResponse(String resourceGroupName, String monitorName, DatadogApiKeyInner body, Context context)
Set the default api key.
Parameters:
Returns: