Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi
sdwan.getAdvancedMalwareProtectionPolicyDefinition
Explore with Pulumi AI
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:
- Alert
Log stringLevel - File reputation alerts Log level
- Amp
Cloud stringRegion - AMP Cloud Region
- Amp
Cloud stringRegion Est Server - AMP Cloud Region
- Description string
- The description of the policy definition
- File
Analysis bool - Should file analysis be enabled
- File
Analysis stringAlert Log Level - File analysis alerts Log level
- File
Analysis stringCloud Region - TG Cloud Region
- File
Analysis List<string>File Types - List of file type
- Id string
- The id of the object
- Match
All boolVpn - Should match all VPNs
- Mode string
- The policy mode
- Name string
- The name of the policy definition
- Target
Vpns List<string> - List of VPN IDs
- Version int
- The version of the object
- Alert
Log stringLevel - File reputation alerts Log level
- Amp
Cloud stringRegion - AMP Cloud Region
- Amp
Cloud stringRegion Est Server - AMP Cloud Region
- Description string
- The description of the policy definition
- File
Analysis bool - Should file analysis be enabled
- File
Analysis stringAlert Log Level - File analysis alerts Log level
- File
Analysis stringCloud Region - TG Cloud Region
- File
Analysis []stringFile Types - List of file type
- Id string
- The id of the object
- Match
All boolVpn - Should match all VPNs
- Mode string
- The policy mode
- Name string
- The name of the policy definition
- Target
Vpns []string - List of VPN IDs
- Version int
- The version of the object
- alert
Log StringLevel - File reputation alerts Log level
- amp
Cloud StringRegion - AMP Cloud Region
- amp
Cloud StringRegion Est Server - AMP Cloud Region
- description String
- The description of the policy definition
- file
Analysis Boolean - Should file analysis be enabled
- file
Analysis StringAlert Log Level - File analysis alerts Log level
- file
Analysis StringCloud Region - TG Cloud Region
- file
Analysis List<String>File Types - List of file type
- id String
- The id of the object
- match
All BooleanVpn - Should match all VPNs
- mode String
- The policy mode
- name String
- The name of the policy definition
- target
Vpns List<String> - List of VPN IDs
- version Integer
- The version of the object
- alert
Log stringLevel - File reputation alerts Log level
- amp
Cloud stringRegion - AMP Cloud Region
- amp
Cloud stringRegion Est Server - AMP Cloud Region
- description string
- The description of the policy definition
- file
Analysis boolean - Should file analysis be enabled
- file
Analysis stringAlert Log Level - File analysis alerts Log level
- file
Analysis stringCloud Region - TG Cloud Region
- file
Analysis string[]File Types - List of file type
- id string
- The id of the object
- match
All booleanVpn - Should match all VPNs
- mode string
- The policy mode
- name string
- The name of the policy definition
- target
Vpns string[] - List of VPN IDs
- version number
- The version of the object
- alert_
log_ strlevel - File reputation alerts Log level
- amp_
cloud_ strregion - AMP Cloud Region
- amp_
cloud_ strregion_ est_ server - AMP Cloud Region
- description str
- The description of the policy definition
- file_
analysis bool - Should file analysis be enabled
- file_
analysis_ stralert_ log_ level - File analysis alerts Log level
- file_
analysis_ strcloud_ region - TG Cloud Region
- file_
analysis_ Sequence[str]file_ types - List of file type
- id str
- The id of the object
- match_
all_ boolvpn - 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
- alert
Log StringLevel - File reputation alerts Log level
- amp
Cloud StringRegion - AMP Cloud Region
- amp
Cloud StringRegion Est Server - AMP Cloud Region
- description String
- The description of the policy definition
- file
Analysis Boolean - Should file analysis be enabled
- file
Analysis StringAlert Log Level - File analysis alerts Log level
- file
Analysis StringCloud Region - TG Cloud Region
- file
Analysis List<String>File Types - List of file type
- id String
- The id of the object
- match
All BooleanVpn - Should match all VPNs
- mode String
- The policy mode
- name String
- The name of the policy definition
- target
Vpns 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.