Scaleway

Community
Package contributed by a community member
v0.3.0 published on Tuesday, Jun 7, 2022 by Lee Briggs

DatabaseAcl

Create a DatabaseAcl Resource

new DatabaseAcl(name: string, args: DatabaseAclArgs, opts?: CustomResourceOptions);
@overload
def DatabaseAcl(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                acl_rules: Optional[Sequence[DatabaseAclAclRuleArgs]] = None,
                instance_id: Optional[str] = None,
                region: Optional[str] = None)
@overload
def DatabaseAcl(resource_name: str,
                args: DatabaseAclArgs,
                opts: Optional[ResourceOptions] = None)
func NewDatabaseAcl(ctx *Context, name string, args DatabaseAclArgs, opts ...ResourceOption) (*DatabaseAcl, error)
public DatabaseAcl(string name, DatabaseAclArgs args, CustomResourceOptions? opts = null)
public DatabaseAcl(String name, DatabaseAclArgs args)
public DatabaseAcl(String name, DatabaseAclArgs args, CustomResourceOptions options)
type: scaleway:DatabaseAcl
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

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

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

AclRules List<DatabaseAclAclRuleArgs>

List of ACL rules to apply

InstanceId string

Instance on which the ACL is applied

Region string

The region you want to attach the resource to

AclRules []DatabaseAclAclRuleArgs

List of ACL rules to apply

InstanceId string

Instance on which the ACL is applied

Region string

The region you want to attach the resource to

aclRules List<DatabaseAclAclRuleArgs>

List of ACL rules to apply

instanceId String

Instance on which the ACL is applied

region String

The region you want to attach the resource to

aclRules DatabaseAclAclRuleArgs[]

List of ACL rules to apply

instanceId string

Instance on which the ACL is applied

region string

The region you want to attach the resource to

acl_rules Sequence[DatabaseAclAclRuleArgs]

List of ACL rules to apply

instance_id str

Instance on which the ACL is applied

region str

The region you want to attach the resource to

aclRules List<Property Map>

List of ACL rules to apply

instanceId String

Instance on which the ACL is applied

region String

The region you want to attach the resource to

Outputs

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

Get an existing DatabaseAcl 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?: DatabaseAclState, opts?: CustomResourceOptions): DatabaseAcl
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        acl_rules: Optional[Sequence[DatabaseAclAclRuleArgs]] = None,
        instance_id: Optional[str] = None,
        region: Optional[str] = None) -> DatabaseAcl
func GetDatabaseAcl(ctx *Context, name string, id IDInput, state *DatabaseAclState, opts ...ResourceOption) (*DatabaseAcl, error)
public static DatabaseAcl Get(string name, Input<string> id, DatabaseAclState? state, CustomResourceOptions? opts = null)
public static DatabaseAcl get(String name, Output<String> id, DatabaseAclState 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:
AclRules List<DatabaseAclAclRuleArgs>

List of ACL rules to apply

InstanceId string

Instance on which the ACL is applied

Region string

The region you want to attach the resource to

AclRules []DatabaseAclAclRuleArgs

List of ACL rules to apply

InstanceId string

Instance on which the ACL is applied

Region string

The region you want to attach the resource to

aclRules List<DatabaseAclAclRuleArgs>

List of ACL rules to apply

instanceId String

Instance on which the ACL is applied

region String

The region you want to attach the resource to

aclRules DatabaseAclAclRuleArgs[]

List of ACL rules to apply

instanceId string

Instance on which the ACL is applied

region string

The region you want to attach the resource to

acl_rules Sequence[DatabaseAclAclRuleArgs]

List of ACL rules to apply

instance_id str

Instance on which the ACL is applied

region str

The region you want to attach the resource to

aclRules List<Property Map>

List of ACL rules to apply

instanceId String

Instance on which the ACL is applied

region String

The region you want to attach the resource to

Supporting Types

DatabaseAclAclRule

Ip string
Description string
Ip string
Description string
ip String
description String
ip string
description string
ip String
description String

Package Details

Repository
https://github.com/jaxxstorm/pulumi-scaleway
License
Apache-2.0
Notes

This Pulumi package is based on the scaleway Terraform Provider.