Class ContainerResource
- Namespace
- Invex.StructuredText.AzureDevopsPipelines.DevopsPipelineModel.Resources
- Assembly
- Invex.StructuredText.AzureDevopsPipelines.dll
Container image resource definition.
public sealed record ContainerResource
- Inheritance
-
objectContainerResource
Constructors
ContainerResource()
public ContainerResource()
Properties
Container
Identifier for the container resource.
public required Template Container { get; init; }
Property Value
Endpoint
Container registry service connection.
public Template? Endpoint { get; init; }
Property Value
Env
Environment variables to set in the container.
public IReadOnlyDictionary<string, Template>? Env { get; init; }
Property Value
- IReadOnlyDictionary<string, Template>
Image
Container image tag.
public required Template Image { get; init; }
Property Value
Options
Options to pass to the container at startup.
public Template? Options { get; init; }
Property Value
Ports
Ports to expose on the container.
public IReadOnlyList<Template>? Ports { get; init; }
Property Value
- IReadOnlyList<Template>
Trigger
Trigger for this container resource.
public ContainerResourceTrigger? Trigger { get; init; }
Property Value
Volumes
Volumes to mount in the container.
public IReadOnlyList<Template>? Volumes { get; init; }
Property Value
- IReadOnlyList<Template>