Share via


ParameterResourceBuilderExtensions Class

Definition

Provides extension methods for adding parameter resources to an application.

public static class ParameterResourceBuilderExtensions
type ParameterResourceBuilderExtensions = class
Public Module ParameterResourceBuilderExtensions
Inheritance
ParameterResourceBuilderExtensions

Methods

AddConnectionString(IDistributedApplicationBuilder, String, String)

Adds a parameter to the distributed application but wrapped in a resource with a connection string for use with WithReference<TDestination>(IResourceBuilder<TDestination>, IResourceBuilder<IResourceWithConnectionString>, String, Boolean)

AddParameter(IDistributedApplicationBuilder, String, Boolean)

Adds a parameter resource to the application.

AddParameter(IDistributedApplicationBuilder, String, Func<String>, Boolean, Boolean)

Adds a parameter resource to the application with a value coming from a callback function.

AddParameter(IDistributedApplicationBuilder, String, ParameterDefault, Boolean, Boolean)

Adds a parameter resource to the application, with a value coming from a ParameterDefault.

AddParameter(IDistributedApplicationBuilder, String, String, Boolean, Boolean)

Adds a parameter resource to the application with a given value.

AddParameterFromConfiguration(IDistributedApplicationBuilder, String, String, Boolean)

Adds a parameter resource to the application, with a value coming from configuration.

ConfigureConnectionStringManifestPublisher(IResourceBuilder<IResourceWithConnectionString>)

Configures the manifest writer for this resource to be a parameter resource.

CreateDefaultPasswordParameter(IDistributedApplicationBuilder, String, Boolean, Boolean, Boolean, Boolean, Int32, Int32, Int32, Int32)

Creates a default password parameter that generates a random password.

CreateGeneratedParameter(IDistributedApplicationBuilder, String, Boolean, GenerateParameterDefault)

Creates a new ParameterResource that has a generated value using the parameterDefault.

PublishAsConnectionString<T>(IResourceBuilder<T>)

Changes the resource to be published as a connection string reference in the manifest.

Applies to