eventstorecloud.Acl
Explore with Pulumi AI
Manages IP Access Lists
Create Acl Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Acl(name: string, args: AclArgs, opts?: CustomResourceOptions);
@overload
def Acl(resource_name: str,
args: AclArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Acl(resource_name: str,
opts: Optional[ResourceOptions] = None,
cidr_blocks: Optional[Sequence[Mapping[str, Any]]] = None,
project_id: Optional[str] = None,
name: Optional[str] = None)
func NewAcl(ctx *Context, name string, args AclArgs, opts ...ResourceOption) (*Acl, error)
public Acl(string name, AclArgs args, CustomResourceOptions? opts = null)
type: eventstorecloud:Acl
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 AclArgs
- 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 AclArgs
- 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 AclArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AclArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AclArgs
- 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 aclResource = new EventStoreCloud.Acl("aclResource", new()
{
CidrBlocks = new[]
{
{
{ "string", "any" },
},
},
ProjectId = "string",
Name = "string",
});
example, err := eventstorecloud.NewAcl(ctx, "aclResource", &eventstorecloud.AclArgs{
CidrBlocks: pulumi.MapArray{
pulumi.Map{
"string": pulumi.Any("any"),
},
},
ProjectId: pulumi.String("string"),
Name: pulumi.String("string"),
})
var aclResource = new Acl("aclResource", AclArgs.builder()
.cidrBlocks(Map.of("string", "any"))
.projectId("string")
.name("string")
.build());
acl_resource = eventstorecloud.Acl("aclResource",
cidr_blocks=[{
"string": "any",
}],
project_id="string",
name="string")
const aclResource = new eventstorecloud.Acl("aclResource", {
cidrBlocks: [{
string: "any",
}],
projectId: "string",
name: "string",
});
type: eventstorecloud:Acl
properties:
cidrBlocks:
- string: any
name: string
projectId: string
Acl 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 Acl resource accepts the following input properties:
- Cidr
Blocks List<ImmutableDictionary<string, object>> - CIDR blocks allowed by the IP access list
- Project
Id string - Project ID
- Name string
- Human-friendly name for the Acl
- Cidr
Blocks []map[string]interface{} - CIDR blocks allowed by the IP access list
- Project
Id string - Project ID
- Name string
- Human-friendly name for the Acl
- cidr
Blocks List<Map<String,Object>> - CIDR blocks allowed by the IP access list
- project
Id String - Project ID
- name String
- Human-friendly name for the Acl
- cidr
Blocks {[key: string]: any}[] - CIDR blocks allowed by the IP access list
- project
Id string - Project ID
- name string
- Human-friendly name for the Acl
- cidr_
blocks Sequence[Mapping[str, Any]] - CIDR blocks allowed by the IP access list
- project_
id str - Project ID
- name str
- Human-friendly name for the Acl
- cidr
Blocks List<Map<Any>> - CIDR blocks allowed by the IP access list
- project
Id String - Project ID
- name String
- Human-friendly name for the Acl
Outputs
All input properties are implicitly available as output properties. Additionally, the Acl 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 Acl Resource
Get an existing Acl 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?: AclState, opts?: CustomResourceOptions): Acl
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cidr_blocks: Optional[Sequence[Mapping[str, Any]]] = None,
name: Optional[str] = None,
project_id: Optional[str] = None) -> Acl
func GetAcl(ctx *Context, name string, id IDInput, state *AclState, opts ...ResourceOption) (*Acl, error)
public static Acl Get(string name, Input<string> id, AclState? state, CustomResourceOptions? opts = null)
public static Acl get(String name, Output<String> id, AclState state, CustomResourceOptions options)
resources: _: type: eventstorecloud:Acl 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.
- Cidr
Blocks List<ImmutableDictionary<string, object>> - CIDR blocks allowed by the IP access list
- Name string
- Human-friendly name for the Acl
- Project
Id string - Project ID
- Cidr
Blocks []map[string]interface{} - CIDR blocks allowed by the IP access list
- Name string
- Human-friendly name for the Acl
- Project
Id string - Project ID
- cidr
Blocks List<Map<String,Object>> - CIDR blocks allowed by the IP access list
- name String
- Human-friendly name for the Acl
- project
Id String - Project ID
- cidr
Blocks {[key: string]: any}[] - CIDR blocks allowed by the IP access list
- name string
- Human-friendly name for the Acl
- project
Id string - Project ID
- cidr_
blocks Sequence[Mapping[str, Any]] - CIDR blocks allowed by the IP access list
- name str
- Human-friendly name for the Acl
- project_
id str - Project ID
- cidr
Blocks List<Map<Any>> - CIDR blocks allowed by the IP access list
- name String
- Human-friendly name for the Acl
- project
Id String - Project ID
Package Details
- Repository
- eventstorecloud EventStore/pulumi-eventstorecloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
eventstorecloud
Terraform Provider.