Argo Smart Routing Args
data class ArgoSmartRoutingArgs(val value: Output<String>? = null, val zoneId: Output<String>? = null) : ConvertibleToJava<ArgoSmartRoutingArgs>
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleArgoSmartRouting = new cloudflare.ArgoSmartRouting("example_argo_smart_routing", {
zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
value: "on",
});
Content copied to clipboard
import pulumi
import pulumi_cloudflare as cloudflare
example_argo_smart_routing = cloudflare.ArgoSmartRouting("example_argo_smart_routing",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
value="on")
Content copied to clipboard
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var exampleArgoSmartRouting = new Cloudflare.ArgoSmartRouting("example_argo_smart_routing", new()
{
ZoneId = "023e105f4ecef8ad9ca31a8372d0c353",
Value = "on",
});
});
Content copied to clipboard
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.NewArgoSmartRouting(ctx, "example_argo_smart_routing", &cloudflare.ArgoSmartRoutingArgs{
ZoneId: pulumi.String("023e105f4ecef8ad9ca31a8372d0c353"),
Value: pulumi.String("on"),
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.ArgoSmartRouting;
import com.pulumi.cloudflare.ArgoSmartRoutingArgs;
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 exampleArgoSmartRouting = new ArgoSmartRouting("exampleArgoSmartRouting", ArgoSmartRoutingArgs.builder()
.zoneId("023e105f4ecef8ad9ca31a8372d0c353")
.value("on")
.build());
}
}
Content copied to clipboard
resources:
exampleArgoSmartRouting:
type: cloudflare:ArgoSmartRouting
name: example_argo_smart_routing
properties:
zoneId: 023e105f4ecef8ad9ca31a8372d0c353
value: on
Content copied to clipboard
Import
$ pulumi import cloudflare:index/argoSmartRouting:ArgoSmartRouting example '<zone_id>'
Content copied to clipboard