DeviceManagedNetworksArgs

data class DeviceManagedNetworksArgs(val accountId: Output<String>? = null, val config: Output<DeviceManagedNetworksConfigArgs>? = null, val name: Output<String>? = null, val type: Output<String>? = null) : ConvertibleToJava<DeviceManagedNetworksArgs>

Provides a Cloudflare Device Managed Network resource. Device managed networks allow for building location-aware device settings policies.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.DeviceManagedNetworks;
import com.pulumi.cloudflare.DeviceManagedNetworksArgs;
import com.pulumi.cloudflare.inputs.DeviceManagedNetworksConfigArgs;
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 managedNetworks = new DeviceManagedNetworks("managedNetworks", DeviceManagedNetworksArgs.builder()
.accountId("f037e56e89293a057740de681ac9abbe")
.config(DeviceManagedNetworksConfigArgs.builder()
.sha256("b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c")
.tlsSockaddr("foobar:1234")
.build())
.name("managed-network-1")
.type("tls")
.build());
}
}

Import

$ pulumi import cloudflare:index/deviceManagedNetworks:DeviceManagedNetworks example <account_id>/<device_managed_networks_id>

Constructors

Link copied to clipboard
constructor(accountId: Output<String>? = null, config: Output<DeviceManagedNetworksConfigArgs>? = null, name: Output<String>? = null, type: Output<String>? = null)

Properties

Link copied to clipboard
val accountId: Output<String>? = null

The account identifier to target for the resource.

Link copied to clipboard

The configuration containing information for the WARP client to detect the managed network.

Link copied to clipboard
val name: Output<String>? = null

The name of the Device Managed Network. Must be unique.

Link copied to clipboard
val type: Output<String>? = null

The type of Device Managed Network. Available values: tls.

Functions

Link copied to clipboard
open override fun toJava(): DeviceManagedNetworksArgs