Share via


ProvisioningPlan Class

Definition

Represents a composed collection of resources that can be compiled to bicep source, saved to disk, compiled to an ARM template, linted, validated, and deployed.

public class ProvisioningPlan
type ProvisioningPlan = class
Public Class ProvisioningPlan
Inheritance
ProvisioningPlan

Remarks

Features that require the Bicep compiler or deployments are exposed via extension methods in the Azure.Provisioning.Deployment package.

Properties

BuildOptions

Gets the build options used to compose these resources.

Infrastructure

Gets the resources to be composed.

ProvisioningContext

Gets the provisioning context used to compose these resources.

Methods

Compile()
Save(String)

Extension Methods

CompileArmTemplate(ProvisioningPlan, String)

Use the CLI to generate an ARM template that can be validated or deployed.

DeployToNewResourceGroup(ProvisioningPlan, String, AzureLocation, ProvisioningDeploymentOptions, CancellationToken)
DeployToNewResourceGroupAsync(ProvisioningPlan, String, AzureLocation, ProvisioningDeploymentOptions, CancellationToken)
DeployToResourceGroup(ProvisioningPlan, String, ProvisioningDeploymentOptions, CancellationToken)
DeployToResourceGroupAsync(ProvisioningPlan, String, ProvisioningDeploymentOptions, CancellationToken)
Lint(ProvisioningPlan, String)

Use the CLI to lint your generated Bicep.

ValidateInResourceGroup(ProvisioningPlan, String, ProvisioningDeploymentOptions, CancellationToken)
ValidateInResourceGroupAsync(ProvisioningPlan, String, ProvisioningDeploymentOptions, CancellationToken)

Applies to