published on Thursday, May 7, 2026 by Volcengine
published on Thursday, May 7, 2026 by Volcengine
Adding access addresses to the allowlist for public network access can effectively enhance information security
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
const cREndpointAclPolicyDemo = new volcenginecc.cr.EndpointAclPolicy("CREndpointAclPolicyDemo", {
registry: "xxxxx",
type: "Public",
entry: "0.0.0.0/0",
description: "test acl policy",
});
import pulumi
import pulumi_volcenginecc as volcenginecc
c_r_endpoint_acl_policy_demo = volcenginecc.cr.EndpointAclPolicy("CREndpointAclPolicyDemo",
registry="xxxxx",
type="Public",
entry="0.0.0.0/0",
description="test acl policy")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/cr"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cr.NewEndpointAclPolicy(ctx, "CREndpointAclPolicyDemo", &cr.EndpointAclPolicyArgs{
Registry: pulumi.String("xxxxx"),
Type: pulumi.String("Public"),
Entry: pulumi.String("0.0.0.0/0"),
Description: pulumi.String("test acl policy"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
return await Deployment.RunAsync(() =>
{
var cREndpointAclPolicyDemo = new Volcenginecc.Cr.EndpointAclPolicy("CREndpointAclPolicyDemo", new()
{
Registry = "xxxxx",
Type = "Public",
Entry = "0.0.0.0/0",
Description = "test acl policy",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.volcengine.volcenginecc.cr.EndpointAclPolicy;
import com.volcengine.volcenginecc.cr.EndpointAclPolicyArgs;
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 cREndpointAclPolicyDemo = new EndpointAclPolicy("cREndpointAclPolicyDemo", EndpointAclPolicyArgs.builder()
.registry("xxxxx")
.type("Public")
.entry("0.0.0.0/0")
.description("test acl policy")
.build());
}
}
resources:
cREndpointAclPolicyDemo:
type: volcenginecc:cr:EndpointAclPolicy
name: CREndpointAclPolicyDemo
properties:
registry: xxxxx
type: Public
entry: 0.0.0.0/0
description: test acl policy
Create EndpointAclPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EndpointAclPolicy(name: string, args: EndpointAclPolicyArgs, opts?: CustomResourceOptions);@overload
def EndpointAclPolicy(resource_name: str,
args: EndpointAclPolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EndpointAclPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
registry: Optional[str] = None,
type: Optional[str] = None,
description: Optional[str] = None,
entry: Optional[str] = None)func NewEndpointAclPolicy(ctx *Context, name string, args EndpointAclPolicyArgs, opts ...ResourceOption) (*EndpointAclPolicy, error)public EndpointAclPolicy(string name, EndpointAclPolicyArgs args, CustomResourceOptions? opts = null)
public EndpointAclPolicy(String name, EndpointAclPolicyArgs args)
public EndpointAclPolicy(String name, EndpointAclPolicyArgs args, CustomResourceOptions options)
type: volcenginecc:cr:EndpointAclPolicy
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 EndpointAclPolicyArgs
- 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 EndpointAclPolicyArgs
- 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 EndpointAclPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EndpointAclPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EndpointAclPolicyArgs
- 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 endpointAclPolicyResource = new Volcenginecc.Cr.EndpointAclPolicy("endpointAclPolicyResource", new()
{
Registry = "string",
Type = "string",
Description = "string",
Entry = "string",
});
example, err := cr.NewEndpointAclPolicy(ctx, "endpointAclPolicyResource", &cr.EndpointAclPolicyArgs{
Registry: pulumi.String("string"),
Type: pulumi.String("string"),
Description: pulumi.String("string"),
Entry: pulumi.String("string"),
})
var endpointAclPolicyResource = new EndpointAclPolicy("endpointAclPolicyResource", EndpointAclPolicyArgs.builder()
.registry("string")
.type("string")
.description("string")
.entry("string")
.build());
endpoint_acl_policy_resource = volcenginecc.cr.EndpointAclPolicy("endpointAclPolicyResource",
registry="string",
type="string",
description="string",
entry="string")
const endpointAclPolicyResource = new volcenginecc.cr.EndpointAclPolicy("endpointAclPolicyResource", {
registry: "string",
type: "string",
description: "string",
entry: "string",
});
type: volcenginecc:cr:EndpointAclPolicy
properties:
description: string
entry: string
registry: string
type: string
EndpointAclPolicy 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 EndpointAclPolicy resource accepts the following input properties:
- Registry string
- Name of the image repository instance. On the Instance List page in the Image Repository Console, obtain the instance name
- Type string
- Network type of the allowlist; currently only Public is supported
- Description string
- Description of the allowlist IPs
- Entry string
- Allowlist IPs to be added
- Registry string
- Name of the image repository instance. On the Instance List page in the Image Repository Console, obtain the instance name
- Type string
- Network type of the allowlist; currently only Public is supported
- Description string
- Description of the allowlist IPs
- Entry string
- Allowlist IPs to be added
- registry String
- Name of the image repository instance. On the Instance List page in the Image Repository Console, obtain the instance name
- type String
- Network type of the allowlist; currently only Public is supported
- description String
- Description of the allowlist IPs
- entry String
- Allowlist IPs to be added
- registry string
- Name of the image repository instance. On the Instance List page in the Image Repository Console, obtain the instance name
- type string
- Network type of the allowlist; currently only Public is supported
- description string
- Description of the allowlist IPs
- entry string
- Allowlist IPs to be added
- registry str
- Name of the image repository instance. On the Instance List page in the Image Repository Console, obtain the instance name
- type str
- Network type of the allowlist; currently only Public is supported
- description str
- Description of the allowlist IPs
- entry str
- Allowlist IPs to be added
- registry String
- Name of the image repository instance. On the Instance List page in the Image Repository Console, obtain the instance name
- type String
- Network type of the allowlist; currently only Public is supported
- description String
- Description of the allowlist IPs
- entry String
- Allowlist IPs to be added
Outputs
All input properties are implicitly available as output properties. Additionally, the EndpointAclPolicy 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 EndpointAclPolicy Resource
Get an existing EndpointAclPolicy 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?: EndpointAclPolicyState, opts?: CustomResourceOptions): EndpointAclPolicy@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
entry: Optional[str] = None,
registry: Optional[str] = None,
type: Optional[str] = None) -> EndpointAclPolicyfunc GetEndpointAclPolicy(ctx *Context, name string, id IDInput, state *EndpointAclPolicyState, opts ...ResourceOption) (*EndpointAclPolicy, error)public static EndpointAclPolicy Get(string name, Input<string> id, EndpointAclPolicyState? state, CustomResourceOptions? opts = null)public static EndpointAclPolicy get(String name, Output<String> id, EndpointAclPolicyState state, CustomResourceOptions options)resources: _: type: volcenginecc:cr:EndpointAclPolicy 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.
- Description string
- Description of the allowlist IPs
- Entry string
- Allowlist IPs to be added
- Registry string
- Name of the image repository instance. On the Instance List page in the Image Repository Console, obtain the instance name
- Type string
- Network type of the allowlist; currently only Public is supported
- Description string
- Description of the allowlist IPs
- Entry string
- Allowlist IPs to be added
- Registry string
- Name of the image repository instance. On the Instance List page in the Image Repository Console, obtain the instance name
- Type string
- Network type of the allowlist; currently only Public is supported
- description String
- Description of the allowlist IPs
- entry String
- Allowlist IPs to be added
- registry String
- Name of the image repository instance. On the Instance List page in the Image Repository Console, obtain the instance name
- type String
- Network type of the allowlist; currently only Public is supported
- description string
- Description of the allowlist IPs
- entry string
- Allowlist IPs to be added
- registry string
- Name of the image repository instance. On the Instance List page in the Image Repository Console, obtain the instance name
- type string
- Network type of the allowlist; currently only Public is supported
- description str
- Description of the allowlist IPs
- entry str
- Allowlist IPs to be added
- registry str
- Name of the image repository instance. On the Instance List page in the Image Repository Console, obtain the instance name
- type str
- Network type of the allowlist; currently only Public is supported
- description String
- Description of the allowlist IPs
- entry String
- Allowlist IPs to be added
- registry String
- Name of the image repository instance. On the Instance List page in the Image Repository Console, obtain the instance name
- type String
- Network type of the allowlist; currently only Public is supported
Import
$ pulumi import volcenginecc:cr/endpointAclPolicy:EndpointAclPolicy example "registry|entry"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Thursday, May 7, 2026 by Volcengine
