Share via


AvsCloudLinkCollection.GetIfExists(String, CancellationToken) Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/cloudLinks/{cloudLinkName}
  • Operation Id: CloudLinks_Get
  • Default Api Version: 2023-03-01
  • Resource: AvsCloudLinkResource
public virtual Azure.NullableResponse<Azure.ResourceManager.Avs.AvsCloudLinkResource> GetIfExists (string cloudLinkName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Avs.AvsCloudLinkResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Avs.AvsCloudLinkResource>
Public Overridable Function GetIfExists (cloudLinkName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of AvsCloudLinkResource)

Parameters

cloudLinkName
String

Name of the cloud link resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

cloudLinkName is null.

Applies to