UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

78 lines 2.64 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 "@pulumiverse/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", * }); * ``` */ /** @deprecated scaleway.index/getdatabaseacl.getDatabaseAcl has been deprecated in favor of scaleway.databases/getacl.getAcl */ export declare function getDatabaseAcl(args: GetDatabaseAclArgs, opts?: pulumi.InvokeOptions): Promise<GetDatabaseAclResult>; /** * A collection of arguments for invoking getDatabaseAcl. */ export interface GetDatabaseAclArgs { /** * 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 getDatabaseAcl. */ export interface GetDatabaseAclResult { /** * A list of ACLs rules (structure is described below) */ readonly aclRules: outputs.GetDatabaseAclAclRule[]; /** * 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 "@pulumiverse/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", * }); * ``` */ /** @deprecated scaleway.index/getdatabaseacl.getDatabaseAcl has been deprecated in favor of scaleway.databases/getacl.getAcl */ export declare function getDatabaseAclOutput(args: GetDatabaseAclOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDatabaseAclResult>; /** * A collection of arguments for invoking getDatabaseAcl. */ export interface GetDatabaseAclOutputArgs { /** * The RDB instance ID. */ instanceId: pulumi.Input<string>; /** * `region`) The region in which the Database Instance should be created. */ region?: pulumi.Input<string | undefined>; } //# sourceMappingURL=getDatabaseAcl.d.ts.map