Skip to content
DocsTry Aspire
DocsTry

RadiusContainerConstruct Properties

ClassProperties7 members
Represents a Radius.Compute/containers resource in the Bicep AST.
ApplicationIdSection titled ApplicationIdBicepValue<string>
Reference to the application resource ID.
public BicepValue<string> ApplicationId { get; set; }
ConnectionsSection titled ConnectionsBicepDictionary<ConnectionConstruct>
Dictionary of named connections to other resources. Keys are connection names; values contain source resource ID references.
public BicepDictionary<ConnectionConstruct> Connections { get; set; }
ContainerNameSection titled ContainerNameBicepValue<string>
The resource name.
public BicepValue<string> ContainerName { get; set; }
EnvSection titled EnvBicepDictionary<ContainerEnvVarConstruct>
Environment variables for the container, keyed by variable name. Each entry carries a value (a literal or a reference to a Bicep parameter for secret values).
public BicepDictionary<ContainerEnvVarConstruct> Env { get; set; }
EnvironmentIdSection titled EnvironmentIdBicepValue<string>
Reference to the environment resource ID.
public BicepValue<string> EnvironmentId { get; set; }
ImageSection titled ImageBicepValue<string>
Container image (e.g., "nginx:latest").
public BicepValue<string> Image { get; set; }
PortsSection titled PortsBicepDictionary<ContainerPortConstruct>
Ports exposed by the container, keyed by port name. Each entry carries a containerPort and an optional protocol.
public BicepDictionary<ContainerPortConstruct> Ports { get; set; }