Viewing docs for Cloudflare v6.15.0
published on Saturday, May 2, 2026 by Pulumi
published on Saturday, May 2, 2026 by Pulumi
Viewing docs for Cloudflare v6.15.0
published on Saturday, May 2, 2026 by Pulumi
published on Saturday, May 2, 2026 by Pulumi
Accepted Permissions
AI Gateway ReadAI Gateway Write
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleAiGatewayDynamicRouting = cloudflare.getAiGatewayDynamicRouting({
accountId: "0d37909e38d3e99c29fa2cd343ac421a",
gatewayId: "54442216",
id: "54442216",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_ai_gateway_dynamic_routing = cloudflare.get_ai_gateway_dynamic_routing(account_id="0d37909e38d3e99c29fa2cd343ac421a",
gateway_id="54442216",
id="54442216")
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.GetAiGatewayDynamicRouting(ctx, &cloudflare.LookupAiGatewayDynamicRoutingArgs{
AccountId: pulumi.StringRef("0d37909e38d3e99c29fa2cd343ac421a"),
GatewayId: "54442216",
Id: "54442216",
}, 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 exampleAiGatewayDynamicRouting = Cloudflare.Index.GetAiGatewayDynamicRouting.Invoke(new()
{
AccountId = "0d37909e38d3e99c29fa2cd343ac421a",
GatewayId = "54442216",
Id = "54442216",
});
});
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.GetAiGatewayDynamicRoutingArgs;
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 exampleAiGatewayDynamicRouting = CloudflareFunctions.getAiGatewayDynamicRouting(GetAiGatewayDynamicRoutingArgs.builder()
.accountId("0d37909e38d3e99c29fa2cd343ac421a")
.gatewayId("54442216")
.id("54442216")
.build());
}
}
variables:
exampleAiGatewayDynamicRouting:
fn::invoke:
function: cloudflare:getAiGatewayDynamicRouting
arguments:
accountId: 0d37909e38d3e99c29fa2cd343ac421a
gatewayId: '54442216'
id: '54442216'
Using getAiGatewayDynamicRouting
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 getAiGatewayDynamicRouting(args: GetAiGatewayDynamicRoutingArgs, opts?: InvokeOptions): Promise<GetAiGatewayDynamicRoutingResult>
function getAiGatewayDynamicRoutingOutput(args: GetAiGatewayDynamicRoutingOutputArgs, opts?: InvokeOptions): Output<GetAiGatewayDynamicRoutingResult>def get_ai_gateway_dynamic_routing(account_id: Optional[str] = None,
gateway_id: Optional[str] = None,
id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAiGatewayDynamicRoutingResult
def get_ai_gateway_dynamic_routing_output(account_id: Optional[pulumi.Input[str]] = None,
gateway_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAiGatewayDynamicRoutingResult]func LookupAiGatewayDynamicRouting(ctx *Context, args *LookupAiGatewayDynamicRoutingArgs, opts ...InvokeOption) (*LookupAiGatewayDynamicRoutingResult, error)
func LookupAiGatewayDynamicRoutingOutput(ctx *Context, args *LookupAiGatewayDynamicRoutingOutputArgs, opts ...InvokeOption) LookupAiGatewayDynamicRoutingResultOutput> Note: This function is named LookupAiGatewayDynamicRouting in the Go SDK.
public static class GetAiGatewayDynamicRouting
{
public static Task<GetAiGatewayDynamicRoutingResult> InvokeAsync(GetAiGatewayDynamicRoutingArgs args, InvokeOptions? opts = null)
public static Output<GetAiGatewayDynamicRoutingResult> Invoke(GetAiGatewayDynamicRoutingInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAiGatewayDynamicRoutingResult> getAiGatewayDynamicRouting(GetAiGatewayDynamicRoutingArgs args, InvokeOptions options)
public static Output<GetAiGatewayDynamicRoutingResult> getAiGatewayDynamicRouting(GetAiGatewayDynamicRoutingArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getAiGatewayDynamicRouting:getAiGatewayDynamicRouting
arguments:
# arguments dictionaryThe following arguments are supported:
- gateway_
id str - id str
- The ID of this resource.
- account_
id str
getAiGatewayDynamicRouting Result
The following output properties are available:
- Created
At string - Deployment
Get
Ai Gateway Dynamic Routing Deployment - Elements
List<Get
Ai Gateway Dynamic Routing Element> - Gateway
Id string - Id string
- The ID of this resource.
- Modified
At string - Name string
- Version
Get
Ai Gateway Dynamic Routing Version - Account
Id string
- Created
At string - Deployment
Get
Ai Gateway Dynamic Routing Deployment - Elements
[]Get
Ai Gateway Dynamic Routing Element - Gateway
Id string - Id string
- The ID of this resource.
- Modified
At string - Name string
- Version
Get
Ai Gateway Dynamic Routing Version - Account
Id string
- created
At String - deployment
Get
Ai Gateway Dynamic Routing Deployment - elements
List<Get
Ai Gateway Dynamic Routing Element> - gateway
Id String - id String
- The ID of this resource.
- modified
At String - name String
- version
Get
Ai Gateway Dynamic Routing Version - account
Id String
- created
At string - deployment
Get
Ai Gateway Dynamic Routing Deployment - elements
Get
Ai Gateway Dynamic Routing Element[] - gateway
Id string - id string
- The ID of this resource.
- modified
At string - name string
- version
Get
Ai Gateway Dynamic Routing Version - account
Id string
- created_
at str - deployment
Get
Ai Gateway Dynamic Routing Deployment - elements
Sequence[Get
Ai Gateway Dynamic Routing Element] - gateway_
id str - id str
- The ID of this resource.
- modified_
at str - name str
- version
Get
Ai Gateway Dynamic Routing Version - account_
id str
- created
At String - deployment Property Map
- elements List<Property Map>
- gateway
Id String - id String
- The ID of this resource.
- modified
At String - name String
- version Property Map
- account
Id String
Supporting Types
GetAiGatewayDynamicRoutingDeployment
- Created
At string - Deployment
Id string - Version
Id string
- Created
At string - Deployment
Id string - Version
Id string
- created
At String - deployment
Id String - version
Id String
- created
At string - deployment
Id string - version
Id string
- created_
at str - deployment_
id str - version_
id str
- created
At String - deployment
Id String - version
Id String
GetAiGatewayDynamicRoutingElement
- Id string
- Outputs
Get
Ai Gateway Dynamic Routing Element Outputs - Properties
Get
Ai Gateway Dynamic Routing Element Properties - Type string
- Available values: "start", "conditional", "percentage", "rate", "model", "end".
- Id string
- Outputs
Get
Ai Gateway Dynamic Routing Element Outputs - Properties
Get
Ai Gateway Dynamic Routing Element Properties - Type string
- Available values: "start", "conditional", "percentage", "rate", "model", "end".
- id String
- outputs
Get
Ai Gateway Dynamic Routing Element Outputs - properties
Get
Ai Gateway Dynamic Routing Element Properties - type String
- Available values: "start", "conditional", "percentage", "rate", "model", "end".
- id string
- outputs
Get
Ai Gateway Dynamic Routing Element Outputs - properties
Get
Ai Gateway Dynamic Routing Element Properties - type string
- Available values: "start", "conditional", "percentage", "rate", "model", "end".
- id str
- outputs
Get
Ai Gateway Dynamic Routing Element Outputs - properties
Get
Ai Gateway Dynamic Routing Element Properties - 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".
GetAiGatewayDynamicRoutingElementOutputs
GetAiGatewayDynamicRoutingElementOutputsFallback
- Element
Id string
- Element
Id string
- element
Id String
- element
Id string
- element_
id str
- element
Id String
GetAiGatewayDynamicRoutingElementOutputsFalse
- Element
Id string
- Element
Id string
- element
Id String
- element
Id string
- element_
id str
- element
Id String
GetAiGatewayDynamicRoutingElementOutputsNext
- Element
Id string
- Element
Id string
- element
Id String
- element
Id string
- element_
id str
- element
Id String
GetAiGatewayDynamicRoutingElementOutputsSuccess
- Element
Id string
- Element
Id string
- element
Id String
- element
Id string
- element_
id str
- element
Id String
GetAiGatewayDynamicRoutingElementOutputsTrue
- Element
Id string
- Element
Id string
- element
Id String
- element
Id string
- element_
id str
- element
Id String
GetAiGatewayDynamicRoutingElementProperties
- Ai
Gateway stringDynamic Routing Provider - Conditions string
- Key string
- Limit double
- Limit
Type string - Available values: "count", "cost".
- Model string
- Retries double
- Timeout double
- Window double
- Ai
Gateway stringDynamic Routing Provider - Conditions string
- Key string
- Limit float64
- Limit
Type string - Available values: "count", "cost".
- Model string
- Retries float64
- Timeout float64
- Window float64
- ai
Gateway StringDynamic Routing Provider - conditions String
- key String
- limit Double
- limit
Type String - Available values: "count", "cost".
- model String
- retries Double
- timeout Double
- window Double
- ai
Gateway stringDynamic Routing Provider - conditions string
- key string
- limit number
- limit
Type string - Available values: "count", "cost".
- model string
- retries number
- timeout number
- window number
- ai_
gateway_ strdynamic_ routing_ provider - conditions str
- key str
- limit float
- limit_
type str - Available values: "count", "cost".
- model str
- retries float
- timeout float
- window float
- ai
Gateway StringDynamic Routing Provider - conditions String
- key String
- limit Number
- limit
Type String - Available values: "count", "cost".
- model String
- retries Number
- timeout Number
- window Number
GetAiGatewayDynamicRoutingVersion
- active str
- Available values: "true", "false".
- created_
at str - data str
- version_
id str
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
Viewing docs for Cloudflare v6.15.0
published on Saturday, May 2, 2026 by Pulumi
published on Saturday, May 2, 2026 by Pulumi
