Share via


NetworkFabricSkuCollection.GetIfExists(String, CancellationToken) Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetworkFabric/networkFabricSkus/{networkFabricSkuName}
  • Operation Id: NetworkFabricSkus_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricSkuResource> GetIfExists (string networkFabricSkuName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricSkuResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricSkuResource>
Public Overridable Function GetIfExists (networkFabricSkuName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of NetworkFabricSkuResource)

Parameters

networkFabricSkuName
String

Name of the Network Fabric SKU.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

networkFabricSkuName is null.

Applies to