1. Packages
  2. Azure Native
  3. API Docs
  4. security
  5. getAdvancedThreatProtection
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.security.getAdvancedThreatProtection

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 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>
    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:

    ResourceId string
    The identifier of the resource.
    SettingName string
    Advanced Threat Protection setting name.
    ResourceId string
    The identifier of the resource.
    SettingName string
    Advanced Threat Protection setting name.
    resourceId String
    The identifier of the resource.
    settingName String
    Advanced Threat Protection setting name.
    resourceId string
    The identifier of the resource.
    settingName string
    Advanced Threat Protection setting name.
    resource_id str
    The identifier of the resource.
    setting_name str
    Advanced Threat Protection setting name.
    resourceId String
    The identifier of the resource.
    settingName 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 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi