withParentRelationship

Method
📦 Aspire.Hosting v17.0.0
interface ContainerResource {
// ... omitted for brevity
withParentRelationship(parent: IResource): IResource;
}

Signature

methodwithParentRelationshipbuilder
Sets the parent relationship
withParentRelationship(parent: IResource): IResource
parentIResourceThe parent of `builder`.
IResource

Applies to

This method applies to the following types: