sdwan.PolicyObjectUnifiedAdvancedInspectionProfile
This resource can manage a Policy Object Unified Advanced Inspection Profile Policy_object.
- Minimum SD-WAN Manager version:
20.12.0
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sdwan from "@pulumi/sdwan";
const example = new sdwan.PolicyObjectUnifiedAdvancedInspectionProfile("example", {
name: "Example",
description: "My Example",
featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
tlsDecryptionAction: "decrypt",
intrusionPreventionListId: "2ad58d78-59ee-46d3-86dd-7b6b7ca09f38",
urlFilteringListId: "2ad58d78-59ee-46d3-86dd-7b6b7ca09f38",
advancedMalwareProtectionListId: "2ad58d78-59ee-46d3-86dd-7b6b7ca09f38",
tlsSslProfileListId: "2ad58d78-59ee-46d3-86dd-7b6b7ca09f38",
});
import pulumi
import pulumi_sdwan as sdwan
example = sdwan.PolicyObjectUnifiedAdvancedInspectionProfile("example",
name="Example",
description="My Example",
feature_profile_id="f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
tls_decryption_action="decrypt",
intrusion_prevention_list_id="2ad58d78-59ee-46d3-86dd-7b6b7ca09f38",
url_filtering_list_id="2ad58d78-59ee-46d3-86dd-7b6b7ca09f38",
advanced_malware_protection_list_id="2ad58d78-59ee-46d3-86dd-7b6b7ca09f38",
tls_ssl_profile_list_id="2ad58d78-59ee-46d3-86dd-7b6b7ca09f38")
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.NewPolicyObjectUnifiedAdvancedInspectionProfile(ctx, "example", &sdwan.PolicyObjectUnifiedAdvancedInspectionProfileArgs{
Name: pulumi.String("Example"),
Description: pulumi.String("My Example"),
FeatureProfileId: pulumi.String("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"),
TlsDecryptionAction: pulumi.String("decrypt"),
IntrusionPreventionListId: pulumi.String("2ad58d78-59ee-46d3-86dd-7b6b7ca09f38"),
UrlFilteringListId: pulumi.String("2ad58d78-59ee-46d3-86dd-7b6b7ca09f38"),
AdvancedMalwareProtectionListId: pulumi.String("2ad58d78-59ee-46d3-86dd-7b6b7ca09f38"),
TlsSslProfileListId: pulumi.String("2ad58d78-59ee-46d3-86dd-7b6b7ca09f38"),
})
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.PolicyObjectUnifiedAdvancedInspectionProfile("example", new()
{
Name = "Example",
Description = "My Example",
FeatureProfileId = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
TlsDecryptionAction = "decrypt",
IntrusionPreventionListId = "2ad58d78-59ee-46d3-86dd-7b6b7ca09f38",
UrlFilteringListId = "2ad58d78-59ee-46d3-86dd-7b6b7ca09f38",
AdvancedMalwareProtectionListId = "2ad58d78-59ee-46d3-86dd-7b6b7ca09f38",
TlsSslProfileListId = "2ad58d78-59ee-46d3-86dd-7b6b7ca09f38",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sdwan.PolicyObjectUnifiedAdvancedInspectionProfile;
import com.pulumi.sdwan.PolicyObjectUnifiedAdvancedInspectionProfileArgs;
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 PolicyObjectUnifiedAdvancedInspectionProfile("example", PolicyObjectUnifiedAdvancedInspectionProfileArgs.builder()
.name("Example")
.description("My Example")
.featureProfileId("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
.tlsDecryptionAction("decrypt")
.intrusionPreventionListId("2ad58d78-59ee-46d3-86dd-7b6b7ca09f38")
.urlFilteringListId("2ad58d78-59ee-46d3-86dd-7b6b7ca09f38")
.advancedMalwareProtectionListId("2ad58d78-59ee-46d3-86dd-7b6b7ca09f38")
.tlsSslProfileListId("2ad58d78-59ee-46d3-86dd-7b6b7ca09f38")
.build());
}
}
resources:
example:
type: sdwan:PolicyObjectUnifiedAdvancedInspectionProfile
properties:
name: Example
description: My Example
featureProfileId: f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac
tlsDecryptionAction: decrypt
intrusionPreventionListId: 2ad58d78-59ee-46d3-86dd-7b6b7ca09f38
urlFilteringListId: 2ad58d78-59ee-46d3-86dd-7b6b7ca09f38
advancedMalwareProtectionListId: 2ad58d78-59ee-46d3-86dd-7b6b7ca09f38
tlsSslProfileListId: 2ad58d78-59ee-46d3-86dd-7b6b7ca09f38
Create PolicyObjectUnifiedAdvancedInspectionProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyObjectUnifiedAdvancedInspectionProfile(name: string, args: PolicyObjectUnifiedAdvancedInspectionProfileArgs, opts?: CustomResourceOptions);@overload
def PolicyObjectUnifiedAdvancedInspectionProfile(resource_name: str,
args: PolicyObjectUnifiedAdvancedInspectionProfileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyObjectUnifiedAdvancedInspectionProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
feature_profile_id: Optional[str] = None,
tls_decryption_action: Optional[str] = None,
advanced_malware_protection_list_id: Optional[str] = None,
description: Optional[str] = None,
intrusion_prevention_list_id: Optional[str] = None,
name: Optional[str] = None,
tls_ssl_profile_list_id: Optional[str] = None,
url_filtering_list_id: Optional[str] = None)func NewPolicyObjectUnifiedAdvancedInspectionProfile(ctx *Context, name string, args PolicyObjectUnifiedAdvancedInspectionProfileArgs, opts ...ResourceOption) (*PolicyObjectUnifiedAdvancedInspectionProfile, error)public PolicyObjectUnifiedAdvancedInspectionProfile(string name, PolicyObjectUnifiedAdvancedInspectionProfileArgs args, CustomResourceOptions? opts = null)
public PolicyObjectUnifiedAdvancedInspectionProfile(String name, PolicyObjectUnifiedAdvancedInspectionProfileArgs args)
public PolicyObjectUnifiedAdvancedInspectionProfile(String name, PolicyObjectUnifiedAdvancedInspectionProfileArgs args, CustomResourceOptions options)
type: sdwan:PolicyObjectUnifiedAdvancedInspectionProfile
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 PolicyObjectUnifiedAdvancedInspectionProfileArgs
- 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 PolicyObjectUnifiedAdvancedInspectionProfileArgs
- 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 PolicyObjectUnifiedAdvancedInspectionProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyObjectUnifiedAdvancedInspectionProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyObjectUnifiedAdvancedInspectionProfileArgs
- 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 policyObjectUnifiedAdvancedInspectionProfileResource = new Sdwan.PolicyObjectUnifiedAdvancedInspectionProfile("policyObjectUnifiedAdvancedInspectionProfileResource", new()
{
FeatureProfileId = "string",
TlsDecryptionAction = "string",
AdvancedMalwareProtectionListId = "string",
Description = "string",
IntrusionPreventionListId = "string",
Name = "string",
TlsSslProfileListId = "string",
UrlFilteringListId = "string",
});
example, err := sdwan.NewPolicyObjectUnifiedAdvancedInspectionProfile(ctx, "policyObjectUnifiedAdvancedInspectionProfileResource", &sdwan.PolicyObjectUnifiedAdvancedInspectionProfileArgs{
FeatureProfileId: pulumi.String("string"),
TlsDecryptionAction: pulumi.String("string"),
AdvancedMalwareProtectionListId: pulumi.String("string"),
Description: pulumi.String("string"),
IntrusionPreventionListId: pulumi.String("string"),
Name: pulumi.String("string"),
TlsSslProfileListId: pulumi.String("string"),
UrlFilteringListId: pulumi.String("string"),
})
var policyObjectUnifiedAdvancedInspectionProfileResource = new PolicyObjectUnifiedAdvancedInspectionProfile("policyObjectUnifiedAdvancedInspectionProfileResource", PolicyObjectUnifiedAdvancedInspectionProfileArgs.builder()
.featureProfileId("string")
.tlsDecryptionAction("string")
.advancedMalwareProtectionListId("string")
.description("string")
.intrusionPreventionListId("string")
.name("string")
.tlsSslProfileListId("string")
.urlFilteringListId("string")
.build());
policy_object_unified_advanced_inspection_profile_resource = sdwan.PolicyObjectUnifiedAdvancedInspectionProfile("policyObjectUnifiedAdvancedInspectionProfileResource",
feature_profile_id="string",
tls_decryption_action="string",
advanced_malware_protection_list_id="string",
description="string",
intrusion_prevention_list_id="string",
name="string",
tls_ssl_profile_list_id="string",
url_filtering_list_id="string")
const policyObjectUnifiedAdvancedInspectionProfileResource = new sdwan.PolicyObjectUnifiedAdvancedInspectionProfile("policyObjectUnifiedAdvancedInspectionProfileResource", {
featureProfileId: "string",
tlsDecryptionAction: "string",
advancedMalwareProtectionListId: "string",
description: "string",
intrusionPreventionListId: "string",
name: "string",
tlsSslProfileListId: "string",
urlFilteringListId: "string",
});
type: sdwan:PolicyObjectUnifiedAdvancedInspectionProfile
properties:
advancedMalwareProtectionListId: string
description: string
featureProfileId: string
intrusionPreventionListId: string
name: string
tlsDecryptionAction: string
tlsSslProfileListId: string
urlFilteringListId: string
PolicyObjectUnifiedAdvancedInspectionProfile 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 PolicyObjectUnifiedAdvancedInspectionProfile resource accepts the following input properties:
- Feature
Profile stringId - Feature Profile ID
- Tls
Decryption stringAction - Choices:
decrypt,neverDecrypt,skipDecrypt
- Choices:
- Advanced
Malware stringProtection List Id - Description string
- The description of the Policy_object
- Intrusion
Prevention stringList Id - Name string
- The name of the Policy_object
- Tls
Ssl stringProfile List Id - Url
Filtering stringList Id
- Feature
Profile stringId - Feature Profile ID
- Tls
Decryption stringAction - Choices:
decrypt,neverDecrypt,skipDecrypt
- Choices:
- Advanced
Malware stringProtection List Id - Description string
- The description of the Policy_object
- Intrusion
Prevention stringList Id - Name string
- The name of the Policy_object
- Tls
Ssl stringProfile List Id - Url
Filtering stringList Id
- feature
Profile StringId - Feature Profile ID
- tls
Decryption StringAction - Choices:
decrypt,neverDecrypt,skipDecrypt
- Choices:
- advanced
Malware StringProtection List Id - description String
- The description of the Policy_object
- intrusion
Prevention StringList Id - name String
- The name of the Policy_object
- tls
Ssl StringProfile List Id - url
Filtering StringList Id
- feature
Profile stringId - Feature Profile ID
- tls
Decryption stringAction - Choices:
decrypt,neverDecrypt,skipDecrypt
- Choices:
- advanced
Malware stringProtection List Id - description string
- The description of the Policy_object
- intrusion
Prevention stringList Id - name string
- The name of the Policy_object
- tls
Ssl stringProfile List Id - url
Filtering stringList Id
- feature_
profile_ strid - Feature Profile ID
- tls_
decryption_ straction - Choices:
decrypt,neverDecrypt,skipDecrypt
- Choices:
- advanced_
malware_ strprotection_ list_ id - description str
- The description of the Policy_object
- intrusion_
prevention_ strlist_ id - name str
- The name of the Policy_object
- tls_
ssl_ strprofile_ list_ id - url_
filtering_ strlist_ id
- feature
Profile StringId - Feature Profile ID
- tls
Decryption StringAction - Choices:
decrypt,neverDecrypt,skipDecrypt
- Choices:
- advanced
Malware StringProtection List Id - description String
- The description of the Policy_object
- intrusion
Prevention StringList Id - name String
- The name of the Policy_object
- tls
Ssl StringProfile List Id - url
Filtering StringList Id
Outputs
All input properties are implicitly available as output properties. Additionally, the PolicyObjectUnifiedAdvancedInspectionProfile resource produces the following output properties:
Look up Existing PolicyObjectUnifiedAdvancedInspectionProfile Resource
Get an existing PolicyObjectUnifiedAdvancedInspectionProfile 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?: PolicyObjectUnifiedAdvancedInspectionProfileState, opts?: CustomResourceOptions): PolicyObjectUnifiedAdvancedInspectionProfile@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
advanced_malware_protection_list_id: Optional[str] = None,
description: Optional[str] = None,
feature_profile_id: Optional[str] = None,
intrusion_prevention_list_id: Optional[str] = None,
name: Optional[str] = None,
tls_decryption_action: Optional[str] = None,
tls_ssl_profile_list_id: Optional[str] = None,
url_filtering_list_id: Optional[str] = None,
version: Optional[int] = None) -> PolicyObjectUnifiedAdvancedInspectionProfilefunc GetPolicyObjectUnifiedAdvancedInspectionProfile(ctx *Context, name string, id IDInput, state *PolicyObjectUnifiedAdvancedInspectionProfileState, opts ...ResourceOption) (*PolicyObjectUnifiedAdvancedInspectionProfile, error)public static PolicyObjectUnifiedAdvancedInspectionProfile Get(string name, Input<string> id, PolicyObjectUnifiedAdvancedInspectionProfileState? state, CustomResourceOptions? opts = null)public static PolicyObjectUnifiedAdvancedInspectionProfile get(String name, Output<String> id, PolicyObjectUnifiedAdvancedInspectionProfileState state, CustomResourceOptions options)resources: _: type: sdwan:PolicyObjectUnifiedAdvancedInspectionProfile get: id: ${id}- 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 List Id - Description string
- The description of the Policy_object
- Feature
Profile stringId - Feature Profile ID
- Intrusion
Prevention stringList Id - Name string
- The name of the Policy_object
- Tls
Decryption stringAction - Choices:
decrypt,neverDecrypt,skipDecrypt
- Choices:
- Tls
Ssl stringProfile List Id - Url
Filtering stringList Id - Version int
- The version of the Policy_object
- Advanced
Malware stringProtection List Id - Description string
- The description of the Policy_object
- Feature
Profile stringId - Feature Profile ID
- Intrusion
Prevention stringList Id - Name string
- The name of the Policy_object
- Tls
Decryption stringAction - Choices:
decrypt,neverDecrypt,skipDecrypt
- Choices:
- Tls
Ssl stringProfile List Id - Url
Filtering stringList Id - Version int
- The version of the Policy_object
- advanced
Malware StringProtection List Id - description String
- The description of the Policy_object
- feature
Profile StringId - Feature Profile ID
- intrusion
Prevention StringList Id - name String
- The name of the Policy_object
- tls
Decryption StringAction - Choices:
decrypt,neverDecrypt,skipDecrypt
- Choices:
- tls
Ssl StringProfile List Id - url
Filtering StringList Id - version Integer
- The version of the Policy_object
- advanced
Malware stringProtection List Id - description string
- The description of the Policy_object
- feature
Profile stringId - Feature Profile ID
- intrusion
Prevention stringList Id - name string
- The name of the Policy_object
- tls
Decryption stringAction - Choices:
decrypt,neverDecrypt,skipDecrypt
- Choices:
- tls
Ssl stringProfile List Id - url
Filtering stringList Id - version number
- The version of the Policy_object
- advanced_
malware_ strprotection_ list_ id - description str
- The description of the Policy_object
- feature_
profile_ strid - Feature Profile ID
- intrusion_
prevention_ strlist_ id - name str
- The name of the Policy_object
- tls_
decryption_ straction - Choices:
decrypt,neverDecrypt,skipDecrypt
- Choices:
- tls_
ssl_ strprofile_ list_ id - url_
filtering_ strlist_ id - version int
- The version of the Policy_object
- advanced
Malware StringProtection List Id - description String
- The description of the Policy_object
- feature
Profile StringId - Feature Profile ID
- intrusion
Prevention StringList Id - name String
- The name of the Policy_object
- tls
Decryption StringAction - Choices:
decrypt,neverDecrypt,skipDecrypt
- Choices:
- tls
Ssl StringProfile List Id - url
Filtering StringList Id - version Number
- The version of the Policy_object
Import
The pulumi import command can be used, for example:
Expected import identifier with the format: “policy_object_unified_advanced_inspection_profile_id,feature_profile_id”
$ pulumi import sdwan:index/policyObjectUnifiedAdvancedInspectionProfile:PolicyObjectUnifiedAdvancedInspectionProfile example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
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
sdwanTerraform Provider.
