1. Packages
  2. Azure Native
  3. API Docs
  4. security
  5. SecurityContact
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.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.security.SecurityContact

Explore with Pulumi AI

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.2.0 published on Monday, Apr 14, 2025 by Pulumi

Contact details and configurations for notifications coming from Microsoft Defender for Cloud.

Uses Azure REST API version 2023-12-01-preview. In version 2.x of the Azure Native provider, it used API version 2020-01-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.

Example Usage

Create security contact data

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var securityContact = new AzureNative.Security.SecurityContact("securityContact", new()
    {
        Emails = "john@contoso.com;jane@contoso.com",
        IsEnabled = true,
        NotificationsByRole = new AzureNative.Security.Inputs.SecurityContactPropertiesNotificationsByRoleArgs
        {
            Roles = new[]
            {
                AzureNative.Security.SecurityContactRole.Owner,
            },
            State = AzureNative.Security.State.On,
        },
        NotificationsSources = 
        {
            new AzureNative.Security.Inputs.NotificationsSourceAttackPathArgs
            {
                MinimalRiskLevel = AzureNative.Security.MinimalRiskLevel.Critical,
                SourceType = "AttackPath",
            },
            new AzureNative.Security.Inputs.NotificationsSourceAlertArgs
            {
                MinimalSeverity = AzureNative.Security.MinimalSeverity.Medium,
                SourceType = "Alert",
            },
        },
        Phone = "(214)275-4038",
        SecurityContactName = "default",
    });

});
Copy
package main

import (
	security "github.com/pulumi/pulumi-azure-native-sdk/security/v3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := security.NewSecurityContact(ctx, "securityContact", &security.SecurityContactArgs{
			Emails:    pulumi.String("john@contoso.com;jane@contoso.com"),
			IsEnabled: pulumi.Bool(true),
			NotificationsByRole: &security.SecurityContactPropertiesNotificationsByRoleArgs{
				Roles: pulumi.StringArray{
					pulumi.String(security.SecurityContactRoleOwner),
				},
				State: pulumi.String(security.StateOn),
			},
			NotificationsSources: pulumi.Array{
				security.NotificationsSourceAttackPath{
					MinimalRiskLevel: security.MinimalRiskLevelCritical,
					SourceType:       "AttackPath",
				},
				security.NotificationsSourceAlert{
					MinimalSeverity: security.MinimalSeverityMedium,
					SourceType:      "Alert",
				},
			},
			Phone:               pulumi.String("(214)275-4038"),
			SecurityContactName: pulumi.String("default"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.security.SecurityContact;
import com.pulumi.azurenative.security.SecurityContactArgs;
import com.pulumi.azurenative.security.inputs.SecurityContactPropertiesNotificationsByRoleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var securityContact = new SecurityContact("securityContact", SecurityContactArgs.builder()
            .emails("john@contoso.com;jane@contoso.com")
            .isEnabled(true)
            .notificationsByRole(SecurityContactPropertiesNotificationsByRoleArgs.builder()
                .roles("Owner")
                .state("On")
                .build())
            .notificationsSources(            
                NotificationsSourceAttackPathArgs.builder()
                    .minimalRiskLevel("Critical")
                    .sourceType("AttackPath")
                    .build(),
                NotificationsSourceAlertArgs.builder()
                    .minimalSeverity("Medium")
                    .sourceType("Alert")
                    .build())
            .phone("(214)275-4038")
            .securityContactName("default")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const securityContact = new azure_native.security.SecurityContact("securityContact", {
    emails: "john@contoso.com;jane@contoso.com",
    isEnabled: true,
    notificationsByRole: {
        roles: [azure_native.security.SecurityContactRole.Owner],
        state: azure_native.security.State.On,
    },
    notificationsSources: [
        {
            minimalRiskLevel: azure_native.security.MinimalRiskLevel.Critical,
            sourceType: "AttackPath",
        },
        {
            minimalSeverity: azure_native.security.MinimalSeverity.Medium,
            sourceType: "Alert",
        },
    ],
    phone: "(214)275-4038",
    securityContactName: "default",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

security_contact = azure_native.security.SecurityContact("securityContact",
    emails="john@contoso.com;jane@contoso.com",
    is_enabled=True,
    notifications_by_role={
        "roles": [azure_native.security.SecurityContactRole.OWNER],
        "state": azure_native.security.State.ON,
    },
    notifications_sources=[
        {
            "minimal_risk_level": azure_native.security.MinimalRiskLevel.CRITICAL,
            "source_type": "AttackPath",
        },
        {
            "minimal_severity": azure_native.security.MinimalSeverity.MEDIUM,
            "source_type": "Alert",
        },
    ],
    phone="(214)275-4038",
    security_contact_name="default")
Copy
resources:
  securityContact:
    type: azure-native:security:SecurityContact
    properties:
      emails: john@contoso.com;jane@contoso.com
      isEnabled: true
      notificationsByRole:
        roles:
          - Owner
        state: On
      notificationsSources:
        - minimalRiskLevel: Critical
          sourceType: AttackPath
        - minimalSeverity: Medium
          sourceType: Alert
      phone: (214)275-4038
      securityContactName: default
Copy

Create SecurityContact Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new SecurityContact(name: string, args?: SecurityContactArgs, opts?: CustomResourceOptions);
@overload
def SecurityContact(resource_name: str,
                    args: Optional[SecurityContactArgs] = None,
                    opts: Optional[ResourceOptions] = None)

@overload
def SecurityContact(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    emails: Optional[str] = None,
                    is_enabled: Optional[bool] = None,
                    notifications_by_role: Optional[SecurityContactPropertiesNotificationsByRoleArgs] = None,
                    notifications_sources: Optional[Sequence[Union[NotificationsSourceAlertArgs, NotificationsSourceAttackPathArgs]]] = None,
                    phone: Optional[str] = None,
                    security_contact_name: Optional[str] = None)
func NewSecurityContact(ctx *Context, name string, args *SecurityContactArgs, opts ...ResourceOption) (*SecurityContact, error)
public SecurityContact(string name, SecurityContactArgs? args = null, CustomResourceOptions? opts = null)
public SecurityContact(String name, SecurityContactArgs args)
public SecurityContact(String name, SecurityContactArgs args, CustomResourceOptions options)
type: azure-native:security:SecurityContact
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args SecurityContactArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args SecurityContactArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args SecurityContactArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args SecurityContactArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SecurityContactArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var securityContactResource = new AzureNative.Security.SecurityContact("securityContactResource", new()
{
    Emails = "string",
    IsEnabled = false,
    NotificationsByRole = new AzureNative.Security.Inputs.SecurityContactPropertiesNotificationsByRoleArgs
    {
        Roles = new[]
        {
            "string",
        },
        State = "string",
    },
    NotificationsSources = new[]
    {
        new AzureNative.Security.Inputs.NotificationsSourceAlertArgs
        {
            SourceType = "Alert",
            MinimalSeverity = "string",
        },
    },
    Phone = "string",
    SecurityContactName = "string",
});
Copy
example, err := security.NewSecurityContact(ctx, "securityContactResource", &security.SecurityContactArgs{
	Emails:    pulumi.String("string"),
	IsEnabled: pulumi.Bool(false),
	NotificationsByRole: &security.SecurityContactPropertiesNotificationsByRoleArgs{
		Roles: pulumi.StringArray{
			pulumi.String("string"),
		},
		State: pulumi.String("string"),
	},
	NotificationsSources: pulumi.Array{
		security.NotificationsSourceAlert{
			SourceType:      "Alert",
			MinimalSeverity: "string",
		},
	},
	Phone:               pulumi.String("string"),
	SecurityContactName: pulumi.String("string"),
})
Copy
var securityContactResource = new SecurityContact("securityContactResource", SecurityContactArgs.builder()
    .emails("string")
    .isEnabled(false)
    .notificationsByRole(SecurityContactPropertiesNotificationsByRoleArgs.builder()
        .roles("string")
        .state("string")
        .build())
    .notificationsSources(NotificationsSourceAlertArgs.builder()
        .sourceType("Alert")
        .minimalSeverity("string")
        .build())
    .phone("string")
    .securityContactName("string")
    .build());
Copy
security_contact_resource = azure_native.security.SecurityContact("securityContactResource",
    emails="string",
    is_enabled=False,
    notifications_by_role={
        "roles": ["string"],
        "state": "string",
    },
    notifications_sources=[{
        "source_type": "Alert",
        "minimal_severity": "string",
    }],
    phone="string",
    security_contact_name="string")
Copy
const securityContactResource = new azure_native.security.SecurityContact("securityContactResource", {
    emails: "string",
    isEnabled: false,
    notificationsByRole: {
        roles: ["string"],
        state: "string",
    },
    notificationsSources: [{
        sourceType: "Alert",
        minimalSeverity: "string",
    }],
    phone: "string",
    securityContactName: "string",
});
Copy
type: azure-native:security:SecurityContact
properties:
    emails: string
    isEnabled: false
    notificationsByRole:
        roles:
            - string
        state: string
    notificationsSources:
        - minimalSeverity: string
          sourceType: Alert
    phone: string
    securityContactName: string
Copy

SecurityContact Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The SecurityContact resource accepts the following input properties:

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.Inputs.SecurityContactPropertiesNotificationsByRole
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.Inputs.NotificationsSourceAlert, Pulumi.AzureNative.Security.Inputs.NotificationsSourceAttackPathArgs>>
A collection of sources types which evaluate the email notification.
Phone string
The security contact's phone number
SecurityContactName Changes to this property will trigger replacement. string
Name of the security contact object
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 SecurityContactPropertiesNotificationsByRoleArgs
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
SecurityContactName Changes to this property will trigger replacement. string
Name of the security contact object
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 SecurityContactPropertiesNotificationsByRole
Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.
notificationsSources List<Either<NotificationsSourceAlert,NotificationsSourceAttackPathArgs>>
A collection of sources types which evaluate the email notification.
phone String
The security contact's phone number
securityContactName Changes to this property will trigger replacement. String
Name of the security contact object
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 SecurityContactPropertiesNotificationsByRole
Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.
notificationsSources (NotificationsSourceAlert | NotificationsSourceAttackPathArgs)[]
A collection of sources types which evaluate the email notification.
phone string
The security contact's phone number
securityContactName Changes to this property will trigger replacement. string
Name of the security contact object
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 SecurityContactPropertiesNotificationsByRoleArgs
Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.
notifications_sources Sequence[Union[NotificationsSourceAlertArgs, NotificationsSourceAttackPathArgs]]
A collection of sources types which evaluate the email notification.
phone str
The security contact's phone number
security_contact_name Changes to this property will trigger replacement. str
Name of the security contact object
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
securityContactName Changes to this property will trigger replacement. String
Name of the security contact object

Outputs

All input properties are implicitly available as output properties. Additionally, the SecurityContact resource produces the following output properties:

AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Resource name
Type string
Resource type
AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Resource name
Type string
Resource type
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
Resource name
type String
Resource type
azureApiVersion string
The Azure API version of the resource.
id string
The provider-assigned unique ID for this managed resource.
name string
Resource name
type string
Resource type
azure_api_version str
The Azure API version of the resource.
id str
The provider-assigned unique ID for this managed resource.
name str
Resource name
type str
Resource type
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
Resource name
type String
Resource type

Supporting Types

MinimalRiskLevel
, MinimalRiskLevelArgs

Critical
CriticalGet notifications on new attack paths with Critical risk level
High
HighGet notifications on new attack paths with High or Critical risk level
Medium
MediumGet notifications on new attach paths with Medium, High or Critical risk level
Low
LowGet notifications on new attach paths with Low, Medium, High or Critical risk level
MinimalRiskLevelCritical
CriticalGet notifications on new attack paths with Critical risk level
MinimalRiskLevelHigh
HighGet notifications on new attack paths with High or Critical risk level
MinimalRiskLevelMedium
MediumGet notifications on new attach paths with Medium, High or Critical risk level
MinimalRiskLevelLow
LowGet notifications on new attach paths with Low, Medium, High or Critical risk level
Critical
CriticalGet notifications on new attack paths with Critical risk level
High
HighGet notifications on new attack paths with High or Critical risk level
Medium
MediumGet notifications on new attach paths with Medium, High or Critical risk level
Low
LowGet notifications on new attach paths with Low, Medium, High or Critical risk level
Critical
CriticalGet notifications on new attack paths with Critical risk level
High
HighGet notifications on new attack paths with High or Critical risk level
Medium
MediumGet notifications on new attach paths with Medium, High or Critical risk level
Low
LowGet notifications on new attach paths with Low, Medium, High or Critical risk level
CRITICAL
CriticalGet notifications on new attack paths with Critical risk level
HIGH
HighGet notifications on new attack paths with High or Critical risk level
MEDIUM
MediumGet notifications on new attach paths with Medium, High or Critical risk level
LOW
LowGet notifications on new attach paths with Low, Medium, High or Critical risk level
"Critical"
CriticalGet notifications on new attack paths with Critical risk level
"High"
HighGet notifications on new attack paths with High or Critical risk level
"Medium"
MediumGet notifications on new attach paths with Medium, High or Critical risk level
"Low"
LowGet notifications on new attach paths with Low, Medium, High or Critical risk level

MinimalSeverity
, MinimalSeverityArgs

High
HighGet notifications on new alerts with High severity
Medium
MediumGet notifications on new alerts with Medium or High severity
Low
LowGet notifications on new alerts with Low, Medium or High severity
MinimalSeverityHigh
HighGet notifications on new alerts with High severity
MinimalSeverityMedium
MediumGet notifications on new alerts with Medium or High severity
MinimalSeverityLow
LowGet notifications on new alerts with Low, Medium or High severity
High
HighGet notifications on new alerts with High severity
Medium
MediumGet notifications on new alerts with Medium or High severity
Low
LowGet notifications on new alerts with Low, Medium or High severity
High
HighGet notifications on new alerts with High severity
Medium
MediumGet notifications on new alerts with Medium or High severity
Low
LowGet notifications on new alerts with Low, Medium or High severity
HIGH
HighGet notifications on new alerts with High severity
MEDIUM
MediumGet notifications on new alerts with Medium or High severity
LOW
LowGet notifications on new alerts with Low, Medium or High severity
"High"
HighGet notifications on new alerts with High severity
"Medium"
MediumGet notifications on new alerts with Medium or High severity
"Low"
LowGet notifications on new alerts with Low, Medium or High severity

NotificationsSourceAlert
, NotificationsSourceAlertArgs

MinimalSeverity string | Pulumi.AzureNative.Security.MinimalSeverity
Defines the minimal alert severity which will be sent as email notifications
MinimalSeverity string | MinimalSeverity
Defines the minimal alert severity which will be sent as email notifications
minimalSeverity String | MinimalSeverity
Defines the minimal alert severity which will be sent as email notifications
minimalSeverity string | MinimalSeverity
Defines the minimal alert severity which will be sent as email notifications
minimal_severity str | MinimalSeverity
Defines the minimal alert severity which will be sent as email notifications
minimalSeverity String | "High" | "Medium" | "Low"
Defines the minimal alert severity which will be sent as email notifications

NotificationsSourceAlertResponse
, NotificationsSourceAlertResponseArgs

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

NotificationsSourceAttackPath
, NotificationsSourceAttackPathArgs

MinimalRiskLevel string | Pulumi.AzureNative.Security.MinimalRiskLevel
Defines the minimal attach path risk level which will be sent as email notifications
MinimalRiskLevel string | MinimalRiskLevel
Defines the minimal attach path risk level which will be sent as email notifications
minimalRiskLevel String | MinimalRiskLevel
Defines the minimal attach path risk level which will be sent as email notifications
minimalRiskLevel string | MinimalRiskLevel
Defines the minimal attach path risk level which will be sent as email notifications
minimal_risk_level str | MinimalRiskLevel
Defines the minimal attach path risk level which will be sent as email notifications
minimalRiskLevel String | "Critical" | "High" | "Medium" | "Low"
Defines the minimal attach path risk level which will be sent as email notifications

NotificationsSourceAttackPathResponse
, NotificationsSourceAttackPathResponseArgs

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

SecurityContactPropertiesNotificationsByRole
, SecurityContactPropertiesNotificationsByRoleArgs

Roles List<Union<string, Pulumi.AzureNative.Security.SecurityContactRole>>
Defines which RBAC roles will get email notifications from Microsoft Defender for Cloud. List of allowed RBAC roles:
State string | Pulumi.AzureNative.Security.State
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 | State
Defines whether to send email notifications from AMicrosoft Defender for Cloud to persons with specific RBAC roles on the subscription.
roles List<Either<String,SecurityContactRole>>
Defines which RBAC roles will get email notifications from Microsoft Defender for Cloud. List of allowed RBAC roles:
state String | State
Defines whether to send email notifications from AMicrosoft Defender for Cloud to persons with specific RBAC roles on the subscription.
roles (string | SecurityContactRole)[]
Defines which RBAC roles will get email notifications from Microsoft Defender for Cloud. List of allowed RBAC roles:
state string | State
Defines whether to send email notifications from AMicrosoft Defender for Cloud to persons with specific RBAC roles on the subscription.
roles Sequence[Union[str, SecurityContactRole]]
Defines which RBAC roles will get email notifications from Microsoft Defender for Cloud. List of allowed RBAC roles:
state str | State
Defines whether to send email notifications from AMicrosoft Defender for Cloud to persons with specific RBAC roles on the subscription.
roles List<String | "AccountAdmin" | "ServiceAdmin" | "Owner" | "Contributor">
Defines which RBAC roles will get email notifications from Microsoft Defender for Cloud. List of allowed RBAC roles:
state String | "On" | "Off"
Defines whether to send email notifications from AMicrosoft Defender for Cloud to persons with specific RBAC roles on the subscription.

SecurityContactPropertiesResponseNotificationsByRole
, SecurityContactPropertiesResponseNotificationsByRoleArgs

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.

SecurityContactRole
, SecurityContactRoleArgs

AccountAdmin
AccountAdminIf enabled, send notification on new alerts to the account admins
ServiceAdmin
ServiceAdminIf enabled, send notification on new alerts to the service admins
Owner
OwnerIf enabled, send notification on new alerts to the subscription owners
Contributor
ContributorIf enabled, send notification on new alerts to the subscription contributors
SecurityContactRoleAccountAdmin
AccountAdminIf enabled, send notification on new alerts to the account admins
SecurityContactRoleServiceAdmin
ServiceAdminIf enabled, send notification on new alerts to the service admins
SecurityContactRoleOwner
OwnerIf enabled, send notification on new alerts to the subscription owners
SecurityContactRoleContributor
ContributorIf enabled, send notification on new alerts to the subscription contributors
AccountAdmin
AccountAdminIf enabled, send notification on new alerts to the account admins
ServiceAdmin
ServiceAdminIf enabled, send notification on new alerts to the service admins
Owner
OwnerIf enabled, send notification on new alerts to the subscription owners
Contributor
ContributorIf enabled, send notification on new alerts to the subscription contributors
AccountAdmin
AccountAdminIf enabled, send notification on new alerts to the account admins
ServiceAdmin
ServiceAdminIf enabled, send notification on new alerts to the service admins
Owner
OwnerIf enabled, send notification on new alerts to the subscription owners
Contributor
ContributorIf enabled, send notification on new alerts to the subscription contributors
ACCOUNT_ADMIN
AccountAdminIf enabled, send notification on new alerts to the account admins
SERVICE_ADMIN
ServiceAdminIf enabled, send notification on new alerts to the service admins
OWNER
OwnerIf enabled, send notification on new alerts to the subscription owners
CONTRIBUTOR
ContributorIf enabled, send notification on new alerts to the subscription contributors
"AccountAdmin"
AccountAdminIf enabled, send notification on new alerts to the account admins
"ServiceAdmin"
ServiceAdminIf enabled, send notification on new alerts to the service admins
"Owner"
OwnerIf enabled, send notification on new alerts to the subscription owners
"Contributor"
ContributorIf enabled, send notification on new alerts to the subscription contributors

State
, StateArgs

On
OnSend notification on new alerts to the subscription's admins
Off
OffDon't send notification on new alerts to the subscription's admins
StateOn
OnSend notification on new alerts to the subscription's admins
StateOff
OffDon't send notification on new alerts to the subscription's admins
On
OnSend notification on new alerts to the subscription's admins
Off
OffDon't send notification on new alerts to the subscription's admins
On
OnSend notification on new alerts to the subscription's admins
Off
OffDon't send notification on new alerts to the subscription's admins
ON
OnSend notification on new alerts to the subscription's admins
OFF
OffDon't send notification on new alerts to the subscription's admins
"On"
OnSend notification on new alerts to the subscription's admins
"Off"
OffDon't send notification on new alerts to the subscription's admins

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:security:SecurityContact default /subscriptions/{subscriptionId}/providers/Microsoft.Security/securityContacts/{securityContactName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
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.2.0 published on Monday, Apr 14, 2025 by Pulumi