Table of Contents

Class ContainerResource

Namespace
Invex.StructuredText.AzureDevopsPipelines.DevopsPipelineModel.Resources
Assembly
Invex.StructuredText.AzureDevopsPipelines.dll

Container image resource definition.

public sealed record ContainerResource
Inheritance
object
ContainerResource

Constructors

ContainerResource()

public ContainerResource()

Properties

Container

Identifier for the container resource.

public required Template Container { get; init; }

Property Value

Template

Endpoint

Container registry service connection.

public Template? Endpoint { get; init; }

Property Value

Template

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

Template

Options

Options to pass to the container at startup.

public Template? Options { get; init; }

Property Value

Template

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

ContainerResourceTrigger

Volumes

Volumes to mount in the container.

public IReadOnlyList<Template>? Volumes { get; init; }

Property Value

IReadOnlyList<Template>