Compartilhar via


StorageSyncRegisteredServerResource.Update Método

Definição

Adicione um novo servidor registrado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}
  • Operação IdRegisteredServers_Create
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.StorageSync.StorageSyncRegisteredServerResource> Update (Azure.WaitUntil waitUntil, Azure.ResourceManager.StorageSync.Models.StorageSyncRegisteredServerCreateOrUpdateContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.WaitUntil * Azure.ResourceManager.StorageSync.Models.StorageSyncRegisteredServerCreateOrUpdateContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.StorageSync.StorageSyncRegisteredServerResource>
override this.Update : Azure.WaitUntil * Azure.ResourceManager.StorageSync.Models.StorageSyncRegisteredServerCreateOrUpdateContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.StorageSync.StorageSyncRegisteredServerResource>
Public Overridable Function Update (waitUntil As WaitUntil, content As StorageSyncRegisteredServerCreateOrUpdateContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of StorageSyncRegisteredServerResource)

Parâmetros

waitUntil
WaitUntil

Completed se o método deve aguardar para retornar até que a operação de execução prolongada seja concluída no serviço; Started se ele deve retornar depois de iniciar a operação. Para obter mais informações sobre operações de execução prolongada, consulte Exemplos de operação de Long-Running do Azure.Core.

content
StorageSyncRegisteredServerCreateOrUpdateContent

Corpo do objeto Servidor Registrado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a