ContainerResource(String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.