ProfileResource.GetSupportedOptimizationTypesAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.