Share via


AutonomousDbVersionCollection.GetIfExists(String, CancellationToken) Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Oracle.Database/locations/{location}/autonomousDbVersions/{autonomousdbversionsname}
  • Operation Id: AutonomousDatabaseVersions_Get
  • Default Api Version: 2023-09-01
  • Resource: Azure.ResourceManager.OracleDatabase.AutonomousDBVersionResource
public virtual Azure.NullableResponse<Azure.ResourceManager.OracleDatabase.AutonomousDbVersionResource> GetIfExists (string autonomousdbversionsname, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.OracleDatabase.AutonomousDbVersionResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.OracleDatabase.AutonomousDbVersionResource>
Public Overridable Function GetIfExists (autonomousdbversionsname As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of AutonomousDbVersionResource)

Parameters

autonomousdbversionsname
String

AutonomousDbVersion name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

autonomousdbversionsname is null.

Applies to