DbxContainerResource

Handle
📦 CommunityToolkit.Aspire.Hosting.Dbx v13.6.1
interface DbxContainerResource
extends IComputeResource,
IResource,
IResourceWithArgs,
IResourceWithEndpoints,
IResourceWithEnvironment,
IResourceWithProbes,
IResourceWithWaitSupport {
readonly primaryEndpoint: EndpointReference;
withHostPort(port: number): DbxContainerResource;
}

Properties

propertyprimaryEndpointEndpointReferenceget
Gets the primary endpoint for the dbx resource.

Methods

methodwithHostPortbuilder
Configures the host port that the dbx resource is exposed on instead of using randomly assigned port.
withHostPort(port: number): DbxContainerResource
portnumberThe port to bind on the host. If `null` is used random port will be assigned.
DbxContainerResource