MockableNetworkCloudResourceGroupResource.GetNetworkCloudRack Method

Definition

Get properties of the provided rack.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/racks/{rackName}
  • Operation Id: Racks_Get
public virtual Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudRackResource> GetNetworkCloudRack (string rackName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkCloudRack : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudRackResource>
override this.GetNetworkCloudRack : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NetworkCloud.NetworkCloudRackResource>
Public Overridable Function GetNetworkCloudRack (rackName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of NetworkCloudRackResource)

Parameters

rackName
String

The name of the rack.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

rackName is null.

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

Applies to