DatadogMonitorResource Interface
public interface DatadogMonitorResource
An immutable client-side representation of DatadogMonitorResource.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Datadog |
getDefaultKey()
Get the default api key. |
abstract
Response<Datadog |
getDefaultKeyWithResponse(Context context)
Get the default api key. |
abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
abstract
Identity |
identity()
Gets the identity property: The identity property. |
abstract
Datadog |
innerModel()
Gets the inner com. |
abstract
Paged |
listApiKeys()
List the api keys for a given monitor resource. |
abstract
Paged |
listApiKeys(Context context)
List the api keys for a given monitor resource. |
abstract
Paged |
listHosts()
List the hosts for a given monitor resource. |
abstract
Paged |
listHosts(Context context)
List the hosts for a given monitor resource. |
abstract
Paged |
listLinkedResources()
List all Azure resources associated to the same Datadog organization as the target resource. |
abstract
Paged |
listLinkedResources(Context context)
List all Azure resources associated to the same Datadog organization as the target resource. |
abstract
Paged |
listMonitoredResources()
List the resources currently being monitored by the Datadog monitor resource. |
abstract
Paged |
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
Monitor |
properties()
Gets the properties property: Properties specific to the monitor resource. |
abstract
Datadog |
refresh()
Refreshes the resource to sync with Azure. |
abstract
Datadog |
refresh(Context context)
Refreshes the resource to sync with Azure. |
abstract
Datadog |
refreshSetPasswordLink()
Refresh the set password link and return a latest one. |
abstract
Response<Datadog |
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
Resource |
sku()
Gets the sku property: The sku property. |
abstract
System |
systemData()
Gets the system |
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 Datadog |
Method Details
getDefaultKey
public abstract DatadogApiKey getDefaultKey()
Get the default api key.
Returns:
getDefaultKeyWithResponse
public abstract Response
Get the default api key.
Parameters:
Returns:
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
identity
public abstract IdentityProperties identity()
Gets the identity property: The identity property.
Returns:
innerModel
public abstract DatadogMonitorResourceInner innerModel()
Gets the inner com.azure.resourcemanager.datadog.fluent.models.DatadogMonitorResourceInner object.
Returns:
listApiKeys
public abstract PagedIterable
List the api keys for a given monitor resource.
Returns:
listApiKeys
public abstract PagedIterable
List the api keys for a given monitor resource.
Parameters:
Returns:
listHosts
public abstract PagedIterable
List the hosts for a given monitor resource.
Returns:
listHosts
public abstract PagedIterable
List the hosts for a given monitor resource.
Parameters:
Returns:
listLinkedResources
public abstract PagedIterable
List all Azure resources associated to the same Datadog organization as the target resource.
Returns:
listLinkedResources
public abstract PagedIterable
List all Azure resources associated to the same Datadog organization as the target resource.
Parameters:
Returns:
listMonitoredResources
public abstract PagedIterable
List the resources currently being monitored by the Datadog monitor resource.
Returns:
listMonitoredResources
public abstract PagedIterable
List the resources currently being monitored by the Datadog monitor resource.
Parameters:
Returns:
location
public abstract String location()
Gets the location property: The geo-location where the resource lives.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
properties
public abstract MonitorProperties properties()
Gets the properties property: Properties specific to the monitor resource.
Returns:
refresh
public abstract DatadogMonitorResource refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract DatadogMonitorResource refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
refreshSetPasswordLink
public abstract DatadogSetPasswordLink refreshSetPasswordLink()
Refresh the set password link and return a latest one.
Returns:
refreshSetPasswordLinkWithResponse
public abstract Response
Refresh the set password link and return a latest one.
Parameters:
Returns:
region
public abstract Region region()
Gets the region of the resource.
Returns:
regionName
public abstract String regionName()
Gets the name of the resource region.
Returns:
resourceGroupName
public abstract String resourceGroupName()
Gets the name of the resource group.
Returns:
setDefaultKey
public abstract void setDefaultKey()
Set the default api key.
setDefaultKeyWithResponse
public abstract Response
Set the default api key.
Parameters:
Returns:
sku
public abstract ResourceSku sku()
Gets the sku property: The sku property.
Returns:
systemData
public abstract SystemData systemData()
Gets the systemData property: Metadata pertaining to creation and last modification of the resource.
Returns:
tags
public abstract Map
Gets the tags property: Resource tags.
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns:
update
public abstract DatadogMonitorResource.Update update()
Begins update for the DatadogMonitorResource resource.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for