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
slotstringDeployment slot name (e.g., "staging", "preview"). Use "production" or omit to deploy to the production slot.
Returns
WithMode(DeploymentMode)
Sets the deployment mode.
public BicepDeployOptions WithMode(DeploymentMode mode)
Parameters
modeDeploymentModeIncremental (default) or Complete.
Returns
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
namestringDeployment name.
Returns
WithParameter(string, string)
Adds an inline parameter. Can be called multiple times to add multiple parameters.
public BicepDeployOptions WithParameter(string name, string value)
Parameters
Returns
WithParameterFile(string)
Sets the parameters file path. Supports JSON (.json) and Bicep parameters (.bicepparam) files.
public BicepDeployOptions WithParameterFile(string path)
Parameters
pathstringPath to parameters file.