UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

165 lines (164 loc) 4.92 kB
import * as pulumi from "@pulumi/pulumi"; /** * Provides a resource to manage iam oidc provider * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@volcengine/pulumi"; * * const foo = new volcengine.iam.OidcProvider("foo", { * clientIds: [ * "test-client-id-1", * "test-client-id-2", * ], * description: "acc-test-oidc", * issuanceLimitTime: 6, * issuerUrl: "test-issuer-url", * oidcProviderName: "oidc_provider", * thumbprints: [ * "test-thumbprint-1", * "test-thumbprint-2", * ], * }); * ``` * * ## Import * * IamOidcProvider can be imported using the id, e.g. * * ```sh * $ pulumi import volcengine:iam/oidcProvider:OidcProvider default resource_id * ``` */ export declare class OidcProvider extends pulumi.CustomResource { /** * Get an existing OidcProvider resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: OidcProviderState, opts?: pulumi.CustomResourceOptions): OidcProvider; /** * Returns true if the given object is an instance of OidcProvider. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is OidcProvider; /** * The client IDs of the OIDC provider. */ readonly clientIds: pulumi.Output<string[]>; /** * The create date of the OIDC provider. */ readonly createDate: pulumi.Output<string>; /** * The description of the OIDC provider. */ readonly description: pulumi.Output<string | undefined>; /** * The issuance limit time of the OIDC provider. */ readonly issuanceLimitTime: pulumi.Output<number | undefined>; /** * The URL of the OIDC provider. */ readonly issuerUrl: pulumi.Output<string>; /** * The name of the OIDC provider. */ readonly oidcProviderName: pulumi.Output<string>; /** * The thumbprints of the OIDC provider. */ readonly thumbprints: pulumi.Output<string[]>; /** * The trn of OIDC provider. */ readonly trn: pulumi.Output<string>; /** * The update date of the OIDC provider. */ readonly updateDate: pulumi.Output<string>; /** * Create a OidcProvider resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: OidcProviderArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering OidcProvider resources. */ export interface OidcProviderState { /** * The client IDs of the OIDC provider. */ clientIds?: pulumi.Input<pulumi.Input<string>[]>; /** * The create date of the OIDC provider. */ createDate?: pulumi.Input<string>; /** * The description of the OIDC provider. */ description?: pulumi.Input<string>; /** * The issuance limit time of the OIDC provider. */ issuanceLimitTime?: pulumi.Input<number>; /** * The URL of the OIDC provider. */ issuerUrl?: pulumi.Input<string>; /** * The name of the OIDC provider. */ oidcProviderName?: pulumi.Input<string>; /** * The thumbprints of the OIDC provider. */ thumbprints?: pulumi.Input<pulumi.Input<string>[]>; /** * The trn of OIDC provider. */ trn?: pulumi.Input<string>; /** * The update date of the OIDC provider. */ updateDate?: pulumi.Input<string>; } /** * The set of arguments for constructing a OidcProvider resource. */ export interface OidcProviderArgs { /** * The client IDs of the OIDC provider. */ clientIds: pulumi.Input<pulumi.Input<string>[]>; /** * The description of the OIDC provider. */ description?: pulumi.Input<string>; /** * The issuance limit time of the OIDC provider. */ issuanceLimitTime?: pulumi.Input<number>; /** * The URL of the OIDC provider. */ issuerUrl: pulumi.Input<string>; /** * The name of the OIDC provider. */ oidcProviderName: pulumi.Input<string>; /** * The thumbprints of the OIDC provider. */ thumbprints: pulumi.Input<pulumi.Input<string>[]>; }