1. Packages
  2. Azure Native v2
  3. API Docs
  4. cdn
  5. getProfileSupportedOptimizationTypes
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.cdn.getProfileSupportedOptimizationTypes

Explore with Pulumi AI

azure-native-v2 logo
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

    Gets the supported optimization types for the current profile. A user can create an endpoint with an optimization type from the listed values. Azure REST API version: 2023-05-01.

    Other available API versions: 2020-09-01, 2023-07-01-preview, 2024-02-01, 2024-05-01-preview, 2024-06-01-preview, 2024-09-01.

    Using getProfileSupportedOptimizationTypes

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getProfileSupportedOptimizationTypes(args: GetProfileSupportedOptimizationTypesArgs, opts?: InvokeOptions): Promise<GetProfileSupportedOptimizationTypesResult>
    function getProfileSupportedOptimizationTypesOutput(args: GetProfileSupportedOptimizationTypesOutputArgs, opts?: InvokeOptions): Output<GetProfileSupportedOptimizationTypesResult>
    def get_profile_supported_optimization_types(profile_name: Optional[str] = None,
                                                 resource_group_name: Optional[str] = None,
                                                 opts: Optional[InvokeOptions] = None) -> GetProfileSupportedOptimizationTypesResult
    def get_profile_supported_optimization_types_output(profile_name: Optional[pulumi.Input[str]] = None,
                                                 resource_group_name: Optional[pulumi.Input[str]] = None,
                                                 opts: Optional[InvokeOptions] = None) -> Output[GetProfileSupportedOptimizationTypesResult]
    func GetProfileSupportedOptimizationTypes(ctx *Context, args *GetProfileSupportedOptimizationTypesArgs, opts ...InvokeOption) (*GetProfileSupportedOptimizationTypesResult, error)
    func GetProfileSupportedOptimizationTypesOutput(ctx *Context, args *GetProfileSupportedOptimizationTypesOutputArgs, opts ...InvokeOption) GetProfileSupportedOptimizationTypesResultOutput

    > Note: This function is named GetProfileSupportedOptimizationTypes in the Go SDK.

    public static class GetProfileSupportedOptimizationTypes 
    {
        public static Task<GetProfileSupportedOptimizationTypesResult> InvokeAsync(GetProfileSupportedOptimizationTypesArgs args, InvokeOptions? opts = null)
        public static Output<GetProfileSupportedOptimizationTypesResult> Invoke(GetProfileSupportedOptimizationTypesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetProfileSupportedOptimizationTypesResult> getProfileSupportedOptimizationTypes(GetProfileSupportedOptimizationTypesArgs args, InvokeOptions options)
    public static Output<GetProfileSupportedOptimizationTypesResult> getProfileSupportedOptimizationTypes(GetProfileSupportedOptimizationTypesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:cdn:getProfileSupportedOptimizationTypes
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ProfileName string
    Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
    ResourceGroupName string
    Name of the Resource group within the Azure subscription.
    ProfileName string
    Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
    ResourceGroupName string
    Name of the Resource group within the Azure subscription.
    profileName String
    Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
    resourceGroupName String
    Name of the Resource group within the Azure subscription.
    profileName string
    Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
    resourceGroupName string
    Name of the Resource group within the Azure subscription.
    profile_name str
    Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
    resource_group_name str
    Name of the Resource group within the Azure subscription.
    profileName String
    Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
    resourceGroupName String
    Name of the Resource group within the Azure subscription.

    getProfileSupportedOptimizationTypes Result

    The following output properties are available:

    SupportedOptimizationTypes List<string>
    Supported optimization types for a profile.
    SupportedOptimizationTypes []string
    Supported optimization types for a profile.
    supportedOptimizationTypes List<String>
    Supported optimization types for a profile.
    supportedOptimizationTypes string[]
    Supported optimization types for a profile.
    supported_optimization_types Sequence[str]
    Supported optimization types for a profile.
    supportedOptimizationTypes List<String>
    Supported optimization types for a profile.

    Package Details

    Repository
    azure-native-v2 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v2 logo
    These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
    Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi