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 SecurityContactInner innerModel()

Gets the inner com.azure.resourcemanager.security.fluent.models.SecurityContactInner object.

abstract Boolean isEnabled()

Gets the isEnabled property: Indicates whether the security contact is enabled.

abstract String name()

Gets the name property: The name of the resource.

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.

abstract List<NotificationsSource> notificationsSources()

Gets the notificationsSources property: A collection of sources types which evaluate the email notification.

abstract String phone()

Gets the phone property: The security contact's phone number.

abstract SecurityContact refresh()

Refreshes the resource to sync with Azure.

abstract SecurityContact refresh(Context context)

Refreshes the resource to sync with Azure.

abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

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:

the emails value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract SecurityContactInner innerModel()

Gets the inner com.azure.resourcemanager.security.fluent.models.SecurityContactInner object.

Returns:

the inner object.

isEnabled

public abstract Boolean isEnabled()

Gets the isEnabled property: Indicates whether the security contact is enabled.

Returns:

the isEnabled value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

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:

the notificationsByRole value.

notificationsSources

public abstract List<NotificationsSource> notificationsSources()

Gets the notificationsSources property: A collection of sources types which evaluate the email notification.

Returns:

the notificationsSources value.

phone

public abstract String phone()

Gets the phone property: The security contact's phone number.

Returns:

the phone value.

refresh

public abstract SecurityContact refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract SecurityContact refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

systemData

public abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

Applies to