Partilhar via


EventHubAuthorizationRule.FromExisting(String, String) Method

Definition

Creates a reference to an existing EventHubAuthorizationRule.

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

Parameters

bicepIdentifieridentifierName
String

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

Returns

The existing EventHubAuthorizationRule resource.

Applies to