UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

76 lines (75 loc) 2.22 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets information about the Database Instance network Access Control List. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * // Get the database ACL for the instance id 11111111-1111-1111-1111-111111111111 located in the default region e.g: fr-par * const myAcl = scaleway.databases.getAcl({ * instanceId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ export declare function getAcl(args: GetAclArgs, opts?: pulumi.InvokeOptions): Promise<GetAclResult>; /** * A collection of arguments for invoking getAcl. */ export interface GetAclArgs { /** * The RDB instance ID. */ instanceId: string; /** * `region`) The region in which the Database Instance should be created. */ region?: string; } /** * A collection of values returned by getAcl. */ export interface GetAclResult { /** * A list of ACLs rules (structure is described below) */ readonly aclRules: outputs.databases.GetAclAclRule[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly instanceId: string; readonly region?: string; } /** * Gets information about the Database Instance network Access Control List. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * // Get the database ACL for the instance id 11111111-1111-1111-1111-111111111111 located in the default region e.g: fr-par * const myAcl = scaleway.databases.getAcl({ * instanceId: "11111111-1111-1111-1111-111111111111", * }); * ``` */ export declare function getAclOutput(args: GetAclOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAclResult>; /** * A collection of arguments for invoking getAcl. */ export interface GetAclOutputArgs { /** * The RDB instance ID. */ instanceId: pulumi.Input<string>; /** * `region`) The region in which the Database Instance should be created. */ region?: pulumi.Input<string>; }