LogProfile.FromExisting(String, String) Method

Definition

Creates a reference to an existing LogProfile.

public static Azure.Provisioning.Monitor.LogProfile FromExisting(string bicepIdentifier, string? resourceVersion = default);
static member FromExisting : string * string -> Azure.Provisioning.Monitor.LogProfile
Public Shared Function FromExisting (bicepIdentifier As String, Optional resourceVersion As String = Nothing) As LogProfile

Parameters

bicepIdentifier
String

The the Bicep identifier name of the LogProfile 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 LogProfile.

Returns

The existing LogProfile resource.

Applies to