konnect.GatewayPluginXmlThreatProtection
Explore with Pulumi AI
GatewayPluginXMLThreatProtection Resource
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.konnect.GatewayPluginXmlThreatProtection;
import com.pulumi.konnect.GatewayPluginXmlThreatProtectionArgs;
import com.pulumi.konnect.inputs.GatewayPluginXmlThreatProtectionConfigArgs;
import com.pulumi.konnect.inputs.GatewayPluginXmlThreatProtectionConsumerArgs;
import com.pulumi.konnect.inputs.GatewayPluginXmlThreatProtectionOrderingArgs;
import com.pulumi.konnect.inputs.GatewayPluginXmlThreatProtectionOrderingAfterArgs;
import com.pulumi.konnect.inputs.GatewayPluginXmlThreatProtectionOrderingBeforeArgs;
import com.pulumi.konnect.inputs.GatewayPluginXmlThreatProtectionRouteArgs;
import com.pulumi.konnect.inputs.GatewayPluginXmlThreatProtectionServiceArgs;
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 myGatewaypluginxmlthreatprotection = new GatewayPluginXmlThreatProtection("myGatewaypluginxmlthreatprotection", GatewayPluginXmlThreatProtectionArgs.builder()
.config(GatewayPluginXmlThreatProtectionConfigArgs.builder()
.allow_dtd(true)
.allowed_content_types("...")
.attribute(6)
.bla_max_amplification(6.05)
.bla_threshold(1030)
.buffer(7)
.checked_content_types("...")
.comment(1)
.document(4)
.entity(1)
.entityname(5)
.entityproperty(7)
.localname(4)
.max_attributes(6)
.max_children(7)
.max_depth(8)
.max_namespaces(6)
.namespace_aware(false)
.namespaceuri(0)
.pidata(10)
.pitarget(9)
.prefix(3)
.text(3)
.build())
.consumer(GatewayPluginXmlThreatProtectionConsumerArgs.builder()
.id("...my_id...")
.build())
.controlPlaneId("9524ec7d-36d9-465d-a8c5-83a3c9390458")
.enabled(true)
.gatewayPluginXmlThreatProtectionId("...my_id...")
.instanceName("...my_instance_name...")
.ordering(GatewayPluginXmlThreatProtectionOrderingArgs.builder()
.after(GatewayPluginXmlThreatProtectionOrderingAfterArgs.builder()
.access("...")
.build())
.before(GatewayPluginXmlThreatProtectionOrderingBeforeArgs.builder()
.access("...")
.build())
.build())
.protocols("https")
.route(GatewayPluginXmlThreatProtectionRouteArgs.builder()
.id("...my_id...")
.build())
.service(GatewayPluginXmlThreatProtectionServiceArgs.builder()
.id("...my_id...")
.build())
.tags("...")
.build());
}
}
resources:
myGatewaypluginxmlthreatprotection:
type: konnect:GatewayPluginXmlThreatProtection
properties:
config:
allow_dtd: true
allowed_content_types:
- '...'
attribute: 6
bla_max_amplification: 6.05
bla_threshold: 1030
buffer: 7
checked_content_types:
- '...'
comment: 1
document: 4
entity: 1
entityname: 5
entityproperty: 7
localname: 4
max_attributes: 6
max_children: 7
max_depth: 8
max_namespaces: 6
namespace_aware: false
namespaceuri: 0
pidata: 10
pitarget: 9
prefix: 3
text: 3
consumer:
id: '...my_id...'
controlPlaneId: 9524ec7d-36d9-465d-a8c5-83a3c9390458
enabled: true
gatewayPluginXmlThreatProtectionId: '...my_id...'
instanceName: '...my_instance_name...'
ordering:
after:
access:
- '...'
before:
access:
- '...'
protocols:
- https
route:
id: '...my_id...'
service:
id: '...my_id...'
tags:
- '...'
Create GatewayPluginXmlThreatProtection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GatewayPluginXmlThreatProtection(name: string, args: GatewayPluginXmlThreatProtectionArgs, opts?: CustomResourceOptions);
@overload
def GatewayPluginXmlThreatProtection(resource_name: str,
args: GatewayPluginXmlThreatProtectionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GatewayPluginXmlThreatProtection(resource_name: str,
opts: Optional[ResourceOptions] = None,
config: Optional[GatewayPluginXmlThreatProtectionConfigArgs] = None,
control_plane_id: Optional[str] = None,
consumer: Optional[GatewayPluginXmlThreatProtectionConsumerArgs] = None,
enabled: Optional[bool] = None,
gateway_plugin_xml_threat_protection_id: Optional[str] = None,
instance_name: Optional[str] = None,
ordering: Optional[GatewayPluginXmlThreatProtectionOrderingArgs] = None,
protocols: Optional[Sequence[str]] = None,
route: Optional[GatewayPluginXmlThreatProtectionRouteArgs] = None,
service: Optional[GatewayPluginXmlThreatProtectionServiceArgs] = None,
tags: Optional[Sequence[str]] = None)
func NewGatewayPluginXmlThreatProtection(ctx *Context, name string, args GatewayPluginXmlThreatProtectionArgs, opts ...ResourceOption) (*GatewayPluginXmlThreatProtection, error)
public GatewayPluginXmlThreatProtection(string name, GatewayPluginXmlThreatProtectionArgs args, CustomResourceOptions? opts = null)
public GatewayPluginXmlThreatProtection(String name, GatewayPluginXmlThreatProtectionArgs args)
public GatewayPluginXmlThreatProtection(String name, GatewayPluginXmlThreatProtectionArgs args, CustomResourceOptions options)
type: konnect:GatewayPluginXmlThreatProtection
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 GatewayPluginXmlThreatProtectionArgs
- 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 GatewayPluginXmlThreatProtectionArgs
- 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 GatewayPluginXmlThreatProtectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GatewayPluginXmlThreatProtectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GatewayPluginXmlThreatProtectionArgs
- 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 gatewayPluginXmlThreatProtectionResource = new Konnect.GatewayPluginXmlThreatProtection("gatewayPluginXmlThreatProtectionResource", new()
{
Config = new Konnect.Inputs.GatewayPluginXmlThreatProtectionConfigArgs
{
AllowDtd = false,
AllowedContentTypes = new[]
{
"string",
},
Attribute = 0,
BlaMaxAmplification = 0,
BlaThreshold = 0,
Buffer = 0,
CheckedContentTypes = new[]
{
"string",
},
Comment = 0,
Document = 0,
Entity = 0,
Entityname = 0,
Entityproperty = 0,
Localname = 0,
MaxAttributes = 0,
MaxChildren = 0,
MaxDepth = 0,
MaxNamespaces = 0,
NamespaceAware = false,
Namespaceuri = 0,
Pidata = 0,
Pitarget = 0,
Prefix = 0,
Text = 0,
},
ControlPlaneId = "string",
Consumer = new Konnect.Inputs.GatewayPluginXmlThreatProtectionConsumerArgs
{
Id = "string",
},
Enabled = false,
GatewayPluginXmlThreatProtectionId = "string",
InstanceName = "string",
Ordering = new Konnect.Inputs.GatewayPluginXmlThreatProtectionOrderingArgs
{
After = new Konnect.Inputs.GatewayPluginXmlThreatProtectionOrderingAfterArgs
{
Accesses = new[]
{
"string",
},
},
Before = new Konnect.Inputs.GatewayPluginXmlThreatProtectionOrderingBeforeArgs
{
Accesses = new[]
{
"string",
},
},
},
Protocols = new[]
{
"string",
},
Route = new Konnect.Inputs.GatewayPluginXmlThreatProtectionRouteArgs
{
Id = "string",
},
Service = new Konnect.Inputs.GatewayPluginXmlThreatProtectionServiceArgs
{
Id = "string",
},
Tags = new[]
{
"string",
},
});
example, err := konnect.NewGatewayPluginXmlThreatProtection(ctx, "gatewayPluginXmlThreatProtectionResource", &konnect.GatewayPluginXmlThreatProtectionArgs{
Config: &.GatewayPluginXmlThreatProtectionConfigArgs{
AllowDtd: pulumi.Bool(false),
AllowedContentTypes: pulumi.StringArray{
pulumi.String("string"),
},
Attribute: pulumi.Float64(0),
BlaMaxAmplification: pulumi.Float64(0),
BlaThreshold: pulumi.Float64(0),
Buffer: pulumi.Float64(0),
CheckedContentTypes: pulumi.StringArray{
pulumi.String("string"),
},
Comment: pulumi.Float64(0),
Document: pulumi.Float64(0),
Entity: pulumi.Float64(0),
Entityname: pulumi.Float64(0),
Entityproperty: pulumi.Float64(0),
Localname: pulumi.Float64(0),
MaxAttributes: pulumi.Float64(0),
MaxChildren: pulumi.Float64(0),
MaxDepth: pulumi.Float64(0),
MaxNamespaces: pulumi.Float64(0),
NamespaceAware: pulumi.Bool(false),
Namespaceuri: pulumi.Float64(0),
Pidata: pulumi.Float64(0),
Pitarget: pulumi.Float64(0),
Prefix: pulumi.Float64(0),
Text: pulumi.Float64(0),
},
ControlPlaneId: pulumi.String("string"),
Consumer: &.GatewayPluginXmlThreatProtectionConsumerArgs{
Id: pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
GatewayPluginXmlThreatProtectionId: pulumi.String("string"),
InstanceName: pulumi.String("string"),
Ordering: &.GatewayPluginXmlThreatProtectionOrderingArgs{
After: &.GatewayPluginXmlThreatProtectionOrderingAfterArgs{
Accesses: pulumi.StringArray{
pulumi.String("string"),
},
},
Before: &.GatewayPluginXmlThreatProtectionOrderingBeforeArgs{
Accesses: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Protocols: pulumi.StringArray{
pulumi.String("string"),
},
Route: &.GatewayPluginXmlThreatProtectionRouteArgs{
Id: pulumi.String("string"),
},
Service: &.GatewayPluginXmlThreatProtectionServiceArgs{
Id: pulumi.String("string"),
},
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
var gatewayPluginXmlThreatProtectionResource = new GatewayPluginXmlThreatProtection("gatewayPluginXmlThreatProtectionResource", GatewayPluginXmlThreatProtectionArgs.builder()
.config(GatewayPluginXmlThreatProtectionConfigArgs.builder()
.allowDtd(false)
.allowedContentTypes("string")
.attribute(0)
.blaMaxAmplification(0)
.blaThreshold(0)
.buffer(0)
.checkedContentTypes("string")
.comment(0)
.document(0)
.entity(0)
.entityname(0)
.entityproperty(0)
.localname(0)
.maxAttributes(0)
.maxChildren(0)
.maxDepth(0)
.maxNamespaces(0)
.namespaceAware(false)
.namespaceuri(0)
.pidata(0)
.pitarget(0)
.prefix(0)
.text(0)
.build())
.controlPlaneId("string")
.consumer(GatewayPluginXmlThreatProtectionConsumerArgs.builder()
.id("string")
.build())
.enabled(false)
.gatewayPluginXmlThreatProtectionId("string")
.instanceName("string")
.ordering(GatewayPluginXmlThreatProtectionOrderingArgs.builder()
.after(GatewayPluginXmlThreatProtectionOrderingAfterArgs.builder()
.accesses("string")
.build())
.before(GatewayPluginXmlThreatProtectionOrderingBeforeArgs.builder()
.accesses("string")
.build())
.build())
.protocols("string")
.route(GatewayPluginXmlThreatProtectionRouteArgs.builder()
.id("string")
.build())
.service(GatewayPluginXmlThreatProtectionServiceArgs.builder()
.id("string")
.build())
.tags("string")
.build());
gateway_plugin_xml_threat_protection_resource = konnect.GatewayPluginXmlThreatProtection("gatewayPluginXmlThreatProtectionResource",
config={
"allow_dtd": False,
"allowed_content_types": ["string"],
"attribute": 0,
"bla_max_amplification": 0,
"bla_threshold": 0,
"buffer": 0,
"checked_content_types": ["string"],
"comment": 0,
"document": 0,
"entity": 0,
"entityname": 0,
"entityproperty": 0,
"localname": 0,
"max_attributes": 0,
"max_children": 0,
"max_depth": 0,
"max_namespaces": 0,
"namespace_aware": False,
"namespaceuri": 0,
"pidata": 0,
"pitarget": 0,
"prefix": 0,
"text": 0,
},
control_plane_id="string",
consumer={
"id": "string",
},
enabled=False,
gateway_plugin_xml_threat_protection_id="string",
instance_name="string",
ordering={
"after": {
"accesses": ["string"],
},
"before": {
"accesses": ["string"],
},
},
protocols=["string"],
route={
"id": "string",
},
service={
"id": "string",
},
tags=["string"])
const gatewayPluginXmlThreatProtectionResource = new konnect.GatewayPluginXmlThreatProtection("gatewayPluginXmlThreatProtectionResource", {
config: {
allowDtd: false,
allowedContentTypes: ["string"],
attribute: 0,
blaMaxAmplification: 0,
blaThreshold: 0,
buffer: 0,
checkedContentTypes: ["string"],
comment: 0,
document: 0,
entity: 0,
entityname: 0,
entityproperty: 0,
localname: 0,
maxAttributes: 0,
maxChildren: 0,
maxDepth: 0,
maxNamespaces: 0,
namespaceAware: false,
namespaceuri: 0,
pidata: 0,
pitarget: 0,
prefix: 0,
text: 0,
},
controlPlaneId: "string",
consumer: {
id: "string",
},
enabled: false,
gatewayPluginXmlThreatProtectionId: "string",
instanceName: "string",
ordering: {
after: {
accesses: ["string"],
},
before: {
accesses: ["string"],
},
},
protocols: ["string"],
route: {
id: "string",
},
service: {
id: "string",
},
tags: ["string"],
});
type: konnect:GatewayPluginXmlThreatProtection
properties:
config:
allowDtd: false
allowedContentTypes:
- string
attribute: 0
blaMaxAmplification: 0
blaThreshold: 0
buffer: 0
checkedContentTypes:
- string
comment: 0
document: 0
entity: 0
entityname: 0
entityproperty: 0
localname: 0
maxAttributes: 0
maxChildren: 0
maxDepth: 0
maxNamespaces: 0
namespaceAware: false
namespaceuri: 0
pidata: 0
pitarget: 0
prefix: 0
text: 0
consumer:
id: string
controlPlaneId: string
enabled: false
gatewayPluginXmlThreatProtectionId: string
instanceName: string
ordering:
after:
accesses:
- string
before:
accesses:
- string
protocols:
- string
route:
id: string
service:
id: string
tags:
- string
GatewayPluginXmlThreatProtection 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 GatewayPluginXmlThreatProtection resource accepts the following input properties:
- Config
Gateway
Plugin Xml Threat Protection Config - Control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- Consumer
Gateway
Plugin Xml Threat Protection Consumer - If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
- Enabled bool
- Whether the plugin is applied.
- Gateway
Plugin stringXml Threat Protection Id - The ID of this resource.
- Instance
Name string - Ordering
Gateway
Plugin Xml Threat Protection Ordering - Protocols List<string>
- A set of strings representing HTTP protocols.
- Route
Gateway
Plugin Xml Threat Protection Route - If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- Service
Gateway
Plugin Xml Threat Protection Service - If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- List<string>
- An optional set of strings associated with the Plugin for grouping and filtering.
- Config
Gateway
Plugin Xml Threat Protection Config Args - Control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- Consumer
Gateway
Plugin Xml Threat Protection Consumer Args - If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
- Enabled bool
- Whether the plugin is applied.
- Gateway
Plugin stringXml Threat Protection Id - The ID of this resource.
- Instance
Name string - Ordering
Gateway
Plugin Xml Threat Protection Ordering Args - Protocols []string
- A set of strings representing HTTP protocols.
- Route
Gateway
Plugin Xml Threat Protection Route Args - If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- Service
Gateway
Plugin Xml Threat Protection Service Args - If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- []string
- An optional set of strings associated with the Plugin for grouping and filtering.
- config
Gateway
Plugin Xml Threat Protection Config - control
Plane StringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- consumer
Gateway
Plugin Xml Threat Protection Consumer - If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
- enabled Boolean
- Whether the plugin is applied.
- gateway
Plugin StringXml Threat Protection Id - The ID of this resource.
- instance
Name String - ordering
Gateway
Plugin Xml Threat Protection Ordering - protocols List<String>
- A set of strings representing HTTP protocols.
- route
Gateway
Plugin Xml Threat Protection Route - If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- service
Gateway
Plugin Xml Threat Protection Service - If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- List<String>
- An optional set of strings associated with the Plugin for grouping and filtering.
- config
Gateway
Plugin Xml Threat Protection Config - control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- consumer
Gateway
Plugin Xml Threat Protection Consumer - If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
- enabled boolean
- Whether the plugin is applied.
- gateway
Plugin stringXml Threat Protection Id - The ID of this resource.
- instance
Name string - ordering
Gateway
Plugin Xml Threat Protection Ordering - protocols string[]
- A set of strings representing HTTP protocols.
- route
Gateway
Plugin Xml Threat Protection Route - If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- service
Gateway
Plugin Xml Threat Protection Service - If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- string[]
- An optional set of strings associated with the Plugin for grouping and filtering.
- config
Gateway
Plugin Xml Threat Protection Config Args - control_
plane_ strid - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- consumer
Gateway
Plugin Xml Threat Protection Consumer Args - If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
- enabled bool
- Whether the plugin is applied.
- gateway_
plugin_ strxml_ threat_ protection_ id - The ID of this resource.
- instance_
name str - ordering
Gateway
Plugin Xml Threat Protection Ordering Args - protocols Sequence[str]
- A set of strings representing HTTP protocols.
- route
Gateway
Plugin Xml Threat Protection Route Args - If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- service
Gateway
Plugin Xml Threat Protection Service Args - If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- Sequence[str]
- An optional set of strings associated with the Plugin for grouping and filtering.
- config Property Map
- control
Plane StringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- consumer Property Map
- If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
- enabled Boolean
- Whether the plugin is applied.
- gateway
Plugin StringXml Threat Protection Id - The ID of this resource.
- instance
Name String - ordering Property Map
- protocols List<String>
- A set of strings representing HTTP protocols.
- route Property Map
- If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- service Property Map
- If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- List<String>
- An optional set of strings associated with the Plugin for grouping and filtering.
Outputs
All input properties are implicitly available as output properties. Additionally, the GatewayPluginXmlThreatProtection resource produces the following output properties:
- created_
at float - Unix epoch when the resource was created.
- id str
- The provider-assigned unique ID for this managed resource.
- updated_
at float - Unix epoch when the resource was last updated.
Look up Existing GatewayPluginXmlThreatProtection Resource
Get an existing GatewayPluginXmlThreatProtection 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?: GatewayPluginXmlThreatProtectionState, opts?: CustomResourceOptions): GatewayPluginXmlThreatProtection
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
config: Optional[GatewayPluginXmlThreatProtectionConfigArgs] = None,
consumer: Optional[GatewayPluginXmlThreatProtectionConsumerArgs] = None,
control_plane_id: Optional[str] = None,
created_at: Optional[float] = None,
enabled: Optional[bool] = None,
gateway_plugin_xml_threat_protection_id: Optional[str] = None,
instance_name: Optional[str] = None,
ordering: Optional[GatewayPluginXmlThreatProtectionOrderingArgs] = None,
protocols: Optional[Sequence[str]] = None,
route: Optional[GatewayPluginXmlThreatProtectionRouteArgs] = None,
service: Optional[GatewayPluginXmlThreatProtectionServiceArgs] = None,
tags: Optional[Sequence[str]] = None,
updated_at: Optional[float] = None) -> GatewayPluginXmlThreatProtection
func GetGatewayPluginXmlThreatProtection(ctx *Context, name string, id IDInput, state *GatewayPluginXmlThreatProtectionState, opts ...ResourceOption) (*GatewayPluginXmlThreatProtection, error)
public static GatewayPluginXmlThreatProtection Get(string name, Input<string> id, GatewayPluginXmlThreatProtectionState? state, CustomResourceOptions? opts = null)
public static GatewayPluginXmlThreatProtection get(String name, Output<String> id, GatewayPluginXmlThreatProtectionState state, CustomResourceOptions options)
resources: _: type: konnect:GatewayPluginXmlThreatProtection 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.
- Config
Gateway
Plugin Xml Threat Protection Config - Consumer
Gateway
Plugin Xml Threat Protection Consumer - If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
- Control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- Created
At double - Unix epoch when the resource was created.
- Enabled bool
- Whether the plugin is applied.
- Gateway
Plugin stringXml Threat Protection Id - The ID of this resource.
- Instance
Name string - Ordering
Gateway
Plugin Xml Threat Protection Ordering - Protocols List<string>
- A set of strings representing HTTP protocols.
- Route
Gateway
Plugin Xml Threat Protection Route - If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- Service
Gateway
Plugin Xml Threat Protection Service - If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- List<string>
- An optional set of strings associated with the Plugin for grouping and filtering.
- Updated
At double - Unix epoch when the resource was last updated.
- Config
Gateway
Plugin Xml Threat Protection Config Args - Consumer
Gateway
Plugin Xml Threat Protection Consumer Args - If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
- Control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- Created
At float64 - Unix epoch when the resource was created.
- Enabled bool
- Whether the plugin is applied.
- Gateway
Plugin stringXml Threat Protection Id - The ID of this resource.
- Instance
Name string - Ordering
Gateway
Plugin Xml Threat Protection Ordering Args - Protocols []string
- A set of strings representing HTTP protocols.
- Route
Gateway
Plugin Xml Threat Protection Route Args - If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- Service
Gateway
Plugin Xml Threat Protection Service Args - If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- []string
- An optional set of strings associated with the Plugin for grouping and filtering.
- Updated
At float64 - Unix epoch when the resource was last updated.
- config
Gateway
Plugin Xml Threat Protection Config - consumer
Gateway
Plugin Xml Threat Protection Consumer - If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
- control
Plane StringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- created
At Double - Unix epoch when the resource was created.
- enabled Boolean
- Whether the plugin is applied.
- gateway
Plugin StringXml Threat Protection Id - The ID of this resource.
- instance
Name String - ordering
Gateway
Plugin Xml Threat Protection Ordering - protocols List<String>
- A set of strings representing HTTP protocols.
- route
Gateway
Plugin Xml Threat Protection Route - If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- service
Gateway
Plugin Xml Threat Protection Service - If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- List<String>
- An optional set of strings associated with the Plugin for grouping and filtering.
- updated
At Double - Unix epoch when the resource was last updated.
- config
Gateway
Plugin Xml Threat Protection Config - consumer
Gateway
Plugin Xml Threat Protection Consumer - If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
- control
Plane stringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- created
At number - Unix epoch when the resource was created.
- enabled boolean
- Whether the plugin is applied.
- gateway
Plugin stringXml Threat Protection Id - The ID of this resource.
- instance
Name string - ordering
Gateway
Plugin Xml Threat Protection Ordering - protocols string[]
- A set of strings representing HTTP protocols.
- route
Gateway
Plugin Xml Threat Protection Route - If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- service
Gateway
Plugin Xml Threat Protection Service - If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- string[]
- An optional set of strings associated with the Plugin for grouping and filtering.
- updated
At number - Unix epoch when the resource was last updated.
- config
Gateway
Plugin Xml Threat Protection Config Args - consumer
Gateway
Plugin Xml Threat Protection Consumer Args - If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
- control_
plane_ strid - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- created_
at float - Unix epoch when the resource was created.
- enabled bool
- Whether the plugin is applied.
- gateway_
plugin_ strxml_ threat_ protection_ id - The ID of this resource.
- instance_
name str - ordering
Gateway
Plugin Xml Threat Protection Ordering Args - protocols Sequence[str]
- A set of strings representing HTTP protocols.
- route
Gateway
Plugin Xml Threat Protection Route Args - If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- service
Gateway
Plugin Xml Threat Protection Service Args - If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- Sequence[str]
- An optional set of strings associated with the Plugin for grouping and filtering.
- updated_
at float - Unix epoch when the resource was last updated.
- config Property Map
- consumer Property Map
- If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer.
- control
Plane StringId - The UUID of your control plane. This variable is available in the Konnect manager. Requires replacement if changed.
- created
At Number - Unix epoch when the resource was created.
- enabled Boolean
- Whether the plugin is applied.
- gateway
Plugin StringXml Threat Protection Id - The ID of this resource.
- instance
Name String - ordering Property Map
- protocols List<String>
- A set of strings representing HTTP protocols.
- route Property Map
- If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used.
- service Property Map
- If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched.
- List<String>
- An optional set of strings associated with the Plugin for grouping and filtering.
- updated
At Number - Unix epoch when the resource was last updated.
Supporting Types
GatewayPluginXmlThreatProtectionConfig, GatewayPluginXmlThreatProtectionConfigArgs
- Allow
Dtd bool - Indicates whether an XML Document Type Definition (DTD) section is allowed.
- Allowed
Content List<string>Types - A list of Content-Type values with payloads that are allowed, but aren't validated.
- Attribute double
- Maximum size of the attribute value.
- Bla
Max doubleAmplification - Sets the maximum allowed amplification. This protects against the Billion Laughs Attack.
- Bla
Threshold double - Sets the threshold after which the protection starts. This protects against the Billion Laughs Attack.
- Buffer double
- Maximum size of the unparsed buffer (see below).
- Checked
Content List<string>Types - A list of Content-Type values with payloads that must be validated.
- Comment double
- Maximum size of comments.
- Document double
- Maximum size of the entire document.
- Entity double
- Maximum size of entity values in EntityDecl.
- Entityname double
- Maximum size of entity names in EntityDecl.
- Entityproperty double
- Maximum size of systemId, publicId, or notationName in EntityDecl.
- Localname double
- Maximum size of the localname. This applies to tags and attributes.
- Max
Attributes double - Maximum number of attributes allowed on a tag, including default ones. Note: If namespace-aware parsing is disabled, then the namespaces definitions are counted as attributes.
- Max
Children double - Maximum number of children allowed (Element, Text, Comment, ProcessingInstruction, CDATASection). Note: Adjacent text and CDATA sections are counted as one. For example, text-cdata-text-cdata is one child.
- Max
Depth double - Maximum depth of tags. Child elements such as Text or Comments are not counted as another level.
- Max
Namespaces double - Maximum number of namespaces defined on a tag. This value is required if parsing is namespace-aware.
- Namespace
Aware bool - If not parsing namespace aware, all prefixes and namespace attributes will be counted as regular attributes and element names, and validated as such.
- Namespaceuri double
- Maximum size of the namespace URI. This value is required if parsing is namespace-aware.
- Pidata double
- Maximum size of processing instruction data.
- Pitarget double
- Maximum size of processing instruction targets.
- Prefix double
- Maximum size of the prefix. This applies to tags and attributes. This value is required if parsing is namespace-aware.
- Text double
- Maximum text inside tags (counted over all adjacent text/CDATA elements combined).
- Allow
Dtd bool - Indicates whether an XML Document Type Definition (DTD) section is allowed.
- Allowed
Content []stringTypes - A list of Content-Type values with payloads that are allowed, but aren't validated.
- Attribute float64
- Maximum size of the attribute value.
- Bla
Max float64Amplification - Sets the maximum allowed amplification. This protects against the Billion Laughs Attack.
- Bla
Threshold float64 - Sets the threshold after which the protection starts. This protects against the Billion Laughs Attack.
- Buffer float64
- Maximum size of the unparsed buffer (see below).
- Checked
Content []stringTypes - A list of Content-Type values with payloads that must be validated.
- Comment float64
- Maximum size of comments.
- Document float64
- Maximum size of the entire document.
- Entity float64
- Maximum size of entity values in EntityDecl.
- Entityname float64
- Maximum size of entity names in EntityDecl.
- Entityproperty float64
- Maximum size of systemId, publicId, or notationName in EntityDecl.
- Localname float64
- Maximum size of the localname. This applies to tags and attributes.
- Max
Attributes float64 - Maximum number of attributes allowed on a tag, including default ones. Note: If namespace-aware parsing is disabled, then the namespaces definitions are counted as attributes.
- Max
Children float64 - Maximum number of children allowed (Element, Text, Comment, ProcessingInstruction, CDATASection). Note: Adjacent text and CDATA sections are counted as one. For example, text-cdata-text-cdata is one child.
- Max
Depth float64 - Maximum depth of tags. Child elements such as Text or Comments are not counted as another level.
- Max
Namespaces float64 - Maximum number of namespaces defined on a tag. This value is required if parsing is namespace-aware.
- Namespace
Aware bool - If not parsing namespace aware, all prefixes and namespace attributes will be counted as regular attributes and element names, and validated as such.
- Namespaceuri float64
- Maximum size of the namespace URI. This value is required if parsing is namespace-aware.
- Pidata float64
- Maximum size of processing instruction data.
- Pitarget float64
- Maximum size of processing instruction targets.
- Prefix float64
- Maximum size of the prefix. This applies to tags and attributes. This value is required if parsing is namespace-aware.
- Text float64
- Maximum text inside tags (counted over all adjacent text/CDATA elements combined).
- allow
Dtd Boolean - Indicates whether an XML Document Type Definition (DTD) section is allowed.
- allowed
Content List<String>Types - A list of Content-Type values with payloads that are allowed, but aren't validated.
- attribute Double
- Maximum size of the attribute value.
- bla
Max DoubleAmplification - Sets the maximum allowed amplification. This protects against the Billion Laughs Attack.
- bla
Threshold Double - Sets the threshold after which the protection starts. This protects against the Billion Laughs Attack.
- buffer Double
- Maximum size of the unparsed buffer (see below).
- checked
Content List<String>Types - A list of Content-Type values with payloads that must be validated.
- comment Double
- Maximum size of comments.
- document Double
- Maximum size of the entire document.
- entity Double
- Maximum size of entity values in EntityDecl.
- entityname Double
- Maximum size of entity names in EntityDecl.
- entityproperty Double
- Maximum size of systemId, publicId, or notationName in EntityDecl.
- localname Double
- Maximum size of the localname. This applies to tags and attributes.
- max
Attributes Double - Maximum number of attributes allowed on a tag, including default ones. Note: If namespace-aware parsing is disabled, then the namespaces definitions are counted as attributes.
- max
Children Double - Maximum number of children allowed (Element, Text, Comment, ProcessingInstruction, CDATASection). Note: Adjacent text and CDATA sections are counted as one. For example, text-cdata-text-cdata is one child.
- max
Depth Double - Maximum depth of tags. Child elements such as Text or Comments are not counted as another level.
- max
Namespaces Double - Maximum number of namespaces defined on a tag. This value is required if parsing is namespace-aware.
- namespace
Aware Boolean - If not parsing namespace aware, all prefixes and namespace attributes will be counted as regular attributes and element names, and validated as such.
- namespaceuri Double
- Maximum size of the namespace URI. This value is required if parsing is namespace-aware.
- pidata Double
- Maximum size of processing instruction data.
- pitarget Double
- Maximum size of processing instruction targets.
- prefix Double
- Maximum size of the prefix. This applies to tags and attributes. This value is required if parsing is namespace-aware.
- text Double
- Maximum text inside tags (counted over all adjacent text/CDATA elements combined).
- allow
Dtd boolean - Indicates whether an XML Document Type Definition (DTD) section is allowed.
- allowed
Content string[]Types - A list of Content-Type values with payloads that are allowed, but aren't validated.
- attribute number
- Maximum size of the attribute value.
- bla
Max numberAmplification - Sets the maximum allowed amplification. This protects against the Billion Laughs Attack.
- bla
Threshold number - Sets the threshold after which the protection starts. This protects against the Billion Laughs Attack.
- buffer number
- Maximum size of the unparsed buffer (see below).
- checked
Content string[]Types - A list of Content-Type values with payloads that must be validated.
- comment number
- Maximum size of comments.
- document number
- Maximum size of the entire document.
- entity number
- Maximum size of entity values in EntityDecl.
- entityname number
- Maximum size of entity names in EntityDecl.
- entityproperty number
- Maximum size of systemId, publicId, or notationName in EntityDecl.
- localname number
- Maximum size of the localname. This applies to tags and attributes.
- max
Attributes number - Maximum number of attributes allowed on a tag, including default ones. Note: If namespace-aware parsing is disabled, then the namespaces definitions are counted as attributes.
- max
Children number - Maximum number of children allowed (Element, Text, Comment, ProcessingInstruction, CDATASection). Note: Adjacent text and CDATA sections are counted as one. For example, text-cdata-text-cdata is one child.
- max
Depth number - Maximum depth of tags. Child elements such as Text or Comments are not counted as another level.
- max
Namespaces number - Maximum number of namespaces defined on a tag. This value is required if parsing is namespace-aware.
- namespace
Aware boolean - If not parsing namespace aware, all prefixes and namespace attributes will be counted as regular attributes and element names, and validated as such.
- namespaceuri number
- Maximum size of the namespace URI. This value is required if parsing is namespace-aware.
- pidata number
- Maximum size of processing instruction data.
- pitarget number
- Maximum size of processing instruction targets.
- prefix number
- Maximum size of the prefix. This applies to tags and attributes. This value is required if parsing is namespace-aware.
- text number
- Maximum text inside tags (counted over all adjacent text/CDATA elements combined).
- allow_
dtd bool - Indicates whether an XML Document Type Definition (DTD) section is allowed.
- allowed_
content_ Sequence[str]types - A list of Content-Type values with payloads that are allowed, but aren't validated.
- attribute float
- Maximum size of the attribute value.
- bla_
max_ floatamplification - Sets the maximum allowed amplification. This protects against the Billion Laughs Attack.
- bla_
threshold float - Sets the threshold after which the protection starts. This protects against the Billion Laughs Attack.
- buffer float
- Maximum size of the unparsed buffer (see below).
- checked_
content_ Sequence[str]types - A list of Content-Type values with payloads that must be validated.
- comment float
- Maximum size of comments.
- document float
- Maximum size of the entire document.
- entity float
- Maximum size of entity values in EntityDecl.
- entityname float
- Maximum size of entity names in EntityDecl.
- entityproperty float
- Maximum size of systemId, publicId, or notationName in EntityDecl.
- localname float
- Maximum size of the localname. This applies to tags and attributes.
- max_
attributes float - Maximum number of attributes allowed on a tag, including default ones. Note: If namespace-aware parsing is disabled, then the namespaces definitions are counted as attributes.
- max_
children float - Maximum number of children allowed (Element, Text, Comment, ProcessingInstruction, CDATASection). Note: Adjacent text and CDATA sections are counted as one. For example, text-cdata-text-cdata is one child.
- max_
depth float - Maximum depth of tags. Child elements such as Text or Comments are not counted as another level.
- max_
namespaces float - Maximum number of namespaces defined on a tag. This value is required if parsing is namespace-aware.
- namespace_
aware bool - If not parsing namespace aware, all prefixes and namespace attributes will be counted as regular attributes and element names, and validated as such.
- namespaceuri float
- Maximum size of the namespace URI. This value is required if parsing is namespace-aware.
- pidata float
- Maximum size of processing instruction data.
- pitarget float
- Maximum size of processing instruction targets.
- prefix float
- Maximum size of the prefix. This applies to tags and attributes. This value is required if parsing is namespace-aware.
- text float
- Maximum text inside tags (counted over all adjacent text/CDATA elements combined).
- allow
Dtd Boolean - Indicates whether an XML Document Type Definition (DTD) section is allowed.
- allowed
Content List<String>Types - A list of Content-Type values with payloads that are allowed, but aren't validated.
- attribute Number
- Maximum size of the attribute value.
- bla
Max NumberAmplification - Sets the maximum allowed amplification. This protects against the Billion Laughs Attack.
- bla
Threshold Number - Sets the threshold after which the protection starts. This protects against the Billion Laughs Attack.
- buffer Number
- Maximum size of the unparsed buffer (see below).
- checked
Content List<String>Types - A list of Content-Type values with payloads that must be validated.
- comment Number
- Maximum size of comments.
- document Number
- Maximum size of the entire document.
- entity Number
- Maximum size of entity values in EntityDecl.
- entityname Number
- Maximum size of entity names in EntityDecl.
- entityproperty Number
- Maximum size of systemId, publicId, or notationName in EntityDecl.
- localname Number
- Maximum size of the localname. This applies to tags and attributes.
- max
Attributes Number - Maximum number of attributes allowed on a tag, including default ones. Note: If namespace-aware parsing is disabled, then the namespaces definitions are counted as attributes.
- max
Children Number - Maximum number of children allowed (Element, Text, Comment, ProcessingInstruction, CDATASection). Note: Adjacent text and CDATA sections are counted as one. For example, text-cdata-text-cdata is one child.
- max
Depth Number - Maximum depth of tags. Child elements such as Text or Comments are not counted as another level.
- max
Namespaces Number - Maximum number of namespaces defined on a tag. This value is required if parsing is namespace-aware.
- namespace
Aware Boolean - If not parsing namespace aware, all prefixes and namespace attributes will be counted as regular attributes and element names, and validated as such.
- namespaceuri Number
- Maximum size of the namespace URI. This value is required if parsing is namespace-aware.
- pidata Number
- Maximum size of processing instruction data.
- pitarget Number
- Maximum size of processing instruction targets.
- prefix Number
- Maximum size of the prefix. This applies to tags and attributes. This value is required if parsing is namespace-aware.
- text Number
- Maximum text inside tags (counted over all adjacent text/CDATA elements combined).
GatewayPluginXmlThreatProtectionConsumer, GatewayPluginXmlThreatProtectionConsumerArgs
- Id string
- Id string
- id String
- id string
- id str
- id String
GatewayPluginXmlThreatProtectionOrdering, GatewayPluginXmlThreatProtectionOrderingArgs
GatewayPluginXmlThreatProtectionOrderingAfter, GatewayPluginXmlThreatProtectionOrderingAfterArgs
- Accesses List<string>
- Accesses []string
- accesses List<String>
- accesses string[]
- accesses Sequence[str]
- accesses List<String>
GatewayPluginXmlThreatProtectionOrderingBefore, GatewayPluginXmlThreatProtectionOrderingBeforeArgs
- Accesses List<string>
- Accesses []string
- accesses List<String>
- accesses string[]
- accesses Sequence[str]
- accesses List<String>
GatewayPluginXmlThreatProtectionRoute, GatewayPluginXmlThreatProtectionRouteArgs
- Id string
- Id string
- id String
- id string
- id str
- id String
GatewayPluginXmlThreatProtectionService, GatewayPluginXmlThreatProtectionServiceArgs
- Id string
- Id string
- id String
- id string
- id str
- id String
Import
$ pulumi import konnect:index/gatewayPluginXmlThreatProtection:GatewayPluginXmlThreatProtection my_konnect_gateway_plugin_xml_threat_protection "{ \"control_plane_id\": \"9524ec7d-36d9-465d-a8c5-83a3c9390458\", \"plugin_id\": \"3473c251-5b6c-4f45-b1ff-7ede735a366d\"}"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- konnect kong/terraform-provider-konnect
- License
- Notes
- This Pulumi package is based on the
konnect
Terraform Provider.