共用方式為


DataMigrationExtensions.GetDatabaseMigrationSqlVms Method

Definition

Gets a collection of DatabaseMigrationSqlVmResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDatabaseMigrationSqlVms() instead.

public static Azure.ResourceManager.DataMigration.DatabaseMigrationSqlVmCollection GetDatabaseMigrationSqlVms (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetDatabaseMigrationSqlVms : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.DataMigration.DatabaseMigrationSqlVmCollection
<Extension()>
Public Function GetDatabaseMigrationSqlVms (resourceGroupResource As ResourceGroupResource) As DatabaseMigrationSqlVmCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of DatabaseMigrationSqlVmResources and their operations over a DatabaseMigrationSqlVmResource.

Exceptions

resourceGroupResource is null.

Applies to