alicloud logo
Alibaba Cloud v3.37.0, May 15 23

alicloud.cr.EndpointAclPolicy

Explore with Pulumi AI

Provides a CR Endpoint Acl Policy resource.

For information about CR Endpoint Acl Policy and how to use it, see What is Endpoint Acl Policy.

NOTE: Available in v1.139.0+.

Create EndpointAclPolicy Resource

new EndpointAclPolicy(name: string, args: EndpointAclPolicyArgs, opts?: CustomResourceOptions);
@overload
def EndpointAclPolicy(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      description: Optional[str] = None,
                      endpoint_type: Optional[str] = None,
                      entry: Optional[str] = None,
                      instance_id: Optional[str] = None,
                      module_name: Optional[str] = None)
@overload
def EndpointAclPolicy(resource_name: str,
                      args: EndpointAclPolicyArgs,
                      opts: Optional[ResourceOptions] = 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: alicloud:cr:EndpointAclPolicy
properties: # The arguments to resource properties.
options: # 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.
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.

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

The EndpointAclPolicy resource accepts the following input properties:

EndpointType string

The type of endpoint. Valid values: internet.

Entry string

The IP segment that allowed to access.

InstanceId string

The ID of the CR Instance.

Description string

The description of the entry.

ModuleName string

The module that needs to set the access policy. Valid values: Registry.

EndpointType string

The type of endpoint. Valid values: internet.

Entry string

The IP segment that allowed to access.

InstanceId string

The ID of the CR Instance.

Description string

The description of the entry.

ModuleName string

The module that needs to set the access policy. Valid values: Registry.

endpointType String

The type of endpoint. Valid values: internet.

entry String

The IP segment that allowed to access.

instanceId String

The ID of the CR Instance.

description String

The description of the entry.

moduleName String

The module that needs to set the access policy. Valid values: Registry.

endpointType string

The type of endpoint. Valid values: internet.

entry string

The IP segment that allowed to access.

instanceId string

The ID of the CR Instance.

description string

The description of the entry.

moduleName string

The module that needs to set the access policy. Valid values: Registry.

endpoint_type str

The type of endpoint. Valid values: internet.

entry str

The IP segment that allowed to access.

instance_id str

The ID of the CR Instance.

description str

The description of the entry.

module_name str

The module that needs to set the access policy. Valid values: Registry.

endpointType String

The type of endpoint. Valid values: internet.

entry String

The IP segment that allowed to access.

instanceId String

The ID of the CR Instance.

description String

The description of the entry.

moduleName String

The module that needs to set the access policy. Valid values: Registry.

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,
        endpoint_type: Optional[str] = None,
        entry: Optional[str] = None,
        instance_id: Optional[str] = None,
        module_name: Optional[str] = None) -> EndpointAclPolicy
func 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)
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:
Description string

The description of the entry.

EndpointType string

The type of endpoint. Valid values: internet.

Entry string

The IP segment that allowed to access.

InstanceId string

The ID of the CR Instance.

ModuleName string

The module that needs to set the access policy. Valid values: Registry.

Description string

The description of the entry.

EndpointType string

The type of endpoint. Valid values: internet.

Entry string

The IP segment that allowed to access.

InstanceId string

The ID of the CR Instance.

ModuleName string

The module that needs to set the access policy. Valid values: Registry.

description String

The description of the entry.

endpointType String

The type of endpoint. Valid values: internet.

entry String

The IP segment that allowed to access.

instanceId String

The ID of the CR Instance.

moduleName String

The module that needs to set the access policy. Valid values: Registry.

description string

The description of the entry.

endpointType string

The type of endpoint. Valid values: internet.

entry string

The IP segment that allowed to access.

instanceId string

The ID of the CR Instance.

moduleName string

The module that needs to set the access policy. Valid values: Registry.

description str

The description of the entry.

endpoint_type str

The type of endpoint. Valid values: internet.

entry str

The IP segment that allowed to access.

instance_id str

The ID of the CR Instance.

module_name str

The module that needs to set the access policy. Valid values: Registry.

description String

The description of the entry.

endpointType String

The type of endpoint. Valid values: internet.

entry String

The IP segment that allowed to access.

instanceId String

The ID of the CR Instance.

moduleName String

The module that needs to set the access policy. Valid values: Registry.

Import

CR Endpoint Acl Policy can be imported using the id, e.g.

 $ pulumi import alicloud:cr/endpointAclPolicy:EndpointAclPolicy example <instance_id>:<endpoint_type>:<entry>

Package Details

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

This Pulumi package is based on the alicloud Terraform Provider.