共用方式為


PostgreSqlMigration.FromExisting(String, String) Method

Definition

Creates a reference to an existing PostgreSqlMigration.

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

Parameters

bicepIdentifieridentifierName
String

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

Returns

The existing PostgreSqlMigration resource.

Applies to