MonitorProperties Class
- java.
lang. Object - com.
azure. resourcemanager. datadog. models. MonitorProperties
- com.
public final class MonitorProperties
Properties specific to the monitor resource.
Constructor Summary
| Constructor | Description |
|---|---|
| MonitorProperties() |
Creates an instance of Monitor |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Datadog |
datadogOrganizationProperties()
Get the datadog |
|
Liftr |
liftrResourceCategory()
Get the liftr |
| Integer |
liftrResourcePreference()
Get the liftr |
|
Marketplace |
marketplaceSubscriptionStatus()
Get the marketplace |
|
Monitoring |
monitoringStatus()
Get the monitoring |
|
Provisioning |
provisioningState()
Get the provisioning |
|
User |
userInfo()
Get the user |
| void |
validate()
Validates the instance. |
|
Monitor |
withDatadogOrganizationProperties(DatadogOrganizationProperties datadogOrganizationProperties)
Set the datadog |
|
Monitor |
withMonitoringStatus(MonitoringStatus monitoringStatus)
Set the monitoring |
|
Monitor |
withUserInfo(UserInfo userInfo)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
MonitorProperties
public MonitorProperties()
Creates an instance of MonitorProperties class.
Method Details
datadogOrganizationProperties
public DatadogOrganizationProperties datadogOrganizationProperties()
Get the datadogOrganizationProperties property: Datadog organization properties.
Returns:
liftrResourceCategory
public LiftrResourceCategories liftrResourceCategory()
Get the liftrResourceCategory property: The liftrResourceCategory property.
Returns:
liftrResourcePreference
public Integer liftrResourcePreference()
Get the liftrResourcePreference property: The priority of the resource.
Returns:
marketplaceSubscriptionStatus
public MarketplaceSubscriptionStatus marketplaceSubscriptionStatus()
Get the marketplaceSubscriptionStatus property: Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.
Returns:
monitoringStatus
public MonitoringStatus monitoringStatus()
Get the monitoringStatus property: Flag specifying if the resource monitoring is enabled or disabled.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioningState property.
Returns:
userInfo
public UserInfo userInfo()
Get the userInfo property: User info.
Returns:
validate
public void validate()
Validates the instance.
withDatadogOrganizationProperties
public MonitorProperties withDatadogOrganizationProperties(DatadogOrganizationProperties datadogOrganizationProperties)
Set the datadogOrganizationProperties property: Datadog organization properties.
Parameters:
Returns:
withMonitoringStatus
public MonitorProperties withMonitoringStatus(MonitoringStatus monitoringStatus)
Set the monitoringStatus property: Flag specifying if the resource monitoring is enabled or disabled.
Parameters:
Returns:
withUserInfo
public MonitorProperties withUserInfo(UserInfo userInfo)
Set the userInfo property: User info.
Parameters:
Returns: