1. Packages
  2. Azure Native v2
  3. API Docs
  4. security
  5. getAdvancedThreatProtection
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.security.getAdvancedThreatProtection

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Gets the Advanced Threat Protection settings for the specified resource. Azure REST API version: 2019-01-01.

Using getAdvancedThreatProtection

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 getAdvancedThreatProtection(args: GetAdvancedThreatProtectionArgs, opts?: InvokeOptions): Promise<GetAdvancedThreatProtectionResult>
function getAdvancedThreatProtectionOutput(args: GetAdvancedThreatProtectionOutputArgs, opts?: InvokeOptions): Output<GetAdvancedThreatProtectionResult>
Copy
def get_advanced_threat_protection(resource_id: Optional[str] = None,
                                   setting_name: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetAdvancedThreatProtectionResult
def get_advanced_threat_protection_output(resource_id: Optional[pulumi.Input[str]] = None,
                                   setting_name: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetAdvancedThreatProtectionResult]
Copy
func LookupAdvancedThreatProtection(ctx *Context, args *LookupAdvancedThreatProtectionArgs, opts ...InvokeOption) (*LookupAdvancedThreatProtectionResult, error)
func LookupAdvancedThreatProtectionOutput(ctx *Context, args *LookupAdvancedThreatProtectionOutputArgs, opts ...InvokeOption) LookupAdvancedThreatProtectionResultOutput
Copy

> Note: This function is named LookupAdvancedThreatProtection in the Go SDK.

public static class GetAdvancedThreatProtection 
{
    public static Task<GetAdvancedThreatProtectionResult> InvokeAsync(GetAdvancedThreatProtectionArgs args, InvokeOptions? opts = null)
    public static Output<GetAdvancedThreatProtectionResult> Invoke(GetAdvancedThreatProtectionInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAdvancedThreatProtectionResult> getAdvancedThreatProtection(GetAdvancedThreatProtectionArgs args, InvokeOptions options)
public static Output<GetAdvancedThreatProtectionResult> getAdvancedThreatProtection(GetAdvancedThreatProtectionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:security:getAdvancedThreatProtection
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ResourceId
This property is required.
Changes to this property will trigger replacement.
string
The identifier of the resource.
SettingName
This property is required.
Changes to this property will trigger replacement.
string
Advanced Threat Protection setting name.
ResourceId
This property is required.
Changes to this property will trigger replacement.
string
The identifier of the resource.
SettingName
This property is required.
Changes to this property will trigger replacement.
string
Advanced Threat Protection setting name.
resourceId
This property is required.
Changes to this property will trigger replacement.
String
The identifier of the resource.
settingName
This property is required.
Changes to this property will trigger replacement.
String
Advanced Threat Protection setting name.
resourceId
This property is required.
Changes to this property will trigger replacement.
string
The identifier of the resource.
settingName
This property is required.
Changes to this property will trigger replacement.
string
Advanced Threat Protection setting name.
resource_id
This property is required.
Changes to this property will trigger replacement.
str
The identifier of the resource.
setting_name
This property is required.
Changes to this property will trigger replacement.
str
Advanced Threat Protection setting name.
resourceId
This property is required.
Changes to this property will trigger replacement.
String
The identifier of the resource.
settingName
This property is required.
Changes to this property will trigger replacement.
String
Advanced Threat Protection setting name.

getAdvancedThreatProtection Result

The following output properties are available:

Id string
Resource Id
Name string
Resource name
Type string
Resource type
IsEnabled bool
Indicates whether Advanced Threat Protection is enabled.
Id string
Resource Id
Name string
Resource name
Type string
Resource type
IsEnabled bool
Indicates whether Advanced Threat Protection is enabled.
id String
Resource Id
name String
Resource name
type String
Resource type
isEnabled Boolean
Indicates whether Advanced Threat Protection is enabled.
id string
Resource Id
name string
Resource name
type string
Resource type
isEnabled boolean
Indicates whether Advanced Threat Protection is enabled.
id str
Resource Id
name str
Resource name
type str
Resource type
is_enabled bool
Indicates whether Advanced Threat Protection is enabled.
id String
Resource Id
name String
Resource name
type String
Resource type
isEnabled Boolean
Indicates whether Advanced Threat Protection is enabled.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi