sdwan.PolicyObjectUnifiedTlsSslProfile
This resource can manage a Policy Object Unified TLS SSL 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.PolicyObjectUnifiedTlsSslProfile("example", {
name: "Example",
description: "My Example",
featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
decryptCategories: ["alcohol-and-tobacco"],
noDecryptCategories: ["abortion"],
passThroughCategories: ["auctions"],
reputation: true,
decryptThreshold: "moderate-risk",
thresholdCategories: "moderate-risk",
failDecrypt: true,
urlAllowListId: "2ad58d78-59ee-46d3-86dd-7b6b7ca09f38",
urlBlockListId: "2ad58d78-59ee-46d3-86dd-7b6b7ca09f38",
});
import pulumi
import pulumi_sdwan as sdwan
example = sdwan.PolicyObjectUnifiedTlsSslProfile("example",
name="Example",
description="My Example",
feature_profile_id="f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
decrypt_categories=["alcohol-and-tobacco"],
no_decrypt_categories=["abortion"],
pass_through_categories=["auctions"],
reputation=True,
decrypt_threshold="moderate-risk",
threshold_categories="moderate-risk",
fail_decrypt=True,
url_allow_list_id="2ad58d78-59ee-46d3-86dd-7b6b7ca09f38",
url_block_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.NewPolicyObjectUnifiedTlsSslProfile(ctx, "example", &sdwan.PolicyObjectUnifiedTlsSslProfileArgs{
Name: pulumi.String("Example"),
Description: pulumi.String("My Example"),
FeatureProfileId: pulumi.String("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"),
DecryptCategories: pulumi.StringArray{
pulumi.String("alcohol-and-tobacco"),
},
NoDecryptCategories: pulumi.StringArray{
pulumi.String("abortion"),
},
PassThroughCategories: pulumi.StringArray{
pulumi.String("auctions"),
},
Reputation: pulumi.Bool(true),
DecryptThreshold: pulumi.String("moderate-risk"),
ThresholdCategories: pulumi.String("moderate-risk"),
FailDecrypt: pulumi.Bool(true),
UrlAllowListId: pulumi.String("2ad58d78-59ee-46d3-86dd-7b6b7ca09f38"),
UrlBlockListId: 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.PolicyObjectUnifiedTlsSslProfile("example", new()
{
Name = "Example",
Description = "My Example",
FeatureProfileId = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
DecryptCategories = new[]
{
"alcohol-and-tobacco",
},
NoDecryptCategories = new[]
{
"abortion",
},
PassThroughCategories = new[]
{
"auctions",
},
Reputation = true,
DecryptThreshold = "moderate-risk",
ThresholdCategories = "moderate-risk",
FailDecrypt = true,
UrlAllowListId = "2ad58d78-59ee-46d3-86dd-7b6b7ca09f38",
UrlBlockListId = "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.PolicyObjectUnifiedTlsSslProfile;
import com.pulumi.sdwan.PolicyObjectUnifiedTlsSslProfileArgs;
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 PolicyObjectUnifiedTlsSslProfile("example", PolicyObjectUnifiedTlsSslProfileArgs.builder()
.name("Example")
.description("My Example")
.featureProfileId("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
.decryptCategories("alcohol-and-tobacco")
.noDecryptCategories("abortion")
.passThroughCategories("auctions")
.reputation(true)
.decryptThreshold("moderate-risk")
.thresholdCategories("moderate-risk")
.failDecrypt(true)
.urlAllowListId("2ad58d78-59ee-46d3-86dd-7b6b7ca09f38")
.urlBlockListId("2ad58d78-59ee-46d3-86dd-7b6b7ca09f38")
.build());
}
}
resources:
example:
type: sdwan:PolicyObjectUnifiedTlsSslProfile
properties:
name: Example
description: My Example
featureProfileId: f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac
decryptCategories:
- alcohol-and-tobacco
noDecryptCategories:
- abortion
passThroughCategories:
- auctions
reputation: true
decryptThreshold: moderate-risk
thresholdCategories: moderate-risk
failDecrypt: true
urlAllowListId: 2ad58d78-59ee-46d3-86dd-7b6b7ca09f38
urlBlockListId: 2ad58d78-59ee-46d3-86dd-7b6b7ca09f38
Create PolicyObjectUnifiedTlsSslProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyObjectUnifiedTlsSslProfile(name: string, args: PolicyObjectUnifiedTlsSslProfileArgs, opts?: CustomResourceOptions);@overload
def PolicyObjectUnifiedTlsSslProfile(resource_name: str,
args: PolicyObjectUnifiedTlsSslProfileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyObjectUnifiedTlsSslProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
decrypt_categories: Optional[Sequence[str]] = None,
fail_decrypt: Optional[bool] = None,
feature_profile_id: Optional[str] = None,
no_decrypt_categories: Optional[Sequence[str]] = None,
pass_through_categories: Optional[Sequence[str]] = None,
reputation: Optional[bool] = None,
decrypt_threshold: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None,
threshold_categories: Optional[str] = None,
url_allow_list_id: Optional[str] = None,
url_block_list_id: Optional[str] = None)func NewPolicyObjectUnifiedTlsSslProfile(ctx *Context, name string, args PolicyObjectUnifiedTlsSslProfileArgs, opts ...ResourceOption) (*PolicyObjectUnifiedTlsSslProfile, error)public PolicyObjectUnifiedTlsSslProfile(string name, PolicyObjectUnifiedTlsSslProfileArgs args, CustomResourceOptions? opts = null)
public PolicyObjectUnifiedTlsSslProfile(String name, PolicyObjectUnifiedTlsSslProfileArgs args)
public PolicyObjectUnifiedTlsSslProfile(String name, PolicyObjectUnifiedTlsSslProfileArgs args, CustomResourceOptions options)
type: sdwan:PolicyObjectUnifiedTlsSslProfile
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 PolicyObjectUnifiedTlsSslProfileArgs
- 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 PolicyObjectUnifiedTlsSslProfileArgs
- 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 PolicyObjectUnifiedTlsSslProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyObjectUnifiedTlsSslProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyObjectUnifiedTlsSslProfileArgs
- 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 policyObjectUnifiedTlsSslProfileResource = new Sdwan.PolicyObjectUnifiedTlsSslProfile("policyObjectUnifiedTlsSslProfileResource", new()
{
DecryptCategories = new[]
{
"string",
},
FailDecrypt = false,
FeatureProfileId = "string",
NoDecryptCategories = new[]
{
"string",
},
PassThroughCategories = new[]
{
"string",
},
Reputation = false,
DecryptThreshold = "string",
Description = "string",
Name = "string",
ThresholdCategories = "string",
UrlAllowListId = "string",
UrlBlockListId = "string",
});
example, err := sdwan.NewPolicyObjectUnifiedTlsSslProfile(ctx, "policyObjectUnifiedTlsSslProfileResource", &sdwan.PolicyObjectUnifiedTlsSslProfileArgs{
DecryptCategories: pulumi.StringArray{
pulumi.String("string"),
},
FailDecrypt: pulumi.Bool(false),
FeatureProfileId: pulumi.String("string"),
NoDecryptCategories: pulumi.StringArray{
pulumi.String("string"),
},
PassThroughCategories: pulumi.StringArray{
pulumi.String("string"),
},
Reputation: pulumi.Bool(false),
DecryptThreshold: pulumi.String("string"),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
ThresholdCategories: pulumi.String("string"),
UrlAllowListId: pulumi.String("string"),
UrlBlockListId: pulumi.String("string"),
})
var policyObjectUnifiedTlsSslProfileResource = new PolicyObjectUnifiedTlsSslProfile("policyObjectUnifiedTlsSslProfileResource", PolicyObjectUnifiedTlsSslProfileArgs.builder()
.decryptCategories("string")
.failDecrypt(false)
.featureProfileId("string")
.noDecryptCategories("string")
.passThroughCategories("string")
.reputation(false)
.decryptThreshold("string")
.description("string")
.name("string")
.thresholdCategories("string")
.urlAllowListId("string")
.urlBlockListId("string")
.build());
policy_object_unified_tls_ssl_profile_resource = sdwan.PolicyObjectUnifiedTlsSslProfile("policyObjectUnifiedTlsSslProfileResource",
decrypt_categories=["string"],
fail_decrypt=False,
feature_profile_id="string",
no_decrypt_categories=["string"],
pass_through_categories=["string"],
reputation=False,
decrypt_threshold="string",
description="string",
name="string",
threshold_categories="string",
url_allow_list_id="string",
url_block_list_id="string")
const policyObjectUnifiedTlsSslProfileResource = new sdwan.PolicyObjectUnifiedTlsSslProfile("policyObjectUnifiedTlsSslProfileResource", {
decryptCategories: ["string"],
failDecrypt: false,
featureProfileId: "string",
noDecryptCategories: ["string"],
passThroughCategories: ["string"],
reputation: false,
decryptThreshold: "string",
description: "string",
name: "string",
thresholdCategories: "string",
urlAllowListId: "string",
urlBlockListId: "string",
});
type: sdwan:PolicyObjectUnifiedTlsSslProfile
properties:
decryptCategories:
- string
decryptThreshold: string
description: string
failDecrypt: false
featureProfileId: string
name: string
noDecryptCategories:
- string
passThroughCategories:
- string
reputation: false
thresholdCategories: string
urlAllowListId: string
urlBlockListId: string
PolicyObjectUnifiedTlsSslProfile 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 PolicyObjectUnifiedTlsSslProfile resource accepts the following input properties:
- Decrypt
Categories List<string> - Fail
Decrypt bool - Feature
Profile stringId - Feature Profile ID
- No
Decrypt List<string>Categories - Pass
Through List<string>Categories - Reputation bool
- Decrypt
Threshold string - , Attribute conditional on
reputationbeing equal totrue- Choices:
high-risk,low-risk,moderate-risk,suspicious,trustworthy
- Choices:
- Description string
- The description of the Policy_object
- Name string
- The name of the Policy_object
- Threshold
Categories string - , Attribute conditional on
reputationbeing equal totrue- Choices:
high-risk,low-risk,moderate-risk,suspicious,trustworthy
- Choices:
- Url
Allow stringList Id - Url
Block stringList Id
- Decrypt
Categories []string - Fail
Decrypt bool - Feature
Profile stringId - Feature Profile ID
- No
Decrypt []stringCategories - Pass
Through []stringCategories - Reputation bool
- Decrypt
Threshold string - , Attribute conditional on
reputationbeing equal totrue- Choices:
high-risk,low-risk,moderate-risk,suspicious,trustworthy
- Choices:
- Description string
- The description of the Policy_object
- Name string
- The name of the Policy_object
- Threshold
Categories string - , Attribute conditional on
reputationbeing equal totrue- Choices:
high-risk,low-risk,moderate-risk,suspicious,trustworthy
- Choices:
- Url
Allow stringList Id - Url
Block stringList Id
- decrypt
Categories List<String> - fail
Decrypt Boolean - feature
Profile StringId - Feature Profile ID
- no
Decrypt List<String>Categories - pass
Through List<String>Categories - reputation Boolean
- decrypt
Threshold String - , Attribute conditional on
reputationbeing equal totrue- Choices:
high-risk,low-risk,moderate-risk,suspicious,trustworthy
- Choices:
- description String
- The description of the Policy_object
- name String
- The name of the Policy_object
- threshold
Categories String - , Attribute conditional on
reputationbeing equal totrue- Choices:
high-risk,low-risk,moderate-risk,suspicious,trustworthy
- Choices:
- url
Allow StringList Id - url
Block StringList Id
- decrypt
Categories string[] - fail
Decrypt boolean - feature
Profile stringId - Feature Profile ID
- no
Decrypt string[]Categories - pass
Through string[]Categories - reputation boolean
- decrypt
Threshold string - , Attribute conditional on
reputationbeing equal totrue- Choices:
high-risk,low-risk,moderate-risk,suspicious,trustworthy
- Choices:
- description string
- The description of the Policy_object
- name string
- The name of the Policy_object
- threshold
Categories string - , Attribute conditional on
reputationbeing equal totrue- Choices:
high-risk,low-risk,moderate-risk,suspicious,trustworthy
- Choices:
- url
Allow stringList Id - url
Block stringList Id
- decrypt_
categories Sequence[str] - fail_
decrypt bool - feature_
profile_ strid - Feature Profile ID
- no_
decrypt_ Sequence[str]categories - pass_
through_ Sequence[str]categories - reputation bool
- decrypt_
threshold str - , Attribute conditional on
reputationbeing equal totrue- Choices:
high-risk,low-risk,moderate-risk,suspicious,trustworthy
- Choices:
- description str
- The description of the Policy_object
- name str
- The name of the Policy_object
- threshold_
categories str - , Attribute conditional on
reputationbeing equal totrue- Choices:
high-risk,low-risk,moderate-risk,suspicious,trustworthy
- Choices:
- url_
allow_ strlist_ id - url_
block_ strlist_ id
- decrypt
Categories List<String> - fail
Decrypt Boolean - feature
Profile StringId - Feature Profile ID
- no
Decrypt List<String>Categories - pass
Through List<String>Categories - reputation Boolean
- decrypt
Threshold String - , Attribute conditional on
reputationbeing equal totrue- Choices:
high-risk,low-risk,moderate-risk,suspicious,trustworthy
- Choices:
- description String
- The description of the Policy_object
- name String
- The name of the Policy_object
- threshold
Categories String - , Attribute conditional on
reputationbeing equal totrue- Choices:
high-risk,low-risk,moderate-risk,suspicious,trustworthy
- Choices:
- url
Allow StringList Id - url
Block StringList Id
Outputs
All input properties are implicitly available as output properties. Additionally, the PolicyObjectUnifiedTlsSslProfile resource produces the following output properties:
Look up Existing PolicyObjectUnifiedTlsSslProfile Resource
Get an existing PolicyObjectUnifiedTlsSslProfile 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?: PolicyObjectUnifiedTlsSslProfileState, opts?: CustomResourceOptions): PolicyObjectUnifiedTlsSslProfile@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
decrypt_categories: Optional[Sequence[str]] = None,
decrypt_threshold: Optional[str] = None,
description: Optional[str] = None,
fail_decrypt: Optional[bool] = None,
feature_profile_id: Optional[str] = None,
name: Optional[str] = None,
no_decrypt_categories: Optional[Sequence[str]] = None,
pass_through_categories: Optional[Sequence[str]] = None,
reputation: Optional[bool] = None,
threshold_categories: Optional[str] = None,
url_allow_list_id: Optional[str] = None,
url_block_list_id: Optional[str] = None,
version: Optional[int] = None) -> PolicyObjectUnifiedTlsSslProfilefunc GetPolicyObjectUnifiedTlsSslProfile(ctx *Context, name string, id IDInput, state *PolicyObjectUnifiedTlsSslProfileState, opts ...ResourceOption) (*PolicyObjectUnifiedTlsSslProfile, error)public static PolicyObjectUnifiedTlsSslProfile Get(string name, Input<string> id, PolicyObjectUnifiedTlsSslProfileState? state, CustomResourceOptions? opts = null)public static PolicyObjectUnifiedTlsSslProfile get(String name, Output<String> id, PolicyObjectUnifiedTlsSslProfileState state, CustomResourceOptions options)resources: _: type: sdwan:PolicyObjectUnifiedTlsSslProfile 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.
- Decrypt
Categories List<string> - Decrypt
Threshold string - , Attribute conditional on
reputationbeing equal totrue- Choices:
high-risk,low-risk,moderate-risk,suspicious,trustworthy
- Choices:
- Description string
- The description of the Policy_object
- Fail
Decrypt bool - Feature
Profile stringId - Feature Profile ID
- Name string
- The name of the Policy_object
- No
Decrypt List<string>Categories - Pass
Through List<string>Categories - Reputation bool
- Threshold
Categories string - , Attribute conditional on
reputationbeing equal totrue- Choices:
high-risk,low-risk,moderate-risk,suspicious,trustworthy
- Choices:
- Url
Allow stringList Id - Url
Block stringList Id - Version int
- The version of the Policy_object
- Decrypt
Categories []string - Decrypt
Threshold string - , Attribute conditional on
reputationbeing equal totrue- Choices:
high-risk,low-risk,moderate-risk,suspicious,trustworthy
- Choices:
- Description string
- The description of the Policy_object
- Fail
Decrypt bool - Feature
Profile stringId - Feature Profile ID
- Name string
- The name of the Policy_object
- No
Decrypt []stringCategories - Pass
Through []stringCategories - Reputation bool
- Threshold
Categories string - , Attribute conditional on
reputationbeing equal totrue- Choices:
high-risk,low-risk,moderate-risk,suspicious,trustworthy
- Choices:
- Url
Allow stringList Id - Url
Block stringList Id - Version int
- The version of the Policy_object
- decrypt
Categories List<String> - decrypt
Threshold String - , Attribute conditional on
reputationbeing equal totrue- Choices:
high-risk,low-risk,moderate-risk,suspicious,trustworthy
- Choices:
- description String
- The description of the Policy_object
- fail
Decrypt Boolean - feature
Profile StringId - Feature Profile ID
- name String
- The name of the Policy_object
- no
Decrypt List<String>Categories - pass
Through List<String>Categories - reputation Boolean
- threshold
Categories String - , Attribute conditional on
reputationbeing equal totrue- Choices:
high-risk,low-risk,moderate-risk,suspicious,trustworthy
- Choices:
- url
Allow StringList Id - url
Block StringList Id - version Integer
- The version of the Policy_object
- decrypt
Categories string[] - decrypt
Threshold string - , Attribute conditional on
reputationbeing equal totrue- Choices:
high-risk,low-risk,moderate-risk,suspicious,trustworthy
- Choices:
- description string
- The description of the Policy_object
- fail
Decrypt boolean - feature
Profile stringId - Feature Profile ID
- name string
- The name of the Policy_object
- no
Decrypt string[]Categories - pass
Through string[]Categories - reputation boolean
- threshold
Categories string - , Attribute conditional on
reputationbeing equal totrue- Choices:
high-risk,low-risk,moderate-risk,suspicious,trustworthy
- Choices:
- url
Allow stringList Id - url
Block stringList Id - version number
- The version of the Policy_object
- decrypt_
categories Sequence[str] - decrypt_
threshold str - , Attribute conditional on
reputationbeing equal totrue- Choices:
high-risk,low-risk,moderate-risk,suspicious,trustworthy
- Choices:
- description str
- The description of the Policy_object
- fail_
decrypt bool - feature_
profile_ strid - Feature Profile ID
- name str
- The name of the Policy_object
- no_
decrypt_ Sequence[str]categories - pass_
through_ Sequence[str]categories - reputation bool
- threshold_
categories str - , Attribute conditional on
reputationbeing equal totrue- Choices:
high-risk,low-risk,moderate-risk,suspicious,trustworthy
- Choices:
- url_
allow_ strlist_ id - url_
block_ strlist_ id - version int
- The version of the Policy_object
- decrypt
Categories List<String> - decrypt
Threshold String - , Attribute conditional on
reputationbeing equal totrue- Choices:
high-risk,low-risk,moderate-risk,suspicious,trustworthy
- Choices:
- description String
- The description of the Policy_object
- fail
Decrypt Boolean - feature
Profile StringId - Feature Profile ID
- name String
- The name of the Policy_object
- no
Decrypt List<String>Categories - pass
Through List<String>Categories - reputation Boolean
- threshold
Categories String - , Attribute conditional on
reputationbeing equal totrue- Choices:
high-risk,low-risk,moderate-risk,suspicious,trustworthy
- Choices:
- url
Allow StringList Id - url
Block 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_tls_ssl_profile_id,feature_profile_id”
$ pulumi import sdwan:index/policyObjectUnifiedTlsSslProfile:PolicyObjectUnifiedTlsSslProfile 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.
