Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithChildRelationship

Method
📦 Aspire.Hosting v17.0.0
func (Resource) WithChildRelationship(child Resource) Resource

Signature

methodWithChildRelationshipbuilder
Sets a child relationship
WithChildRelationship(child Resource) Resource
childResourceThe child of builder.
Resource

A resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: