@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.91 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* 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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getSecurityContact(args: GetSecurityContactArgs, opts?: pulumi.InvokeOptions): Promise<GetSecurityContactResult>;
export interface GetSecurityContactArgs {
/**
* Name of the security contact object
*/
securityContactName: string;
}
/**
* Contact details and configurations for notifications coming from Microsoft Defender for Cloud.
*/
export interface GetSecurityContactResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* List of email addresses which will get notifications from Microsoft Defender for Cloud by the configurations defined in this security contact.
*/
readonly emails?: string;
/**
* Resource Id
*/
readonly id: string;
/**
* Indicates whether the security contact is enabled.
*/
readonly isEnabled?: boolean;
/**
* Resource name
*/
readonly name: string;
/**
* Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.
*/
readonly notificationsByRole?: outputs.security.SecurityContactPropertiesResponseNotificationsByRole;
/**
* A collection of sources types which evaluate the email notification.
*/
readonly notificationsSources?: (outputs.security.NotificationsSourceAlertResponse | outputs.security.NotificationsSourceAttackPathResponse)[];
/**
* The security contact's phone number
*/
readonly phone?: string;
/**
* Resource type
*/
readonly type: string;
}
/**
* 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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getSecurityContactOutput(args: GetSecurityContactOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSecurityContactResult>;
export interface GetSecurityContactOutputArgs {
/**
* Name of the security contact object
*/
securityContactName: pulumi.Input<string>;
}