equinix.networkedge.AclTemplate
Explore with Pulumi AI
Resource equinix.networkedge.AclTemplate
allows creation and management of Equinix Network Edge device Access Control List templates.
Device ACL templates give possibility to define set of rules will allowed inbound traffic. Templates can be assigned to the network devices.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Equinix = Pulumi.Equinix;
return await Deployment.RunAsync(() =>
{
var myacl = new Equinix.NetworkEdge.AclTemplate("myacl", new()
{
Name = "test",
Description = "Test ACL template",
ProjectId = "a86d7112-d740-4758-9c9c-31e66373746b",
InboundRules = new[]
{
new Equinix.NetworkEdge.Inputs.AclTemplateInboundRuleArgs
{
Subnet = "1.1.1.1/32",
Protocol = Equinix.NetworkEdge.AclRuleProtocolType.IP,
SrcPort = "any",
DstPort = "any",
Description = "inbound rule description",
},
new Equinix.NetworkEdge.Inputs.AclTemplateInboundRuleArgs
{
Subnet = "172.16.25.0/24",
Protocol = Equinix.NetworkEdge.AclRuleProtocolType.UDP,
SrcPort = "any",
DstPort = "53,1045,2041",
},
},
});
});
package main
import (
"github.com/equinix/pulumi-equinix/sdk/go/equinix/networkedge"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := networkedge.NewAclTemplate(ctx, "myacl", &networkedge.AclTemplateArgs{
Name: pulumi.String("test"),
Description: pulumi.String("Test ACL template"),
ProjectId: pulumi.String("a86d7112-d740-4758-9c9c-31e66373746b"),
InboundRules: networkedge.AclTemplateInboundRuleArray{
&networkedge.AclTemplateInboundRuleArgs{
Subnet: pulumi.String("1.1.1.1/32"),
Protocol: pulumi.String(networkedge.AclRuleProtocolTypeIP),
SrcPort: pulumi.String("any"),
DstPort: pulumi.String("any"),
Description: pulumi.String("inbound rule description"),
},
&networkedge.AclTemplateInboundRuleArgs{
Subnet: pulumi.String("172.16.25.0/24"),
Protocol: pulumi.String(networkedge.AclRuleProtocolTypeUDP),
SrcPort: pulumi.String("any"),
DstPort: pulumi.String("53,1045,2041"),
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.equinix.networkedge.AclTemplate;
import com.pulumi.equinix.networkedge.AclTemplateArgs;
import com.pulumi.equinix.networkedge.inputs.AclTemplateInboundRuleArgs;
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 myacl = new AclTemplate("myacl", AclTemplateArgs.builder()
.name("test")
.description("Test ACL template")
.projectId("a86d7112-d740-4758-9c9c-31e66373746b")
.inboundRules(
AclTemplateInboundRuleArgs.builder()
.subnet("1.1.1.1/32")
.protocol("IP")
.srcPort("any")
.dstPort("any")
.description("inbound rule description")
.build(),
AclTemplateInboundRuleArgs.builder()
.subnet("172.16.25.0/24")
.protocol("UDP")
.srcPort("any")
.dstPort("53,1045,2041")
.build())
.build());
}
}
import pulumi
import pulumi_equinix as equinix
myacl = equinix.networkedge.AclTemplate("myacl",
name="test",
description="Test ACL template",
project_id="a86d7112-d740-4758-9c9c-31e66373746b",
inbound_rules=[
{
"subnet": "1.1.1.1/32",
"protocol": equinix.networkedge.AclRuleProtocolType.IP,
"src_port": "any",
"dst_port": "any",
"description": "inbound rule description",
},
{
"subnet": "172.16.25.0/24",
"protocol": equinix.networkedge.AclRuleProtocolType.UDP,
"src_port": "any",
"dst_port": "53,1045,2041",
},
])
import * as pulumi from "@pulumi/pulumi";
import * as equinix from "@equinix-labs/pulumi-equinix";
const myacl = new equinix.networkedge.AclTemplate("myacl", {
name: "test",
description: "Test ACL template",
projectId: "a86d7112-d740-4758-9c9c-31e66373746b",
inboundRules: [
{
subnet: "1.1.1.1/32",
protocol: equinix.networkedge.AclRuleProtocolType.IP,
srcPort: "any",
dstPort: "any",
description: "inbound rule description",
},
{
subnet: "172.16.25.0/24",
protocol: equinix.networkedge.AclRuleProtocolType.UDP,
srcPort: "any",
dstPort: "53,1045,2041",
},
],
});
resources:
# Creates ACL template and assigns it to the network device
myacl:
type: equinix:networkedge:AclTemplate
properties:
name: test
description: Test ACL template
projectId: a86d7112-d740-4758-9c9c-31e66373746b
inboundRules:
- subnet: 1.1.1.1/32
protocol: IP
srcPort: any
dstPort: any
description: inbound rule description
- subnet: 172.16.25.0/24
protocol: UDP
srcPort: any
dstPort: 53,1045,2041
Create AclTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AclTemplate(name: string, args: AclTemplateArgs, opts?: CustomResourceOptions);
@overload
def AclTemplate(resource_name: str,
args: AclTemplateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AclTemplate(resource_name: str,
opts: Optional[ResourceOptions] = None,
inbound_rules: Optional[Sequence[AclTemplateInboundRuleArgs]] = None,
description: Optional[str] = None,
metro_code: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[str] = None)
func NewAclTemplate(ctx *Context, name string, args AclTemplateArgs, opts ...ResourceOption) (*AclTemplate, error)
public AclTemplate(string name, AclTemplateArgs args, CustomResourceOptions? opts = null)
public AclTemplate(String name, AclTemplateArgs args)
public AclTemplate(String name, AclTemplateArgs args, CustomResourceOptions options)
type: equinix:networkedge:AclTemplate
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 AclTemplateArgs
- 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 AclTemplateArgs
- 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 AclTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AclTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AclTemplateArgs
- 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 aclTemplateResource = new Equinix.NetworkEdge.AclTemplate("aclTemplateResource", new()
{
InboundRules = new[]
{
new Equinix.NetworkEdge.Inputs.AclTemplateInboundRuleArgs
{
DstPort = "string",
Protocol = "string",
SrcPort = "string",
Description = "string",
SequenceNumber = 0,
Subnet = "string",
},
},
Description = "string",
Name = "string",
ProjectId = "string",
});
example, err := networkedge.NewAclTemplate(ctx, "aclTemplateResource", &networkedge.AclTemplateArgs{
InboundRules: networkedge.AclTemplateInboundRuleArray{
&networkedge.AclTemplateInboundRuleArgs{
DstPort: pulumi.String("string"),
Protocol: pulumi.String("string"),
SrcPort: pulumi.String("string"),
Description: pulumi.String("string"),
SequenceNumber: pulumi.Int(0),
Subnet: pulumi.String("string"),
},
},
Description: pulumi.String("string"),
Name: pulumi.String("string"),
ProjectId: pulumi.String("string"),
})
var aclTemplateResource = new AclTemplate("aclTemplateResource", AclTemplateArgs.builder()
.inboundRules(AclTemplateInboundRuleArgs.builder()
.dstPort("string")
.protocol("string")
.srcPort("string")
.description("string")
.sequenceNumber(0)
.subnet("string")
.build())
.description("string")
.name("string")
.projectId("string")
.build());
acl_template_resource = equinix.networkedge.AclTemplate("aclTemplateResource",
inbound_rules=[equinix.networkedge.AclTemplateInboundRuleArgs(
dst_port="string",
protocol="string",
src_port="string",
description="string",
sequence_number=0,
subnet="string",
)],
description="string",
name="string",
project_id="string")
const aclTemplateResource = new equinix.networkedge.AclTemplate("aclTemplateResource", {
inboundRules: [{
dstPort: "string",
protocol: "string",
srcPort: "string",
description: "string",
sequenceNumber: 0,
subnet: "string",
}],
description: "string",
name: "string",
projectId: "string",
});
type: equinix:networkedge:AclTemplate
properties:
description: string
inboundRules:
- description: string
dstPort: string
protocol: string
sequenceNumber: 0
srcPort: string
subnet: string
name: string
projectId: string
AclTemplate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The AclTemplate resource accepts the following input properties:
- Inbound
Rules List<AclTemplate Inbound Rule> One or more rules to specify allowed inbound traffic. Rules are ordered, matching traffic rule stops processing subsequent ones.
The
inbound_rule
block has below fields:- Description string
- Inbound rule description, up to 200 characters.
- Metro
Code string - ACL template location metro code.
- Name string
- ACL template name.
- Project
Id string - Unique Identifier for the project resource where the acl template is scoped to.If you leave it out, the ACL template will be created under the default project id of your organization.
- Inbound
Rules []AclTemplate Inbound Rule Args One or more rules to specify allowed inbound traffic. Rules are ordered, matching traffic rule stops processing subsequent ones.
The
inbound_rule
block has below fields:- Description string
- Inbound rule description, up to 200 characters.
- Metro
Code string - ACL template location metro code.
- Name string
- ACL template name.
- Project
Id string - Unique Identifier for the project resource where the acl template is scoped to.If you leave it out, the ACL template will be created under the default project id of your organization.
- inbound
Rules List<AclTemplate Inbound Rule> One or more rules to specify allowed inbound traffic. Rules are ordered, matching traffic rule stops processing subsequent ones.
The
inbound_rule
block has below fields:- description String
- Inbound rule description, up to 200 characters.
- metro
Code String - ACL template location metro code.
- name String
- ACL template name.
- project
Id String - Unique Identifier for the project resource where the acl template is scoped to.If you leave it out, the ACL template will be created under the default project id of your organization.
- inbound
Rules AclTemplate Inbound Rule[] One or more rules to specify allowed inbound traffic. Rules are ordered, matching traffic rule stops processing subsequent ones.
The
inbound_rule
block has below fields:- description string
- Inbound rule description, up to 200 characters.
- metro
Code string - ACL template location metro code.
- name string
- ACL template name.
- project
Id string - Unique Identifier for the project resource where the acl template is scoped to.If you leave it out, the ACL template will be created under the default project id of your organization.
- inbound_
rules Sequence[AclTemplate Inbound Rule Args] One or more rules to specify allowed inbound traffic. Rules are ordered, matching traffic rule stops processing subsequent ones.
The
inbound_rule
block has below fields:- description str
- Inbound rule description, up to 200 characters.
- metro_
code str - ACL template location metro code.
- name str
- ACL template name.
- project_
id str - Unique Identifier for the project resource where the acl template is scoped to.If you leave it out, the ACL template will be created under the default project id of your organization.
- inbound
Rules List<Property Map> One or more rules to specify allowed inbound traffic. Rules are ordered, matching traffic rule stops processing subsequent ones.
The
inbound_rule
block has below fields:- description String
- Inbound rule description, up to 200 characters.
- metro
Code String - ACL template location metro code.
- name String
- ACL template name.
- project
Id String - Unique Identifier for the project resource where the acl template is scoped to.If you leave it out, the ACL template will be created under the default project id of your organization.
Outputs
All input properties are implicitly available as output properties. Additionally, the AclTemplate resource produces the following output properties:
- Device
Acl stringStatus - Status of ACL template provisioning process, where template was applied. One of
PROVISIONING
,PROVISIONED
. - Device
Details List<AclTemplate Device Detail> - List of the devices where the ACL template is applied.
- Device
Id string - (Deprecated) Identifier of a network device where template was applied.
- Id string
- The provider-assigned unique ID for this managed resource.
- Uuid string
- Device uuid.
- Device
Acl stringStatus - Status of ACL template provisioning process, where template was applied. One of
PROVISIONING
,PROVISIONED
. - Device
Details []AclTemplate Device Detail - List of the devices where the ACL template is applied.
- Device
Id string - (Deprecated) Identifier of a network device where template was applied.
- Id string
- The provider-assigned unique ID for this managed resource.
- Uuid string
- Device uuid.
- device
Acl StringStatus - Status of ACL template provisioning process, where template was applied. One of
PROVISIONING
,PROVISIONED
. - device
Details List<AclTemplate Device Detail> - List of the devices where the ACL template is applied.
- device
Id String - (Deprecated) Identifier of a network device where template was applied.
- id String
- The provider-assigned unique ID for this managed resource.
- uuid String
- Device uuid.
- device
Acl stringStatus - Status of ACL template provisioning process, where template was applied. One of
PROVISIONING
,PROVISIONED
. - device
Details AclTemplate Device Detail[] - List of the devices where the ACL template is applied.
- device
Id string - (Deprecated) Identifier of a network device where template was applied.
- id string
- The provider-assigned unique ID for this managed resource.
- uuid string
- Device uuid.
- device_
acl_ strstatus - Status of ACL template provisioning process, where template was applied. One of
PROVISIONING
,PROVISIONED
. - device_
details Sequence[AclTemplate Device Detail] - List of the devices where the ACL template is applied.
- device_
id str - (Deprecated) Identifier of a network device where template was applied.
- id str
- The provider-assigned unique ID for this managed resource.
- uuid str
- Device uuid.
- device
Acl StringStatus - Status of ACL template provisioning process, where template was applied. One of
PROVISIONING
,PROVISIONED
. - device
Details List<Property Map> - List of the devices where the ACL template is applied.
- device
Id String - (Deprecated) Identifier of a network device where template was applied.
- id String
- The provider-assigned unique ID for this managed resource.
- uuid String
- Device uuid.
Look up Existing AclTemplate Resource
Get an existing AclTemplate 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?: AclTemplateState, opts?: CustomResourceOptions): AclTemplate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
device_acl_status: Optional[str] = None,
device_details: Optional[Sequence[AclTemplateDeviceDetailArgs]] = None,
device_id: Optional[str] = None,
inbound_rules: Optional[Sequence[AclTemplateInboundRuleArgs]] = None,
metro_code: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[str] = None,
uuid: Optional[str] = None) -> AclTemplate
func GetAclTemplate(ctx *Context, name string, id IDInput, state *AclTemplateState, opts ...ResourceOption) (*AclTemplate, error)
public static AclTemplate Get(string name, Input<string> id, AclTemplateState? state, CustomResourceOptions? opts = null)
public static AclTemplate get(String name, Output<String> id, AclTemplateState 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.
- Description string
- Inbound rule description, up to 200 characters.
- Device
Acl stringStatus - Status of ACL template provisioning process, where template was applied. One of
PROVISIONING
,PROVISIONED
. - Device
Details List<AclTemplate Device Detail> - List of the devices where the ACL template is applied.
- Device
Id string - (Deprecated) Identifier of a network device where template was applied.
- Inbound
Rules List<AclTemplate Inbound Rule> One or more rules to specify allowed inbound traffic. Rules are ordered, matching traffic rule stops processing subsequent ones.
The
inbound_rule
block has below fields:- Metro
Code string - ACL template location metro code.
- Name string
- ACL template name.
- Project
Id string - Unique Identifier for the project resource where the acl template is scoped to.If you leave it out, the ACL template will be created under the default project id of your organization.
- Uuid string
- Device uuid.
- Description string
- Inbound rule description, up to 200 characters.
- Device
Acl stringStatus - Status of ACL template provisioning process, where template was applied. One of
PROVISIONING
,PROVISIONED
. - Device
Details []AclTemplate Device Detail Args - List of the devices where the ACL template is applied.
- Device
Id string - (Deprecated) Identifier of a network device where template was applied.
- Inbound
Rules []AclTemplate Inbound Rule Args One or more rules to specify allowed inbound traffic. Rules are ordered, matching traffic rule stops processing subsequent ones.
The
inbound_rule
block has below fields:- Metro
Code string - ACL template location metro code.
- Name string
- ACL template name.
- Project
Id string - Unique Identifier for the project resource where the acl template is scoped to.If you leave it out, the ACL template will be created under the default project id of your organization.
- Uuid string
- Device uuid.
- description String
- Inbound rule description, up to 200 characters.
- device
Acl StringStatus - Status of ACL template provisioning process, where template was applied. One of
PROVISIONING
,PROVISIONED
. - device
Details List<AclTemplate Device Detail> - List of the devices where the ACL template is applied.
- device
Id String - (Deprecated) Identifier of a network device where template was applied.
- inbound
Rules List<AclTemplate Inbound Rule> One or more rules to specify allowed inbound traffic. Rules are ordered, matching traffic rule stops processing subsequent ones.
The
inbound_rule
block has below fields:- metro
Code String - ACL template location metro code.
- name String
- ACL template name.
- project
Id String - Unique Identifier for the project resource where the acl template is scoped to.If you leave it out, the ACL template will be created under the default project id of your organization.
- uuid String
- Device uuid.
- description string
- Inbound rule description, up to 200 characters.
- device
Acl stringStatus - Status of ACL template provisioning process, where template was applied. One of
PROVISIONING
,PROVISIONED
. - device
Details AclTemplate Device Detail[] - List of the devices where the ACL template is applied.
- device
Id string - (Deprecated) Identifier of a network device where template was applied.
- inbound
Rules AclTemplate Inbound Rule[] One or more rules to specify allowed inbound traffic. Rules are ordered, matching traffic rule stops processing subsequent ones.
The
inbound_rule
block has below fields:- metro
Code string - ACL template location metro code.
- name string
- ACL template name.
- project
Id string - Unique Identifier for the project resource where the acl template is scoped to.If you leave it out, the ACL template will be created under the default project id of your organization.
- uuid string
- Device uuid.
- description str
- Inbound rule description, up to 200 characters.
- device_
acl_ strstatus - Status of ACL template provisioning process, where template was applied. One of
PROVISIONING
,PROVISIONED
. - device_
details Sequence[AclTemplate Device Detail Args] - List of the devices where the ACL template is applied.
- device_
id str - (Deprecated) Identifier of a network device where template was applied.
- inbound_
rules Sequence[AclTemplate Inbound Rule Args] One or more rules to specify allowed inbound traffic. Rules are ordered, matching traffic rule stops processing subsequent ones.
The
inbound_rule
block has below fields:- metro_
code str - ACL template location metro code.
- name str
- ACL template name.
- project_
id str - Unique Identifier for the project resource where the acl template is scoped to.If you leave it out, the ACL template will be created under the default project id of your organization.
- uuid str
- Device uuid.
- description String
- Inbound rule description, up to 200 characters.
- device
Acl StringStatus - Status of ACL template provisioning process, where template was applied. One of
PROVISIONING
,PROVISIONED
. - device
Details List<Property Map> - List of the devices where the ACL template is applied.
- device
Id String - (Deprecated) Identifier of a network device where template was applied.
- inbound
Rules List<Property Map> One or more rules to specify allowed inbound traffic. Rules are ordered, matching traffic rule stops processing subsequent ones.
The
inbound_rule
block has below fields:- metro
Code String - ACL template location metro code.
- name String
- ACL template name.
- project
Id String - Unique Identifier for the project resource where the acl template is scoped to.If you leave it out, the ACL template will be created under the default project id of your organization.
- uuid String
- Device uuid.
Supporting Types
AclRuleProtocolType, AclRuleProtocolTypeArgs
- IP
- IP
- TCP
- TCP
- UDP
- UDP
- Acl
Rule Protocol Type IP - IP
- Acl
Rule Protocol Type TCP - TCP
- Acl
Rule Protocol Type UDP - UDP
- IP
- IP
- TCP
- TCP
- UDP
- UDP
- IP
- IP
- TCP
- TCP
- UDP
- UDP
- IP
- IP
- TCP
- TCP
- UDP
- UDP
- "IP"
- IP
- "TCP"
- TCP
- "UDP"
- UDP
AclTemplateDeviceDetail, AclTemplateDeviceDetailArgs
- acl_
status str - Device ACL provisioning status where template was applied. One of
PROVISIONING
,PROVISIONED
. - name str
- ACL template name.
- uuid str
- Device uuid.
AclTemplateInboundRule, AclTemplateInboundRuleArgs
- Dst
Port string - Inbound traffic destination ports. Allowed values are a comma separated list of ports, e.g.,
20,22,23
, port range, e.g.,1023-1040
or wordany
. - Protocol
string | Pulumi.
Equinix. Network Edge. Acl Rule Protocol Type - Inbound traffic protocol. One of
IP
,TCP
,UDP
. - Src
Port string - Inbound traffic source ports. Allowed values are a comma separated list of ports, e.g.,
20,22,23
, port range, e.g.,1023-1040
or wordany
. - Description string
- Inbound rule description, up to 200 characters.
- Sequence
Number int - Inbound rule sequence number
- Source
Type string - Type of traffic source used in a given inbound rule
- Subnet string
- Inbound traffic source IP subnet in CIDR format.
- Subnets List<string>
- Inbound traffic source IP subnets in CIDR format.
- Dst
Port string - Inbound traffic destination ports. Allowed values are a comma separated list of ports, e.g.,
20,22,23
, port range, e.g.,1023-1040
or wordany
. - Protocol
string | Acl
Rule Protocol Type - Inbound traffic protocol. One of
IP
,TCP
,UDP
. - Src
Port string - Inbound traffic source ports. Allowed values are a comma separated list of ports, e.g.,
20,22,23
, port range, e.g.,1023-1040
or wordany
. - Description string
- Inbound rule description, up to 200 characters.
- Sequence
Number int - Inbound rule sequence number
- Source
Type string - Type of traffic source used in a given inbound rule
- Subnet string
- Inbound traffic source IP subnet in CIDR format.
- Subnets []string
- Inbound traffic source IP subnets in CIDR format.
- dst
Port String - Inbound traffic destination ports. Allowed values are a comma separated list of ports, e.g.,
20,22,23
, port range, e.g.,1023-1040
or wordany
. - protocol
String | Acl
Rule Protocol Type - Inbound traffic protocol. One of
IP
,TCP
,UDP
. - src
Port String - Inbound traffic source ports. Allowed values are a comma separated list of ports, e.g.,
20,22,23
, port range, e.g.,1023-1040
or wordany
. - description String
- Inbound rule description, up to 200 characters.
- sequence
Number Integer - Inbound rule sequence number
- source
Type String - Type of traffic source used in a given inbound rule
- subnet String
- Inbound traffic source IP subnet in CIDR format.
- subnets List<String>
- Inbound traffic source IP subnets in CIDR format.
- dst
Port string - Inbound traffic destination ports. Allowed values are a comma separated list of ports, e.g.,
20,22,23
, port range, e.g.,1023-1040
or wordany
. - protocol
string | Acl
Rule Protocol Type - Inbound traffic protocol. One of
IP
,TCP
,UDP
. - src
Port string - Inbound traffic source ports. Allowed values are a comma separated list of ports, e.g.,
20,22,23
, port range, e.g.,1023-1040
or wordany
. - description string
- Inbound rule description, up to 200 characters.
- sequence
Number number - Inbound rule sequence number
- source
Type string - Type of traffic source used in a given inbound rule
- subnet string
- Inbound traffic source IP subnet in CIDR format.
- subnets string[]
- Inbound traffic source IP subnets in CIDR format.
- dst_
port str - Inbound traffic destination ports. Allowed values are a comma separated list of ports, e.g.,
20,22,23
, port range, e.g.,1023-1040
or wordany
. - protocol
str | Acl
Rule Protocol Type - Inbound traffic protocol. One of
IP
,TCP
,UDP
. - src_
port str - Inbound traffic source ports. Allowed values are a comma separated list of ports, e.g.,
20,22,23
, port range, e.g.,1023-1040
or wordany
. - description str
- Inbound rule description, up to 200 characters.
- sequence_
number int - Inbound rule sequence number
- source_
type str - Type of traffic source used in a given inbound rule
- subnet str
- Inbound traffic source IP subnet in CIDR format.
- subnets Sequence[str]
- Inbound traffic source IP subnets in CIDR format.
- dst
Port String - Inbound traffic destination ports. Allowed values are a comma separated list of ports, e.g.,
20,22,23
, port range, e.g.,1023-1040
or wordany
. - protocol String | "IP" | "TCP" | "UDP"
- Inbound traffic protocol. One of
IP
,TCP
,UDP
. - src
Port String - Inbound traffic source ports. Allowed values are a comma separated list of ports, e.g.,
20,22,23
, port range, e.g.,1023-1040
or wordany
. - description String
- Inbound rule description, up to 200 characters.
- sequence
Number Number - Inbound rule sequence number
- source
Type String - Type of traffic source used in a given inbound rule
- subnet String
- Inbound traffic source IP subnet in CIDR format.
- subnets List<String>
- Inbound traffic source IP subnets in CIDR format.
Package Details
- Repository
- equinix equinix/pulumi-equinix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
equinix
Terraform Provider.