Partilhar via


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