LocalUserNotAllowed Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. CustomAlertRule - com.
azure. resourcemanager. security. models. ListCustomAlertRule - com.
azure. resourcemanager. security. models. AllowlistCustomAlertRule - com.
azure. resourcemanager. security. models. LocalUserNotAllowed
- com.
- com.
- com.
- com.
public final class LocalUserNotAllowed
extends AllowlistCustomAlertRule
Login by a local user that isn't allowed. Allow list consists of login names to allow.
Constructor Summary
Constructor | Description |
---|---|
LocalUserNotAllowed() |
Creates an instance of Local |
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
validate()
Validates the instance. |
Local |
withAllowlistValues(List<String> allowlistValues)
Set the allowlist |
Local |
withIsEnabled(boolean isEnabled)
Set the is |
Methods inherited from AllowlistCustomAlertRule
Methods inherited from CustomAlertRule
Methods inherited from ListCustomAlertRule
Methods inherited from java.lang.Object
Constructor Details
LocalUserNotAllowed
public LocalUserNotAllowed()
Creates an instance of LocalUserNotAllowed class.
Method Details
validate
public void validate()
Validates the instance.
Overrides:
LocalUserNotAllowed.validate()withAllowlistValues
public LocalUserNotAllowed withAllowlistValues(List
Set the allowlistValues property: The values to allow. The format of the values depends on the rule type.
Overrides:
LocalUserNotAllowed.withAllowlistValues(List<String> allowlistValues)Parameters:
withIsEnabled
public LocalUserNotAllowed withIsEnabled(boolean isEnabled)
Set the isEnabled property: Status of the custom alert.
Overrides:
LocalUserNotAllowed.withIsEnabled(boolean isEnabled)Parameters:
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