Condividi tramite


IspCacheNodeCollection.GetIfExists(String, CancellationToken) Method

Definition

Tries to get details for this resource from the service.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedCache/ispCustomers/{customerResourceName}/ispCacheNodes/{cacheNodeResourceName}.
  • Operation Id. : IspCacheNodesOperations_Get.
  • Default Api Version. : 2024-11-30-preview.
public virtual Azure.NullableResponse<Azure.ResourceManager.ConnectedCache.IspCacheNodeResource> GetIfExists(string cacheNodeResourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ConnectedCache.IspCacheNodeResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ConnectedCache.IspCacheNodeResource>
Public Overridable Function GetIfExists (cacheNodeResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of IspCacheNodeResource)

Parameters

cacheNodeResourceName
String

Name of the ConnectedCache resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

cacheNodeResourceName is null.

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

Applies to