Class ComponentProviderHost
A host to serve the component provider automatically. See Serve(string[], Assembly?, string?) for more details.
Inherited Members
Namespace: Pulumi.Experimental.Provider
Assembly: Pulumi.dll
Syntax
public static class ComponentProviderHost
Methods
View SourceServe(string[], Assembly?, string?)
Serves the component provider. It discovers all component types in the given assembly and serves them automatically as a component provider, including GetSchema and Construct methods.
Declaration
public static Task Serve(string[] args, Assembly? componentAssembly = null, string? packageName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string[] | args | The command-line arguments |
| Assembly | componentAssembly | The assembly containing component types |
| string | packageName | Optional package name (defaults to assembly name) |
Returns
| Type | Description |
|---|---|
| Task |