Share via


NetworkRackCollection.GetAsync(String, CancellationToken) Method

Definition

Get Network Rack resource details.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkRacks/{networkRackName}
  • Operation Id: NetworkRacks_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkRackResource>> GetAsync (string networkRackName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkRackResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkRackResource>>
Public Overridable Function GetAsync (networkRackName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkRackResource))

Parameters

networkRackName
String

Name of the Network Rack.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

networkRackName is an empty string, and was expected to be non-empty.

networkRackName is null.

Applies to