ContainerPortReference Class
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.
Represents a TCP/UDP port that a container can expose.
public class ContainerPortReference : Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences
type ContainerPortReference = class
interface IManifestExpressionProvider
interface IValueWithReferences
Public Class ContainerPortReference
Implements IManifestExpressionProvider, IValueWithReferences
- Inheritance
-
ContainerPortReference
- Implements
Constructors
ContainerPortReference(IResource) |
Represents a TCP/UDP port that a container can expose. |
Properties
References |
The referenced objects of the value. |
Resource |
Gets the resource that this container port is associated with. |
ValueExpression |
Gets the expression that represents a value in manifest. |
Extension Methods
AsProvisioningParameter(IManifestExpressionProvider, AzureResourceInfrastructure, String, Nullable<Boolean>) |
Creates a new ProvisioningParameter in |
AsEnvironmentPlaceholder(IManifestExpressionProvider, DockerComposeServiceResource) |
Creates a placeholder for an environment variable in the Docker Compose file. |