共用方式為


SqlFirewallRule.FromExisting(String, String) Method

Definition

Creates a reference to an existing SqlFirewallRule.

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

Parameters

bicepIdentifieridentifierName
String

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

Returns

The existing SqlFirewallRule resource.

Applies to