Share via


DiagnosticSetting(String, String) Constructor

Definition

Creates a new DiagnosticSetting.

public DiagnosticSetting(string bicepIdentifier, string? resourceVersion = default);
new Azure.Provisioning.Monitor.DiagnosticSetting : string * string -> Azure.Provisioning.Monitor.DiagnosticSetting
Public Sub New (bicepIdentifier As String, Optional resourceVersion As String = Nothing)

Parameters

bicepIdentifier
String

The the Bicep identifier name of the DiagnosticSetting resource. This can be used to refer to the resource in expressions, but is not the Azure name of the resource. This value can contain letters, numbers, and underscores.

resourceVersion
String

Version of the DiagnosticSetting.

Applies to