UNPKG

@huaweicloudos/pulumi

Version:

A Pulumi package for creating and managing Huaweicloud cloud resources.

61 lines (60 loc) 1.77 kB
import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get the list of RDS instance roles. */ export declare function getPgRoles(args: GetPgRolesArgs, opts?: pulumi.InvokeOptions): Promise<GetPgRolesResult>; /** * A collection of arguments for invoking getPgRoles. */ export interface GetPgRolesArgs { /** * Specifies the username of the account. * The list of authorized roles for this account when there is a value. */ account?: string; /** * Specifies the ID of Instance. */ instanceId: string; /** * Specifies the region in which to query the resource. * If omitted, the provider-level region will be used. */ region?: string; } /** * A collection of values returned by getPgRoles. */ export interface GetPgRolesResult { readonly account?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly instanceId: string; readonly region: string; /** * Indicates the list of roles. */ readonly roles: string[]; } export declare function getPgRolesOutput(args: GetPgRolesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPgRolesResult>; /** * A collection of arguments for invoking getPgRoles. */ export interface GetPgRolesOutputArgs { /** * Specifies the username of the account. * The list of authorized roles for this account when there is a value. */ account?: pulumi.Input<string>; /** * Specifies the ID of Instance. */ instanceId: pulumi.Input<string>; /** * Specifies the region in which to query the resource. * If omitted, the provider-level region will be used. */ region?: pulumi.Input<string>; }