sdwan.AdvancedInspectionProfilePolicyDefinition
Explore with Pulumi AI
This resource can manage a Advanced Inspection Profile Policy Definition .
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sdwan from "@pulumi/sdwan";
const example = new sdwan.AdvancedInspectionProfilePolicyDefinition("example", {
name: "Example",
description: "My description",
tlsAction: "decrypt",
urlFilteringId: "914670a3-9726-4a51-847f-b3db70819dc2",
});
import pulumi
import pulumi_sdwan as sdwan
example = sdwan.AdvancedInspectionProfilePolicyDefinition("example",
name="Example",
description="My description",
tls_action="decrypt",
url_filtering_id="914670a3-9726-4a51-847f-b3db70819dc2")
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.NewAdvancedInspectionProfilePolicyDefinition(ctx, "example", &sdwan.AdvancedInspectionProfilePolicyDefinitionArgs{
Name: pulumi.String("Example"),
Description: pulumi.String("My description"),
TlsAction: pulumi.String("decrypt"),
UrlFilteringId: pulumi.String("914670a3-9726-4a51-847f-b3db70819dc2"),
})
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 = new Sdwan.AdvancedInspectionProfilePolicyDefinition("example", new()
{
Name = "Example",
Description = "My description",
TlsAction = "decrypt",
UrlFilteringId = "914670a3-9726-4a51-847f-b3db70819dc2",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sdwan.AdvancedInspectionProfilePolicyDefinition;
import com.pulumi.sdwan.AdvancedInspectionProfilePolicyDefinitionArgs;
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) {
var example = new AdvancedInspectionProfilePolicyDefinition("example", AdvancedInspectionProfilePolicyDefinitionArgs.builder()
.name("Example")
.description("My description")
.tlsAction("decrypt")
.urlFilteringId("914670a3-9726-4a51-847f-b3db70819dc2")
.build());
}
}
resources:
example:
type: sdwan:AdvancedInspectionProfilePolicyDefinition
properties:
name: Example
description: My description
tlsAction: decrypt
urlFilteringId: 914670a3-9726-4a51-847f-b3db70819dc2
Create AdvancedInspectionProfilePolicyDefinition Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AdvancedInspectionProfilePolicyDefinition(name: string, args: AdvancedInspectionProfilePolicyDefinitionArgs, opts?: CustomResourceOptions);
@overload
def AdvancedInspectionProfilePolicyDefinition(resource_name: str,
args: AdvancedInspectionProfilePolicyDefinitionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AdvancedInspectionProfilePolicyDefinition(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
advanced_malware_protection_id: Optional[str] = None,
advanced_malware_protection_version: Optional[int] = None,
intrusion_prevention_id: Optional[str] = None,
intrusion_prevention_version: Optional[int] = None,
name: Optional[str] = None,
tls_action: Optional[str] = None,
tls_ssl_decryption_id: Optional[str] = None,
tls_ssl_decryption_version: Optional[int] = None,
url_filtering_id: Optional[str] = None,
url_filtering_version: Optional[int] = None)
func NewAdvancedInspectionProfilePolicyDefinition(ctx *Context, name string, args AdvancedInspectionProfilePolicyDefinitionArgs, opts ...ResourceOption) (*AdvancedInspectionProfilePolicyDefinition, error)
public AdvancedInspectionProfilePolicyDefinition(string name, AdvancedInspectionProfilePolicyDefinitionArgs args, CustomResourceOptions? opts = null)
public AdvancedInspectionProfilePolicyDefinition(String name, AdvancedInspectionProfilePolicyDefinitionArgs args)
public AdvancedInspectionProfilePolicyDefinition(String name, AdvancedInspectionProfilePolicyDefinitionArgs args, CustomResourceOptions options)
type: sdwan:AdvancedInspectionProfilePolicyDefinition
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AdvancedInspectionProfilePolicyDefinitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AdvancedInspectionProfilePolicyDefinitionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AdvancedInspectionProfilePolicyDefinitionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AdvancedInspectionProfilePolicyDefinitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AdvancedInspectionProfilePolicyDefinitionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var advancedInspectionProfilePolicyDefinitionResource = new Sdwan.AdvancedInspectionProfilePolicyDefinition("advancedInspectionProfilePolicyDefinitionResource", new()
{
Description = "string",
AdvancedMalwareProtectionId = "string",
AdvancedMalwareProtectionVersion = 0,
IntrusionPreventionId = "string",
IntrusionPreventionVersion = 0,
Name = "string",
TlsAction = "string",
TlsSslDecryptionId = "string",
TlsSslDecryptionVersion = 0,
UrlFilteringId = "string",
UrlFilteringVersion = 0,
});
example, err := sdwan.NewAdvancedInspectionProfilePolicyDefinition(ctx, "advancedInspectionProfilePolicyDefinitionResource", &sdwan.AdvancedInspectionProfilePolicyDefinitionArgs{
Description: pulumi.String("string"),
AdvancedMalwareProtectionId: pulumi.String("string"),
AdvancedMalwareProtectionVersion: pulumi.Int(0),
IntrusionPreventionId: pulumi.String("string"),
IntrusionPreventionVersion: pulumi.Int(0),
Name: pulumi.String("string"),
TlsAction: pulumi.String("string"),
TlsSslDecryptionId: pulumi.String("string"),
TlsSslDecryptionVersion: pulumi.Int(0),
UrlFilteringId: pulumi.String("string"),
UrlFilteringVersion: pulumi.Int(0),
})
var advancedInspectionProfilePolicyDefinitionResource = new AdvancedInspectionProfilePolicyDefinition("advancedInspectionProfilePolicyDefinitionResource", AdvancedInspectionProfilePolicyDefinitionArgs.builder()
.description("string")
.advancedMalwareProtectionId("string")
.advancedMalwareProtectionVersion(0)
.intrusionPreventionId("string")
.intrusionPreventionVersion(0)
.name("string")
.tlsAction("string")
.tlsSslDecryptionId("string")
.tlsSslDecryptionVersion(0)
.urlFilteringId("string")
.urlFilteringVersion(0)
.build());
advanced_inspection_profile_policy_definition_resource = sdwan.AdvancedInspectionProfilePolicyDefinition("advancedInspectionProfilePolicyDefinitionResource",
description="string",
advanced_malware_protection_id="string",
advanced_malware_protection_version=0,
intrusion_prevention_id="string",
intrusion_prevention_version=0,
name="string",
tls_action="string",
tls_ssl_decryption_id="string",
tls_ssl_decryption_version=0,
url_filtering_id="string",
url_filtering_version=0)
const advancedInspectionProfilePolicyDefinitionResource = new sdwan.AdvancedInspectionProfilePolicyDefinition("advancedInspectionProfilePolicyDefinitionResource", {
description: "string",
advancedMalwareProtectionId: "string",
advancedMalwareProtectionVersion: 0,
intrusionPreventionId: "string",
intrusionPreventionVersion: 0,
name: "string",
tlsAction: "string",
tlsSslDecryptionId: "string",
tlsSslDecryptionVersion: 0,
urlFilteringId: "string",
urlFilteringVersion: 0,
});
type: sdwan:AdvancedInspectionProfilePolicyDefinition
properties:
advancedMalwareProtectionId: string
advancedMalwareProtectionVersion: 0
description: string
intrusionPreventionId: string
intrusionPreventionVersion: 0
name: string
tlsAction: string
tlsSslDecryptionId: string
tlsSslDecryptionVersion: 0
urlFilteringId: string
urlFilteringVersion: 0
AdvancedInspectionProfilePolicyDefinition Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AdvancedInspectionProfilePolicyDefinition resource accepts the following input properties:
- Description string
- The description of the policy definition.
- Advanced
Malware stringProtection Id - Advanced malware protection ID
- Advanced
Malware intProtection Version - Advanced malware protection version
- Intrusion
Prevention stringId - Intrusion prevention ID (unified mode)
- Intrusion
Prevention intVersion - Intrusion prevention version
- Name string
- The name of the policy definition.
- Tls
Action string - TLS Action - Choices:
decrypt
,skipDecrypt
,doNotDecrypt
- Tls
Ssl stringDecryption Id - TLS/SSL decryption ID
- Tls
Ssl intDecryption Version - TLS/SSL decryption version
- Url
Filtering stringId - URL filtering ID (unified mode)
- Url
Filtering intVersion - URL filtering version
- Description string
- The description of the policy definition.
- Advanced
Malware stringProtection Id - Advanced malware protection ID
- Advanced
Malware intProtection Version - Advanced malware protection version
- Intrusion
Prevention stringId - Intrusion prevention ID (unified mode)
- Intrusion
Prevention intVersion - Intrusion prevention version
- Name string
- The name of the policy definition.
- Tls
Action string - TLS Action - Choices:
decrypt
,skipDecrypt
,doNotDecrypt
- Tls
Ssl stringDecryption Id - TLS/SSL decryption ID
- Tls
Ssl intDecryption Version - TLS/SSL decryption version
- Url
Filtering stringId - URL filtering ID (unified mode)
- Url
Filtering intVersion - URL filtering version
- description String
- The description of the policy definition.
- advanced
Malware StringProtection Id - Advanced malware protection ID
- advanced
Malware IntegerProtection Version - Advanced malware protection version
- intrusion
Prevention StringId - Intrusion prevention ID (unified mode)
- intrusion
Prevention IntegerVersion - Intrusion prevention version
- name String
- The name of the policy definition.
- tls
Action String - TLS Action - Choices:
decrypt
,skipDecrypt
,doNotDecrypt
- tls
Ssl StringDecryption Id - TLS/SSL decryption ID
- tls
Ssl IntegerDecryption Version - TLS/SSL decryption version
- url
Filtering StringId - URL filtering ID (unified mode)
- url
Filtering IntegerVersion - URL filtering version
- description string
- The description of the policy definition.
- advanced
Malware stringProtection Id - Advanced malware protection ID
- advanced
Malware numberProtection Version - Advanced malware protection version
- intrusion
Prevention stringId - Intrusion prevention ID (unified mode)
- intrusion
Prevention numberVersion - Intrusion prevention version
- name string
- The name of the policy definition.
- tls
Action string - TLS Action - Choices:
decrypt
,skipDecrypt
,doNotDecrypt
- tls
Ssl stringDecryption Id - TLS/SSL decryption ID
- tls
Ssl numberDecryption Version - TLS/SSL decryption version
- url
Filtering stringId - URL filtering ID (unified mode)
- url
Filtering numberVersion - URL filtering version
- description str
- The description of the policy definition.
- advanced_
malware_ strprotection_ id - Advanced malware protection ID
- advanced_
malware_ intprotection_ version - Advanced malware protection version
- intrusion_
prevention_ strid - Intrusion prevention ID (unified mode)
- intrusion_
prevention_ intversion - Intrusion prevention version
- name str
- The name of the policy definition.
- tls_
action str - TLS Action - Choices:
decrypt
,skipDecrypt
,doNotDecrypt
- tls_
ssl_ strdecryption_ id - TLS/SSL decryption ID
- tls_
ssl_ intdecryption_ version - TLS/SSL decryption version
- url_
filtering_ strid - URL filtering ID (unified mode)
- url_
filtering_ intversion - URL filtering version
- description String
- The description of the policy definition.
- advanced
Malware StringProtection Id - Advanced malware protection ID
- advanced
Malware NumberProtection Version - Advanced malware protection version
- intrusion
Prevention StringId - Intrusion prevention ID (unified mode)
- intrusion
Prevention NumberVersion - Intrusion prevention version
- name String
- The name of the policy definition.
- tls
Action String - TLS Action - Choices:
decrypt
,skipDecrypt
,doNotDecrypt
- tls
Ssl StringDecryption Id - TLS/SSL decryption ID
- tls
Ssl NumberDecryption Version - TLS/SSL decryption version
- url
Filtering StringId - URL filtering ID (unified mode)
- url
Filtering NumberVersion - URL filtering version
Outputs
All input properties are implicitly available as output properties. Additionally, the AdvancedInspectionProfilePolicyDefinition resource produces the following output properties:
Look up Existing AdvancedInspectionProfilePolicyDefinition Resource
Get an existing AdvancedInspectionProfilePolicyDefinition resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AdvancedInspectionProfilePolicyDefinitionState, opts?: CustomResourceOptions): AdvancedInspectionProfilePolicyDefinition
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
advanced_malware_protection_id: Optional[str] = None,
advanced_malware_protection_version: Optional[int] = None,
description: Optional[str] = None,
intrusion_prevention_id: Optional[str] = None,
intrusion_prevention_version: Optional[int] = None,
name: Optional[str] = None,
tls_action: Optional[str] = None,
tls_ssl_decryption_id: Optional[str] = None,
tls_ssl_decryption_version: Optional[int] = None,
url_filtering_id: Optional[str] = None,
url_filtering_version: Optional[int] = None,
version: Optional[int] = None) -> AdvancedInspectionProfilePolicyDefinition
func GetAdvancedInspectionProfilePolicyDefinition(ctx *Context, name string, id IDInput, state *AdvancedInspectionProfilePolicyDefinitionState, opts ...ResourceOption) (*AdvancedInspectionProfilePolicyDefinition, error)
public static AdvancedInspectionProfilePolicyDefinition Get(string name, Input<string> id, AdvancedInspectionProfilePolicyDefinitionState? state, CustomResourceOptions? opts = null)
public static AdvancedInspectionProfilePolicyDefinition get(String name, Output<String> id, AdvancedInspectionProfilePolicyDefinitionState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Advanced
Malware stringProtection Id - Advanced malware protection ID
- Advanced
Malware intProtection Version - Advanced malware protection version
- Description string
- The description of the policy definition.
- Intrusion
Prevention stringId - Intrusion prevention ID (unified mode)
- Intrusion
Prevention intVersion - Intrusion prevention version
- Name string
- The name of the policy definition.
- Tls
Action string - TLS Action - Choices:
decrypt
,skipDecrypt
,doNotDecrypt
- Tls
Ssl stringDecryption Id - TLS/SSL decryption ID
- Tls
Ssl intDecryption Version - TLS/SSL decryption version
- Url
Filtering stringId - URL filtering ID (unified mode)
- Url
Filtering intVersion - URL filtering version
- Version int
- The version of the object
- Advanced
Malware stringProtection Id - Advanced malware protection ID
- Advanced
Malware intProtection Version - Advanced malware protection version
- Description string
- The description of the policy definition.
- Intrusion
Prevention stringId - Intrusion prevention ID (unified mode)
- Intrusion
Prevention intVersion - Intrusion prevention version
- Name string
- The name of the policy definition.
- Tls
Action string - TLS Action - Choices:
decrypt
,skipDecrypt
,doNotDecrypt
- Tls
Ssl stringDecryption Id - TLS/SSL decryption ID
- Tls
Ssl intDecryption Version - TLS/SSL decryption version
- Url
Filtering stringId - URL filtering ID (unified mode)
- Url
Filtering intVersion - URL filtering version
- Version int
- The version of the object
- advanced
Malware StringProtection Id - Advanced malware protection ID
- advanced
Malware IntegerProtection Version - Advanced malware protection version
- description String
- The description of the policy definition.
- intrusion
Prevention StringId - Intrusion prevention ID (unified mode)
- intrusion
Prevention IntegerVersion - Intrusion prevention version
- name String
- The name of the policy definition.
- tls
Action String - TLS Action - Choices:
decrypt
,skipDecrypt
,doNotDecrypt
- tls
Ssl StringDecryption Id - TLS/SSL decryption ID
- tls
Ssl IntegerDecryption Version - TLS/SSL decryption version
- url
Filtering StringId - URL filtering ID (unified mode)
- url
Filtering IntegerVersion - URL filtering version
- version Integer
- The version of the object
- advanced
Malware stringProtection Id - Advanced malware protection ID
- advanced
Malware numberProtection Version - Advanced malware protection version
- description string
- The description of the policy definition.
- intrusion
Prevention stringId - Intrusion prevention ID (unified mode)
- intrusion
Prevention numberVersion - Intrusion prevention version
- name string
- The name of the policy definition.
- tls
Action string - TLS Action - Choices:
decrypt
,skipDecrypt
,doNotDecrypt
- tls
Ssl stringDecryption Id - TLS/SSL decryption ID
- tls
Ssl numberDecryption Version - TLS/SSL decryption version
- url
Filtering stringId - URL filtering ID (unified mode)
- url
Filtering numberVersion - URL filtering version
- version number
- The version of the object
- advanced_
malware_ strprotection_ id - Advanced malware protection ID
- advanced_
malware_ intprotection_ version - Advanced malware protection version
- description str
- The description of the policy definition.
- intrusion_
prevention_ strid - Intrusion prevention ID (unified mode)
- intrusion_
prevention_ intversion - Intrusion prevention version
- name str
- The name of the policy definition.
- tls_
action str - TLS Action - Choices:
decrypt
,skipDecrypt
,doNotDecrypt
- tls_
ssl_ strdecryption_ id - TLS/SSL decryption ID
- tls_
ssl_ intdecryption_ version - TLS/SSL decryption version
- url_
filtering_ strid - URL filtering ID (unified mode)
- url_
filtering_ intversion - URL filtering version
- version int
- The version of the object
- advanced
Malware StringProtection Id - Advanced malware protection ID
- advanced
Malware NumberProtection Version - Advanced malware protection version
- description String
- The description of the policy definition.
- intrusion
Prevention StringId - Intrusion prevention ID (unified mode)
- intrusion
Prevention NumberVersion - Intrusion prevention version
- name String
- The name of the policy definition.
- tls
Action String - TLS Action - Choices:
decrypt
,skipDecrypt
,doNotDecrypt
- tls
Ssl StringDecryption Id - TLS/SSL decryption ID
- tls
Ssl NumberDecryption Version - TLS/SSL decryption version
- url
Filtering StringId - URL filtering ID (unified mode)
- url
Filtering NumberVersion - URL filtering version
- version Number
- The version of the object
Import
$ pulumi import sdwan:index/advancedInspectionProfilePolicyDefinition:AdvancedInspectionProfilePolicyDefinition example "f6b2c44c-693c-4763-b010-895aa3d236bd"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- sdwan pulumi/pulumi-sdwan
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
sdwan
Terraform Provider.