Freigeben über


PostgreSqlMigrationCollection Klasse

Definition

Eine Klasse, die eine Auflistung von und deren PostgreSqlMigrationResource Vorgänge darstellt. Jedes PostgreSqlMigrationResource in der Auflistung gehört zum gleichen instance von PostgreSqlFlexibleServerResource. Um eine PostgreSqlMigrationCollection instance rufen Sie die GetPostgreSqlMigrations-Methode aus einer instance von aufPostgreSqlFlexibleServerResource.

public class PostgreSqlMigrationCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlMigrationResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlMigrationResource>
type PostgreSqlMigrationCollection = class
    inherit ArmCollection
    interface seq<PostgreSqlMigrationResource>
    interface IEnumerable
    interface IAsyncEnumerable<PostgreSqlMigrationResource>
Public Class PostgreSqlMigrationCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of PostgreSqlMigrationResource), IEnumerable(Of PostgreSqlMigrationResource)
Vererbung
PostgreSqlMigrationCollection
Implementiert

Konstruktoren

PostgreSqlMigrationCollection()

Initialisiert eine neue instance der -Klasse für die PostgreSqlMigrationCollection Simulation.

Eigenschaften

Client

Ruft den ArmClient ab, aus dem dieser Ressourcenclient erstellt wurde.

(Geerbt von ArmCollection)
Diagnostics

Ruft die Diagnoseoptionen für diesen Ressourcenclient ab.

(Geerbt von ArmCollection)
Endpoint

Ruft den Basis-URI für diesen Ressourcenclient ab.

(Geerbt von ArmCollection)
Id

Ruft den Ressourcenbezeichner ab.

(Geerbt von ArmCollection)
Pipeline

Ruft die Pipeline für diesen Ressourcenclient ab.

(Geerbt von ArmCollection)

Methoden

CreateOrUpdate(WaitUntil, String, PostgreSqlMigrationData, CancellationToken)

Erstellt eine neue Migration.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDbServerName}/migrations/{migrationName}
  • Vorgangs-IdMigrations_Create
CreateOrUpdateAsync(WaitUntil, String, PostgreSqlMigrationData, CancellationToken)

Erstellt eine neue Migration.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDbServerName}/migrations/{migrationName}
  • Vorgangs-IdMigrations_Create
Exists(String, CancellationToken)

Überprüft, ob die Ressource in Azure vorhanden ist.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDbServerName}/migrations/{migrationName}
  • Vorgangs-IdMigrations_Get
ExistsAsync(String, CancellationToken)

Überprüft, ob die Ressource in Azure vorhanden ist.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDbServerName}/migrations/{migrationName}
  • Vorgangs-IdMigrations_Get
Get(String, CancellationToken)

Ruft Details zu einer Migration ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDbServerName}/migrations/{migrationName}
  • Vorgangs-IdMigrations_Get
GetAll(Nullable<PostgreSqlMigrationListFilter>, CancellationToken)

Listet alle Migrationen auf einem bestimmten Zielserver auf.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDbServerName}/migrations
  • Vorgangs-IdMigrations_ListByTargetServer
GetAllAsync(Nullable<PostgreSqlMigrationListFilter>, CancellationToken)

Listet alle Migrationen auf einem bestimmten Zielserver auf.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDbServerName}/migrations
  • Vorgangs-IdMigrations_ListByTargetServer
GetAsync(String, CancellationToken)

Ruft Details zu einer Migration ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDbServerName}/migrations/{migrationName}
  • Vorgangs-IdMigrations_Get
TryGetApiVersion(ResourceType, String)

Ruft die API-Version außer Kraft, wenn sie für die aktuellen Clientoptionen festgelegt wurde.

(Geerbt von ArmCollection)

Explizite Schnittstellenimplementierungen

IAsyncEnumerable<PostgreSqlMigrationResource>.GetAsyncEnumerator(CancellationToken)

Gibt einen Enumerator zurück, der die Sammlung asynchron durchläuft.

IEnumerable.GetEnumerator()

Gibt einen Enumerator zurück, der eine Auflistung durchläuft.

IEnumerable<PostgreSqlMigrationResource>.GetEnumerator()

Gibt einen Enumerator zurück, der die Auflistung durchläuft.

Gilt für: