@pulumi/pulumiservice
Version:
30 lines (29 loc) • 1.08 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
export declare class Provider extends pulumi.ProviderResource {
/**
* Returns true if the given object is an instance of Provider. 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 Provider;
/**
* Create a Provider 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?: ProviderArgs, opts?: pulumi.ResourceOptions);
}
/**
* The set of arguments for constructing a Provider resource.
*/
export interface ProviderArgs {
/**
* Access Token to authenticate with Pulumi Cloud.
*/
accessToken?: pulumi.Input<string>;
/**
* Optional override of Pulumi Cloud API endpoint.
*/
apiUrl?: pulumi.Input<string>;
}