These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.security.getAdvancedThreatProtection
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Gets the Advanced Threat Protection settings for the specified resource. 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>
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]
func LookupAdvancedThreatProtection(ctx *Context, args *LookupAdvancedThreatProtectionArgs, opts ...InvokeOption) (*LookupAdvancedThreatProtectionResult, error)
func LookupAdvancedThreatProtectionOutput(ctx *Context, args *LookupAdvancedThreatProtectionOutputArgs, opts ...InvokeOption) LookupAdvancedThreatProtectionResultOutput
> 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)
}
public static CompletableFuture<GetAdvancedThreatProtectionResult> getAdvancedThreatProtection(GetAdvancedThreatProtectionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:security:getAdvancedThreatProtection
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Id string - The identifier of the resource.
- Setting
Name string - Advanced Threat Protection setting name.
- Resource
Id string - The identifier of the resource.
- Setting
Name string - Advanced Threat Protection setting name.
- resource
Id String - The identifier of the resource.
- setting
Name String - Advanced Threat Protection setting name.
- resource
Id string - The identifier of the resource.
- setting
Name string - Advanced Threat Protection setting name.
- resource_
id str - The identifier of the resource.
- setting_
name str - Advanced Threat Protection setting name.
- resource
Id String - The identifier of the resource.
- setting
Name String - Advanced Threat Protection setting name.
getAdvancedThreatProtection Result
The following output properties are available:
- id str
- Resource Id
- name str
- Resource name
- type str
- Resource type
- is_
enabled bool - Indicates whether Advanced Threat Protection is enabled.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi