1. Packages
  2. Azure Native
  3. API Docs
  4. security
  5. getSecurityContact
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

azure-native.security.getSecurityContact

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

    Get Default Security contact configurations for the subscription

    Uses Azure REST API version 2023-12-01-preview.

    Other available API versions: 2017-08-01-preview, 2020-01-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native security [ApiVersion]. See the version guide for details.

    Using getSecurityContact

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getSecurityContact(args: GetSecurityContactArgs, opts?: InvokeOptions): Promise<GetSecurityContactResult>
    function getSecurityContactOutput(args: GetSecurityContactOutputArgs, opts?: InvokeOptions): Output<GetSecurityContactResult>
    def get_security_contact(security_contact_name: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetSecurityContactResult
    def get_security_contact_output(security_contact_name: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetSecurityContactResult]
    func LookupSecurityContact(ctx *Context, args *LookupSecurityContactArgs, opts ...InvokeOption) (*LookupSecurityContactResult, error)
    func LookupSecurityContactOutput(ctx *Context, args *LookupSecurityContactOutputArgs, opts ...InvokeOption) LookupSecurityContactResultOutput

    > Note: This function is named LookupSecurityContact in the Go SDK.

    public static class GetSecurityContact 
    {
        public static Task<GetSecurityContactResult> InvokeAsync(GetSecurityContactArgs args, InvokeOptions? opts = null)
        public static Output<GetSecurityContactResult> Invoke(GetSecurityContactInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSecurityContactResult> getSecurityContact(GetSecurityContactArgs args, InvokeOptions options)
    public static Output<GetSecurityContactResult> getSecurityContact(GetSecurityContactArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:security:getSecurityContact
      arguments:
        # arguments dictionary

    The following arguments are supported:

    SecurityContactName string
    Name of the security contact object
    SecurityContactName string
    Name of the security contact object
    securityContactName String
    Name of the security contact object
    securityContactName string
    Name of the security contact object
    security_contact_name str
    Name of the security contact object
    securityContactName String
    Name of the security contact object

    getSecurityContact Result

    The following output properties are available:

    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    Resource Id
    Name string
    Resource name
    Type string
    Resource type
    Emails string
    List of email addresses which will get notifications from Microsoft Defender for Cloud by the configurations defined in this security contact.
    IsEnabled bool
    Indicates whether the security contact is enabled.
    NotificationsByRole Pulumi.AzureNative.Security.Outputs.SecurityContactPropertiesResponseNotificationsByRole
    Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.
    NotificationsSources List<Union<Pulumi.AzureNative.Security.Outputs.NotificationsSourceAlertResponse, Pulumi.AzureNative.Security.Outputs.NotificationsSourceAttackPathResponse>>
    A collection of sources types which evaluate the email notification.
    Phone string
    The security contact's phone number
    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    Resource Id
    Name string
    Resource name
    Type string
    Resource type
    Emails string
    List of email addresses which will get notifications from Microsoft Defender for Cloud by the configurations defined in this security contact.
    IsEnabled bool
    Indicates whether the security contact is enabled.
    NotificationsByRole SecurityContactPropertiesResponseNotificationsByRole
    Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.
    NotificationsSources []interface{}
    A collection of sources types which evaluate the email notification.
    Phone string
    The security contact's phone number
    azureApiVersion String
    The Azure API version of the resource.
    id String
    Resource Id
    name String
    Resource name
    type String
    Resource type
    emails String
    List of email addresses which will get notifications from Microsoft Defender for Cloud by the configurations defined in this security contact.
    isEnabled Boolean
    Indicates whether the security contact is enabled.
    notificationsByRole SecurityContactPropertiesResponseNotificationsByRole
    Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.
    notificationsSources List<Either<NotificationsSourceAlertResponse,NotificationsSourceAttackPathResponse>>
    A collection of sources types which evaluate the email notification.
    phone String
    The security contact's phone number
    azureApiVersion string
    The Azure API version of the resource.
    id string
    Resource Id
    name string
    Resource name
    type string
    Resource type
    emails string
    List of email addresses which will get notifications from Microsoft Defender for Cloud by the configurations defined in this security contact.
    isEnabled boolean
    Indicates whether the security contact is enabled.
    notificationsByRole SecurityContactPropertiesResponseNotificationsByRole
    Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.
    notificationsSources (NotificationsSourceAlertResponse | NotificationsSourceAttackPathResponse)[]
    A collection of sources types which evaluate the email notification.
    phone string
    The security contact's phone number
    azure_api_version str
    The Azure API version of the resource.
    id str
    Resource Id
    name str
    Resource name
    type str
    Resource type
    emails str
    List of email addresses which will get notifications from Microsoft Defender for Cloud by the configurations defined in this security contact.
    is_enabled bool
    Indicates whether the security contact is enabled.
    notifications_by_role SecurityContactPropertiesResponseNotificationsByRole
    Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.
    notifications_sources Sequence[Any]
    A collection of sources types which evaluate the email notification.
    phone str
    The security contact's phone number
    azureApiVersion String
    The Azure API version of the resource.
    id String
    Resource Id
    name String
    Resource name
    type String
    Resource type
    emails String
    List of email addresses which will get notifications from Microsoft Defender for Cloud by the configurations defined in this security contact.
    isEnabled Boolean
    Indicates whether the security contact is enabled.
    notificationsByRole Property Map
    Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.
    notificationsSources List<Property Map | Property Map>
    A collection of sources types which evaluate the email notification.
    phone String
    The security contact's phone number

    Supporting Types

    NotificationsSourceAlertResponse

    MinimalSeverity string
    Defines the minimal alert severity which will be sent as email notifications
    MinimalSeverity string
    Defines the minimal alert severity which will be sent as email notifications
    minimalSeverity String
    Defines the minimal alert severity which will be sent as email notifications
    minimalSeverity string
    Defines the minimal alert severity which will be sent as email notifications
    minimal_severity str
    Defines the minimal alert severity which will be sent as email notifications
    minimalSeverity String
    Defines the minimal alert severity which will be sent as email notifications

    NotificationsSourceAttackPathResponse

    MinimalRiskLevel string
    Defines the minimal attach path risk level which will be sent as email notifications
    MinimalRiskLevel string
    Defines the minimal attach path risk level which will be sent as email notifications
    minimalRiskLevel String
    Defines the minimal attach path risk level which will be sent as email notifications
    minimalRiskLevel string
    Defines the minimal attach path risk level which will be sent as email notifications
    minimal_risk_level str
    Defines the minimal attach path risk level which will be sent as email notifications
    minimalRiskLevel String
    Defines the minimal attach path risk level which will be sent as email notifications

    SecurityContactPropertiesResponseNotificationsByRole

    Roles List<string>
    Defines which RBAC roles will get email notifications from Microsoft Defender for Cloud. List of allowed RBAC roles:
    State string
    Defines whether to send email notifications from AMicrosoft Defender for Cloud to persons with specific RBAC roles on the subscription.
    Roles []string
    Defines which RBAC roles will get email notifications from Microsoft Defender for Cloud. List of allowed RBAC roles:
    State string
    Defines whether to send email notifications from AMicrosoft Defender for Cloud to persons with specific RBAC roles on the subscription.
    roles List<String>
    Defines which RBAC roles will get email notifications from Microsoft Defender for Cloud. List of allowed RBAC roles:
    state String
    Defines whether to send email notifications from AMicrosoft Defender for Cloud to persons with specific RBAC roles on the subscription.
    roles string[]
    Defines which RBAC roles will get email notifications from Microsoft Defender for Cloud. List of allowed RBAC roles:
    state string
    Defines whether to send email notifications from AMicrosoft Defender for Cloud to persons with specific RBAC roles on the subscription.
    roles Sequence[str]
    Defines which RBAC roles will get email notifications from Microsoft Defender for Cloud. List of allowed RBAC roles:
    state str
    Defines whether to send email notifications from AMicrosoft Defender for Cloud to persons with specific RBAC roles on the subscription.
    roles List<String>
    Defines which RBAC roles will get email notifications from Microsoft Defender for Cloud. List of allowed RBAC roles:
    state String
    Defines whether to send email notifications from AMicrosoft Defender for Cloud to persons with specific RBAC roles on the subscription.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi