你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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