Language

AssignedDeploymentCollection.GetIfExists(String, CancellationToken) Method

Definition

Tries to get details for this resource from the service.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/goldenGateConnections/{goldenGateConnectionName}/assignedDeployments/{assignmentId}.
  • Operation Id. : GoldenGateConnections_GetAssignedDeployment.
  • Default Api Version. : 2026-06-01.
public virtual Azure.NullableResponse<Azure.ResourceManager.OracleDatabase.AssignedDeploymentResource> GetIfExists(string assignmentId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.OracleDatabase.AssignedDeploymentResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.OracleDatabase.AssignedDeploymentResource>
Public Overridable Function GetIfExists (assignmentId As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of AssignedDeploymentResource)

Parameters

assignmentId
String

Assigned Deployment assignment OCID.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

assignmentId is null.

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

Applies to