Share via


ProfileResource.GetSupportedOptimizationTypes(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 Azure.Response<Azure.ResourceManager.Cdn.Models.SupportedOptimizationTypesListResult> GetSupportedOptimizationTypes (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSupportedOptimizationTypes : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Cdn.Models.SupportedOptimizationTypesListResult>
override this.GetSupportedOptimizationTypes : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Cdn.Models.SupportedOptimizationTypesListResult>
Public Overridable Function GetSupportedOptimizationTypes (Optional cancellationToken As CancellationToken = Nothing) As Response(Of SupportedOptimizationTypesListResult)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to