UNPKG

@pulumiverse/cpln

Version:

A Pulumi package for creating and managing Control Plane (cpln) resources.

127 lines (126 loc) 3.9 kB
import * as pulumi from "@pulumi/pulumi"; export declare class CustomLocation extends pulumi.CustomResource { /** * Get an existing CustomLocation 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CustomLocationState, opts?: pulumi.CustomResourceOptions): CustomLocation; /** * Returns true if the given object is an instance of CustomLocation. 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 CustomLocation; /** * Cloud Provider of the custom location. */ readonly cloudProvider: pulumi.Output<string>; /** * The ID, in GUID format, of the Custom Location. */ readonly cplnId: pulumi.Output<string>; /** * Description of the Custom Location. */ readonly description: pulumi.Output<string>; /** * Indication if the custom location is enabled. */ readonly enabled: pulumi.Output<boolean>; /** * Name of the Custom Location. */ readonly name: pulumi.Output<string>; /** * Region of the location. */ readonly region: pulumi.Output<string>; /** * Full link to this resource. Can be referenced by other resources. */ readonly selfLink: pulumi.Output<string>; /** * Key-value map of resource tags. */ readonly tags: pulumi.Output<{ [key: string]: string; }>; /** * Create a CustomLocation 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: CustomLocationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CustomLocation resources. */ export interface CustomLocationState { /** * Cloud Provider of the custom location. */ cloudProvider?: pulumi.Input<string>; /** * The ID, in GUID format, of the Custom Location. */ cplnId?: pulumi.Input<string>; /** * Description of the Custom Location. */ description?: pulumi.Input<string>; /** * Indication if the custom location is enabled. */ enabled?: pulumi.Input<boolean>; /** * Name of the Custom Location. */ name?: pulumi.Input<string>; /** * Region of the location. */ region?: pulumi.Input<string>; /** * Full link to this resource. Can be referenced by other resources. */ selfLink?: pulumi.Input<string>; /** * Key-value map of resource tags. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; } /** * The set of arguments for constructing a CustomLocation resource. */ export interface CustomLocationArgs { /** * Cloud Provider of the custom location. */ cloudProvider: pulumi.Input<string>; /** * Description of the Custom Location. */ description?: pulumi.Input<string>; /** * Indication if the custom location is enabled. */ enabled: pulumi.Input<boolean>; /** * Name of the Custom Location. */ name?: pulumi.Input<string>; /** * Key-value map of resource tags. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; }