@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.24 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Gets the Advanced Threat Protection settings for the specified resource.
*
* Uses Azure REST API version 2019-01-01.
*
* Other available API versions: 2017-08-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 getAdvancedThreatProtection(args: GetAdvancedThreatProtectionArgs, opts?: pulumi.InvokeOptions): Promise<GetAdvancedThreatProtectionResult>;
export interface GetAdvancedThreatProtectionArgs {
/**
* The identifier of the resource.
*/
resourceId: string;
/**
* Advanced Threat Protection setting name.
*/
settingName: string;
}
/**
* The Advanced Threat Protection resource.
*/
export interface GetAdvancedThreatProtectionResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Resource Id
*/
readonly id: string;
/**
* Indicates whether Advanced Threat Protection is enabled.
*/
readonly isEnabled?: boolean;
/**
* Resource name
*/
readonly name: string;
/**
* Resource type
*/
readonly type: string;
}
/**
* Gets the Advanced Threat Protection settings for the specified resource.
*
* Uses Azure REST API version 2019-01-01.
*
* Other available API versions: 2017-08-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 getAdvancedThreatProtectionOutput(args: GetAdvancedThreatProtectionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAdvancedThreatProtectionResult>;
export interface GetAdvancedThreatProtectionOutputArgs {
/**
* The identifier of the resource.
*/
resourceId: pulumi.Input<string>;
/**
* Advanced Threat Protection setting name.
*/
settingName: pulumi.Input<string>;
}