共用方式為


ProfileResource.GetSupportedOptimizationTypesAsync(CancellationToken) Method

Definition

Gets the supported optimization types for the current profile. A user can create an endpoint with an optimization type from the listed values.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getSupportedOptimizationTypes
  • Operation Id: Profiles_ListSupportedOptimizationTypes
  • Default Api Version: 2024-02-01
  • Resource: ProfileResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Cdn.Models.SupportedOptimizationTypesListResult>> GetSupportedOptimizationTypesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSupportedOptimizationTypesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Cdn.Models.SupportedOptimizationTypesListResult>>
override this.GetSupportedOptimizationTypesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Cdn.Models.SupportedOptimizationTypesListResult>>
Public Overridable Function GetSupportedOptimizationTypesAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SupportedOptimizationTypesListResult))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to