1. Packages
  2. Packages
  3. Cloudflare Provider
  4. API Docs
  5. AiGatewayDynamicRouting
Viewing docs for Cloudflare v6.15.0
published on Saturday, May 2, 2026 by Pulumi
cloudflare logo
Viewing docs for Cloudflare v6.15.0
published on Saturday, May 2, 2026 by Pulumi

    Accepted Permissions

    • AI Gateway Read
    • AI Gateway Write

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleAiGatewayDynamicRouting = new cloudflare.AiGatewayDynamicRouting("example_ai_gateway_dynamic_routing", {
        accountId: "0d37909e38d3e99c29fa2cd343ac421a",
        gatewayId: "54442216",
        elements: [{
            id: "id",
            outputs: {
                next: {
                    elementId: "elementId",
                },
            },
            type: "start",
        }],
        name: "name",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_ai_gateway_dynamic_routing = cloudflare.AiGatewayDynamicRouting("example_ai_gateway_dynamic_routing",
        account_id="0d37909e38d3e99c29fa2cd343ac421a",
        gateway_id="54442216",
        elements=[{
            "id": "id",
            "outputs": {
                "next": {
                    "element_id": "elementId",
                },
            },
            "type": "start",
        }],
        name="name")
    
    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.NewAiGatewayDynamicRouting(ctx, "example_ai_gateway_dynamic_routing", &cloudflare.AiGatewayDynamicRoutingArgs{
    			AccountId: pulumi.String("0d37909e38d3e99c29fa2cd343ac421a"),
    			GatewayId: pulumi.String("54442216"),
    			Elements: cloudflare.AiGatewayDynamicRoutingElementArray{
    				&cloudflare.AiGatewayDynamicRoutingElementArgs{
    					Id: pulumi.String("id"),
    					Outputs: &cloudflare.AiGatewayDynamicRoutingElementOutputsArgs{
    						Next: &cloudflare.AiGatewayDynamicRoutingElementOutputsNextArgs{
    							ElementId: pulumi.String("elementId"),
    						},
    					},
    					Type: pulumi.String("start"),
    				},
    			},
    			Name: pulumi.String("name"),
    		})
    		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 exampleAiGatewayDynamicRouting = new Cloudflare.Index.AiGatewayDynamicRouting("example_ai_gateway_dynamic_routing", new()
        {
            AccountId = "0d37909e38d3e99c29fa2cd343ac421a",
            GatewayId = "54442216",
            Elements = new[]
            {
                new Cloudflare.Inputs.AiGatewayDynamicRoutingElementArgs
                {
                    Id = "id",
                    Outputs = new Cloudflare.Inputs.AiGatewayDynamicRoutingElementOutputsArgs
                    {
                        Next = new Cloudflare.Inputs.AiGatewayDynamicRoutingElementOutputsNextArgs
                        {
                            ElementId = "elementId",
                        },
                    },
                    Type = "start",
                },
            },
            Name = "name",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.AiGatewayDynamicRouting;
    import com.pulumi.cloudflare.AiGatewayDynamicRoutingArgs;
    import com.pulumi.cloudflare.inputs.AiGatewayDynamicRoutingElementArgs;
    import com.pulumi.cloudflare.inputs.AiGatewayDynamicRoutingElementOutputsArgs;
    import com.pulumi.cloudflare.inputs.AiGatewayDynamicRoutingElementOutputsNextArgs;
    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) {
            var exampleAiGatewayDynamicRouting = new AiGatewayDynamicRouting("exampleAiGatewayDynamicRouting", AiGatewayDynamicRoutingArgs.builder()
                .accountId("0d37909e38d3e99c29fa2cd343ac421a")
                .gatewayId("54442216")
                .elements(AiGatewayDynamicRoutingElementArgs.builder()
                    .id("id")
                    .outputs(AiGatewayDynamicRoutingElementOutputsArgs.builder()
                        .next(AiGatewayDynamicRoutingElementOutputsNextArgs.builder()
                            .elementId("elementId")
                            .build())
                        .build())
                    .type("start")
                    .build())
                .name("name")
                .build());
    
        }
    }
    
    resources:
      exampleAiGatewayDynamicRouting:
        type: cloudflare:AiGatewayDynamicRouting
        name: example_ai_gateway_dynamic_routing
        properties:
          accountId: 0d37909e38d3e99c29fa2cd343ac421a
          gatewayId: '54442216'
          elements:
            - id: id
              outputs:
                next:
                  elementId: elementId
              type: start
          name: name
    

    Create AiGatewayDynamicRouting Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AiGatewayDynamicRouting(name: string, args: AiGatewayDynamicRoutingArgs, opts?: CustomResourceOptions);
    @overload
    def AiGatewayDynamicRouting(resource_name: str,
                                args: AiGatewayDynamicRoutingArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def AiGatewayDynamicRouting(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                elements: Optional[Sequence[AiGatewayDynamicRoutingElementArgs]] = None,
                                gateway_id: Optional[str] = None,
                                name: Optional[str] = None,
                                account_id: Optional[str] = None)
    func NewAiGatewayDynamicRouting(ctx *Context, name string, args AiGatewayDynamicRoutingArgs, opts ...ResourceOption) (*AiGatewayDynamicRouting, error)
    public AiGatewayDynamicRouting(string name, AiGatewayDynamicRoutingArgs args, CustomResourceOptions? opts = null)
    public AiGatewayDynamicRouting(String name, AiGatewayDynamicRoutingArgs args)
    public AiGatewayDynamicRouting(String name, AiGatewayDynamicRoutingArgs args, CustomResourceOptions options)
    
    type: cloudflare:AiGatewayDynamicRouting
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AiGatewayDynamicRoutingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AiGatewayDynamicRoutingArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AiGatewayDynamicRoutingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AiGatewayDynamicRoutingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AiGatewayDynamicRoutingArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var aiGatewayDynamicRoutingResource = new Cloudflare.AiGatewayDynamicRouting("aiGatewayDynamicRoutingResource", new()
    {
        Elements = new[]
        {
            new Cloudflare.Inputs.AiGatewayDynamicRoutingElementArgs
            {
                Id = "string",
                Outputs = new Cloudflare.Inputs.AiGatewayDynamicRoutingElementOutputsArgs
                {
                    ElementId = "string",
                    Fallback = new Cloudflare.Inputs.AiGatewayDynamicRoutingElementOutputsFallbackArgs
                    {
                        ElementId = "string",
                    },
                    False = new Cloudflare.Inputs.AiGatewayDynamicRoutingElementOutputsFalseArgs
                    {
                        ElementId = "string",
                    },
                    Next = new Cloudflare.Inputs.AiGatewayDynamicRoutingElementOutputsNextArgs
                    {
                        ElementId = "string",
                    },
                    Success = new Cloudflare.Inputs.AiGatewayDynamicRoutingElementOutputsSuccessArgs
                    {
                        ElementId = "string",
                    },
                    True = new Cloudflare.Inputs.AiGatewayDynamicRoutingElementOutputsTrueArgs
                    {
                        ElementId = "string",
                    },
                },
                Type = "string",
                Properties = new Cloudflare.Inputs.AiGatewayDynamicRoutingElementPropertiesArgs
                {
                    AiGatewayDynamicRoutingProvider = "string",
                    Conditions = "string",
                    Key = "string",
                    Limit = 0,
                    LimitType = "string",
                    Model = "string",
                    Retries = 0,
                    Timeout = 0,
                    Window = 0,
                },
            },
        },
        GatewayId = "string",
        Name = "string",
        AccountId = "string",
    });
    
    example, err := cloudflare.NewAiGatewayDynamicRouting(ctx, "aiGatewayDynamicRoutingResource", &cloudflare.AiGatewayDynamicRoutingArgs{
    	Elements: cloudflare.AiGatewayDynamicRoutingElementArray{
    		&cloudflare.AiGatewayDynamicRoutingElementArgs{
    			Id: pulumi.String("string"),
    			Outputs: &cloudflare.AiGatewayDynamicRoutingElementOutputsArgs{
    				ElementId: pulumi.String("string"),
    				Fallback: &cloudflare.AiGatewayDynamicRoutingElementOutputsFallbackArgs{
    					ElementId: pulumi.String("string"),
    				},
    				False: &cloudflare.AiGatewayDynamicRoutingElementOutputsFalseArgs{
    					ElementId: pulumi.String("string"),
    				},
    				Next: &cloudflare.AiGatewayDynamicRoutingElementOutputsNextArgs{
    					ElementId: pulumi.String("string"),
    				},
    				Success: &cloudflare.AiGatewayDynamicRoutingElementOutputsSuccessArgs{
    					ElementId: pulumi.String("string"),
    				},
    				True: &cloudflare.AiGatewayDynamicRoutingElementOutputsTrueArgs{
    					ElementId: pulumi.String("string"),
    				},
    			},
    			Type: pulumi.String("string"),
    			Properties: &cloudflare.AiGatewayDynamicRoutingElementPropertiesArgs{
    				AiGatewayDynamicRoutingProvider: pulumi.String("string"),
    				Conditions:                      pulumi.String("string"),
    				Key:                             pulumi.String("string"),
    				Limit:                           pulumi.Float64(0),
    				LimitType:                       pulumi.String("string"),
    				Model:                           pulumi.String("string"),
    				Retries:                         pulumi.Float64(0),
    				Timeout:                         pulumi.Float64(0),
    				Window:                          pulumi.Float64(0),
    			},
    		},
    	},
    	GatewayId: pulumi.String("string"),
    	Name:      pulumi.String("string"),
    	AccountId: pulumi.String("string"),
    })
    
    var aiGatewayDynamicRoutingResource = new AiGatewayDynamicRouting("aiGatewayDynamicRoutingResource", AiGatewayDynamicRoutingArgs.builder()
        .elements(AiGatewayDynamicRoutingElementArgs.builder()
            .id("string")
            .outputs(AiGatewayDynamicRoutingElementOutputsArgs.builder()
                .elementId("string")
                .fallback(AiGatewayDynamicRoutingElementOutputsFallbackArgs.builder()
                    .elementId("string")
                    .build())
                .false_(AiGatewayDynamicRoutingElementOutputsFalseArgs.builder()
                    .elementId("string")
                    .build())
                .next(AiGatewayDynamicRoutingElementOutputsNextArgs.builder()
                    .elementId("string")
                    .build())
                .success(AiGatewayDynamicRoutingElementOutputsSuccessArgs.builder()
                    .elementId("string")
                    .build())
                .true_(AiGatewayDynamicRoutingElementOutputsTrueArgs.builder()
                    .elementId("string")
                    .build())
                .build())
            .type("string")
            .properties(AiGatewayDynamicRoutingElementPropertiesArgs.builder()
                .aiGatewayDynamicRoutingProvider("string")
                .conditions("string")
                .key("string")
                .limit(0.0)
                .limitType("string")
                .model("string")
                .retries(0.0)
                .timeout(0.0)
                .window(0.0)
                .build())
            .build())
        .gatewayId("string")
        .name("string")
        .accountId("string")
        .build());
    
    ai_gateway_dynamic_routing_resource = cloudflare.AiGatewayDynamicRouting("aiGatewayDynamicRoutingResource",
        elements=[{
            "id": "string",
            "outputs": {
                "element_id": "string",
                "fallback": {
                    "element_id": "string",
                },
                "false": {
                    "element_id": "string",
                },
                "next": {
                    "element_id": "string",
                },
                "success": {
                    "element_id": "string",
                },
                "true": {
                    "element_id": "string",
                },
            },
            "type": "string",
            "properties": {
                "ai_gateway_dynamic_routing_provider": "string",
                "conditions": "string",
                "key": "string",
                "limit": float(0),
                "limit_type": "string",
                "model": "string",
                "retries": float(0),
                "timeout": float(0),
                "window": float(0),
            },
        }],
        gateway_id="string",
        name="string",
        account_id="string")
    
    const aiGatewayDynamicRoutingResource = new cloudflare.AiGatewayDynamicRouting("aiGatewayDynamicRoutingResource", {
        elements: [{
            id: "string",
            outputs: {
                elementId: "string",
                fallback: {
                    elementId: "string",
                },
                "false": {
                    elementId: "string",
                },
                next: {
                    elementId: "string",
                },
                success: {
                    elementId: "string",
                },
                "true": {
                    elementId: "string",
                },
            },
            type: "string",
            properties: {
                aiGatewayDynamicRoutingProvider: "string",
                conditions: "string",
                key: "string",
                limit: 0,
                limitType: "string",
                model: "string",
                retries: 0,
                timeout: 0,
                window: 0,
            },
        }],
        gatewayId: "string",
        name: "string",
        accountId: "string",
    });
    
    type: cloudflare:AiGatewayDynamicRouting
    properties:
        accountId: string
        elements:
            - id: string
              outputs:
                elementId: string
                fallback:
                    elementId: string
                "false":
                    elementId: string
                next:
                    elementId: string
                success:
                    elementId: string
                "true":
                    elementId: string
              properties:
                aiGatewayDynamicRoutingProvider: string
                conditions: string
                key: string
                limit: 0
                limitType: string
                model: string
                retries: 0
                timeout: 0
                window: 0
              type: string
        gatewayId: string
        name: string
    

    AiGatewayDynamicRouting Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AiGatewayDynamicRouting resource accepts the following input properties:

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AiGatewayDynamicRouting resource produces the following output properties:

    createdAt String
    deployment Property Map
    id String
    The provider-assigned unique ID for this managed resource.
    modifiedAt String
    route Property Map
    success Boolean
    version Property Map

    Look up Existing AiGatewayDynamicRouting Resource

    Get an existing AiGatewayDynamicRouting resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AiGatewayDynamicRoutingState, opts?: CustomResourceOptions): AiGatewayDynamicRouting
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            created_at: Optional[str] = None,
            deployment: Optional[AiGatewayDynamicRoutingDeploymentArgs] = None,
            elements: Optional[Sequence[AiGatewayDynamicRoutingElementArgs]] = None,
            gateway_id: Optional[str] = None,
            modified_at: Optional[str] = None,
            name: Optional[str] = None,
            route: Optional[AiGatewayDynamicRoutingRouteArgs] = None,
            success: Optional[bool] = None,
            version: Optional[AiGatewayDynamicRoutingVersionArgs] = None) -> AiGatewayDynamicRouting
    func GetAiGatewayDynamicRouting(ctx *Context, name string, id IDInput, state *AiGatewayDynamicRoutingState, opts ...ResourceOption) (*AiGatewayDynamicRouting, error)
    public static AiGatewayDynamicRouting Get(string name, Input<string> id, AiGatewayDynamicRoutingState? state, CustomResourceOptions? opts = null)
    public static AiGatewayDynamicRouting get(String name, Output<String> id, AiGatewayDynamicRoutingState state, CustomResourceOptions options)
    resources:  _:    type: cloudflare:AiGatewayDynamicRouting    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:

    Supporting Types

    AiGatewayDynamicRoutingDeployment, AiGatewayDynamicRoutingDeploymentArgs

    CreatedAt string
    DeploymentId string
    VersionId string
    CreatedAt string
    DeploymentId string
    VersionId string
    createdAt String
    deploymentId String
    versionId String
    createdAt string
    deploymentId string
    versionId string
    createdAt String
    deploymentId String
    versionId String

    AiGatewayDynamicRoutingElement, AiGatewayDynamicRoutingElementArgs

    Id string
    Outputs AiGatewayDynamicRoutingElementOutputs
    Type string
    Available values: "start", "conditional", "percentage", "rate", "model", "end".
    Properties AiGatewayDynamicRoutingElementProperties
    Id string
    Outputs AiGatewayDynamicRoutingElementOutputs
    Type string
    Available values: "start", "conditional", "percentage", "rate", "model", "end".
    Properties AiGatewayDynamicRoutingElementProperties
    id String
    outputs AiGatewayDynamicRoutingElementOutputs
    type String
    Available values: "start", "conditional", "percentage", "rate", "model", "end".
    properties AiGatewayDynamicRoutingElementProperties
    id string
    outputs AiGatewayDynamicRoutingElementOutputs
    type string
    Available values: "start", "conditional", "percentage", "rate", "model", "end".
    properties AiGatewayDynamicRoutingElementProperties
    id str
    outputs AiGatewayDynamicRoutingElementOutputs
    type str
    Available values: "start", "conditional", "percentage", "rate", "model", "end".
    properties AiGatewayDynamicRoutingElementProperties
    id String
    outputs Property Map
    type String
    Available values: "start", "conditional", "percentage", "rate", "model", "end".
    properties Property Map

    AiGatewayDynamicRoutingElementOutputs, AiGatewayDynamicRoutingElementOutputsArgs

    AiGatewayDynamicRoutingElementOutputsFallback, AiGatewayDynamicRoutingElementOutputsFallbackArgs

    ElementId string
    ElementId string
    elementId String
    elementId string
    elementId String

    AiGatewayDynamicRoutingElementOutputsFalse, AiGatewayDynamicRoutingElementOutputsFalseArgs

    ElementId string
    ElementId string
    elementId String
    elementId string
    elementId String

    AiGatewayDynamicRoutingElementOutputsNext, AiGatewayDynamicRoutingElementOutputsNextArgs

    ElementId string
    ElementId string
    elementId String
    elementId string
    elementId String

    AiGatewayDynamicRoutingElementOutputsSuccess, AiGatewayDynamicRoutingElementOutputsSuccessArgs

    ElementId string
    ElementId string
    elementId String
    elementId string
    elementId String

    AiGatewayDynamicRoutingElementOutputsTrue, AiGatewayDynamicRoutingElementOutputsTrueArgs

    ElementId string
    ElementId string
    elementId String
    elementId string
    elementId String

    AiGatewayDynamicRoutingElementProperties, AiGatewayDynamicRoutingElementPropertiesArgs

    AiGatewayDynamicRoutingProvider string
    Conditions string
    Key string
    Limit double
    LimitType string
    Available values: "count", "cost".
    Model string
    Retries double
    Timeout double
    Window double
    AiGatewayDynamicRoutingProvider string
    Conditions string
    Key string
    Limit float64
    LimitType string
    Available values: "count", "cost".
    Model string
    Retries float64
    Timeout float64
    Window float64
    aiGatewayDynamicRoutingProvider String
    conditions String
    key String
    limit Double
    limitType String
    Available values: "count", "cost".
    model String
    retries Double
    timeout Double
    window Double
    aiGatewayDynamicRoutingProvider string
    conditions string
    key string
    limit number
    limitType string
    Available values: "count", "cost".
    model string
    retries number
    timeout number
    window number
    ai_gateway_dynamic_routing_provider str
    conditions str
    key str
    limit float
    limit_type str
    Available values: "count", "cost".
    model str
    retries float
    timeout float
    window float
    aiGatewayDynamicRoutingProvider String
    conditions String
    key String
    limit Number
    limitType String
    Available values: "count", "cost".
    model String
    retries Number
    timeout Number
    window Number

    AiGatewayDynamicRoutingRoute, AiGatewayDynamicRoutingRouteArgs

    AiGatewayDynamicRoutingRouteDeployment, AiGatewayDynamicRoutingRouteDeploymentArgs

    CreatedAt string
    DeploymentId string
    VersionId string
    CreatedAt string
    DeploymentId string
    VersionId string
    createdAt String
    deploymentId String
    versionId String
    createdAt string
    deploymentId string
    versionId string
    createdAt String
    deploymentId String
    versionId String

    AiGatewayDynamicRoutingRouteElement, AiGatewayDynamicRoutingRouteElementArgs

    Id string
    Outputs AiGatewayDynamicRoutingRouteElementOutputs
    Properties AiGatewayDynamicRoutingRouteElementProperties
    Type string
    Available values: "start", "conditional", "percentage", "rate", "model", "end".
    Id string
    Outputs AiGatewayDynamicRoutingRouteElementOutputs
    Properties AiGatewayDynamicRoutingRouteElementProperties
    Type string
    Available values: "start", "conditional", "percentage", "rate", "model", "end".
    id String
    outputs AiGatewayDynamicRoutingRouteElementOutputs
    properties AiGatewayDynamicRoutingRouteElementProperties
    type String
    Available values: "start", "conditional", "percentage", "rate", "model", "end".
    id string
    outputs AiGatewayDynamicRoutingRouteElementOutputs
    properties AiGatewayDynamicRoutingRouteElementProperties
    type string
    Available values: "start", "conditional", "percentage", "rate", "model", "end".
    id str
    outputs AiGatewayDynamicRoutingRouteElementOutputs
    properties AiGatewayDynamicRoutingRouteElementProperties
    type str
    Available values: "start", "conditional", "percentage", "rate", "model", "end".
    id String
    outputs Property Map
    properties Property Map
    type String
    Available values: "start", "conditional", "percentage", "rate", "model", "end".

    AiGatewayDynamicRoutingRouteElementOutputs, AiGatewayDynamicRoutingRouteElementOutputsArgs

    AiGatewayDynamicRoutingRouteElementOutputsFallback, AiGatewayDynamicRoutingRouteElementOutputsFallbackArgs

    ElementId string
    ElementId string
    elementId String
    elementId string
    elementId String

    AiGatewayDynamicRoutingRouteElementOutputsFalse, AiGatewayDynamicRoutingRouteElementOutputsFalseArgs

    ElementId string
    ElementId string
    elementId String
    elementId string
    elementId String

    AiGatewayDynamicRoutingRouteElementOutputsNext, AiGatewayDynamicRoutingRouteElementOutputsNextArgs

    ElementId string
    ElementId string
    elementId String
    elementId string
    elementId String

    AiGatewayDynamicRoutingRouteElementOutputsSuccess, AiGatewayDynamicRoutingRouteElementOutputsSuccessArgs

    ElementId string
    ElementId string
    elementId String
    elementId string
    elementId String

    AiGatewayDynamicRoutingRouteElementOutputsTrue, AiGatewayDynamicRoutingRouteElementOutputsTrueArgs

    ElementId string
    ElementId string
    elementId String
    elementId string
    elementId String

    AiGatewayDynamicRoutingRouteElementProperties, AiGatewayDynamicRoutingRouteElementPropertiesArgs

    AiGatewayDynamicRoutingProvider string
    Conditions string
    Key string
    Limit double
    LimitType string
    Available values: "count", "cost".
    Model string
    Retries double
    Timeout double
    Window double
    AiGatewayDynamicRoutingProvider string
    Conditions string
    Key string
    Limit float64
    LimitType string
    Available values: "count", "cost".
    Model string
    Retries float64
    Timeout float64
    Window float64
    aiGatewayDynamicRoutingProvider String
    conditions String
    key String
    limit Double
    limitType String
    Available values: "count", "cost".
    model String
    retries Double
    timeout Double
    window Double
    aiGatewayDynamicRoutingProvider string
    conditions string
    key string
    limit number
    limitType string
    Available values: "count", "cost".
    model string
    retries number
    timeout number
    window number
    ai_gateway_dynamic_routing_provider str
    conditions str
    key str
    limit float
    limit_type str
    Available values: "count", "cost".
    model str
    retries float
    timeout float
    window float
    aiGatewayDynamicRoutingProvider String
    conditions String
    key String
    limit Number
    limitType String
    Available values: "count", "cost".
    model String
    retries Number
    timeout Number
    window Number

    AiGatewayDynamicRoutingRouteVersion, AiGatewayDynamicRoutingRouteVersionArgs

    Active string
    Available values: "true", "false".
    CreatedAt string
    Data string
    VersionId string
    Active string
    Available values: "true", "false".
    CreatedAt string
    Data string
    VersionId string
    active String
    Available values: "true", "false".
    createdAt String
    data String
    versionId String
    active string
    Available values: "true", "false".
    createdAt string
    data string
    versionId string
    active str
    Available values: "true", "false".
    created_at str
    data str
    version_id str
    active String
    Available values: "true", "false".
    createdAt String
    data String
    versionId String

    AiGatewayDynamicRoutingVersion, AiGatewayDynamicRoutingVersionArgs

    Active string
    Available values: "true", "false".
    CreatedAt string
    Data string
    VersionId string
    Active string
    Available values: "true", "false".
    CreatedAt string
    Data string
    VersionId string
    active String
    Available values: "true", "false".
    createdAt String
    data String
    versionId String
    active string
    Available values: "true", "false".
    createdAt string
    data string
    versionId string
    active str
    Available values: "true", "false".
    created_at str
    data str
    version_id str
    active String
    Available values: "true", "false".
    createdAt String
    data String
    versionId String

    Import

    $ pulumi import cloudflare:index/aiGatewayDynamicRouting:AiGatewayDynamicRouting example '<account_id>/<gateway_id>/<id>'
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Viewing docs for Cloudflare v6.15.0
    published on Saturday, May 2, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.