Share via


ConnectionMonitor.FromExisting(String, String) Method

Definition

Creates a reference to an existing ConnectionMonitor.

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

Parameters

bicepIdentifier
String

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

Returns

The existing ConnectionMonitor resource.

Applies to