Share via


DatabaseFleetUpdateRunCollection.GetIfExists Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}/updateRuns/{updateRunName}
  • Operation Id: UpdateRuns_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.DatabaseFleetManager.DatabaseFleetUpdateRunResource> GetIfExists (string updateRunName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.DatabaseFleetManager.DatabaseFleetUpdateRunResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.DatabaseFleetManager.DatabaseFleetUpdateRunResource>
Public Overridable Function GetIfExists (updateRunName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of DatabaseFleetUpdateRunResource)

Parameters

updateRunName
String

The name of the UpdateRun resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

updateRunName is null.

Applies to