import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../../types"; /** * 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; /** * [Output Only] 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; /** * [Output Only] Type of resource. Always compute#license for licenses. */ readonly kind: pulumi.Output; /** * [Output Only] 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 resourceRequirements: pulumi.Output; /** * [Output Only] Server-defined URL for the resource. */ readonly selfLink: pulumi.Output; /** * [Output Only] 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 { /** * [Output Only] Creation timestamp in RFC3339 text format. */ readonly creationTimestamp?: pulumi.Input; /** * An optional textual description of the resource; provided by the client when the resource is created. */ readonly description?: pulumi.Input; /** * [Output Only] The unique identifier for the resource. This identifier is defined by the server. */ readonly id?: pulumi.Input; /** * [Output Only] Type of resource. Always compute#license for licenses. */ readonly kind?: pulumi.Input; readonly license: pulumi.Input; /** * [Output Only] The unique code used to attach this license to images, snapshots, and disks. */ readonly licenseCode?: pulumi.Input; /** * Name of the resource. The name must be 1-63 characters long and comply with RFC1035. */ readonly name?: pulumi.Input; readonly project: pulumi.Input; readonly resourceRequirements?: pulumi.Input; /** * [Output Only] Server-defined URL for the resource. */ readonly selfLink?: pulumi.Input; /** * [Output Only] Server-defined URL for this resource with the resource id. */ readonly selfLinkWithId?: 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. */ readonly transferable?: pulumi.Input; }