import * as pulumi from "@pulumi/pulumi"; /** * Creates a subscription to an API product. * Auto-naming is currently not supported for this resource. * Note - this resource's API doesn't support deletion. When deleted, the resource will persist * on Google Cloud even though it will be deleted from Pulumi state. */ export declare class Subscription extends pulumi.CustomResource { /** * Get an existing Subscription 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): Subscription; /** * Returns true if the given object is an instance of Subscription. 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 Subscription; /** * Name of the API product for which the developer is purchasing a subscription. */ readonly apiproduct: pulumi.Output; /** * Time when the API product subscription was created in milliseconds since epoch. */ readonly createdAt: pulumi.Output; readonly developerId: pulumi.Output; /** * Time when the API product subscription ends in milliseconds since epoch. */ readonly endTime: pulumi.Output; /** * Time when the API product subscription was last modified in milliseconds since epoch. */ readonly lastModifiedAt: pulumi.Output; /** * Name of the API product subscription. */ readonly name: pulumi.Output; readonly organizationId: pulumi.Output; /** * Time when the API product subscription starts in milliseconds since epoch. */ readonly startTime: pulumi.Output; /** * Create a Subscription 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: SubscriptionArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Subscription resource. */ export interface SubscriptionArgs { /** * Name of the API product for which the developer is purchasing a subscription. */ apiproduct?: pulumi.Input; developerId: pulumi.Input; /** * Time when the API product subscription ends in milliseconds since epoch. */ endTime?: pulumi.Input; organizationId: pulumi.Input; /** * Time when the API product subscription starts in milliseconds since epoch. */ startTime?: pulumi.Input; }