다음을 통해 공유


ApiManagementGatewayResource.GetKeys(CancellationToken) Method

Definition

Retrieves gateway keys.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/gateways/{gatewayId}/listKeys
  • Operation Id: Gateway_ListKeys
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementGatewayResource
public virtual Azure.Response<Azure.ResourceManager.ApiManagement.Models.GatewayKeysContract> GetKeys (System.Threading.CancellationToken cancellationToken = default);
abstract member GetKeys : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApiManagement.Models.GatewayKeysContract>
override this.GetKeys : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApiManagement.Models.GatewayKeysContract>
Public Overridable Function GetKeys (Optional cancellationToken As CancellationToken = Nothing) As Response(Of GatewayKeysContract)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to