CloudVmClusterCollection.GetIfExists(String, CancellationToken) Method

Definition

Tries to get details for this resource from the service.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudVmClusters/{cloudvmclustername}.
  • Operation Id. : CloudVmClusters_Get.
  • Default Api Version. : 2025-09-01.
public virtual Azure.NullableResponse<Azure.ResourceManager.OracleDatabase.CloudVmClusterResource> GetIfExists(string cloudvmclustername, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.OracleDatabase.CloudVmClusterResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.OracleDatabase.CloudVmClusterResource>
Public Overridable Function GetIfExists (cloudvmclustername As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of CloudVmClusterResource)

Parameters

cloudvmclustername
String

CloudVmCluster name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

cloudvmclustername is null.

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

Applies to