MonitoredSubscriptions Interface

public interface MonitoredSubscriptions

Resource collection API of MonitoredSubscriptions.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new MonitoredSubscriptionProperties resource.

abstract void delete(String resourceGroupName, String monitorName, String configurationName)

Updates the subscriptions that are being monitored by the Datadog monitor resource.

abstract void delete(String resourceGroupName, String monitorName, String configurationName, Context context)

Updates the subscriptions that are being monitored by the Datadog monitor resource.

abstract void deleteById(String id)

Updates the subscriptions that are being monitored by the Datadog monitor resource.

abstract void deleteByIdWithResponse(String id, Context context)

Updates the subscriptions that are being monitored by the Datadog monitor resource.

abstract MonitoredSubscriptionProperties get(String resourceGroupName, String monitorName, String configurationName)

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

abstract MonitoredSubscriptionProperties getById(String id)

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

abstract Response<MonitoredSubscriptionProperties> getByIdWithResponse(String id, Context context)

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

abstract Response<MonitoredSubscriptionProperties> getWithResponse(String resourceGroupName, String monitorName, String configurationName, Context context)

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

abstract PagedIterable<MonitoredSubscriptionProperties> list(String resourceGroupName, String monitorName)

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

abstract PagedIterable<MonitoredSubscriptionProperties> list(String resourceGroupName, String monitorName, Context context)

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

Method Details

define

public abstract MonitoredSubscriptionProperties.DefinitionStages.Blank define(String name)

Begins definition for a new MonitoredSubscriptionProperties resource.

Parameters:

name - resource name.

Returns:

the first stage of the new MonitoredSubscriptionProperties definition.

delete

public abstract void delete(String resourceGroupName, String monitorName, String configurationName)

Updates the subscriptions that are being monitored by the Datadog monitor resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
monitorName - Monitor resource name.
configurationName - Configuration name.

delete

public abstract void delete(String resourceGroupName, String monitorName, String configurationName, Context context)

Updates the subscriptions that are being monitored by the Datadog monitor resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
monitorName - Monitor resource name.
configurationName - Configuration name.
context - The context to associate with this operation.

deleteById

public abstract void deleteById(String id)

Updates the subscriptions that are being monitored by the Datadog monitor resource.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Context context)

Updates the subscriptions that are being monitored by the Datadog monitor resource.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

get

public abstract MonitoredSubscriptionProperties get(String resourceGroupName, String monitorName, String configurationName)

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

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
monitorName - Monitor resource name.
configurationName - The configuration name. Only 'default' value is supported.

Returns:

the request to update subscriptions needed to be monitored by the Datadog monitor resource.

getById

public abstract MonitoredSubscriptionProperties getById(String id)

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

Parameters:

id - the resource ID.

Returns:

the request to update subscriptions needed to be monitored by the Datadog monitor resource along with Response<T>.

getByIdWithResponse

public abstract Response<MonitoredSubscriptionProperties> getByIdWithResponse(String id, Context context)

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

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

the request to update subscriptions needed to be monitored by the Datadog monitor resource along with Response<T>.

getWithResponse

public abstract Response<MonitoredSubscriptionProperties> getWithResponse(String resourceGroupName, String monitorName, String configurationName, Context context)

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

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
monitorName - Monitor resource name.
configurationName - The configuration name. Only 'default' value is supported.
context - The context to associate with this operation.

Returns:

the request to update subscriptions needed to be monitored by the Datadog monitor resource along with Response<T>.

list

public abstract PagedIterable<MonitoredSubscriptionProperties> list(String resourceGroupName, String monitorName)

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

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
monitorName - Monitor resource name.

Returns:

the paginated response with PagedIterable<T>.

list

public abstract PagedIterable<MonitoredSubscriptionProperties> list(String resourceGroupName, String monitorName, Context context)

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

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
monitorName - Monitor resource name.
context - The context to associate with this operation.

Returns:

the paginated response with PagedIterable<T>.

Applies to