Acl

Provides a Global Accelerator (GA) Acl resource. For information about Global Accelerator (GA) Acl and how to use it, see What is Acl.

NOTE: Available in v1.150.0+.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.ga.Acl;
import com.pulumi.alicloud.ga.AclArgs;
import com.pulumi.alicloud.ga.inputs.AclAclEntryArgs;
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 default_ = new Acl("default", AclArgs.builder()
.aclEntries(AclAclEntryArgs.builder()
.entry("192.168.1.0/24")
.entryDescription("tf-test1")
.build())
.aclName("tf-testAccAcl")
.addressIpVersion("IPv4")
.build());
}
}

Import

Global Accelerator (GA) Acl can be imported using the id, e.g.

$ pulumi import alicloud:ga/acl:Acl example <id>

Properties

Link copied to clipboard

The entries of the Acl. See the following Block acl_entries. NOTE: "Field 'acl_entries' has been deprecated from provider version 1.190.0 and it will be removed in the future version. Please use the new resource alicloud.ga.AclEntryAttachment."

Link copied to clipboard
val aclName: Output<String>?

The name of the ACL. The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), hyphens (-) and underscores (_). It must start with a letter.

Link copied to clipboard

The IP version. Valid values: IPv4 and IPv6.

Link copied to clipboard
val dryRun: Output<Boolean>?

The dry run.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val status: Output<String>

The status of the resource.

Link copied to clipboard
val urn: Output<String>