Class ManagementWebHostBuilderExtensions
Inheritance
Namespace: Steeltoe.Management.Endpoint
Assembly: Steeltoe.Management.EndpointCore.dll
Syntax
public static class ManagementWebHostBuilderExtensions : object
Fields
| Edit this page View SourceManagementPortKey
Declaration
public const string ManagementPortKey = null
Field Value
Type | Description |
---|---|
System.String |
ManagementSSLKey
Declaration
public const string ManagementSSLKey = null
Field Value
Type | Description |
---|---|
System.String |
Methods
| Edit this page View SourceAddAllActuators(IWebHostBuilder, Action<IEndpointConventionBuilder>, MediaTypeVersion)
Adds all Steeltoe Actuators to the application
Declaration
public static IWebHostBuilder AddAllActuators(this IWebHostBuilder hostBuilder, Action<IEndpointConventionBuilder> configureEndpoints = null, MediaTypeVersion mediaTypeVersion = MediaTypeVersion.V2)
Parameters
Type | Name | Description |
---|---|---|
IWebHostBuilder | hostBuilder | Your HostBuilder |
Action<IEndpointConventionBuilder> | configureEndpoints | |
MediaTypeVersion | mediaTypeVersion | Specify the media type version to use in the response |
Returns
Type | Description |
---|---|
IWebHostBuilder |
AddCloudFoundryActuator(IWebHostBuilder)
Adds the Cloud Foundry actuator to the application
Declaration
public static IWebHostBuilder AddCloudFoundryActuator(this IWebHostBuilder hostBuilder)
Parameters
Type | Name | Description |
---|---|---|
IWebHostBuilder | hostBuilder | Your HostBuilder |
Returns
Type | Description |
---|---|
IWebHostBuilder |
AddDbMigrationsActuator(IWebHostBuilder)
Adds the Database Migrations actuator to the application
Declaration
public static IWebHostBuilder AddDbMigrationsActuator(this IWebHostBuilder hostBuilder)
Parameters
Type | Name | Description |
---|---|---|
IWebHostBuilder | hostBuilder | Your HostBuilder |
Returns
Type | Description |
---|---|
IWebHostBuilder |
AddEnvActuator(IWebHostBuilder)
Adds the Environment actuator to the application
Declaration
public static IWebHostBuilder AddEnvActuator(this IWebHostBuilder hostBuilder)
Parameters
Type | Name | Description |
---|---|---|
IWebHostBuilder | hostBuilder | Your HostBuilder |
Returns
Type | Description |
---|---|
IWebHostBuilder |
AddHealthActuator(IWebHostBuilder)
Adds the Health actuator to the application
Declaration
public static IWebHostBuilder AddHealthActuator(this IWebHostBuilder hostBuilder)
Parameters
Type | Name | Description |
---|---|---|
IWebHostBuilder | hostBuilder | Your HostBuilder |
Returns
Type | Description |
---|---|
IWebHostBuilder |
AddHealthActuator(IWebHostBuilder, IHealthAggregator, Type[])
Adds the Health actuator to the application
Declaration
public static IWebHostBuilder AddHealthActuator(this IWebHostBuilder hostBuilder, IHealthAggregator aggregator, Type[] contributors)
Parameters
Type | Name | Description |
---|---|---|
IWebHostBuilder | hostBuilder | Your HostBuilder |
IHealthAggregator | aggregator | Custom health aggregator |
Type[] | contributors | Types that contribute to the overall health of the app |
Returns
Type | Description |
---|---|
IWebHostBuilder |
AddHealthActuator(IWebHostBuilder, Type[])
Adds the Health actuator to the application
Declaration
public static IWebHostBuilder AddHealthActuator(this IWebHostBuilder hostBuilder, Type[] contributors)
Parameters
Type | Name | Description |
---|---|---|
IWebHostBuilder | hostBuilder | Your HostBuilder |
Type[] | contributors | Types that contribute to the overall health of the app |
Returns
Type | Description |
---|---|
IWebHostBuilder |
AddHeapDumpActuator(IWebHostBuilder)
Adds the HeapDump actuator to the application
Declaration
public static IWebHostBuilder AddHeapDumpActuator(this IWebHostBuilder hostBuilder)
Parameters
Type | Name | Description |
---|---|---|
IWebHostBuilder | hostBuilder | Your HostBuilder |
Returns
Type | Description |
---|---|
IWebHostBuilder |
AddHypermediaActuator(IWebHostBuilder)
Adds the Hypermedia actuator to the application
Declaration
public static IWebHostBuilder AddHypermediaActuator(this IWebHostBuilder hostBuilder)
Parameters
Type | Name | Description |
---|---|---|
IWebHostBuilder | hostBuilder | Your HostBuilder |
Returns
Type | Description |
---|---|
IWebHostBuilder |
AddInfoActuator(IWebHostBuilder)
Adds the Info actuator to the application
Declaration
public static IWebHostBuilder AddInfoActuator(this IWebHostBuilder hostBuilder)
Parameters
Type | Name | Description |
---|---|---|
IWebHostBuilder | hostBuilder | Your HostBuilder |
Returns
Type | Description |
---|---|
IWebHostBuilder |
AddInfoActuator(IWebHostBuilder, IInfoContributor[])
Adds the Info actuator to the application
Declaration
public static IWebHostBuilder AddInfoActuator(this IWebHostBuilder hostBuilder, IInfoContributor[] contributors)
Parameters
Type | Name | Description |
---|---|---|
IWebHostBuilder | hostBuilder | Your HostBuilder |
IInfoContributor[] | contributors | Contributors to application information |
Returns
Type | Description |
---|---|
IWebHostBuilder |
AddLoggersActuator(IWebHostBuilder)
Adds the Loggers actuator to the application
Declaration
public static IWebHostBuilder AddLoggersActuator(this IWebHostBuilder hostBuilder)
Parameters
Type | Name | Description |
---|---|---|
IWebHostBuilder | hostBuilder | Your HostBuilder |
Returns
Type | Description |
---|---|
IWebHostBuilder |
AddMappingsActuator(IWebHostBuilder)
Adds the Mappings actuator to the application
Declaration
public static IWebHostBuilder AddMappingsActuator(this IWebHostBuilder hostBuilder)
Parameters
Type | Name | Description |
---|---|---|
IWebHostBuilder | hostBuilder | Your HostBuilder |
Returns
Type | Description |
---|---|
IWebHostBuilder |
AddMetricsActuator(IWebHostBuilder)
Adds the Metrics actuator to the application
Declaration
public static IWebHostBuilder AddMetricsActuator(this IWebHostBuilder hostBuilder)
Parameters
Type | Name | Description |
---|---|---|
IWebHostBuilder | hostBuilder | Your HostBuilder |
Returns
Type | Description |
---|---|
IWebHostBuilder |
AddRefreshActuator(IWebHostBuilder)
Adds the Refresh actuator to the application
Declaration
public static IWebHostBuilder AddRefreshActuator(this IWebHostBuilder hostBuilder)
Parameters
Type | Name | Description |
---|---|---|
IWebHostBuilder | hostBuilder | Your HostBuilder |
Returns
Type | Description |
---|---|
IWebHostBuilder |
AddThreadDumpActuator(IWebHostBuilder, MediaTypeVersion)
Adds the ThreadDump actuator to the application
Declaration
public static IWebHostBuilder AddThreadDumpActuator(this IWebHostBuilder hostBuilder, MediaTypeVersion mediaTypeVersion = MediaTypeVersion.V2)
Parameters
Type | Name | Description |
---|---|---|
IWebHostBuilder | hostBuilder | Your HostBuilder |
MediaTypeVersion | mediaTypeVersion | Specify the media type version to use in the response |
Returns
Type | Description |
---|---|
IWebHostBuilder |
AddTraceActuator(IWebHostBuilder, MediaTypeVersion)
Adds the Trace actuator to the application
Declaration
public static IWebHostBuilder AddTraceActuator(this IWebHostBuilder hostBuilder, MediaTypeVersion mediaTypeVersion = MediaTypeVersion.V2)
Parameters
Type | Name | Description |
---|---|---|
IWebHostBuilder | hostBuilder | Your HostBuilder |
MediaTypeVersion | mediaTypeVersion | Specify the media type version to use in the response |
Returns
Type | Description |
---|---|
IWebHostBuilder |
AddWavefrontMetrics(IWebHostBuilder)
Adds Wavefront to the application
Declaration
public static IWebHostBuilder AddWavefrontMetrics(this IWebHostBuilder hostBuilder)
Parameters
Type | Name | Description |
---|---|---|
IWebHostBuilder | hostBuilder | Your HostBuilder |
Returns
Type | Description |
---|---|
IWebHostBuilder |