import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Create a License resource in the specified project. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. */ export declare class License extends pulumi.CustomResource { /** * Get an existing License 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): License; /** * Returns true if the given object is an instance of License. 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 License; /** * Deprecated. This field no longer reflects whether a license charges a usage fee. * * @deprecated [Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee. */ readonly chargesUseFee: pulumi.Output; /** * Creation timestamp in RFC3339 text format. */ readonly creationTimestamp: pulumi.Output; /** * An optional textual description of the resource; provided by the client when the resource is created. */ readonly description: pulumi.Output; /** * Type of resource. Always compute#license for licenses. */ readonly kind: pulumi.Output; /** * The unique code used to attach this license to images, snapshots, and disks. */ readonly licenseCode: pulumi.Output; /** * Name of the resource. The name must be 1-63 characters long and comply with RFC1035. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */ readonly requestId: pulumi.Output; readonly resourceRequirements: pulumi.Output; /** * Server-defined URL for the resource. */ readonly selfLink: pulumi.Output; /** * Server-defined URL for this resource with the resource id. */ readonly selfLinkWithId: pulumi.Output; /** * If false, licenses will not be copied from the source resource when creating an image from a disk, disk from snapshot, or snapshot from disk. */ readonly transferable: pulumi.Output; /** * Create a License 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?: LicenseArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a License resource. */ export interface LicenseArgs { /** * An optional textual description of the resource; provided by the client when the resource is created. */ description?: pulumi.Input; /** * Name of the resource. The name must be 1-63 characters long and comply with RFC1035. */ name?: pulumi.Input; project?: pulumi.Input; /** * An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). */ requestId?: pulumi.Input; resourceRequirements?: pulumi.Input; /** * If false, licenses will not be copied from the source resource when creating an image from a disk, disk from snapshot, or snapshot from disk. */ transferable?: pulumi.Input; }