Show / Hide Table of Contents

Class ComponentAnalyzer

Analyzes component resource types and generates a package schema.

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

Methods

View Source

FindComponentType(string, Assembly, Type[]?)

Finds a component type by name in the given assembly or type array.

Declaration
public static Type? FindComponentType(string name, Assembly assembly, Type[]? componentTypes = null)
Parameters
Type Name Description
string name
Assembly assembly
Type[] componentTypes
Returns
Type Description
Type
View Source

GenerateSchema(Metadata, Assembly)

Analyzes the components in the given assembly and generates a package schema.

Declaration
public static PackageSpec GenerateSchema(Metadata metadata, Assembly assembly)
Parameters
Type Name Description
Metadata metadata

The package metadata including name (required), version and display name (optional)

Assembly assembly

The assembly containing component resource types to analyze

Returns
Type Description
PackageSpec

A PackageSpec containing the complete schema for all components and their types

View Source

GenerateSchema(Metadata, params Type[])

Analyzes the specified component types and generates a package schema.

Declaration
public static PackageSpec GenerateSchema(Metadata metadata, params Type[] componentTypes)
Parameters
Type Name Description
Metadata metadata

The package metadata including name (required), version and display name (optional)

Type[] componentTypes

The component resource types to analyze

Returns
Type Description
PackageSpec

A PackageSpec containing the complete schema for all components and their types

Version 3.114.1

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