RadiusContainerConstruct
Classsealednet10.0
Represents a
Radius.Compute/containers resource in the Bicep AST. namespace Aspire.Hosting.Radius.Publishing.Constructs;
public sealed class RadiusContainerConstruct : Azure.Provisioning.Primitives.ProvisionableResource{ // ...}ProvisionableResource
8 members
Remarks
Section titled Remarks Aligned with the Radius container v2 schema (
Radius.Compute/containers@2025-08-01-preview ). The imagePullPolicy property has been removed from the v2 schema. See: https://github.com/radius-project/radius/blob/main/eng/design-notes/extensibility/2025-08-container-resource-type.md Constructors1
Section titled Constructors Initializes a new
RadiusContainerConstruct with the given Bicep identifier and Radius container resource name. Properties7
Section titled PropertiesConnectionsget; setBicepDictionary<ConnectionConstruct> Dictionary of named connections to other resources. Keys are connection names; values contain source resource ID references.
Envget; setBicepDictionary<ContainerEnvVarConstruct> Environment variables for the container, keyed by variable name. Each entry carries either a
value (a literal or a reference to a Bicep parameter) or a valueFrom.secretKeyRef pointing at a key of a Radius.Security/secrets resource (used for credential-bearing values, which must not reach the Deployment spec). Portsget; setBicepDictionary<ContainerPortConstruct> Ports exposed by the container, keyed by port name. Each entry carries a
containerPort and an optional protocol.