SecurityContact Interface
public interface SecurityContact
An immutable client-side representation of SecurityContact.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract String |
emails()
Gets the emails property: List of email addresses which will get notifications from Microsoft Defender for Cloud by the configurations defined in this security contact. |
| abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
|
abstract
Security |
innerModel()
Gets the inner com. |
| abstract Boolean |
isEnabled()
Gets the is |
| abstract String |
name()
Gets the name property: The name of the resource. |
|
abstract
Security |
notificationsByRole()
Gets the notifications |
|
abstract
List<Notifications |
notificationsSources()
Gets the notifications |
| abstract String |
phone()
Gets the phone property: The security contact's phone number. |
|
abstract
Security |
refresh()
Refreshes the resource to sync with Azure. |
|
abstract
Security |
refresh(Context context)
Refreshes the resource to sync with Azure. |
|
abstract
System |
systemData()
Gets the system |
| abstract String |
type()
Gets the type property: The type of the resource. |
Method Details
emails
public abstract String emails()
Gets the emails property: List of email addresses which will get notifications from Microsoft Defender for Cloud by the configurations defined in this security contact.
Returns:
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
innerModel
public abstract SecurityContactInner innerModel()
Gets the inner com.azure.resourcemanager.security.fluent.models.SecurityContactInner object.
Returns:
isEnabled
public abstract Boolean isEnabled()
Gets the isEnabled property: Indicates whether the security contact is enabled.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
notificationsByRole
public abstract SecurityContactPropertiesNotificationsByRole notificationsByRole()
Gets the notificationsByRole property: Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.
Returns:
notificationsSources
public abstract List<NotificationsSource> notificationsSources()
Gets the notificationsSources property: A collection of sources types which evaluate the email notification.
Returns:
phone
public abstract String phone()
Gets the phone property: The security contact's phone number.
Returns:
refresh
public abstract SecurityContact refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract SecurityContact refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
systemData
public abstract SystemData systemData()
Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns: