azure-native.security.SecurityContact
Explore with Pulumi AI
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",
});
});
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
})
}
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());
}
}
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",
});
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")
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
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 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 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 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 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 String
- The unique name of the resource.
- args 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",
});
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"),
})
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());
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")
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",
});
type: azure-native:security:SecurityContact
properties:
emails: string
isEnabled: false
notificationsByRole:
roles:
- string
state: string
notificationsSources:
- minimalSeverity: string
sourceType: Alert
phone: string
securityContactName: string
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.
- Is
Enabled bool - Indicates whether the security contact is enabled.
- Notifications
By Pulumi.Role Azure Native. Security. Inputs. Security Contact Properties Notifications By Role - Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.
- Notifications
Sources List<Union<Pulumi.Azure Native. Security. Inputs. Notifications Source Alert, Pulumi. Azure Native. Security. Inputs. Notifications Source Attack Path Args>> - A collection of sources types which evaluate the email notification.
- Phone string
- The security contact's phone number
- Security
Contact stringName - 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.
- Is
Enabled bool - Indicates whether the security contact is enabled.
- Notifications
By SecurityRole Contact Properties Notifications By Role Args - Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.
- Notifications
Sources []interface{} - A collection of sources types which evaluate the email notification.
- Phone string
- The security contact's phone number
- Security
Contact stringName - 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.
- is
Enabled Boolean - Indicates whether the security contact is enabled.
- notifications
By SecurityRole Contact Properties Notifications By Role - Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.
- notifications
Sources List<Either<NotificationsSource Alert,Notifications Source Attack Path Args>> - A collection of sources types which evaluate the email notification.
- phone String
- The security contact's phone number
- security
Contact StringName - 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.
- is
Enabled boolean - Indicates whether the security contact is enabled.
- notifications
By SecurityRole Contact Properties Notifications By Role - Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.
- notifications
Sources (NotificationsSource Alert | Notifications Source Attack Path Args)[] - A collection of sources types which evaluate the email notification.
- phone string
- The security contact's phone number
- security
Contact stringName - 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_ Securityrole Contact Properties Notifications By Role Args - Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.
- notifications_
sources Sequence[Union[NotificationsSource Alert Args, Notifications Source Attack Path Args]] - A collection of sources types which evaluate the email notification.
- phone str
- The security contact's phone number
- security_
contact_ strname - 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.
- is
Enabled Boolean - Indicates whether the security contact is enabled.
- notifications
By Property MapRole - Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.
- notifications
Sources List<Property Map | Property Map> - A collection of sources types which evaluate the email notification.
- phone String
- The security contact's phone number
- security
Contact StringName - 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:
- Azure
Api stringVersion - 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 stringVersion - 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 StringVersion - 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 stringVersion - 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_ strversion - 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
- azure
Api StringVersion - 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
- Minimal
Risk Level Critical - CriticalGet notifications on new attack paths with Critical risk level
- Minimal
Risk Level High - HighGet notifications on new attack paths with High or Critical risk level
- Minimal
Risk Level Medium - MediumGet notifications on new attach paths with Medium, High or Critical risk level
- Minimal
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
- "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
- Minimal
Severity High - HighGet notifications on new alerts with High severity
- Minimal
Severity Medium - MediumGet notifications on new alerts with Medium or High severity
- Minimal
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
- "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
- Minimal
Severity string | Pulumi.Azure Native. Security. Minimal Severity - Defines the minimal alert severity which will be sent as email notifications
- Minimal
Severity string | MinimalSeverity - Defines the minimal alert severity which will be sent as email notifications
- minimal
Severity String | MinimalSeverity - Defines the minimal alert severity which will be sent as email notifications
- minimal
Severity 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
- minimal
Severity String | "High" | "Medium" | "Low" - Defines the minimal alert severity which will be sent as email notifications
NotificationsSourceAlertResponse, NotificationsSourceAlertResponseArgs
- Minimal
Severity string - Defines the minimal alert severity which will be sent as email notifications
- Minimal
Severity string - Defines the minimal alert severity which will be sent as email notifications
- minimal
Severity String - Defines the minimal alert severity which will be sent as email notifications
- minimal
Severity 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
- minimal
Severity String - Defines the minimal alert severity which will be sent as email notifications
NotificationsSourceAttackPath, NotificationsSourceAttackPathArgs
- Minimal
Risk string | Pulumi.Level Azure Native. Security. Minimal Risk Level - Defines the minimal attach path risk level which will be sent as email notifications
- Minimal
Risk string | MinimalLevel Risk Level - Defines the minimal attach path risk level which will be sent as email notifications
- minimal
Risk String | MinimalLevel Risk Level - Defines the minimal attach path risk level which will be sent as email notifications
- minimal
Risk string | MinimalLevel Risk Level - Defines the minimal attach path risk level which will be sent as email notifications
- minimal_
risk_ str | Minimallevel Risk Level - Defines the minimal attach path risk level which will be sent as email notifications
- minimal
Risk String | "Critical" | "High" | "Medium" | "Low"Level - Defines the minimal attach path risk level which will be sent as email notifications
NotificationsSourceAttackPathResponse, NotificationsSourceAttackPathResponseArgs
- Minimal
Risk stringLevel - Defines the minimal attach path risk level which will be sent as email notifications
- Minimal
Risk stringLevel - Defines the minimal attach path risk level which will be sent as email notifications
- minimal
Risk StringLevel - Defines the minimal attach path risk level which will be sent as email notifications
- minimal
Risk stringLevel - Defines the minimal attach path risk level which will be sent as email notifications
- minimal_
risk_ strlevel - Defines the minimal attach path risk level which will be sent as email notifications
- minimal
Risk StringLevel - Defines the minimal attach path risk level which will be sent as email notifications
SecurityContactPropertiesNotificationsByRole, SecurityContactPropertiesNotificationsByRoleArgs
- Roles
List<Union<string, Pulumi.
Azure Native. Security. Security Contact Role>> - Defines which RBAC roles will get email notifications from Microsoft Defender for Cloud. List of allowed RBAC roles:
- State
string | Pulumi.
Azure Native. Security. 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,Security
Contact Role>> - 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 | Security
Contact Role)[] - 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, Security
Contact Role]] - 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 | "Account
Admin" | "Service Admin" | "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
SecurityContactRole, SecurityContactRoleArgs
- 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
- Security
Contact Role Account Admin - AccountAdminIf enabled, send notification on new alerts to the account admins
- Security
Contact Role Service Admin - ServiceAdminIf enabled, send notification on new alerts to the service admins
- Security
Contact Role Owner - OwnerIf enabled, send notification on new alerts to the subscription owners
- Security
Contact Role 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
- 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
- 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
- "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
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
- State
On - OnSend notification on new alerts to the subscription's admins
- State
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
- "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}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0