Dela via


DatabaseMigrationSqlVmCollection Class

Definition

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

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

Constructors

DatabaseMigrationSqlVmCollection()

Initializes a new instance of the DatabaseMigrationSqlVmCollection 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, DatabaseMigrationSqlVmData, CancellationToken)

Create a new database migration to a given SQL VM.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}
  • Operation Id: DatabaseMigrationsSqlVm_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, String, DatabaseMigrationSqlVmData, CancellationToken)

Create a new database migration to a given SQL VM.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}
  • Operation Id: DatabaseMigrationsSqlVm_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.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}
  • Operation Id: DatabaseMigrationsSqlVm_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.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}
  • Operation Id: DatabaseMigrationsSqlVm_Get
Get(String, String, Nullable<Guid>, String, CancellationToken)

Retrieve the specified database migration for a given SQL VM.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}
  • Operation Id: DatabaseMigrationsSqlVm_Get
GetAsync(String, String, Nullable<Guid>, String, CancellationToken)

Retrieve the specified database migration for a given SQL VM.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}
  • Operation Id: DatabaseMigrationsSqlVm_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.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}
  • Operation Id: DatabaseMigrationsSqlVm_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.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}
  • Operation Id: DatabaseMigrationsSqlVm_Get
TryGetApiVersion(ResourceType, String)

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

(Inherited from ArmCollection)

Applies to