Share via


MockableManagedNetworkFabricResourceGroupResource.GetNetworkRackAsync 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>> GetNetworkRackAsync (string networkRackName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkRackAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkRackResource>>
override this.GetNetworkRackAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkRackResource>>
Public Overridable Function GetNetworkRackAsync (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 null.

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

Applies to