1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getUrlNormalizationSettings
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

cloudflare.getUrlNormalizationSettings

Explore with Pulumi AI

cloudflare logo
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleUrlNormalizationSettings = cloudflare.getUrlNormalizationSettings({
        zoneId: "9f1839b6152d298aca64c4e906b6d074",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_url_normalization_settings = cloudflare.get_url_normalization_settings(zone_id="9f1839b6152d298aca64c4e906b6d074")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudflare.LookupUrlNormalizationSettings(ctx, &cloudflare.LookupUrlNormalizationSettingsArgs{
    			ZoneId: "9f1839b6152d298aca64c4e906b6d074",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Cloudflare = Pulumi.Cloudflare;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleUrlNormalizationSettings = Cloudflare.GetUrlNormalizationSettings.Invoke(new()
        {
            ZoneId = "9f1839b6152d298aca64c4e906b6d074",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.CloudflareFunctions;
    import com.pulumi.cloudflare.inputs.GetUrlNormalizationSettingsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var exampleUrlNormalizationSettings = CloudflareFunctions.getUrlNormalizationSettings(GetUrlNormalizationSettingsArgs.builder()
                .zoneId("9f1839b6152d298aca64c4e906b6d074")
                .build());
    
        }
    }
    
    variables:
      exampleUrlNormalizationSettings:
        fn::invoke:
          function: cloudflare:getUrlNormalizationSettings
          arguments:
            zoneId: 9f1839b6152d298aca64c4e906b6d074
    

    Using getUrlNormalizationSettings

    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 getUrlNormalizationSettings(args: GetUrlNormalizationSettingsArgs, opts?: InvokeOptions): Promise<GetUrlNormalizationSettingsResult>
    function getUrlNormalizationSettingsOutput(args: GetUrlNormalizationSettingsOutputArgs, opts?: InvokeOptions): Output<GetUrlNormalizationSettingsResult>
    def get_url_normalization_settings(zone_id: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetUrlNormalizationSettingsResult
    def get_url_normalization_settings_output(zone_id: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetUrlNormalizationSettingsResult]
    func LookupUrlNormalizationSettings(ctx *Context, args *LookupUrlNormalizationSettingsArgs, opts ...InvokeOption) (*LookupUrlNormalizationSettingsResult, error)
    func LookupUrlNormalizationSettingsOutput(ctx *Context, args *LookupUrlNormalizationSettingsOutputArgs, opts ...InvokeOption) LookupUrlNormalizationSettingsResultOutput

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

    public static class GetUrlNormalizationSettings 
    {
        public static Task<GetUrlNormalizationSettingsResult> InvokeAsync(GetUrlNormalizationSettingsArgs args, InvokeOptions? opts = null)
        public static Output<GetUrlNormalizationSettingsResult> Invoke(GetUrlNormalizationSettingsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetUrlNormalizationSettingsResult> getUrlNormalizationSettings(GetUrlNormalizationSettingsArgs args, InvokeOptions options)
    public static Output<GetUrlNormalizationSettingsResult> getUrlNormalizationSettings(GetUrlNormalizationSettingsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getUrlNormalizationSettings:getUrlNormalizationSettings
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ZoneId string
    The unique ID of the zone.
    ZoneId string
    The unique ID of the zone.
    zoneId String
    The unique ID of the zone.
    zoneId string
    The unique ID of the zone.
    zone_id str
    The unique ID of the zone.
    zoneId String
    The unique ID of the zone.

    getUrlNormalizationSettings Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Scope string
    The scope of the URL normalization. Available values: "incoming", "both".
    Type string
    The type of URL normalization performed by Cloudflare. Available values: "cloudflare", "rfc3986".
    ZoneId string
    The unique ID of the zone.
    Id string
    The provider-assigned unique ID for this managed resource.
    Scope string
    The scope of the URL normalization. Available values: "incoming", "both".
    Type string
    The type of URL normalization performed by Cloudflare. Available values: "cloudflare", "rfc3986".
    ZoneId string
    The unique ID of the zone.
    id String
    The provider-assigned unique ID for this managed resource.
    scope String
    The scope of the URL normalization. Available values: "incoming", "both".
    type String
    The type of URL normalization performed by Cloudflare. Available values: "cloudflare", "rfc3986".
    zoneId String
    The unique ID of the zone.
    id string
    The provider-assigned unique ID for this managed resource.
    scope string
    The scope of the URL normalization. Available values: "incoming", "both".
    type string
    The type of URL normalization performed by Cloudflare. Available values: "cloudflare", "rfc3986".
    zoneId string
    The unique ID of the zone.
    id str
    The provider-assigned unique ID for this managed resource.
    scope str
    The scope of the URL normalization. Available values: "incoming", "both".
    type str
    The type of URL normalization performed by Cloudflare. Available values: "cloudflare", "rfc3986".
    zone_id str
    The unique ID of the zone.
    id String
    The provider-assigned unique ID for this managed resource.
    scope String
    The scope of the URL normalization. Available values: "incoming", "both".
    type String
    The type of URL normalization performed by Cloudflare. Available values: "cloudflare", "rfc3986".
    zoneId String
    The unique ID of the zone.

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi