Share via


OracleGIVersionCollection.GetIfExistsAsync(String, CancellationToken) Method

Definition

Tries to get details for this resource from the service.

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

Parameters

giversionname
String

GiVersion name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

giversionname is null.

Applies to