StorageSyncServiceResource.GetStorageSyncRegisteredServer Method

Definition

Get a given registered server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}
  • Operation Id: RegisteredServers_Get
public virtual Azure.Response<Azure.ResourceManager.StorageSync.StorageSyncRegisteredServerResource> GetStorageSyncRegisteredServer (Guid serverId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetStorageSyncRegisteredServer : Guid * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.StorageSync.StorageSyncRegisteredServerResource>
override this.GetStorageSyncRegisteredServer : Guid * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.StorageSync.StorageSyncRegisteredServerResource>
Public Overridable Function GetStorageSyncRegisteredServer (serverId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Response(Of StorageSyncRegisteredServerResource)

Parameters

serverId
Guid

GUID identifying the on-premises server.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to