DatadogMonitorResource Interface

public interface DatadogMonitorResource

An immutable client-side representation of DatadogMonitorResource.

Method Summary

Modifier and Type Method and Description
abstract DatadogApiKey getDefaultKey()

Get the default api key.

abstract Response<DatadogApiKey> getDefaultKeyWithResponse(Context context)

Get the default api key.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract IdentityProperties identity()

Gets the identity property: The identity property.

abstract DatadogMonitorResourceInner innerModel()

Gets the inner com.azure.resourcemanager.datadog.fluent.models.DatadogMonitorResourceInner object.

abstract PagedIterable<DatadogApiKey> listApiKeys()

List the api keys for a given monitor resource.

abstract PagedIterable<DatadogApiKey> listApiKeys(Context context)

List the api keys for a given monitor resource.

abstract PagedIterable<DatadogHost> listHosts()

List the hosts for a given monitor resource.

abstract PagedIterable<DatadogHost> listHosts(Context context)

List the hosts for a given monitor resource.

abstract PagedIterable<LinkedResource> listLinkedResources()

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

abstract PagedIterable<LinkedResource> listLinkedResources(Context context)

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

abstract PagedIterable<MonitoredResource> listMonitoredResources()

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

abstract PagedIterable<MonitoredResource> listMonitoredResources(Context context)

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

abstract String location()

Gets the location property: The geo-location where the resource lives.

abstract String name()

Gets the name property: The name of the resource.

abstract MonitorProperties properties()

Gets the properties property: Properties specific to the monitor resource.

abstract DatadogMonitorResource refresh()

Refreshes the resource to sync with Azure.

abstract DatadogMonitorResource refresh(Context context)

Refreshes the resource to sync with Azure.

abstract DatadogSetPasswordLink refreshSetPasswordLink()

Refresh the set password link and return a latest one.

abstract Response<DatadogSetPasswordLink> refreshSetPasswordLinkWithResponse(Context context)

Refresh the set password link and return a latest one.

abstract Region region()

Gets the region of the resource.

abstract String regionName()

Gets the name of the resource region.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract void setDefaultKey()

Set the default api key.

abstract Response<Void> setDefaultKeyWithResponse(DatadogApiKeyInner body, Context context)

Set the default api key.

abstract ResourceSku sku()

Gets the sku property: The sku property.

abstract SystemData systemData()

Gets the systemData property: Metadata pertaining to creation and last modification of the resource.

abstract Map<String,String> tags()

Gets the tags property: Resource tags.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the DatadogMonitorResource resource.

Method Details

getDefaultKey

public abstract DatadogApiKey getDefaultKey()

Get the default api key.

Returns:

the default api key.

getDefaultKeyWithResponse

public abstract Response getDefaultKeyWithResponse(Context context)

Get the default api key.

Parameters:

context - The context to associate with this operation.

Returns:

the default api key along with Response<T>.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

identity

public abstract IdentityProperties identity()

Gets the identity property: The identity property.

Returns:

the identity value.

innerModel

public abstract DatadogMonitorResourceInner innerModel()

Gets the inner com.azure.resourcemanager.datadog.fluent.models.DatadogMonitorResourceInner object.

Returns:

the inner object.

listApiKeys

public abstract PagedIterable listApiKeys()

List the api keys for a given monitor resource.

Returns:

response of a list operation as paginated response with PagedIterable<T>.

listApiKeys

public abstract PagedIterable listApiKeys(Context context)

List the api keys for a given monitor resource.

Parameters:

context - The context to associate with this operation.

Returns:

response of a list operation as paginated response with PagedIterable<T>.

listHosts

public abstract PagedIterable listHosts()

List the hosts for a given monitor resource.

Returns:

response of a list operation as paginated response with PagedIterable<T>.

listHosts

public abstract PagedIterable listHosts(Context context)

List the hosts for a given monitor resource.

Parameters:

context - The context to associate with this operation.

Returns:

response of a list operation as paginated response with PagedIterable<T>.

listLinkedResources

public abstract PagedIterable listLinkedResources()

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

Returns:

response of a list operation as paginated response with PagedIterable<T>.

listLinkedResources

public abstract PagedIterable listLinkedResources(Context context)

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

Parameters:

context - The context to associate with this operation.

Returns:

response of a list operation as paginated response with PagedIterable<T>.

listMonitoredResources

public abstract PagedIterable listMonitoredResources()

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

Returns:

response of a list operation as paginated response with PagedIterable<T>.

listMonitoredResources

public abstract PagedIterable listMonitoredResources(Context context)

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

Parameters:

context - The context to associate with this operation.

Returns:

response of a list operation as paginated response with PagedIterable<T>.

location

public abstract String location()

Gets the location property: The geo-location where the resource lives.

Returns:

the location value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

properties

public abstract MonitorProperties properties()

Gets the properties property: Properties specific to the monitor resource.

Returns:

the properties value.

refresh

public abstract DatadogMonitorResource refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract DatadogMonitorResource refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

refreshSetPasswordLink

public abstract DatadogSetPasswordLink refreshSetPasswordLink()

Refresh the set password link and return a latest one.

Returns:

the response.

refreshSetPasswordLinkWithResponse

public abstract Response refreshSetPasswordLinkWithResponse(Context context)

Refresh the set password link and return a latest one.

Parameters:

context - The context to associate with this operation.

Returns:

the response body along with Response<T>.

region

public abstract Region region()

Gets the region of the resource.

Returns:

the region of the resource.

regionName

public abstract String regionName()

Gets the name of the resource region.

Returns:

the name of the resource region.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

setDefaultKey

public abstract void setDefaultKey()

Set the default api key.

setDefaultKeyWithResponse

public abstract Response setDefaultKeyWithResponse(DatadogApiKeyInner body, Context context)

Set the default api key.

Parameters:

body - The body parameter.
context - The context to associate with this operation.

Returns:

sku

public abstract ResourceSku sku()

Gets the sku property: The sku property.

Returns:

the sku value.

systemData

public abstract SystemData systemData()

Gets the systemData property: Metadata pertaining to creation and last modification of the resource.

Returns:

the systemData value.

tags

public abstract Map tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract DatadogMonitorResource.Update update()

Begins update for the DatadogMonitorResource resource.

Returns:

the stage of resource update.

Applies to