import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates an app and associates it with an AppGroup. This API associates the AppGroup 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. * Auto-naming is currently not supported for this resource. */ export declare class AppGroupApp extends pulumi.CustomResource { /** * Get an existing AppGroupApp 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): AppGroupApp; /** * Returns true if the given object is an instance of AppGroupApp. 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 AppGroupApp; /** * List of API products associated with the AppGroup app. */ readonly apiProducts: pulumi.Output; /** * Immutable. Name of the parent AppGroup whose resource name format is of syntax (organizations/*/appgroups/*). */ readonly appGroup: pulumi.Output; /** * Immutable. ID of the AppGroup app. */ readonly appId: pulumi.Output; readonly appgroupId: pulumi.Output; /** * List of attributes for the AppGroup app. */ readonly attributes: pulumi.Output; /** * Callback URL used by OAuth 2.0 authorization servers to communicate authorization codes back to AppGroup apps. */ readonly callbackUrl: pulumi.Output; /** * Time the AppGroup app was created in milliseconds since epoch. */ readonly createdAt: pulumi.Output; /** * Set of credentials for the AppGroup app consisting of the consumer key/secret pairs associated with the API products. */ readonly credentials: pulumi.Output; /** * Immutable. Expiration time, in seconds, for the consumer key that is generated for the AppGroup 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 AppGroup app was modified in milliseconds since epoch. */ readonly lastModifiedAt: pulumi.Output; /** * Immutable. Name of the AppGroup app whose resource name format is of syntax (organizations/*/appgroups/*/apps/*). */ readonly name: pulumi.Output; readonly organizationId: pulumi.Output; /** * Scopes to apply to the AppGroup app. The specified scopes must already exist for the API product that you associate with the AppGroup app. */ readonly scopes: pulumi.Output; /** * Status of the App. Valid values include `approved` or `revoked`. */ readonly status: pulumi.Output; /** * Create a AppGroupApp 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: AppGroupAppArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a AppGroupApp resource. */ export interface AppGroupAppArgs { /** * List of API products associated with the AppGroup app. */ apiProducts?: pulumi.Input[]>; /** * Immutable. Name of the parent AppGroup whose resource name format is of syntax (organizations/*/appgroups/*). */ appGroup?: pulumi.Input; /** * Immutable. ID of the AppGroup app. */ appId?: pulumi.Input; appgroupId: pulumi.Input; /** * List of attributes for the AppGroup app. */ attributes?: pulumi.Input[]>; /** * Callback URL used by OAuth 2.0 authorization servers to communicate authorization codes back to AppGroup apps. */ callbackUrl?: pulumi.Input; /** * Immutable. Expiration time, in seconds, for the consumer key that is generated for the AppGroup 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; /** * Immutable. Name of the AppGroup app whose resource name format is of syntax (organizations/*/appgroups/*/apps/*). */ name?: pulumi.Input; organizationId: pulumi.Input; /** * Scopes to apply to the AppGroup app. The specified scopes must already exist for the API product that you associate with the AppGroup app. */ scopes?: pulumi.Input[]>; /** * Status of the App. Valid values include `approved` or `revoked`. */ status?: pulumi.Input; }