JitRequestCollection.Exists(String, CancellationToken) Method

Definition

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/jitRequests/{jitRequestName}
  • Operation Id: JitRequests_Get
  • Default Api Version: 2019-07-01
  • Resource: JitRequestResource
public virtual Azure.Response<bool> Exists (string jitRequestName, System.Threading.CancellationToken cancellationToken = default);
abstract member Exists : string * System.Threading.CancellationToken -> Azure.Response<bool>
override this.Exists : string * System.Threading.CancellationToken -> Azure.Response<bool>
Public Overridable Function Exists (jitRequestName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

Parameters

jitRequestName
String

The name of the JIT request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

jitRequestName is null.

Applies to