github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/external-resource-schema/nodejs/provider.ts (about) 1 // *** WARNING: this file was generated by test. *** 2 // *** Do not edit by hand unless you're certain you know what you are doing! *** 3 4 import * as pulumi from "@pulumi/pulumi"; 5 import * as utilities from "./utilities"; 6 7 export class Provider extends pulumi.ProviderResource { 8 /** @internal */ 9 public static readonly __pulumiType = 'example'; 10 11 /** 12 * Returns true if the given object is an instance of Provider. This is designed to work even 13 * when multiple copies of the Pulumi SDK have been loaded into the same process. 14 */ 15 public static isInstance(obj: any): obj is Provider { 16 if (obj === undefined || obj === null) { 17 return false; 18 } 19 return obj['__pulumiType'] === Provider.__pulumiType; 20 } 21 22 23 /** 24 * Create a Provider resource with the given unique name, arguments, and options. 25 * 26 * @param name The _unique_ name of the resource. 27 * @param args The arguments to use to populate this resource's properties. 28 * @param opts A bag of options that control this resource's behavior. 29 */ 30 constructor(name: string, args?: ProviderArgs, opts?: pulumi.ResourceOptions) { 31 let resourceInputs: pulumi.Inputs = {}; 32 opts = opts || {}; 33 { 34 } 35 opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); 36 super(Provider.__pulumiType, name, resourceInputs, opts); 37 } 38 } 39 40 /** 41 * The set of arguments for constructing a Provider resource. 42 */ 43 export interface ProviderArgs { 44 }