UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

63 lines (62 loc) 2.24 kB
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>; }