cloudflare.MagicTransitSiteAcl
Explore with Pulumi AI
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
exampleMagicTransitSiteAcl:
type: cloudflare:MagicTransitSiteAcl
name: example_magic_transit_site_acl
properties:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
siteId: 023e105f4ecef8ad9ca31a8372d0c353
lan1:
lan_id: lan_id
lan_name: lan_name
port_ranges:
- 8080-9000
ports:
- 1
subnets:
- 192.0.2.1
lan2:
lan_id: lan_id
lan_name: lan_name
port_ranges:
- 8080-9000
ports:
- 1
subnets:
- 192.0.2.1
name: PIN Pad - Cash Register
description: Allows local traffic between PIN pads and cash register.
forwardLocally: true
protocols:
- tcp
unidirectional: true
Create MagicTransitSiteAcl Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MagicTransitSiteAcl(name: string, args: MagicTransitSiteAclArgs, opts?: CustomResourceOptions);
@overload
def MagicTransitSiteAcl(resource_name: str,
args: MagicTransitSiteAclArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MagicTransitSiteAcl(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
lan1: Optional[MagicTransitSiteAclLan1Args] = None,
lan2: Optional[MagicTransitSiteAclLan2Args] = None,
name: Optional[str] = None,
site_id: Optional[str] = None,
description: Optional[str] = None,
forward_locally: Optional[bool] = None,
protocols: Optional[Sequence[str]] = None,
unidirectional: Optional[bool] = None)
func NewMagicTransitSiteAcl(ctx *Context, name string, args MagicTransitSiteAclArgs, opts ...ResourceOption) (*MagicTransitSiteAcl, error)
public MagicTransitSiteAcl(string name, MagicTransitSiteAclArgs args, CustomResourceOptions? opts = null)
public MagicTransitSiteAcl(String name, MagicTransitSiteAclArgs args)
public MagicTransitSiteAcl(String name, MagicTransitSiteAclArgs args, CustomResourceOptions options)
type: cloudflare:MagicTransitSiteAcl
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 MagicTransitSiteAclArgs
- 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 MagicTransitSiteAclArgs
- 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 MagicTransitSiteAclArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MagicTransitSiteAclArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MagicTransitSiteAclArgs
- 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 magicTransitSiteAclResource = new Cloudflare.MagicTransitSiteAcl("magicTransitSiteAclResource", new()
{
AccountId = "string",
Lan1 = new Cloudflare.Inputs.MagicTransitSiteAclLan1Args
{
LanId = "string",
LanName = "string",
PortRanges = new[]
{
"string",
},
Ports = new[]
{
0,
},
Subnets = new[]
{
"string",
},
},
Lan2 = new Cloudflare.Inputs.MagicTransitSiteAclLan2Args
{
LanId = "string",
LanName = "string",
PortRanges = new[]
{
"string",
},
Ports = new[]
{
0,
},
Subnets = new[]
{
"string",
},
},
Name = "string",
SiteId = "string",
Description = "string",
ForwardLocally = false,
Protocols = new[]
{
"string",
},
Unidirectional = false,
});
example, err := cloudflare.NewMagicTransitSiteAcl(ctx, "magicTransitSiteAclResource", &cloudflare.MagicTransitSiteAclArgs{
AccountId: pulumi.String("string"),
Lan1: &cloudflare.MagicTransitSiteAclLan1Args{
LanId: pulumi.String("string"),
LanName: pulumi.String("string"),
PortRanges: pulumi.StringArray{
pulumi.String("string"),
},
Ports: pulumi.IntArray{
pulumi.Int(0),
},
Subnets: pulumi.StringArray{
pulumi.String("string"),
},
},
Lan2: &cloudflare.MagicTransitSiteAclLan2Args{
LanId: pulumi.String("string"),
LanName: pulumi.String("string"),
PortRanges: pulumi.StringArray{
pulumi.String("string"),
},
Ports: pulumi.IntArray{
pulumi.Int(0),
},
Subnets: pulumi.StringArray{
pulumi.String("string"),
},
},
Name: pulumi.String("string"),
SiteId: pulumi.String("string"),
Description: pulumi.String("string"),
ForwardLocally: pulumi.Bool(false),
Protocols: pulumi.StringArray{
pulumi.String("string"),
},
Unidirectional: pulumi.Bool(false),
})
var magicTransitSiteAclResource = new MagicTransitSiteAcl("magicTransitSiteAclResource", MagicTransitSiteAclArgs.builder()
.accountId("string")
.lan1(MagicTransitSiteAclLan1Args.builder()
.lanId("string")
.lanName("string")
.portRanges("string")
.ports(0)
.subnets("string")
.build())
.lan2(MagicTransitSiteAclLan2Args.builder()
.lanId("string")
.lanName("string")
.portRanges("string")
.ports(0)
.subnets("string")
.build())
.name("string")
.siteId("string")
.description("string")
.forwardLocally(false)
.protocols("string")
.unidirectional(false)
.build());
magic_transit_site_acl_resource = cloudflare.MagicTransitSiteAcl("magicTransitSiteAclResource",
account_id="string",
lan1={
"lan_id": "string",
"lan_name": "string",
"port_ranges": ["string"],
"ports": [0],
"subnets": ["string"],
},
lan2={
"lan_id": "string",
"lan_name": "string",
"port_ranges": ["string"],
"ports": [0],
"subnets": ["string"],
},
name="string",
site_id="string",
description="string",
forward_locally=False,
protocols=["string"],
unidirectional=False)
const magicTransitSiteAclResource = new cloudflare.MagicTransitSiteAcl("magicTransitSiteAclResource", {
accountId: "string",
lan1: {
lanId: "string",
lanName: "string",
portRanges: ["string"],
ports: [0],
subnets: ["string"],
},
lan2: {
lanId: "string",
lanName: "string",
portRanges: ["string"],
ports: [0],
subnets: ["string"],
},
name: "string",
siteId: "string",
description: "string",
forwardLocally: false,
protocols: ["string"],
unidirectional: false,
});
type: cloudflare:MagicTransitSiteAcl
properties:
accountId: string
description: string
forwardLocally: false
lan1:
lanId: string
lanName: string
portRanges:
- string
ports:
- 0
subnets:
- string
lan2:
lanId: string
lanName: string
portRanges:
- string
ports:
- 0
subnets:
- string
name: string
protocols:
- string
siteId: string
unidirectional: false
MagicTransitSiteAcl 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 MagicTransitSiteAcl resource accepts the following input properties:
- Account
Id string - Identifier
- Lan1
Magic
Transit Site Acl Lan1 - Lan2
Magic
Transit Site Acl Lan2 - Name string
- The name of the ACL.
- Site
Id string - Identifier
- Description string
- Description for the ACL.
- Forward
Locally bool - The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false.
- Protocols List<string>
- Unidirectional bool
- The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not included in request, will default to false.
- Account
Id string - Identifier
- Lan1
Magic
Transit Site Acl Lan1Args - Lan2
Magic
Transit Site Acl Lan2Args - Name string
- The name of the ACL.
- Site
Id string - Identifier
- Description string
- Description for the ACL.
- Forward
Locally bool - The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false.
- Protocols []string
- Unidirectional bool
- The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not included in request, will default to false.
- account
Id String - Identifier
- lan1
Magic
Transit Site Acl Lan1 - lan2
Magic
Transit Site Acl Lan2 - name String
- The name of the ACL.
- site
Id String - Identifier
- description String
- Description for the ACL.
- forward
Locally Boolean - The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false.
- protocols List<String>
- unidirectional Boolean
- The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not included in request, will default to false.
- account
Id string - Identifier
- lan1
Magic
Transit Site Acl Lan1 - lan2
Magic
Transit Site Acl Lan2 - name string
- The name of the ACL.
- site
Id string - Identifier
- description string
- Description for the ACL.
- forward
Locally boolean - The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false.
- protocols string[]
- unidirectional boolean
- The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not included in request, will default to false.
- account_
id str - Identifier
- lan1
Magic
Transit Site Acl Lan1Args - lan2
Magic
Transit Site Acl Lan2Args - name str
- The name of the ACL.
- site_
id str - Identifier
- description str
- Description for the ACL.
- forward_
locally bool - The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false.
- protocols Sequence[str]
- unidirectional bool
- The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not included in request, will default to false.
- account
Id String - Identifier
- lan1 Property Map
- lan2 Property Map
- name String
- The name of the ACL.
- site
Id String - Identifier
- description String
- Description for the ACL.
- forward
Locally Boolean - The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false.
- protocols List<String>
- unidirectional Boolean
- The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not included in request, will default to false.
Outputs
All input properties are implicitly available as output properties. Additionally, the MagicTransitSiteAcl resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing MagicTransitSiteAcl Resource
Get an existing MagicTransitSiteAcl 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?: MagicTransitSiteAclState, opts?: CustomResourceOptions): MagicTransitSiteAcl
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
description: Optional[str] = None,
forward_locally: Optional[bool] = None,
lan1: Optional[MagicTransitSiteAclLan1Args] = None,
lan2: Optional[MagicTransitSiteAclLan2Args] = None,
name: Optional[str] = None,
protocols: Optional[Sequence[str]] = None,
site_id: Optional[str] = None,
unidirectional: Optional[bool] = None) -> MagicTransitSiteAcl
func GetMagicTransitSiteAcl(ctx *Context, name string, id IDInput, state *MagicTransitSiteAclState, opts ...ResourceOption) (*MagicTransitSiteAcl, error)
public static MagicTransitSiteAcl Get(string name, Input<string> id, MagicTransitSiteAclState? state, CustomResourceOptions? opts = null)
public static MagicTransitSiteAcl get(String name, Output<String> id, MagicTransitSiteAclState state, CustomResourceOptions options)
resources: _: type: cloudflare:MagicTransitSiteAcl 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.
- Account
Id string - Identifier
- Description string
- Description for the ACL.
- Forward
Locally bool - The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false.
- Lan1
Magic
Transit Site Acl Lan1 - Lan2
Magic
Transit Site Acl Lan2 - Name string
- The name of the ACL.
- Protocols List<string>
- Site
Id string - Identifier
- Unidirectional bool
- The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not included in request, will default to false.
- Account
Id string - Identifier
- Description string
- Description for the ACL.
- Forward
Locally bool - The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false.
- Lan1
Magic
Transit Site Acl Lan1Args - Lan2
Magic
Transit Site Acl Lan2Args - Name string
- The name of the ACL.
- Protocols []string
- Site
Id string - Identifier
- Unidirectional bool
- The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not included in request, will default to false.
- account
Id String - Identifier
- description String
- Description for the ACL.
- forward
Locally Boolean - The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false.
- lan1
Magic
Transit Site Acl Lan1 - lan2
Magic
Transit Site Acl Lan2 - name String
- The name of the ACL.
- protocols List<String>
- site
Id String - Identifier
- unidirectional Boolean
- The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not included in request, will default to false.
- account
Id string - Identifier
- description string
- Description for the ACL.
- forward
Locally boolean - The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false.
- lan1
Magic
Transit Site Acl Lan1 - lan2
Magic
Transit Site Acl Lan2 - name string
- The name of the ACL.
- protocols string[]
- site
Id string - Identifier
- unidirectional boolean
- The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not included in request, will default to false.
- account_
id str - Identifier
- description str
- Description for the ACL.
- forward_
locally bool - The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false.
- lan1
Magic
Transit Site Acl Lan1Args - lan2
Magic
Transit Site Acl Lan2Args - name str
- The name of the ACL.
- protocols Sequence[str]
- site_
id str - Identifier
- unidirectional bool
- The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not included in request, will default to false.
- account
Id String - Identifier
- description String
- Description for the ACL.
- forward
Locally Boolean - The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false.
- lan1 Property Map
- lan2 Property Map
- name String
- The name of the ACL.
- protocols List<String>
- site
Id String - Identifier
- unidirectional Boolean
- The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not included in request, will default to false.
Supporting Types
MagicTransitSiteAclLan1, MagicTransitSiteAclLan1Args
- Lan
Id string - The identifier for the LAN you want to create an ACL policy with.
- Lan
Name string - The name of the LAN based on the provided lan_id.
- Port
Ranges List<string> - Array of port ranges on the provided LAN that will be included in the ACL. If no ports or port rangess are provided, communication on any port on this LAN is allowed.
- Ports List<int>
- Array of ports on the provided LAN that will be included in the ACL. If no ports or port ranges are provided, communication on any port on this LAN is allowed.
- Subnets List<string>
- Array of subnet IPs within the LAN that will be included in the ACL. If no subnets are provided, communication on any subnets on this LAN are allowed.
- Lan
Id string - The identifier for the LAN you want to create an ACL policy with.
- Lan
Name string - The name of the LAN based on the provided lan_id.
- Port
Ranges []string - Array of port ranges on the provided LAN that will be included in the ACL. If no ports or port rangess are provided, communication on any port on this LAN is allowed.
- Ports []int
- Array of ports on the provided LAN that will be included in the ACL. If no ports or port ranges are provided, communication on any port on this LAN is allowed.
- Subnets []string
- Array of subnet IPs within the LAN that will be included in the ACL. If no subnets are provided, communication on any subnets on this LAN are allowed.
- lan
Id String - The identifier for the LAN you want to create an ACL policy with.
- lan
Name String - The name of the LAN based on the provided lan_id.
- port
Ranges List<String> - Array of port ranges on the provided LAN that will be included in the ACL. If no ports or port rangess are provided, communication on any port on this LAN is allowed.
- ports List<Integer>
- Array of ports on the provided LAN that will be included in the ACL. If no ports or port ranges are provided, communication on any port on this LAN is allowed.
- subnets List<String>
- Array of subnet IPs within the LAN that will be included in the ACL. If no subnets are provided, communication on any subnets on this LAN are allowed.
- lan
Id string - The identifier for the LAN you want to create an ACL policy with.
- lan
Name string - The name of the LAN based on the provided lan_id.
- port
Ranges string[] - Array of port ranges on the provided LAN that will be included in the ACL. If no ports or port rangess are provided, communication on any port on this LAN is allowed.
- ports number[]
- Array of ports on the provided LAN that will be included in the ACL. If no ports or port ranges are provided, communication on any port on this LAN is allowed.
- subnets string[]
- Array of subnet IPs within the LAN that will be included in the ACL. If no subnets are provided, communication on any subnets on this LAN are allowed.
- lan_
id str - The identifier for the LAN you want to create an ACL policy with.
- lan_
name str - The name of the LAN based on the provided lan_id.
- port_
ranges Sequence[str] - Array of port ranges on the provided LAN that will be included in the ACL. If no ports or port rangess are provided, communication on any port on this LAN is allowed.
- ports Sequence[int]
- Array of ports on the provided LAN that will be included in the ACL. If no ports or port ranges are provided, communication on any port on this LAN is allowed.
- subnets Sequence[str]
- Array of subnet IPs within the LAN that will be included in the ACL. If no subnets are provided, communication on any subnets on this LAN are allowed.
- lan
Id String - The identifier for the LAN you want to create an ACL policy with.
- lan
Name String - The name of the LAN based on the provided lan_id.
- port
Ranges List<String> - Array of port ranges on the provided LAN that will be included in the ACL. If no ports or port rangess are provided, communication on any port on this LAN is allowed.
- ports List<Number>
- Array of ports on the provided LAN that will be included in the ACL. If no ports or port ranges are provided, communication on any port on this LAN is allowed.
- subnets List<String>
- Array of subnet IPs within the LAN that will be included in the ACL. If no subnets are provided, communication on any subnets on this LAN are allowed.
MagicTransitSiteAclLan2, MagicTransitSiteAclLan2Args
- Lan
Id string - The identifier for the LAN you want to create an ACL policy with.
- Lan
Name string - The name of the LAN based on the provided lan_id.
- Port
Ranges List<string> - Array of port ranges on the provided LAN that will be included in the ACL. If no ports or port rangess are provided, communication on any port on this LAN is allowed.
- Ports List<int>
- Array of ports on the provided LAN that will be included in the ACL. If no ports or port ranges are provided, communication on any port on this LAN is allowed.
- Subnets List<string>
- Array of subnet IPs within the LAN that will be included in the ACL. If no subnets are provided, communication on any subnets on this LAN are allowed.
- Lan
Id string - The identifier for the LAN you want to create an ACL policy with.
- Lan
Name string - The name of the LAN based on the provided lan_id.
- Port
Ranges []string - Array of port ranges on the provided LAN that will be included in the ACL. If no ports or port rangess are provided, communication on any port on this LAN is allowed.
- Ports []int
- Array of ports on the provided LAN that will be included in the ACL. If no ports or port ranges are provided, communication on any port on this LAN is allowed.
- Subnets []string
- Array of subnet IPs within the LAN that will be included in the ACL. If no subnets are provided, communication on any subnets on this LAN are allowed.
- lan
Id String - The identifier for the LAN you want to create an ACL policy with.
- lan
Name String - The name of the LAN based on the provided lan_id.
- port
Ranges List<String> - Array of port ranges on the provided LAN that will be included in the ACL. If no ports or port rangess are provided, communication on any port on this LAN is allowed.
- ports List<Integer>
- Array of ports on the provided LAN that will be included in the ACL. If no ports or port ranges are provided, communication on any port on this LAN is allowed.
- subnets List<String>
- Array of subnet IPs within the LAN that will be included in the ACL. If no subnets are provided, communication on any subnets on this LAN are allowed.
- lan
Id string - The identifier for the LAN you want to create an ACL policy with.
- lan
Name string - The name of the LAN based on the provided lan_id.
- port
Ranges string[] - Array of port ranges on the provided LAN that will be included in the ACL. If no ports or port rangess are provided, communication on any port on this LAN is allowed.
- ports number[]
- Array of ports on the provided LAN that will be included in the ACL. If no ports or port ranges are provided, communication on any port on this LAN is allowed.
- subnets string[]
- Array of subnet IPs within the LAN that will be included in the ACL. If no subnets are provided, communication on any subnets on this LAN are allowed.
- lan_
id str - The identifier for the LAN you want to create an ACL policy with.
- lan_
name str - The name of the LAN based on the provided lan_id.
- port_
ranges Sequence[str] - Array of port ranges on the provided LAN that will be included in the ACL. If no ports or port rangess are provided, communication on any port on this LAN is allowed.
- ports Sequence[int]
- Array of ports on the provided LAN that will be included in the ACL. If no ports or port ranges are provided, communication on any port on this LAN is allowed.
- subnets Sequence[str]
- Array of subnet IPs within the LAN that will be included in the ACL. If no subnets are provided, communication on any subnets on this LAN are allowed.
- lan
Id String - The identifier for the LAN you want to create an ACL policy with.
- lan
Name String - The name of the LAN based on the provided lan_id.
- port
Ranges List<String> - Array of port ranges on the provided LAN that will be included in the ACL. If no ports or port rangess are provided, communication on any port on this LAN is allowed.
- ports List<Number>
- Array of ports on the provided LAN that will be included in the ACL. If no ports or port ranges are provided, communication on any port on this LAN is allowed.
- subnets List<String>
- Array of subnet IPs within the LAN that will be included in the ACL. If no subnets are provided, communication on any subnets on this LAN are allowed.
Import
$ pulumi import cloudflare:index/magicTransitSiteAcl:MagicTransitSiteAcl example '<account_id>/<site_id>/<acl_id>'
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.