1. Packages
  2. Azure Native
  3. API Docs
  4. security
  5. getSecurityContact
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 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 v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

    Get Default Security contact configurations for the subscription Azure REST API version: 2020-01-01-preview.

    Other available API versions: 2017-08-01-preview, 2023-12-01-preview.

    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)
    // Output-based functions aren't available in Java yet
    
    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:

    Id string
    Resource Id
    Name string
    Resource name
    Type string
    Resource type
    AlertNotifications Pulumi.AzureNative.Security.Outputs.SecurityContactPropertiesResponseAlertNotifications
    Defines whether to send email notifications about new security alerts
    Emails string
    List of email addresses which will get notifications from Microsoft Defender for Cloud by the configurations defined in this security contact.
    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.
    Phone string
    The security contact's phone number
    Id string
    Resource Id
    Name string
    Resource name
    Type string
    Resource type
    AlertNotifications SecurityContactPropertiesResponseAlertNotifications
    Defines whether to send email notifications about new security alerts
    Emails string
    List of email addresses which will get notifications from Microsoft Defender for Cloud by the configurations defined in this security contact.
    NotificationsByRole SecurityContactPropertiesResponseNotificationsByRole
    Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.
    Phone string
    The security contact's phone number
    id String
    Resource Id
    name String
    Resource name
    type String
    Resource type
    alertNotifications SecurityContactPropertiesResponseAlertNotifications
    Defines whether to send email notifications about new security alerts
    emails String
    List of email addresses which will get notifications from Microsoft Defender for Cloud by the configurations defined in this security contact.
    notificationsByRole SecurityContactPropertiesResponseNotificationsByRole
    Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.
    phone String
    The security contact's phone number
    id string
    Resource Id
    name string
    Resource name
    type string
    Resource type
    alertNotifications SecurityContactPropertiesResponseAlertNotifications
    Defines whether to send email notifications about new security alerts
    emails string
    List of email addresses which will get notifications from Microsoft Defender for Cloud by the configurations defined in this security contact.
    notificationsByRole SecurityContactPropertiesResponseNotificationsByRole
    Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.
    phone string
    The security contact's phone number
    id str
    Resource Id
    name str
    Resource name
    type str
    Resource type
    alert_notifications SecurityContactPropertiesResponseAlertNotifications
    Defines whether to send email notifications about new security alerts
    emails str
    List of email addresses which will get notifications from Microsoft Defender for Cloud by the configurations defined in this security contact.
    notifications_by_role SecurityContactPropertiesResponseNotificationsByRole
    Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.
    phone str
    The security contact's phone number
    id String
    Resource Id
    name String
    Resource name
    type String
    Resource type
    alertNotifications Property Map
    Defines whether to send email notifications about new security alerts
    emails String
    List of email addresses which will get notifications from Microsoft Defender for Cloud by the configurations defined in this security contact.
    notificationsByRole Property Map
    Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.
    phone String
    The security contact's phone number

    Supporting Types

    SecurityContactPropertiesResponseAlertNotifications

    MinimalSeverity string
    Defines the minimal alert severity which will be sent as email notifications
    State string
    Defines if email notifications will be sent about new security alerts
    MinimalSeverity string
    Defines the minimal alert severity which will be sent as email notifications
    State string
    Defines if email notifications will be sent about new security alerts
    minimalSeverity String
    Defines the minimal alert severity which will be sent as email notifications
    state String
    Defines if email notifications will be sent about new security alerts
    minimalSeverity string
    Defines the minimal alert severity which will be sent as email notifications
    state string
    Defines if email notifications will be sent about new security alerts
    minimal_severity str
    Defines the minimal alert severity which will be sent as email notifications
    state str
    Defines if email notifications will be sent about new security alerts
    minimalSeverity String
    Defines the minimal alert severity which will be sent as email notifications
    state String
    Defines if email notifications will be sent about new security alerts

    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 v1 docs if using the v1 version of this package.
    Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi