addGarnet
Function
interface IDistributedApplicationBuilder { // ... omitted for brevity addGarnet( name: string, port?: number, password?: ParameterResource): GarnetResource;}Signature
method
addGarnet builder Adds a Garnet container resource to the application model.
addGarnet( name: string, port?: number, password?: ParameterResource): GarnetResourceParameters
name string port number optional password ParameterResource optional Returns
GarnetResource Applies to
This function is an extension method on the following types: