Interface SecurityContact
public interface SecurityContact
An immutable client-side representation of SecurityContact.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the SecurityContact definition.static interface
The SecurityContact definition stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the alertNotifications property: Defines whether to send email notifications about new security alerts.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.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.security.fluent.models.SecurityContactInner object.name()
Gets the name property: The name of the resource.Gets the notificationsByRole property: Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.phone()
Gets the phone property: The security contact's phone number.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.type()
Gets the type property: The type of the resource.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
emails
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:
- the emails value.
-
phone
String phone()Gets the phone property: The security contact's phone number.- Returns:
- the phone value.
-
alertNotifications
SecurityContactPropertiesAlertNotifications alertNotifications()Gets the alertNotifications property: Defines whether to send email notifications about new security alerts.- Returns:
- the alertNotifications value.
-
notificationsByRole
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:
- the notificationsByRole value.
-
innerModel
SecurityContactInner innerModel()Gets the inner com.azure.resourcemanager.security.fluent.models.SecurityContactInner object.- Returns:
- the inner object.
-
refresh
SecurityContact refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-