Table of Contents

Class BicepDeployment

Namespace
Ando.Operations
Assembly
ando.dll

Represents the result of a Bicep deployment. Outputs are populated when the deployment step executes.

public class BicepDeployment
Inheritance
BicepDeployment
Inherited Members

Properties

OutputCount

Gets the number of captured outputs.

public int OutputCount { get; }

Property Value

int

OutputNames

Gets all captured output names.

public IReadOnlyCollection<string> OutputNames { get; }

Property Value

IReadOnlyCollection<string>

Methods

GetOutput(string)

Gets an output value by name. Returns null if the output doesn't exist. Note: This should only be called at step execution time, not during script evaluation.

public string? GetOutput(string name)

Parameters

name string

The output name from the Bicep template.

Returns

string

Output(string)

Creates a lazy reference to an output that can be passed to other operations. The reference is resolved when the consuming step executes.

public OutputRef Output(string name)

Parameters

name string

The output name from the Bicep template.

Returns

OutputRef