Class MonitorProperties
java.lang.Object
com.azure.resourcemanager.logz.models.MonitorProperties
Properties specific to the monitor resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the liftrResourceCategory property: The liftrResourceCategory property.Get the liftrResourcePreference property: The priority of the resource.Get the logzOrganizationProperties property: The logzOrganizationProperties property.Get the marketplaceSubscriptionStatus property: Flag specifying the Marketplace Subscription Status of the resource.Get the monitoringStatus property: Flag specifying if the resource monitoring is enabled or disabled.planData()
Get the planData property: The planData property.Get the provisioningState property: Flag specifying if the resource provisioning state as tracked by ARM.userInfo()
Get the userInfo property: The userInfo property.void
validate()
Validates the instance.withLogzOrganizationProperties
(LogzOrganizationProperties logzOrganizationProperties) Set the logzOrganizationProperties property: The logzOrganizationProperties property.withMarketplaceSubscriptionStatus
(MarketplaceSubscriptionStatus marketplaceSubscriptionStatus) Set the marketplaceSubscriptionStatus property: Flag specifying the Marketplace Subscription Status of the resource.withMonitoringStatus
(MonitoringStatus monitoringStatus) Set the monitoringStatus property: Flag specifying if the resource monitoring is enabled or disabled.withPlanData
(PlanData planData) Set the planData property: The planData property.withUserInfo
(UserInfo userInfo) Set the userInfo property: The userInfo property.
-
Constructor Details
-
MonitorProperties
public MonitorProperties()Creates an instance of MonitorProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: Flag specifying if the resource provisioning state as tracked by ARM.- Returns:
- the provisioningState value.
-
monitoringStatus
Get the monitoringStatus property: Flag specifying if the resource monitoring is enabled or disabled.- Returns:
- the monitoringStatus value.
-
withMonitoringStatus
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.
-
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.
-
withMarketplaceSubscriptionStatus
public MonitorProperties withMarketplaceSubscriptionStatus(MarketplaceSubscriptionStatus marketplaceSubscriptionStatus) Set 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.- Parameters:
marketplaceSubscriptionStatus
- the marketplaceSubscriptionStatus value to set.- Returns:
- the MonitorProperties object itself.
-
logzOrganizationProperties
Get the logzOrganizationProperties property: The logzOrganizationProperties property.- Returns:
- the logzOrganizationProperties value.
-
withLogzOrganizationProperties
public MonitorProperties withLogzOrganizationProperties(LogzOrganizationProperties logzOrganizationProperties) Set the logzOrganizationProperties property: The logzOrganizationProperties property.- Parameters:
logzOrganizationProperties
- the logzOrganizationProperties value to set.- Returns:
- the MonitorProperties object itself.
-
userInfo
Get the userInfo property: The userInfo property.- Returns:
- the userInfo value.
-
withUserInfo
Set the userInfo property: The userInfo property.- Parameters:
userInfo
- the userInfo value to set.- Returns:
- the MonitorProperties object itself.
-
planData
Get the planData property: The planData property.- Returns:
- the planData value.
-
withPlanData
Set the planData property: The planData property.- Parameters:
planData
- the planData value to set.- Returns:
- the MonitorProperties object itself.
-
liftrResourceCategory
Get the liftrResourceCategory property: The liftrResourceCategory property.- Returns:
- the liftrResourceCategory value.
-
liftrResourcePreference
Get the liftrResourcePreference property: The priority of the resource.- Returns:
- the liftrResourcePreference value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-