import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates an app associated with a developer. This API associates the developer app with the specified API product and auto-generates an API key for the app to use in calls to API proxies inside that API product. The `name` is the unique ID of the app that you can use in API calls. The `DisplayName` (set as an attribute) appears in the UI. If you don't set the `DisplayName` attribute, the `name` appears in the UI. */ export declare class DeveloperApp extends pulumi.CustomResource { /** * Get an existing DeveloperApp 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): DeveloperApp; /** * Returns true if the given object is an instance of DeveloperApp. 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 DeveloperApp; /** * List of API products associated with the developer app. */ readonly apiProducts: pulumi.Output; /** * Developer app family. */ readonly appFamily: pulumi.Output; /** * ID of the developer app. */ readonly appId: pulumi.Output; /** * List of attributes for the developer app. */ readonly attributes: pulumi.Output; /** * Callback URL used by OAuth 2.0 authorization servers to communicate authorization codes back to developer apps. */ readonly callbackUrl: pulumi.Output; /** * Time the developer app was created in milliseconds since epoch. */ readonly createdAt: pulumi.Output; /** * Set of credentials for the developer app consisting of the consumer key/secret pairs associated with the API products. */ readonly credentials: pulumi.Output; readonly developerId: pulumi.Output; /** * Expiration time, in milliseconds, for the consumer key that is generated for the developer app. If not set or left to the default value of `-1`, the API key never expires. The expiration time can't be updated after it is set. */ readonly keyExpiresIn: pulumi.Output; /** * Time the developer app was modified in milliseconds since epoch. */ readonly lastModifiedAt: pulumi.Output; /** * Name of the developer app. */ readonly name: pulumi.Output; readonly organizationId: pulumi.Output; /** * Scopes to apply to the developer app. The specified scopes must already exist for the API product that you associate with the developer app. */ readonly scopes: pulumi.Output; /** * Status of the credential. Valid values include `approved` or `revoked`. */ readonly status: pulumi.Output; /** * Create a DeveloperApp 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: DeveloperAppArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a DeveloperApp resource. */ export interface DeveloperAppArgs { /** * List of API products associated with the developer app. */ apiProducts?: pulumi.Input[]>; /** * Developer app family. */ appFamily?: pulumi.Input; /** * ID of the developer app. */ appId?: pulumi.Input; /** * List of attributes for the developer app. */ attributes?: pulumi.Input[]>; /** * Callback URL used by OAuth 2.0 authorization servers to communicate authorization codes back to developer apps. */ callbackUrl?: pulumi.Input; /** * ID of the developer. */ developerId: pulumi.Input; /** * Expiration time, in milliseconds, for the consumer key that is generated for the developer app. If not set or left to the default value of `-1`, the API key never expires. The expiration time can't be updated after it is set. */ keyExpiresIn?: pulumi.Input; /** * Name of the developer app. */ name?: pulumi.Input; organizationId: pulumi.Input; /** * Scopes to apply to the developer app. The specified scopes must already exist for the API product that you associate with the developer app. */ scopes?: pulumi.Input[]>; /** * Status of the credential. Valid values include `approved` or `revoked`. */ status?: pulumi.Input; }