Share via


DatabaseMigrationSqlDBCollection Class

Definition

A class representing a collection of DatabaseMigrationSqlDBResource and their operations. Each DatabaseMigrationSqlDBResource in the collection will belong to the same instance of ResourceGroupResource. To get a DatabaseMigrationSqlDBCollection instance call the GetDatabaseMigrationSqlDBs method from an instance of ResourceGroupResource.

public class DatabaseMigrationSqlDBCollection : Azure.ResourceManager.ArmCollection
type DatabaseMigrationSqlDBCollection = class
    inherit ArmCollection
Public Class DatabaseMigrationSqlDBCollection
Inherits ArmCollection
Inheritance
DatabaseMigrationSqlDBCollection

Constructors

DatabaseMigrationSqlDBCollection()

Initializes a new instance of the DatabaseMigrationSqlDBCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, String, DatabaseMigrationSqlDBData, CancellationToken)

Create or Update Database Migration resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{sqlDbInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}
  • Operation Id: DatabaseMigrationsSqlDb_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, String, DatabaseMigrationSqlDBData, CancellationToken)

Create or Update Database Migration resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{sqlDbInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}
  • Operation Id: DatabaseMigrationsSqlDb_CreateOrUpdate
Exists(String, String, Nullable<Guid>, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{sqlDbInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}
  • Operation Id: DatabaseMigrationsSqlDb_Get
ExistsAsync(String, String, Nullable<Guid>, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{sqlDbInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}
  • Operation Id: DatabaseMigrationsSqlDb_Get
Get(String, String, Nullable<Guid>, String, CancellationToken)

Retrieve the Database Migration resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{sqlDbInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}
  • Operation Id: DatabaseMigrationsSqlDb_Get
GetAsync(String, String, Nullable<Guid>, String, CancellationToken)

Retrieve the Database Migration resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{sqlDbInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}
  • Operation Id: DatabaseMigrationsSqlDb_Get
GetIfExists(String, String, Nullable<Guid>, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{sqlDbInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}
  • Operation Id: DatabaseMigrationsSqlDb_Get
GetIfExistsAsync(String, String, Nullable<Guid>, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{sqlDbInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}
  • Operation Id: DatabaseMigrationsSqlDb_Get
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Applies to