alicloud logo
Alibaba Cloud v3.34.0, Mar 17 23

alicloud.vpc.NetworkAclEntries

Example Usage

Basic Usage

using System.Collections.Generic;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var name = config.Get("name") ?? "NetworkAclEntries";
    var defaultZones = AliCloud.GetZones.Invoke(new()
    {
        AvailableResourceCreation = "VSwitch",
    });

    var defaultNetwork = new AliCloud.Vpc.Network("defaultNetwork", new()
    {
        CidrBlock = "172.16.0.0/12",
    });

    var defaultNetworkAcl = new AliCloud.Vpc.NetworkAcl("defaultNetworkAcl", new()
    {
        VpcId = defaultNetwork.Id,
    });

    var defaultSwitch = new AliCloud.Vpc.Switch("defaultSwitch", new()
    {
        VpcId = defaultNetwork.Id,
        CidrBlock = "172.16.0.0/21",
        ZoneId = defaultZones.Apply(getZonesResult => getZonesResult.Zones[0]?.Id),
    });

    var defaultNetworkAclAttachment = new AliCloud.Vpc.NetworkAclAttachment("defaultNetworkAclAttachment", new()
    {
        NetworkAclId = defaultNetworkAcl.Id,
        Resources = new[]
        {
            new AliCloud.Vpc.Inputs.NetworkAclAttachmentResourceArgs
            {
                ResourceId = defaultSwitch.Id,
                ResourceType = "VSwitch",
            },
        },
    });

    var defaultNetworkAclEntries = new AliCloud.Vpc.NetworkAclEntries("defaultNetworkAclEntries", new()
    {
        NetworkAclId = defaultNetworkAcl.Id,
        Ingresses = new[]
        {
            new AliCloud.Vpc.Inputs.NetworkAclEntriesIngressArgs
            {
                Protocol = "all",
                Port = "-1/-1",
                SourceCidrIp = "0.0.0.0/32",
                Name = name,
                EntryType = "custom",
                Policy = "accept",
                Description = name,
            },
        },
        Egresses = new[]
        {
            new AliCloud.Vpc.Inputs.NetworkAclEntriesEgressArgs
            {
                Protocol = "all",
                Port = "-1/-1",
                DestinationCidrIp = "0.0.0.0/32",
                Name = name,
                EntryType = "custom",
                Policy = "accept",
                Description = name,
            },
        },
    });

});
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "NetworkAclEntries"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		defaultZones, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{
			AvailableResourceCreation: pulumi.StringRef("VSwitch"),
		}, nil)
		if err != nil {
			return err
		}
		defaultNetwork, err := vpc.NewNetwork(ctx, "defaultNetwork", &vpc.NetworkArgs{
			CidrBlock: pulumi.String("172.16.0.0/12"),
		})
		if err != nil {
			return err
		}
		defaultNetworkAcl, err := vpc.NewNetworkAcl(ctx, "defaultNetworkAcl", &vpc.NetworkAclArgs{
			VpcId: defaultNetwork.ID(),
		})
		if err != nil {
			return err
		}
		defaultSwitch, err := vpc.NewSwitch(ctx, "defaultSwitch", &vpc.SwitchArgs{
			VpcId:     defaultNetwork.ID(),
			CidrBlock: pulumi.String("172.16.0.0/21"),
			ZoneId:    *pulumi.String(defaultZones.Zones[0].Id),
		})
		if err != nil {
			return err
		}
		_, err = vpc.NewNetworkAclAttachment(ctx, "defaultNetworkAclAttachment", &vpc.NetworkAclAttachmentArgs{
			NetworkAclId: defaultNetworkAcl.ID(),
			Resources: vpc.NetworkAclAttachmentResourceArray{
				&vpc.NetworkAclAttachmentResourceArgs{
					ResourceId:   defaultSwitch.ID(),
					ResourceType: pulumi.String("VSwitch"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = vpc.NewNetworkAclEntries(ctx, "defaultNetworkAclEntries", &vpc.NetworkAclEntriesArgs{
			NetworkAclId: defaultNetworkAcl.ID(),
			Ingresses: vpc.NetworkAclEntriesIngressArray{
				&vpc.NetworkAclEntriesIngressArgs{
					Protocol:     pulumi.String("all"),
					Port:         pulumi.String("-1/-1"),
					SourceCidrIp: pulumi.String("0.0.0.0/32"),
					Name:         pulumi.String(name),
					EntryType:    pulumi.String("custom"),
					Policy:       pulumi.String("accept"),
					Description:  pulumi.String(name),
				},
			},
			Egresses: vpc.NetworkAclEntriesEgressArray{
				&vpc.NetworkAclEntriesEgressArgs{
					Protocol:          pulumi.String("all"),
					Port:              pulumi.String("-1/-1"),
					DestinationCidrIp: pulumi.String("0.0.0.0/32"),
					Name:              pulumi.String(name),
					EntryType:         pulumi.String("custom"),
					Policy:            pulumi.String("accept"),
					Description:       pulumi.String(name),
				},
			},
		})
		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.alicloud.AlicloudFunctions;
import com.pulumi.alicloud.inputs.GetZonesArgs;
import com.pulumi.alicloud.vpc.Network;
import com.pulumi.alicloud.vpc.NetworkArgs;
import com.pulumi.alicloud.vpc.NetworkAcl;
import com.pulumi.alicloud.vpc.NetworkAclArgs;
import com.pulumi.alicloud.vpc.Switch;
import com.pulumi.alicloud.vpc.SwitchArgs;
import com.pulumi.alicloud.vpc.NetworkAclAttachment;
import com.pulumi.alicloud.vpc.NetworkAclAttachmentArgs;
import com.pulumi.alicloud.vpc.inputs.NetworkAclAttachmentResourceArgs;
import com.pulumi.alicloud.vpc.NetworkAclEntries;
import com.pulumi.alicloud.vpc.NetworkAclEntriesArgs;
import com.pulumi.alicloud.vpc.inputs.NetworkAclEntriesIngressArgs;
import com.pulumi.alicloud.vpc.inputs.NetworkAclEntriesEgressArgs;
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) {
        final var config = ctx.config();
        final var name = config.get("name").orElse("NetworkAclEntries");
        final var defaultZones = AlicloudFunctions.getZones(GetZonesArgs.builder()
            .availableResourceCreation("VSwitch")
            .build());

        var defaultNetwork = new Network("defaultNetwork", NetworkArgs.builder()        
            .cidrBlock("172.16.0.0/12")
            .build());

        var defaultNetworkAcl = new NetworkAcl("defaultNetworkAcl", NetworkAclArgs.builder()        
            .vpcId(defaultNetwork.id())
            .build());

        var defaultSwitch = new Switch("defaultSwitch", SwitchArgs.builder()        
            .vpcId(defaultNetwork.id())
            .cidrBlock("172.16.0.0/21")
            .zoneId(defaultZones.applyValue(getZonesResult -> getZonesResult.zones()[0].id()))
            .build());

        var defaultNetworkAclAttachment = new NetworkAclAttachment("defaultNetworkAclAttachment", NetworkAclAttachmentArgs.builder()        
            .networkAclId(defaultNetworkAcl.id())
            .resources(NetworkAclAttachmentResourceArgs.builder()
                .resourceId(defaultSwitch.id())
                .resourceType("VSwitch")
                .build())
            .build());

        var defaultNetworkAclEntries = new NetworkAclEntries("defaultNetworkAclEntries", NetworkAclEntriesArgs.builder()        
            .networkAclId(defaultNetworkAcl.id())
            .ingresses(NetworkAclEntriesIngressArgs.builder()
                .protocol("all")
                .port("-1/-1")
                .sourceCidrIp("0.0.0.0/32")
                .name(name)
                .entryType("custom")
                .policy("accept")
                .description(name)
                .build())
            .egresses(NetworkAclEntriesEgressArgs.builder()
                .protocol("all")
                .port("-1/-1")
                .destinationCidrIp("0.0.0.0/32")
                .name(name)
                .entryType("custom")
                .policy("accept")
                .description(name)
                .build())
            .build());

    }
}
import pulumi
import pulumi_alicloud as alicloud

config = pulumi.Config()
name = config.get("name")
if name is None:
    name = "NetworkAclEntries"
default_zones = alicloud.get_zones(available_resource_creation="VSwitch")
default_network = alicloud.vpc.Network("defaultNetwork", cidr_block="172.16.0.0/12")
default_network_acl = alicloud.vpc.NetworkAcl("defaultNetworkAcl", vpc_id=default_network.id)
default_switch = alicloud.vpc.Switch("defaultSwitch",
    vpc_id=default_network.id,
    cidr_block="172.16.0.0/21",
    zone_id=default_zones.zones[0].id)
default_network_acl_attachment = alicloud.vpc.NetworkAclAttachment("defaultNetworkAclAttachment",
    network_acl_id=default_network_acl.id,
    resources=[alicloud.vpc.NetworkAclAttachmentResourceArgs(
        resource_id=default_switch.id,
        resource_type="VSwitch",
    )])
default_network_acl_entries = alicloud.vpc.NetworkAclEntries("defaultNetworkAclEntries",
    network_acl_id=default_network_acl.id,
    ingresses=[alicloud.vpc.NetworkAclEntriesIngressArgs(
        protocol="all",
        port="-1/-1",
        source_cidr_ip="0.0.0.0/32",
        name=name,
        entry_type="custom",
        policy="accept",
        description=name,
    )],
    egresses=[alicloud.vpc.NetworkAclEntriesEgressArgs(
        protocol="all",
        port="-1/-1",
        destination_cidr_ip="0.0.0.0/32",
        name=name,
        entry_type="custom",
        policy="accept",
        description=name,
    )])
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const config = new pulumi.Config();
const name = config.get("name") || "NetworkAclEntries";
const defaultZones = alicloud.getZones({
    availableResourceCreation: "VSwitch",
});
const defaultNetwork = new alicloud.vpc.Network("defaultNetwork", {cidrBlock: "172.16.0.0/12"});
const defaultNetworkAcl = new alicloud.vpc.NetworkAcl("defaultNetworkAcl", {vpcId: defaultNetwork.id});
const defaultSwitch = new alicloud.vpc.Switch("defaultSwitch", {
    vpcId: defaultNetwork.id,
    cidrBlock: "172.16.0.0/21",
    zoneId: defaultZones.then(defaultZones => defaultZones.zones?.[0]?.id),
});
const defaultNetworkAclAttachment = new alicloud.vpc.NetworkAclAttachment("defaultNetworkAclAttachment", {
    networkAclId: defaultNetworkAcl.id,
    resources: [{
        resourceId: defaultSwitch.id,
        resourceType: "VSwitch",
    }],
});
const defaultNetworkAclEntries = new alicloud.vpc.NetworkAclEntries("defaultNetworkAclEntries", {
    networkAclId: defaultNetworkAcl.id,
    ingresses: [{
        protocol: "all",
        port: "-1/-1",
        sourceCidrIp: "0.0.0.0/32",
        name: name,
        entryType: "custom",
        policy: "accept",
        description: name,
    }],
    egresses: [{
        protocol: "all",
        port: "-1/-1",
        destinationCidrIp: "0.0.0.0/32",
        name: name,
        entryType: "custom",
        policy: "accept",
        description: name,
    }],
});
configuration:
  name:
    type: string
    default: NetworkAclEntries
resources:
  defaultNetwork:
    type: alicloud:vpc:Network
    properties:
      cidrBlock: 172.16.0.0/12
  defaultNetworkAcl:
    type: alicloud:vpc:NetworkAcl
    properties:
      vpcId: ${defaultNetwork.id}
  defaultSwitch:
    type: alicloud:vpc:Switch
    properties:
      vpcId: ${defaultNetwork.id}
      cidrBlock: 172.16.0.0/21
      zoneId: ${defaultZones.zones[0].id}
  defaultNetworkAclAttachment:
    type: alicloud:vpc:NetworkAclAttachment
    properties:
      networkAclId: ${defaultNetworkAcl.id}
      resources:
        - resourceId: ${defaultSwitch.id}
          resourceType: VSwitch
  defaultNetworkAclEntries:
    type: alicloud:vpc:NetworkAclEntries
    properties:
      networkAclId: ${defaultNetworkAcl.id}
      ingresses:
        - protocol: all
          port: -1/-1
          sourceCidrIp: 0.0.0.0/32
          name: ${name}
          entryType: custom
          policy: accept
          description: ${name}
      egresses:
        - protocol: all
          port: -1/-1
          destinationCidrIp: 0.0.0.0/32
          name: ${name}
          entryType: custom
          policy: accept
          description: ${name}
variables:
  defaultZones:
    fn::invoke:
      Function: alicloud:getZones
      Arguments:
        availableResourceCreation: VSwitch

Create NetworkAclEntries Resource

new NetworkAclEntries(name: string, args: NetworkAclEntriesArgs, opts?: CustomResourceOptions);
@overload
def NetworkAclEntries(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      egresses: Optional[Sequence[NetworkAclEntriesEgressArgs]] = None,
                      ingresses: Optional[Sequence[NetworkAclEntriesIngressArgs]] = None,
                      network_acl_id: Optional[str] = None)
@overload
def NetworkAclEntries(resource_name: str,
                      args: NetworkAclEntriesArgs,
                      opts: Optional[ResourceOptions] = None)
func NewNetworkAclEntries(ctx *Context, name string, args NetworkAclEntriesArgs, opts ...ResourceOption) (*NetworkAclEntries, error)
public NetworkAclEntries(string name, NetworkAclEntriesArgs args, CustomResourceOptions? opts = null)
public NetworkAclEntries(String name, NetworkAclEntriesArgs args)
public NetworkAclEntries(String name, NetworkAclEntriesArgs args, CustomResourceOptions options)
type: alicloud:vpc:NetworkAclEntries
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args NetworkAclEntriesArgs
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 NetworkAclEntriesArgs
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 NetworkAclEntriesArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args NetworkAclEntriesArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args NetworkAclEntriesArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

NetworkAclEntries 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 NetworkAclEntries resource accepts the following input properties:

NetworkAclId string

The id of the network acl, the field can't be changed.

Egresses List<Pulumi.AliCloud.Vpc.Inputs.NetworkAclEntriesEgressArgs>

List of the egress entries of the network acl. The order of the egress entries determines the priority. The details see Block Egress.

Ingresses List<Pulumi.AliCloud.Vpc.Inputs.NetworkAclEntriesIngressArgs>

List of the ingress entries of the network acl. The order of the ingress entries determines the priority. The details see Block Ingress.

NetworkAclId string

The id of the network acl, the field can't be changed.

Egresses []NetworkAclEntriesEgressArgs

List of the egress entries of the network acl. The order of the egress entries determines the priority. The details see Block Egress.

Ingresses []NetworkAclEntriesIngressArgs

List of the ingress entries of the network acl. The order of the ingress entries determines the priority. The details see Block Ingress.

networkAclId String

The id of the network acl, the field can't be changed.

egresses List<NetworkAclEntriesEgressArgs>

List of the egress entries of the network acl. The order of the egress entries determines the priority. The details see Block Egress.

ingresses List<NetworkAclEntriesIngressArgs>

List of the ingress entries of the network acl. The order of the ingress entries determines the priority. The details see Block Ingress.

networkAclId string

The id of the network acl, the field can't be changed.

egresses NetworkAclEntriesEgressArgs[]

List of the egress entries of the network acl. The order of the egress entries determines the priority. The details see Block Egress.

ingresses NetworkAclEntriesIngressArgs[]

List of the ingress entries of the network acl. The order of the ingress entries determines the priority. The details see Block Ingress.

network_acl_id str

The id of the network acl, the field can't be changed.

egresses Sequence[NetworkAclEntriesEgressArgs]

List of the egress entries of the network acl. The order of the egress entries determines the priority. The details see Block Egress.

ingresses Sequence[NetworkAclEntriesIngressArgs]

List of the ingress entries of the network acl. The order of the ingress entries determines the priority. The details see Block Ingress.

networkAclId String

The id of the network acl, the field can't be changed.

egresses List<Property Map>

List of the egress entries of the network acl. The order of the egress entries determines the priority. The details see Block Egress.

ingresses List<Property Map>

List of the ingress entries of the network acl. The order of the ingress entries determines the priority. The details see Block Ingress.

Outputs

All input properties are implicitly available as output properties. Additionally, the NetworkAclEntries 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 NetworkAclEntries Resource

Get an existing NetworkAclEntries 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?: NetworkAclEntriesState, opts?: CustomResourceOptions): NetworkAclEntries
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        egresses: Optional[Sequence[NetworkAclEntriesEgressArgs]] = None,
        ingresses: Optional[Sequence[NetworkAclEntriesIngressArgs]] = None,
        network_acl_id: Optional[str] = None) -> NetworkAclEntries
func GetNetworkAclEntries(ctx *Context, name string, id IDInput, state *NetworkAclEntriesState, opts ...ResourceOption) (*NetworkAclEntries, error)
public static NetworkAclEntries Get(string name, Input<string> id, NetworkAclEntriesState? state, CustomResourceOptions? opts = null)
public static NetworkAclEntries get(String name, Output<String> id, NetworkAclEntriesState 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.
The following state arguments are supported:
Egresses List<Pulumi.AliCloud.Vpc.Inputs.NetworkAclEntriesEgressArgs>

List of the egress entries of the network acl. The order of the egress entries determines the priority. The details see Block Egress.

Ingresses List<Pulumi.AliCloud.Vpc.Inputs.NetworkAclEntriesIngressArgs>

List of the ingress entries of the network acl. The order of the ingress entries determines the priority. The details see Block Ingress.

NetworkAclId string

The id of the network acl, the field can't be changed.

Egresses []NetworkAclEntriesEgressArgs

List of the egress entries of the network acl. The order of the egress entries determines the priority. The details see Block Egress.

Ingresses []NetworkAclEntriesIngressArgs

List of the ingress entries of the network acl. The order of the ingress entries determines the priority. The details see Block Ingress.

NetworkAclId string

The id of the network acl, the field can't be changed.

egresses List<NetworkAclEntriesEgressArgs>

List of the egress entries of the network acl. The order of the egress entries determines the priority. The details see Block Egress.

ingresses List<NetworkAclEntriesIngressArgs>

List of the ingress entries of the network acl. The order of the ingress entries determines the priority. The details see Block Ingress.

networkAclId String

The id of the network acl, the field can't be changed.

egresses NetworkAclEntriesEgressArgs[]

List of the egress entries of the network acl. The order of the egress entries determines the priority. The details see Block Egress.

ingresses NetworkAclEntriesIngressArgs[]

List of the ingress entries of the network acl. The order of the ingress entries determines the priority. The details see Block Ingress.

networkAclId string

The id of the network acl, the field can't be changed.

egresses Sequence[NetworkAclEntriesEgressArgs]

List of the egress entries of the network acl. The order of the egress entries determines the priority. The details see Block Egress.

ingresses Sequence[NetworkAclEntriesIngressArgs]

List of the ingress entries of the network acl. The order of the ingress entries determines the priority. The details see Block Ingress.

network_acl_id str

The id of the network acl, the field can't be changed.

egresses List<Property Map>

List of the egress entries of the network acl. The order of the egress entries determines the priority. The details see Block Egress.

ingresses List<Property Map>

List of the ingress entries of the network acl. The order of the ingress entries determines the priority. The details see Block Ingress.

networkAclId String

The id of the network acl, the field can't be changed.

Supporting Types

NetworkAclEntriesEgress

Description string

The description of the ingress entry.

DestinationCidrIp string

The destination ip of the egress entry.

EntryType string

The entry type of the ingress entry. It must be custom or system. Default value is custom.

Name string

The name of the ingress entry.

Policy string

The policy of the ingress entry. It must be accept or drop.

Port string

The port of the ingress entry.

Protocol string

The protocol of the ingress entry.

Description string

The description of the ingress entry.

DestinationCidrIp string

The destination ip of the egress entry.

EntryType string

The entry type of the ingress entry. It must be custom or system. Default value is custom.

Name string

The name of the ingress entry.

Policy string

The policy of the ingress entry. It must be accept or drop.

Port string

The port of the ingress entry.

Protocol string

The protocol of the ingress entry.

description String

The description of the ingress entry.

destinationCidrIp String

The destination ip of the egress entry.

entryType String

The entry type of the ingress entry. It must be custom or system. Default value is custom.

name String

The name of the ingress entry.

policy String

The policy of the ingress entry. It must be accept or drop.

port String

The port of the ingress entry.

protocol String

The protocol of the ingress entry.

description string

The description of the ingress entry.

destinationCidrIp string

The destination ip of the egress entry.

entryType string

The entry type of the ingress entry. It must be custom or system. Default value is custom.

name string

The name of the ingress entry.

policy string

The policy of the ingress entry. It must be accept or drop.

port string

The port of the ingress entry.

protocol string

The protocol of the ingress entry.

description str

The description of the ingress entry.

destination_cidr_ip str

The destination ip of the egress entry.

entry_type str

The entry type of the ingress entry. It must be custom or system. Default value is custom.

name str

The name of the ingress entry.

policy str

The policy of the ingress entry. It must be accept or drop.

port str

The port of the ingress entry.

protocol str

The protocol of the ingress entry.

description String

The description of the ingress entry.

destinationCidrIp String

The destination ip of the egress entry.

entryType String

The entry type of the ingress entry. It must be custom or system. Default value is custom.

name String

The name of the ingress entry.

policy String

The policy of the ingress entry. It must be accept or drop.

port String

The port of the ingress entry.

protocol String

The protocol of the ingress entry.

NetworkAclEntriesIngress

Description string

The description of the ingress entry.

EntryType string

The entry type of the ingress entry. It must be custom or system. Default value is custom.

Name string

The name of the ingress entry.

Policy string

The policy of the ingress entry. It must be accept or drop.

Port string

The port of the ingress entry.

Protocol string

The protocol of the ingress entry.

SourceCidrIp string

The source ip of the ingress entry.

Description string

The description of the ingress entry.

EntryType string

The entry type of the ingress entry. It must be custom or system. Default value is custom.

Name string

The name of the ingress entry.

Policy string

The policy of the ingress entry. It must be accept or drop.

Port string

The port of the ingress entry.

Protocol string

The protocol of the ingress entry.

SourceCidrIp string

The source ip of the ingress entry.

description String

The description of the ingress entry.

entryType String

The entry type of the ingress entry. It must be custom or system. Default value is custom.

name String

The name of the ingress entry.

policy String

The policy of the ingress entry. It must be accept or drop.

port String

The port of the ingress entry.

protocol String

The protocol of the ingress entry.

sourceCidrIp String

The source ip of the ingress entry.

description string

The description of the ingress entry.

entryType string

The entry type of the ingress entry. It must be custom or system. Default value is custom.

name string

The name of the ingress entry.

policy string

The policy of the ingress entry. It must be accept or drop.

port string

The port of the ingress entry.

protocol string

The protocol of the ingress entry.

sourceCidrIp string

The source ip of the ingress entry.

description str

The description of the ingress entry.

entry_type str

The entry type of the ingress entry. It must be custom or system. Default value is custom.

name str

The name of the ingress entry.

policy str

The policy of the ingress entry. It must be accept or drop.

port str

The port of the ingress entry.

protocol str

The protocol of the ingress entry.

source_cidr_ip str

The source ip of the ingress entry.

description String

The description of the ingress entry.

entryType String

The entry type of the ingress entry. It must be custom or system. Default value is custom.

name String

The name of the ingress entry.

policy String

The policy of the ingress entry. It must be accept or drop.

port String

The port of the ingress entry.

protocol String

The protocol of the ingress entry.

sourceCidrIp String

The source ip of the ingress entry.

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.