Udostępnij za pośrednictwem


RedisCacheAccessPolicy.FromExisting(String, String) Method

Definition

Creates a reference to an existing RedisCacheAccessPolicy.

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

Parameters

bicepIdentifieridentifierName
String

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

Returns

The existing RedisCacheAccessPolicy resource.

Applies to