ApplicationInsightsComponentProactiveDetectionConfigurationInner Class
- java.
lang. Object - com.
azure. resourcemanager. applicationinsights. fluent. models. ApplicationInsightsComponentProactiveDetectionConfigurationInner
- com.
Implements
public final class ApplicationInsightsComponentProactiveDetectionConfigurationInner
implements JsonSerializable<ApplicationInsightsComponentProactiveDetectionConfigurationInner>
Properties that define a ProactiveDetection configuration.
Constructor Summary
| Constructor | Description |
|---|---|
| ApplicationInsightsComponentProactiveDetectionConfigurationInner() |
Creates an instance of Application |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
customEmails()
Get the custom |
| Boolean |
enabled()
Get the enabled property: A flag that indicates whether this rule is enabled by the user. |
|
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
| String |
lastUpdatedTime()
Get the last |
| String |
name()
Get the name property: The rule name. |
|
Application |
ruleDefinitions()
Get the rule |
| Boolean |
sendEmailsToSubscriptionOwners()
Get the send |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Application |
withCustomEmails(List<String> customEmails)
Set the custom |
|
Application |
withEnabled(Boolean enabled)
Set the enabled property: A flag that indicates whether this rule is enabled by the user. |
|
Application |
withLastUpdatedTime(String lastUpdatedTime)
Set the last |
|
Application |
withName(String name)
Set the name property: The rule name. |
|
Application |
withRuleDefinitions(ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions ruleDefinitions)
Set the rule |
|
Application |
withSendEmailsToSubscriptionOwners(Boolean sendEmailsToSubscriptionOwners)
Set the send |
Methods inherited from java.lang.Object
Constructor Details
ApplicationInsightsComponentProactiveDetectionConfigurationInner
public ApplicationInsightsComponentProactiveDetectionConfigurationInner()
Creates an instance of ApplicationInsightsComponentProactiveDetectionConfigurationInner class.
Method Details
customEmails
public List<String> customEmails()
Get the customEmails property: Custom email addresses for this rule notifications.
Returns:
enabled
public Boolean enabled()
Get the enabled property: A flag that indicates whether this rule is enabled by the user.
Returns:
fromJson
public static ApplicationInsightsComponentProactiveDetectionConfigurationInner fromJson(JsonReader jsonReader)
Reads an instance of ApplicationInsightsComponentProactiveDetectionConfigurationInner from the JsonReader.
Parameters:
Returns:
Throws:
lastUpdatedTime
public String lastUpdatedTime()
Get the lastUpdatedTime property: The last time this rule was updated.
Returns:
name
public String name()
Get the name property: The rule name.
Returns:
ruleDefinitions
public ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions ruleDefinitions()
Get the ruleDefinitions property: Static definitions of the ProactiveDetection configuration rule (same values for all components).
Returns:
sendEmailsToSubscriptionOwners
public Boolean sendEmailsToSubscriptionOwners()
Get the sendEmailsToSubscriptionOwners property: A flag that indicated whether notifications on this rule should be sent to subscription owners.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCustomEmails
public ApplicationInsightsComponentProactiveDetectionConfigurationInner withCustomEmails(List<String> customEmails)
Set the customEmails property: Custom email addresses for this rule notifications.
Parameters:
Returns:
withEnabled
public ApplicationInsightsComponentProactiveDetectionConfigurationInner withEnabled(Boolean enabled)
Set the enabled property: A flag that indicates whether this rule is enabled by the user.
Parameters:
Returns:
withLastUpdatedTime
public ApplicationInsightsComponentProactiveDetectionConfigurationInner withLastUpdatedTime(String lastUpdatedTime)
Set the lastUpdatedTime property: The last time this rule was updated.
Parameters:
Returns:
withName
public ApplicationInsightsComponentProactiveDetectionConfigurationInner withName(String name)
Set the name property: The rule name.
Parameters:
Returns:
withRuleDefinitions
public ApplicationInsightsComponentProactiveDetectionConfigurationInner withRuleDefinitions(ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions ruleDefinitions)
Set the ruleDefinitions property: Static definitions of the ProactiveDetection configuration rule (same values for all components).
Parameters:
Returns:
withSendEmailsToSubscriptionOwners
public ApplicationInsightsComponentProactiveDetectionConfigurationInner withSendEmailsToSubscriptionOwners(Boolean sendEmailsToSubscriptionOwners)
Set the sendEmailsToSubscriptionOwners property: A flag that indicated whether notifications on this rule should be sent to subscription owners.
Parameters:
Returns: