MonitorProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.datadog.models.MonitorProperties

public final class MonitorProperties

Properties specific to the monitor resource.

Constructor Summary

Constructor Description
MonitorProperties()

Creates an instance of MonitorProperties class.

Method Summary

Modifier and Type Method and Description
DatadogOrganizationProperties datadogOrganizationProperties()

Get the datadogOrganizationProperties property: Datadog organization properties.

LiftrResourceCategories liftrResourceCategory()

Get the liftrResourceCategory property: The liftrResourceCategory property.

Integer liftrResourcePreference()

Get the liftrResourcePreference property: The priority of the resource.

MarketplaceSubscriptionStatus marketplaceSubscriptionStatus()

Get the marketplaceSubscriptionStatus property: Flag specifying the Marketplace Subscription Status of the resource.

MonitoringStatus monitoringStatus()

Get the monitoringStatus property: Flag specifying if the resource monitoring is enabled or disabled.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioningState property.

UserInfo userInfo()

Get the userInfo property: User info.

void validate()

Validates the instance.

MonitorProperties withDatadogOrganizationProperties(DatadogOrganizationProperties datadogOrganizationProperties)

Set the datadogOrganizationProperties property: Datadog organization properties.

MonitorProperties withMonitoringStatus(MonitoringStatus monitoringStatus)

Set the monitoringStatus property: Flag specifying if the resource monitoring is enabled or disabled.

MonitorProperties withUserInfo(UserInfo userInfo)

Set the userInfo property: User info.

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:

the datadogOrganizationProperties value.

liftrResourceCategory

public LiftrResourceCategories liftrResourceCategory()

Get the liftrResourceCategory property: The liftrResourceCategory property.

Returns:

the liftrResourceCategory value.

liftrResourcePreference

public Integer liftrResourcePreference()

Get the liftrResourcePreference property: The priority of the resource.

Returns:

the liftrResourcePreference value.

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:

the marketplaceSubscriptionStatus value.

monitoringStatus

public MonitoringStatus monitoringStatus()

Get the monitoringStatus property: Flag specifying if the resource monitoring is enabled or disabled.

Returns:

the monitoringStatus value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioningState property.

Returns:

the provisioningState value.

userInfo

public UserInfo userInfo()

Get the userInfo property: User info.

Returns:

the userInfo value.

validate

public void validate()

Validates the instance.

withDatadogOrganizationProperties

public MonitorProperties withDatadogOrganizationProperties(DatadogOrganizationProperties datadogOrganizationProperties)

Set the datadogOrganizationProperties property: Datadog organization properties.

Parameters:

datadogOrganizationProperties - the datadogOrganizationProperties value to set.

Returns:

the MonitorProperties object itself.

withMonitoringStatus

public MonitorProperties withMonitoringStatus(MonitoringStatus monitoringStatus)

Set the monitoringStatus property: Flag specifying if the resource monitoring is enabled or disabled.

Parameters:

monitoringStatus - the monitoringStatus value to set.

Returns:

the MonitorProperties object itself.

withUserInfo

public MonitorProperties withUserInfo(UserInfo userInfo)

Set the userInfo property: User info.

Parameters:

userInfo - the userInfo value to set.

Returns:

the MonitorProperties object itself.

Applies to