published on Thursday, Jul 16, 2026 by Pulumi
published on Thursday, Jul 16, 2026 by Pulumi
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZeroTrustDeviceDeploymentGroups = new cloudflare.ZeroTrustDeviceDeploymentGroups("example_zero_trust_device_deployment_groups", {
accountId: "account_id",
name: "Engineering Ring 0",
versionConfigs: [{
targetEnvironment: "windows",
version: "2026.6.234.0",
}],
policyIds: ["string"],
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_device_deployment_groups = cloudflare.ZeroTrustDeviceDeploymentGroups("example_zero_trust_device_deployment_groups",
account_id="account_id",
name="Engineering Ring 0",
version_configs=[{
"target_environment": "windows",
"version": "2026.6.234.0",
}],
policy_ids=["string"])
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.NewZeroTrustDeviceDeploymentGroups(ctx, "example_zero_trust_device_deployment_groups", &cloudflare.ZeroTrustDeviceDeploymentGroupsArgs{
AccountId: pulumi.String("account_id"),
Name: pulumi.String("Engineering Ring 0"),
VersionConfigs: cloudflare.ZeroTrustDeviceDeploymentGroupsVersionConfigArray{
&cloudflare.ZeroTrustDeviceDeploymentGroupsVersionConfigArgs{
TargetEnvironment: pulumi.String("windows"),
Version: pulumi.String("2026.6.234.0"),
},
},
PolicyIds: pulumi.StringArray{
pulumi.String("string"),
},
})
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 exampleZeroTrustDeviceDeploymentGroups = new Cloudflare.ZeroTrustDeviceDeploymentGroups("example_zero_trust_device_deployment_groups", new()
{
AccountId = "account_id",
Name = "Engineering Ring 0",
VersionConfigs = new[]
{
new Cloudflare.Inputs.ZeroTrustDeviceDeploymentGroupsVersionConfigArgs
{
TargetEnvironment = "windows",
Version = "2026.6.234.0",
},
},
PolicyIds = new[]
{
"string",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.ZeroTrustDeviceDeploymentGroups;
import com.pulumi.cloudflare.ZeroTrustDeviceDeploymentGroupsArgs;
import com.pulumi.cloudflare.inputs.ZeroTrustDeviceDeploymentGroupsVersionConfigArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 exampleZeroTrustDeviceDeploymentGroups = new ZeroTrustDeviceDeploymentGroups("exampleZeroTrustDeviceDeploymentGroups", ZeroTrustDeviceDeploymentGroupsArgs.builder()
.accountId("account_id")
.name("Engineering Ring 0")
.versionConfigs(ZeroTrustDeviceDeploymentGroupsVersionConfigArgs.builder()
.targetEnvironment("windows")
.version("2026.6.234.0")
.build())
.policyIds("string")
.build());
}
}
resources:
exampleZeroTrustDeviceDeploymentGroups:
type: cloudflare:ZeroTrustDeviceDeploymentGroups
name: example_zero_trust_device_deployment_groups
properties:
accountId: account_id
name: Engineering Ring 0
versionConfigs:
- targetEnvironment: windows
version: 2026.6.234.0
policyIds:
- string
pulumi {
required_providers {
cloudflare = {
source = "pulumi/cloudflare"
}
}
}
resource "cloudflare_zerotrustdevicedeploymentgroups" "example_zero_trust_device_deployment_groups" {
account_id = "account_id"
name = "Engineering Ring 0"
version_configs {
target_environment = "windows"
version = "2026.6.234.0"
}
policy_ids = ["string"]
}
Create ZeroTrustDeviceDeploymentGroups Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ZeroTrustDeviceDeploymentGroups(name: string, args: ZeroTrustDeviceDeploymentGroupsArgs, opts?: CustomResourceOptions);@overload
def ZeroTrustDeviceDeploymentGroups(resource_name: str,
args: ZeroTrustDeviceDeploymentGroupsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ZeroTrustDeviceDeploymentGroups(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
name: Optional[str] = None,
version_configs: Optional[Sequence[ZeroTrustDeviceDeploymentGroupsVersionConfigArgs]] = None,
policy_ids: Optional[Sequence[str]] = None)func NewZeroTrustDeviceDeploymentGroups(ctx *Context, name string, args ZeroTrustDeviceDeploymentGroupsArgs, opts ...ResourceOption) (*ZeroTrustDeviceDeploymentGroups, error)public ZeroTrustDeviceDeploymentGroups(string name, ZeroTrustDeviceDeploymentGroupsArgs args, CustomResourceOptions? opts = null)
public ZeroTrustDeviceDeploymentGroups(String name, ZeroTrustDeviceDeploymentGroupsArgs args)
public ZeroTrustDeviceDeploymentGroups(String name, ZeroTrustDeviceDeploymentGroupsArgs args, CustomResourceOptions options)
type: cloudflare:ZeroTrustDeviceDeploymentGroups
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "cloudflare_zero_trust_device_deployment_groups" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ZeroTrustDeviceDeploymentGroupsArgs
- 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 ZeroTrustDeviceDeploymentGroupsArgs
- 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 ZeroTrustDeviceDeploymentGroupsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ZeroTrustDeviceDeploymentGroupsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ZeroTrustDeviceDeploymentGroupsArgs
- 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 zeroTrustDeviceDeploymentGroupsResource = new Cloudflare.ZeroTrustDeviceDeploymentGroups("zeroTrustDeviceDeploymentGroupsResource", new()
{
AccountId = "string",
Name = "string",
VersionConfigs = new[]
{
new Cloudflare.Inputs.ZeroTrustDeviceDeploymentGroupsVersionConfigArgs
{
TargetEnvironment = "string",
Version = "string",
},
},
PolicyIds = new[]
{
"string",
},
});
example, err := cloudflare.NewZeroTrustDeviceDeploymentGroups(ctx, "zeroTrustDeviceDeploymentGroupsResource", &cloudflare.ZeroTrustDeviceDeploymentGroupsArgs{
AccountId: pulumi.String("string"),
Name: pulumi.String("string"),
VersionConfigs: cloudflare.ZeroTrustDeviceDeploymentGroupsVersionConfigArray{
&cloudflare.ZeroTrustDeviceDeploymentGroupsVersionConfigArgs{
TargetEnvironment: pulumi.String("string"),
Version: pulumi.String("string"),
},
},
PolicyIds: pulumi.StringArray{
pulumi.String("string"),
},
})
resource "cloudflare_zero_trust_device_deployment_groups" "zeroTrustDeviceDeploymentGroupsResource" {
lifecycle {
create_before_destroy = true
}
account_id = "string"
name = "string"
version_configs {
target_environment = "string"
version = "string"
}
policy_ids = ["string"]
}
var zeroTrustDeviceDeploymentGroupsResource = new ZeroTrustDeviceDeploymentGroups("zeroTrustDeviceDeploymentGroupsResource", ZeroTrustDeviceDeploymentGroupsArgs.builder()
.accountId("string")
.name("string")
.versionConfigs(ZeroTrustDeviceDeploymentGroupsVersionConfigArgs.builder()
.targetEnvironment("string")
.version("string")
.build())
.policyIds("string")
.build());
zero_trust_device_deployment_groups_resource = cloudflare.ZeroTrustDeviceDeploymentGroups("zeroTrustDeviceDeploymentGroupsResource",
account_id="string",
name="string",
version_configs=[{
"target_environment": "string",
"version": "string",
}],
policy_ids=["string"])
const zeroTrustDeviceDeploymentGroupsResource = new cloudflare.ZeroTrustDeviceDeploymentGroups("zeroTrustDeviceDeploymentGroupsResource", {
accountId: "string",
name: "string",
versionConfigs: [{
targetEnvironment: "string",
version: "string",
}],
policyIds: ["string"],
});
type: cloudflare:ZeroTrustDeviceDeploymentGroups
properties:
accountId: string
name: string
policyIds:
- string
versionConfigs:
- targetEnvironment: string
version: string
ZeroTrustDeviceDeploymentGroups 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 ZeroTrustDeviceDeploymentGroups resource accepts the following input properties:
- Account
Id string - Name string
- A user-friendly name for the deployment group.
- Version
Configs List<ZeroTrust Device Deployment Groups Version Config> - Contains at least one version configuration.
- Policy
Ids List<string> - Contains an optional list of policy IDs assigned to a group.
- Account
Id string - Name string
- A user-friendly name for the deployment group.
- Version
Configs []ZeroTrust Device Deployment Groups Version Config Args - Contains at least one version configuration.
- Policy
Ids []string - Contains an optional list of policy IDs assigned to a group.
- account_
id string - name string
- A user-friendly name for the deployment group.
- version_
configs list(object) - Contains at least one version configuration.
- policy_
ids list(string) - Contains an optional list of policy IDs assigned to a group.
- account
Id String - name String
- A user-friendly name for the deployment group.
- version
Configs List<ZeroTrust Device Deployment Groups Version Config> - Contains at least one version configuration.
- policy
Ids List<String> - Contains an optional list of policy IDs assigned to a group.
- account
Id string - name string
- A user-friendly name for the deployment group.
- version
Configs ZeroTrust Device Deployment Groups Version Config[] - Contains at least one version configuration.
- policy
Ids string[] - Contains an optional list of policy IDs assigned to a group.
- account_
id str - name str
- A user-friendly name for the deployment group.
- version_
configs Sequence[ZeroTrust Device Deployment Groups Version Config Args] - Contains at least one version configuration.
- policy_
ids Sequence[str] - Contains an optional list of policy IDs assigned to a group.
- account
Id String - name String
- A user-friendly name for the deployment group.
- version
Configs List<Property Map> - Contains at least one version configuration.
- policy
Ids List<String> - Contains an optional list of policy IDs assigned to a group.
Outputs
All input properties are implicitly available as output properties. Additionally, the ZeroTrustDeviceDeploymentGroups resource produces the following output properties:
- created_
at string - The RFC3339Nano timestamp when the deployment group was created.
- id string
- The provider-assigned unique ID for this managed resource.
- updated_
at string - The RFC3339Nano timestamp when the deployment group was last updated.
- created_
at str - The RFC3339Nano timestamp when the deployment group was created.
- id str
- The provider-assigned unique ID for this managed resource.
- updated_
at str - The RFC3339Nano timestamp when the deployment group was last updated.
Look up Existing ZeroTrustDeviceDeploymentGroups Resource
Get an existing ZeroTrustDeviceDeploymentGroups 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?: ZeroTrustDeviceDeploymentGroupsState, opts?: CustomResourceOptions): ZeroTrustDeviceDeploymentGroups@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
created_at: Optional[str] = None,
name: Optional[str] = None,
policy_ids: Optional[Sequence[str]] = None,
updated_at: Optional[str] = None,
version_configs: Optional[Sequence[ZeroTrustDeviceDeploymentGroupsVersionConfigArgs]] = None) -> ZeroTrustDeviceDeploymentGroupsfunc GetZeroTrustDeviceDeploymentGroups(ctx *Context, name string, id IDInput, state *ZeroTrustDeviceDeploymentGroupsState, opts ...ResourceOption) (*ZeroTrustDeviceDeploymentGroups, error)public static ZeroTrustDeviceDeploymentGroups Get(string name, Input<string> id, ZeroTrustDeviceDeploymentGroupsState? state, CustomResourceOptions? opts = null)public static ZeroTrustDeviceDeploymentGroups get(String name, Output<String> id, ZeroTrustDeviceDeploymentGroupsState state, CustomResourceOptions options)resources: _: type: cloudflare:ZeroTrustDeviceDeploymentGroups get: id: ${id}import {
to = cloudflare_zero_trust_device_deployment_groups.example
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.
- Account
Id string - Created
At string - The RFC3339Nano timestamp when the deployment group was created.
- Name string
- A user-friendly name for the deployment group.
- Policy
Ids List<string> - Contains an optional list of policy IDs assigned to a group.
- Updated
At string - The RFC3339Nano timestamp when the deployment group was last updated.
- Version
Configs List<ZeroTrust Device Deployment Groups Version Config> - Contains at least one version configuration.
- Account
Id string - Created
At string - The RFC3339Nano timestamp when the deployment group was created.
- Name string
- A user-friendly name for the deployment group.
- Policy
Ids []string - Contains an optional list of policy IDs assigned to a group.
- Updated
At string - The RFC3339Nano timestamp when the deployment group was last updated.
- Version
Configs []ZeroTrust Device Deployment Groups Version Config Args - Contains at least one version configuration.
- account_
id string - created_
at string - The RFC3339Nano timestamp when the deployment group was created.
- name string
- A user-friendly name for the deployment group.
- policy_
ids list(string) - Contains an optional list of policy IDs assigned to a group.
- updated_
at string - The RFC3339Nano timestamp when the deployment group was last updated.
- version_
configs list(object) - Contains at least one version configuration.
- account
Id String - created
At String - The RFC3339Nano timestamp when the deployment group was created.
- name String
- A user-friendly name for the deployment group.
- policy
Ids List<String> - Contains an optional list of policy IDs assigned to a group.
- updated
At String - The RFC3339Nano timestamp when the deployment group was last updated.
- version
Configs List<ZeroTrust Device Deployment Groups Version Config> - Contains at least one version configuration.
- account
Id string - created
At string - The RFC3339Nano timestamp when the deployment group was created.
- name string
- A user-friendly name for the deployment group.
- policy
Ids string[] - Contains an optional list of policy IDs assigned to a group.
- updated
At string - The RFC3339Nano timestamp when the deployment group was last updated.
- version
Configs ZeroTrust Device Deployment Groups Version Config[] - Contains at least one version configuration.
- account_
id str - created_
at str - The RFC3339Nano timestamp when the deployment group was created.
- name str
- A user-friendly name for the deployment group.
- policy_
ids Sequence[str] - Contains an optional list of policy IDs assigned to a group.
- updated_
at str - The RFC3339Nano timestamp when the deployment group was last updated.
- version_
configs Sequence[ZeroTrust Device Deployment Groups Version Config Args] - Contains at least one version configuration.
- account
Id String - created
At String - The RFC3339Nano timestamp when the deployment group was created.
- name String
- A user-friendly name for the deployment group.
- policy
Ids List<String> - Contains an optional list of policy IDs assigned to a group.
- updated
At String - The RFC3339Nano timestamp when the deployment group was last updated.
- version
Configs List<Property Map> - Contains at least one version configuration.
Supporting Types
ZeroTrustDeviceDeploymentGroupsVersionConfig, ZeroTrustDeviceDeploymentGroupsVersionConfigArgs
- Target
Environment string - The target environment for the client version (e.g., windows, macos).
- Version string
- The specific client version to deploy.
- Target
Environment string - The target environment for the client version (e.g., windows, macos).
- Version string
- The specific client version to deploy.
- target_
environment string - The target environment for the client version (e.g., windows, macos).
- version string
- The specific client version to deploy.
- target
Environment String - The target environment for the client version (e.g., windows, macos).
- version String
- The specific client version to deploy.
- target
Environment string - The target environment for the client version (e.g., windows, macos).
- version string
- The specific client version to deploy.
- target_
environment str - The target environment for the client version (e.g., windows, macos).
- version str
- The specific client version to deploy.
- target
Environment String - The target environment for the client version (e.g., windows, macos).
- version String
- The specific client version to deploy.
Import
$ pulumi import cloudflare:index/zeroTrustDeviceDeploymentGroups:ZeroTrustDeviceDeploymentGroups example '<account_id>/<group_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
cloudflareTerraform Provider.
published on Thursday, Jul 16, 2026 by Pulumi