共用方式為


ApiPolicyResource.GetEntityTag(CancellationToken) Method

Definition

Gets the entity state (Etag) version of the API policy specified by its identifier.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/policies/{policyId}
  • Operation Id: ApiPolicy_GetEntityTag
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiPolicyResource
public virtual Azure.Response<bool> GetEntityTag (System.Threading.CancellationToken cancellationToken = default);
abstract member GetEntityTag : System.Threading.CancellationToken -> Azure.Response<bool>
override this.GetEntityTag : System.Threading.CancellationToken -> Azure.Response<bool>
Public Overridable Function GetEntityTag (Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to