StorageSyncRegisteredServerCollection.GetAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get a given registered server.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/registeredServers/{serverId}
- Operation Id: RegisteredServers_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageSync.StorageSyncRegisteredServerResource>> GetAsync (Guid serverId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageSync.StorageSyncRegisteredServerResource>>
override this.GetAsync : Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.StorageSync.StorageSyncRegisteredServerResource>>
Public Overridable Function GetAsync (serverId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of StorageSyncRegisteredServerResource))
Parameters
- serverId
- Guid
GUID identifying the on-premises server.
- cancellationToken
- CancellationToken
The cancellation token to use.