UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

79 lines (78 loc) 2.22 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of iam oauth providers * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.iam.getOauthProviders({ * oauthProviderName: "acc-test-oauth", * }); * ``` */ export declare function getOauthProviders(args: GetOauthProvidersArgs, opts?: pulumi.InvokeOptions): Promise<GetOauthProvidersResult>; /** * A collection of arguments for invoking getOauthProviders. */ export interface GetOauthProvidersArgs { /** * The name of the OAuth provider. */ oauthProviderName: string; /** * File name where to save data source results. */ outputFile?: string; } /** * A collection of values returned by getOauthProviders. */ export interface GetOauthProvidersResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The name of the OAuth provider. */ readonly oauthProviderName: string; readonly outputFile?: string; /** * The collection of OAuth providers. */ readonly providers: outputs.iam.GetOauthProvidersProvider[]; /** * The total count of query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of iam oauth providers * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.iam.getOauthProviders({ * oauthProviderName: "acc-test-oauth", * }); * ``` */ export declare function getOauthProvidersOutput(args: GetOauthProvidersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOauthProvidersResult>; /** * A collection of arguments for invoking getOauthProviders. */ export interface GetOauthProvidersOutputArgs { /** * The name of the OAuth provider. */ oauthProviderName: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; }