Megosztás a következőn keresztül:


CustomEntityStoreAssignmentCollection.ExistsAsync Method

Definition

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customEntityStoreAssignments/{customEntityStoreAssignmentName}
  • Operation Id: CustomEntityStoreAssignments_Get
  • Default Api Version: 2021-07-01-preview
  • Resource: CustomEntityStoreAssignmentResource
public virtual System.Threading.Tasks.Task<Azure.Response<bool>> ExistsAsync (string customEntityStoreAssignmentName, System.Threading.CancellationToken cancellationToken = default);
abstract member ExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
override this.ExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
Public Overridable Function ExistsAsync (customEntityStoreAssignmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of Boolean))

Parameters

customEntityStoreAssignmentName
String

Name of the custom entity store assignment. Generated name is GUID.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

customEntityStoreAssignmentName is null.

Applies to