1. Packages
  2. Cisco Catalyst SD-WAN
  3. API Docs
  4. getAdvancedMalwareProtectionPolicyDefinition
Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi

sdwan.getAdvancedMalwareProtectionPolicyDefinition

Explore with Pulumi AI

sdwan logo
Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi

    This data source can read the Advanced Malware Protection Policy Definition .

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sdwan from "@pulumi/sdwan";
    
    const example = sdwan.getAdvancedMalwareProtectionPolicyDefinition({
        id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
    });
    
    import pulumi
    import pulumi_sdwan as sdwan
    
    example = sdwan.get_advanced_malware_protection_policy_definition(id="f6b2c44c-693c-4763-b010-895aa3d236bd")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-sdwan/sdk/go/sdwan"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sdwan.LookupAdvancedMalwareProtectionPolicyDefinition(ctx, &sdwan.LookupAdvancedMalwareProtectionPolicyDefinitionArgs{
    			Id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Sdwan = Pulumi.Sdwan;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Sdwan.GetAdvancedMalwareProtectionPolicyDefinition.Invoke(new()
        {
            Id = "f6b2c44c-693c-4763-b010-895aa3d236bd",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sdwan.SdwanFunctions;
    import com.pulumi.sdwan.inputs.GetAdvancedMalwareProtectionPolicyDefinitionArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = SdwanFunctions.getAdvancedMalwareProtectionPolicyDefinition(GetAdvancedMalwareProtectionPolicyDefinitionArgs.builder()
                .id("f6b2c44c-693c-4763-b010-895aa3d236bd")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: sdwan:getAdvancedMalwareProtectionPolicyDefinition
          Arguments:
            id: f6b2c44c-693c-4763-b010-895aa3d236bd
    

    Using getAdvancedMalwareProtectionPolicyDefinition

    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 getAdvancedMalwareProtectionPolicyDefinition(args: GetAdvancedMalwareProtectionPolicyDefinitionArgs, opts?: InvokeOptions): Promise<GetAdvancedMalwareProtectionPolicyDefinitionResult>
    function getAdvancedMalwareProtectionPolicyDefinitionOutput(args: GetAdvancedMalwareProtectionPolicyDefinitionOutputArgs, opts?: InvokeOptions): Output<GetAdvancedMalwareProtectionPolicyDefinitionResult>
    def get_advanced_malware_protection_policy_definition(id: Optional[str] = None,
                                                          opts: Optional[InvokeOptions] = None) -> GetAdvancedMalwareProtectionPolicyDefinitionResult
    def get_advanced_malware_protection_policy_definition_output(id: Optional[pulumi.Input[str]] = None,
                                                          opts: Optional[InvokeOptions] = None) -> Output[GetAdvancedMalwareProtectionPolicyDefinitionResult]
    func LookupAdvancedMalwareProtectionPolicyDefinition(ctx *Context, args *LookupAdvancedMalwareProtectionPolicyDefinitionArgs, opts ...InvokeOption) (*LookupAdvancedMalwareProtectionPolicyDefinitionResult, error)
    func LookupAdvancedMalwareProtectionPolicyDefinitionOutput(ctx *Context, args *LookupAdvancedMalwareProtectionPolicyDefinitionOutputArgs, opts ...InvokeOption) LookupAdvancedMalwareProtectionPolicyDefinitionResultOutput

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

    public static class GetAdvancedMalwareProtectionPolicyDefinition 
    {
        public static Task<GetAdvancedMalwareProtectionPolicyDefinitionResult> InvokeAsync(GetAdvancedMalwareProtectionPolicyDefinitionArgs args, InvokeOptions? opts = null)
        public static Output<GetAdvancedMalwareProtectionPolicyDefinitionResult> Invoke(GetAdvancedMalwareProtectionPolicyDefinitionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAdvancedMalwareProtectionPolicyDefinitionResult> getAdvancedMalwareProtectionPolicyDefinition(GetAdvancedMalwareProtectionPolicyDefinitionArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: sdwan:index/getAdvancedMalwareProtectionPolicyDefinition:getAdvancedMalwareProtectionPolicyDefinition
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The id of the object
    Id string
    The id of the object
    id String
    The id of the object
    id string
    The id of the object
    id str
    The id of the object
    id String
    The id of the object

    getAdvancedMalwareProtectionPolicyDefinition Result

    The following output properties are available:

    AlertLogLevel string
    File reputation alerts Log level
    AmpCloudRegion string
    AMP Cloud Region
    AmpCloudRegionEstServer string
    AMP Cloud Region
    Description string
    The description of the policy definition
    FileAnalysis bool
    Should file analysis be enabled
    FileAnalysisAlertLogLevel string
    File analysis alerts Log level
    FileAnalysisCloudRegion string
    TG Cloud Region
    FileAnalysisFileTypes List<string>
    List of file type
    Id string
    The id of the object
    MatchAllVpn bool
    Should match all VPNs
    Mode string
    The policy mode
    Name string
    The name of the policy definition
    TargetVpns List<string>
    List of VPN IDs
    Version int
    The version of the object
    AlertLogLevel string
    File reputation alerts Log level
    AmpCloudRegion string
    AMP Cloud Region
    AmpCloudRegionEstServer string
    AMP Cloud Region
    Description string
    The description of the policy definition
    FileAnalysis bool
    Should file analysis be enabled
    FileAnalysisAlertLogLevel string
    File analysis alerts Log level
    FileAnalysisCloudRegion string
    TG Cloud Region
    FileAnalysisFileTypes []string
    List of file type
    Id string
    The id of the object
    MatchAllVpn bool
    Should match all VPNs
    Mode string
    The policy mode
    Name string
    The name of the policy definition
    TargetVpns []string
    List of VPN IDs
    Version int
    The version of the object
    alertLogLevel String
    File reputation alerts Log level
    ampCloudRegion String
    AMP Cloud Region
    ampCloudRegionEstServer String
    AMP Cloud Region
    description String
    The description of the policy definition
    fileAnalysis Boolean
    Should file analysis be enabled
    fileAnalysisAlertLogLevel String
    File analysis alerts Log level
    fileAnalysisCloudRegion String
    TG Cloud Region
    fileAnalysisFileTypes List<String>
    List of file type
    id String
    The id of the object
    matchAllVpn Boolean
    Should match all VPNs
    mode String
    The policy mode
    name String
    The name of the policy definition
    targetVpns List<String>
    List of VPN IDs
    version Integer
    The version of the object
    alertLogLevel string
    File reputation alerts Log level
    ampCloudRegion string
    AMP Cloud Region
    ampCloudRegionEstServer string
    AMP Cloud Region
    description string
    The description of the policy definition
    fileAnalysis boolean
    Should file analysis be enabled
    fileAnalysisAlertLogLevel string
    File analysis alerts Log level
    fileAnalysisCloudRegion string
    TG Cloud Region
    fileAnalysisFileTypes string[]
    List of file type
    id string
    The id of the object
    matchAllVpn boolean
    Should match all VPNs
    mode string
    The policy mode
    name string
    The name of the policy definition
    targetVpns string[]
    List of VPN IDs
    version number
    The version of the object
    alert_log_level str
    File reputation alerts Log level
    amp_cloud_region str
    AMP Cloud Region
    amp_cloud_region_est_server str
    AMP Cloud Region
    description str
    The description of the policy definition
    file_analysis bool
    Should file analysis be enabled
    file_analysis_alert_log_level str
    File analysis alerts Log level
    file_analysis_cloud_region str
    TG Cloud Region
    file_analysis_file_types Sequence[str]
    List of file type
    id str
    The id of the object
    match_all_vpn bool
    Should match all VPNs
    mode str
    The policy mode
    name str
    The name of the policy definition
    target_vpns Sequence[str]
    List of VPN IDs
    version int
    The version of the object
    alertLogLevel String
    File reputation alerts Log level
    ampCloudRegion String
    AMP Cloud Region
    ampCloudRegionEstServer String
    AMP Cloud Region
    description String
    The description of the policy definition
    fileAnalysis Boolean
    Should file analysis be enabled
    fileAnalysisAlertLogLevel String
    File analysis alerts Log level
    fileAnalysisCloudRegion String
    TG Cloud Region
    fileAnalysisFileTypes List<String>
    List of file type
    id String
    The id of the object
    matchAllVpn Boolean
    Should match all VPNs
    mode String
    The policy mode
    name String
    The name of the policy definition
    targetVpns List<String>
    List of VPN IDs
    version Number
    The version of the object

    Package Details

    Repository
    sdwan pulumi/pulumi-sdwan
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the sdwan Terraform Provider.
    sdwan logo
    Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi