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

ProvisioningPlanExtensions.Lint(ProvisioningPlan, String) Method

Definition

Use the CLI to lint your generated Bicep.

public static System.Collections.Generic.IReadOnlyList<Azure.Provisioning.Primitives.BicepErrorMessage> Lint (this Azure.Provisioning.ProvisioningPlan plan, string? optionalDirectoryPath = default);
static member Lint : Azure.Provisioning.ProvisioningPlan * string -> System.Collections.Generic.IReadOnlyList<Azure.Provisioning.Primitives.BicepErrorMessage>
<Extension()>
Public Function Lint (plan As ProvisioningPlan, Optional optionalDirectoryPath As String = Nothing) As IReadOnlyList(Of BicepErrorMessage)

Parameters

optionalDirectoryPath
String

Returns

Applies to