Skip to content
Docs Try Aspire
Docs Try

getResourceName

Method
📦 Aspire.Hosting v13.4.0
interface ContainerResource {
// ... omitted for brevity
getResourceName(): string;
}

Signature

method getResourceName
Gets the name of the resource from a builder.
getResourceName(): string
string

Applies to

This method applies to the following types: