Skip to content
DocsTry Aspire
DocsTry

getResourceName

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

Signature

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

Applies to

This method applies to the following types: