WorkflowVersionCollection.GetIfExists(String, CancellationToken) Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/versions/{versionId}
  • Operation Id: WorkflowVersions_Get
  • Default Api Version: 2023-12-01
  • Resource: WorkflowVersionResource
public virtual Azure.NullableResponse<Azure.ResourceManager.AppService.WorkflowVersionResource> GetIfExists (string versionId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.AppService.WorkflowVersionResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.AppService.WorkflowVersionResource>
Public Overridable Function GetIfExists (versionId As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of WorkflowVersionResource)

Parameters

versionId
String

The workflow versionId.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

versionId is null.

Applies to