Table of Contents

Class BicepDeployOptions

Namespace
Ando.Operations
Assembly
ando.dll

Fluent options for configuring Bicep deployments.

public class BicepDeployOptions
Inheritance
BicepDeployOptions
Inherited Members

Methods

WithDeploymentSlot(string)

Sets the deployment slot for Azure App Service or Functions deployments. The slot name is passed as a "deploymentSlot" parameter to the Bicep template.

public BicepDeployOptions WithDeploymentSlot(string slot)

Parameters

slot string

Deployment slot name (e.g., "staging", "preview"). Use "production" or omit to deploy to the production slot.

Returns

BicepDeployOptions

WithMode(DeploymentMode)

Sets the deployment mode.

public BicepDeployOptions WithMode(DeploymentMode mode)

Parameters

mode DeploymentMode

Incremental (default) or Complete.

Returns

BicepDeployOptions

WithName(string)

Sets a custom deployment name. If not specified, Azure generates a name based on the template file.

public BicepDeployOptions WithName(string name)

Parameters

name string

Deployment name.

Returns

BicepDeployOptions

WithParameter(string, string)

Adds an inline parameter. Can be called multiple times to add multiple parameters.

public BicepDeployOptions WithParameter(string name, string value)

Parameters

name string

Parameter name.

value string

Parameter value.

Returns

BicepDeployOptions

WithParameterFile(string)

Sets the parameters file path. Supports JSON (.json) and Bicep parameters (.bicepparam) files.

public BicepDeployOptions WithParameterFile(string path)

Parameters

path string

Path to parameters file.

Returns

BicepDeployOptions