Sdílet prostřednictvím


ContainerResource(String, String) Constructor

Definition

A resource that represents a specified container.

public ContainerResource (string name, string? entrypoint = default);
new Aspire.Hosting.ApplicationModel.ContainerResource : string * string -> Aspire.Hosting.ApplicationModel.ContainerResource
Public Sub New (name As String, Optional entrypoint As String = Nothing)

Parameters

name
String

The name of the resource.

entrypoint
String

An optional container entrypoint.

Applies to