Share via


MockableManagedNetworkFabricResourceGroupResource.GetNetworkRack Method

Definition

Get Network Rack resource details.

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