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.47.1 published on Monday, Jun 24, 2024 by Pulumi
azure-native.security.getSecurityContact
Explore with Pulumi AI
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.47.1 published on Monday, Jun 24, 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:
- Security
Contact stringName - Name of the security contact object
- Security
Contact stringName - Name of the security contact object
- security
Contact StringName - Name of the security contact object
- security
Contact stringName - Name of the security contact object
- security_
contact_ strname - Name of the security contact object
- security
Contact StringName - 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
- Alert
Notifications Pulumi.Azure Native. Security. Outputs. Security Contact Properties Response Alert Notifications - 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.
- Notifications
By Pulumi.Role Azure Native. Security. Outputs. Security Contact Properties Response Notifications By Role - 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
- Alert
Notifications SecurityContact Properties Response Alert Notifications - 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.
- Notifications
By SecurityRole Contact Properties Response Notifications By Role - 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
- alert
Notifications SecurityContact Properties Response Alert Notifications - 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.
- notifications
By SecurityRole Contact Properties Response Notifications By Role - 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
- alert
Notifications SecurityContact Properties Response Alert Notifications - 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.
- notifications
By SecurityRole Contact Properties Response Notifications By Role - 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 SecurityContact Properties Response Alert Notifications - 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_ Securityrole Contact Properties Response Notifications By Role - 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
- alert
Notifications 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.
- notifications
By Property MapRole - 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
- Minimal
Severity 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 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 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 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
- minimal
Severity 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
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 v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi