azure-native.security.getAdvancedThreatProtection
Explore with Pulumi AI
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 for details.
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)
public static Output<GetAdvancedThreatProtectionResult> getAdvancedThreatProtection(GetAdvancedThreatProtectionArgs args, InvokeOptions options)
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:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Resource Id
- Name string
- Resource name
- Type string
- Resource type
- Is
Enabled bool - Indicates whether Advanced Threat Protection is enabled.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Resource Id
- Name string
- Resource name
- Type string
- Resource type
- Is
Enabled bool - Indicates whether Advanced Threat Protection is enabled.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Resource Id
- name String
- Resource name
- type String
- Resource type
- is
Enabled Boolean - Indicates whether Advanced Threat Protection is enabled.
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- Resource Id
- name string
- Resource name
- type string
- Resource type
- is
Enabled boolean - Indicates whether Advanced Threat Protection is enabled.
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- Resource Id
- name str
- Resource name
- type str
- Resource type
- is_
enabled bool - Indicates whether Advanced Threat Protection is enabled.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Resource Id
- name String
- Resource name
- type String
- Resource type
- is
Enabled Boolean - Indicates whether Advanced Threat Protection is enabled.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0