import * as pulumi from "@pulumi/pulumi"; /** * With this resource, you can create and manage SCIM bearer tokens for a connection. This resource only works with enterprise connections * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * const azureAd = new auth0.Connection("azure_ad", { * name: "Acceptance-Test-Azure-AD", * strategy: "waad", * showAsButton: true, * options: { * identityApi: "microsoft-identity-platform-v2.0", * clientId: "123456", * clientSecret: "123456", * strategyVersion: 2, * tenantDomain: "example.onmicrosoft.com", * domain: "example.onmicrosoft.com", * domainAliases: [ * "example.com", * "api.example.com", * ], * useWsfed: false, * waadProtocol: "openid-connect", * waadCommonEndpoint: false, * userIdAttribute: "oid", * apiEnableUsers: true, * scopes: [ * "basic_profile", * "ext_groups", * "ext_profile", * ], * setUserRootAttributes: "on_each_login", * shouldTrustEmailVerifiedConnection: "never_set_emails_as_verified", * upstreamParams: JSON.stringify({ * screen_name: { * alias: "login_hint", * }, * }), * }, * }); * const myScimConfig = new auth0.ConnectionScimConfiguration("my_scim_config", {connectionId: azureAd.id}); * const myScimToken = new auth0.ConnectionScimToken("my_scim_token", { * connectionId: azureAd.id, * scopes: [ * "post:users", * "get:users", * ], * }, { * dependsOn: [myScimConfig], * }); * ``` */ export declare class ConnectionScimToken extends pulumi.CustomResource { /** * Get an existing ConnectionScimToken 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, state?: ConnectionScimTokenState, opts?: pulumi.CustomResourceOptions): ConnectionScimToken; /** * Returns true if the given object is an instance of ConnectionScimToken. 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 ConnectionScimToken; /** * ID of the connection for this SCIM token. */ readonly connectionId: pulumi.Output; /** * The date and time when the token was created (ISO8601 format). */ readonly createdAt: pulumi.Output; /** * The scopes associated with the SCIM token. */ readonly scopes: pulumi.Output; /** * The SCIM bearer token value. */ readonly token: pulumi.Output; /** * The ID of the SCIM token. */ readonly tokenId: pulumi.Output; /** * Create a ConnectionScimToken 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: ConnectionScimTokenArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ConnectionScimToken resources. */ export interface ConnectionScimTokenState { /** * ID of the connection for this SCIM token. */ connectionId?: pulumi.Input; /** * The date and time when the token was created (ISO8601 format). */ createdAt?: pulumi.Input; /** * The scopes associated with the SCIM token. */ scopes?: pulumi.Input[]>; /** * The SCIM bearer token value. */ token?: pulumi.Input; /** * The ID of the SCIM token. */ tokenId?: pulumi.Input; } /** * The set of arguments for constructing a ConnectionScimToken resource. */ export interface ConnectionScimTokenArgs { /** * ID of the connection for this SCIM token. */ connectionId: pulumi.Input; /** * The scopes associated with the SCIM token. */ scopes?: pulumi.Input[]>; }