import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific My O Auth2 Client Credential resource in Oracle Cloud Infrastructure Identity Domains service. * * Get a user's own OAuth2 client credential. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMyOauth2clientCredential = oci.identity.getDomainsMyOauth2clientCredential({ * idcsEndpoint: testDomain.url, * myOauth2clientCredentialId: testMyOauth2clientCredentialOciIdentityDomainsMyOauth2clientCredential.id, * authorization: myOauth2clientCredentialAuthorization, * resourceTypeSchemaVersion: myOauth2clientCredentialResourceTypeSchemaVersion, * }); * ``` */ export declare function getDomainsMyOauth2clientCredential(args: GetDomainsMyOauth2clientCredentialArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDomainsMyOauth2clientCredential. */ export interface GetDomainsMyOauth2clientCredentialArgs { /** * The Authorization field value consists of credentials containing the authentication information of the user agent for the realm of the resource being requested. */ authorization?: string; /** * The basic endpoint for the identity domain */ idcsEndpoint: string; /** * ID of the resource */ myOauth2clientCredentialId: string; /** * An endpoint-specific schema version number to use in the Request. Allowed version values are Earliest Version or Latest Version as specified in each REST API endpoint description, or any sequential number inbetween. All schema attributes/body parameters are a part of version 1. After version 1, any attributes added or deprecated will be tagged with the version that they were added to or deprecated in. If no version is provided, the latest schema version is returned. */ resourceTypeSchemaVersion?: string; } /** * A collection of values returned by getDomainsMyOauth2clientCredential. */ export interface GetDomainsMyOauth2clientCredentialResult { readonly authorization?: string; /** * Oracle Cloud Infrastructure Compartment Id (ocid) in which the resource lives. */ readonly compartmentOcid: string; /** * A boolean flag indicating this resource in the process of being deleted. Usually set to true when synchronous deletion of the resource would take too long. */ readonly deleteInProgress: boolean; /** * Description */ readonly description: string; /** * Oracle Cloud Infrastructure Domain Id (ocid) in which the resource lives. */ readonly domainOcid: string; /** * When the user's credentials expire. */ readonly expiresOn: string; /** * Unique identifier for the SCIM Resource as defined by the Service Provider. Each representation of the Resource MUST include a non-empty id value. This identifier MUST be unique across the Service Provider's entire set of Resources. It MUST be a stable, non-reassignable identifier that does not change when the same Resource is returned in subsequent requests. The value of the id attribute is always issued by the Service Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST NOT be used in the unique identifier. */ readonly id: string; /** * The User or App who created the Resource */ readonly idcsCreatedBies: outputs.Identity.GetDomainsMyOauth2clientCredentialIdcsCreatedBy[]; readonly idcsEndpoint: string; /** * The User or App who modified the Resource */ readonly idcsLastModifiedBies: outputs.Identity.GetDomainsMyOauth2clientCredentialIdcsLastModifiedBy[]; /** * The release number when the resource was upgraded. */ readonly idcsLastUpgradedInRelease: string; /** * Each value of this attribute specifies an operation that only an internal client may perform on this particular resource. */ readonly idcsPreventedOperations: string[]; /** * Specifies whether the secret must be reset. */ readonly isResetSecret: boolean; /** * A complex attribute that contains resource metadata. All sub-attributes are OPTIONAL. */ readonly metas: outputs.Identity.GetDomainsMyOauth2clientCredentialMeta[]; readonly myOauth2clientCredentialId: string; /** * The username. */ readonly name: string; /** * The user's OCID. */ readonly ocid: string; readonly resourceTypeSchemaVersion?: string; /** * REQUIRED. The schemas attribute is an array of Strings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation. Each String value must be a unique URI. This specification defines URIs for User, Group, and a standard \"enterprise\" extension. All representations of SCIM schema MUST include a non-zero value array with value(s) of the URIs supported by that representation. Duplicate values MUST NOT be included. Value order is not specified and MUST not impact behavior. */ readonly schemas: string[]; /** * Scopes */ readonly scopes: outputs.Identity.GetDomainsMyOauth2clientCredentialScope[]; /** * The user's credential status. */ readonly status: string; /** * A list of tags on this resource. */ readonly tags: outputs.Identity.GetDomainsMyOauth2clientCredentialTag[]; /** * Oracle Cloud Infrastructure Tenant Id (ocid) in which the resource lives. */ readonly tenancyOcid: string; /** * The user linked to the OAuth2 client credential. */ readonly users: outputs.Identity.GetDomainsMyOauth2clientCredentialUser[]; } /** * This data source provides details about a specific My O Auth2 Client Credential resource in Oracle Cloud Infrastructure Identity Domains service. * * Get a user's own OAuth2 client credential. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testMyOauth2clientCredential = oci.identity.getDomainsMyOauth2clientCredential({ * idcsEndpoint: testDomain.url, * myOauth2clientCredentialId: testMyOauth2clientCredentialOciIdentityDomainsMyOauth2clientCredential.id, * authorization: myOauth2clientCredentialAuthorization, * resourceTypeSchemaVersion: myOauth2clientCredentialResourceTypeSchemaVersion, * }); * ``` */ export declare function getDomainsMyOauth2clientCredentialOutput(args: GetDomainsMyOauth2clientCredentialOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDomainsMyOauth2clientCredential. */ export interface GetDomainsMyOauth2clientCredentialOutputArgs { /** * The Authorization field value consists of credentials containing the authentication information of the user agent for the realm of the resource being requested. */ authorization?: pulumi.Input; /** * The basic endpoint for the identity domain */ idcsEndpoint: pulumi.Input; /** * ID of the resource */ myOauth2clientCredentialId: pulumi.Input; /** * An endpoint-specific schema version number to use in the Request. Allowed version values are Earliest Version or Latest Version as specified in each REST API endpoint description, or any sequential number inbetween. All schema attributes/body parameters are a part of version 1. After version 1, any attributes added or deprecated will be tagged with the version that they were added to or deprecated in. If no version is provided, the latest schema version is returned. */ resourceTypeSchemaVersion?: pulumi.Input; } //# sourceMappingURL=getDomainsMyOauth2clientCredential.d.ts.map