Partilhar via


ServerAdvancedThreatProtection.FromExisting(String, String) Method

Definition

Creates a reference to an existing ServerAdvancedThreatProtection.

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

Parameters

bicepIdentifieridentifierName
String

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

Returns

The existing ServerAdvancedThreatProtection resource.

Applies to