Show / Hide Table of Contents

Class ComponentProviderHost

A host to serve the component provider automatically. See Serve(string[], Assembly?, string?) for more details.

Inheritance
object
ComponentProviderHost
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Pulumi.Experimental.Provider
Assembly: Pulumi.dll
Syntax
public static class ComponentProviderHost

Methods

View Source

Serve(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

Version 3.114.1

  • View Source
Back to top Copyright 2016-2023, Pulumi Corporation.