Partager via


MoveResourcesOperationsExtensions.CreateAsync Méthode

Définition

Crée ou met à jour une ressource de déplacement dans la collection move.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Migrate.ResourceMover.Models.MoveResource> CreateAsync (this Microsoft.Azure.Management.Migrate.ResourceMover.IMoveResourcesOperations operations, string resourceGroupName, string moveCollectionName, string moveResourceName, Microsoft.Azure.Management.Migrate.ResourceMover.Models.MoveResourceProperties properties = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.Migrate.ResourceMover.IMoveResourcesOperations * string * string * string * Microsoft.Azure.Management.Migrate.ResourceMover.Models.MoveResourceProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Migrate.ResourceMover.Models.MoveResource>
<Extension()>
Public Function CreateAsync (operations As IMoveResourcesOperations, resourceGroupName As String, moveCollectionName As String, moveResourceName As String, Optional properties As MoveResourceProperties = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of MoveResource)

Paramètres

operations
IMoveResourcesOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources.

moveCollectionName
String

Nom de la collection Move.

moveResourceName
String

Nom de la ressource de déplacement.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à