Compartir a través de


RegisteredServersOperationsExtensions.CreateAsync Método

Definición

Agregue un nuevo servidor registrado.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.StorageSync.Models.RegisteredServer> CreateAsync (this Microsoft.Azure.Management.StorageSync.IRegisteredServersOperations operations, string resourceGroupName, string storageSyncServiceName, string serverId, Microsoft.Azure.Management.StorageSync.Models.RegisteredServerCreateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.StorageSync.IRegisteredServersOperations * string * string * string * Microsoft.Azure.Management.StorageSync.Models.RegisteredServerCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.StorageSync.Models.RegisteredServer>
<Extension()>
Public Function CreateAsync (operations As IRegisteredServersOperations, resourceGroupName As String, storageSyncServiceName As String, serverId As String, parameters As RegisteredServerCreateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RegisteredServer)

Parámetros

operations
IRegisteredServersOperations

El grupo de operaciones de este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos. El nombre distingue mayúsculas de minúsculas.

storageSyncServiceName
String

Nombre del recurso del servicio de sincronización de almacenamiento.

serverId
String

GUID que identifica el servidor local.

parameters
RegisteredServerCreateParameters

Cuerpo del objeto Registered Server.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a