GiVersionCollection.GetIfExists(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-preview
  • Resource: GiVersionResource
public virtual Azure.NullableResponse<Azure.ResourceManager.OracleDatabase.GiVersionResource> GetIfExists (string giversionname, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.OracleDatabase.GiVersionResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.OracleDatabase.GiVersionResource>
Public Overridable Function GetIfExists (giversionname As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of GiVersionResource)

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