Skip to content
Docs Try Aspire

getResourceName

Function
📦 Aspire.Hosting v13.2.0-preview.1.26159.1
interface ContainerResource {
// ... omitted for brevity
getResourceName(): string;
}

Signature

method getResourceName
Gets the resource name
getResourceName(): string
string

Applies to

This function is an extension method on the following types: