1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. ZeroTrustDeviceDefaultProfileCertificates
Cloudflare v6.0.1 published on Wednesday, Apr 16, 2025 by Pulumi

cloudflare.ZeroTrustDeviceDefaultProfileCertificates

Explore with Pulumi AI

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";

const exampleZeroTrustDeviceDefaultProfileCertificates = new cloudflare.ZeroTrustDeviceDefaultProfileCertificates("example_zero_trust_device_default_profile_certificates", {
    zoneId: "699d98642c564d2e855e9661899b7252",
    enabled: true,
});
Copy
import pulumi
import pulumi_cloudflare as cloudflare

example_zero_trust_device_default_profile_certificates = cloudflare.ZeroTrustDeviceDefaultProfileCertificates("example_zero_trust_device_default_profile_certificates",
    zone_id="699d98642c564d2e855e9661899b7252",
    enabled=True)
Copy
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.NewZeroTrustDeviceDefaultProfileCertificates(ctx, "example_zero_trust_device_default_profile_certificates", &cloudflare.ZeroTrustDeviceDefaultProfileCertificatesArgs{
			ZoneId:  pulumi.String("699d98642c564d2e855e9661899b7252"),
			Enabled: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;

return await Deployment.RunAsync(() => 
{
    var exampleZeroTrustDeviceDefaultProfileCertificates = new Cloudflare.ZeroTrustDeviceDefaultProfileCertificates("example_zero_trust_device_default_profile_certificates", new()
    {
        ZoneId = "699d98642c564d2e855e9661899b7252",
        Enabled = true,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.ZeroTrustDeviceDefaultProfileCertificates;
import com.pulumi.cloudflare.ZeroTrustDeviceDefaultProfileCertificatesArgs;
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 exampleZeroTrustDeviceDefaultProfileCertificates = new ZeroTrustDeviceDefaultProfileCertificates("exampleZeroTrustDeviceDefaultProfileCertificates", ZeroTrustDeviceDefaultProfileCertificatesArgs.builder()
            .zoneId("699d98642c564d2e855e9661899b7252")
            .enabled(true)
            .build());

    }
}
Copy
resources:
  exampleZeroTrustDeviceDefaultProfileCertificates:
    type: cloudflare:ZeroTrustDeviceDefaultProfileCertificates
    name: example_zero_trust_device_default_profile_certificates
    properties:
      zoneId: 699d98642c564d2e855e9661899b7252
      enabled: true
Copy

Create ZeroTrustDeviceDefaultProfileCertificates Resource

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

Constructor syntax

new ZeroTrustDeviceDefaultProfileCertificates(name: string, args: ZeroTrustDeviceDefaultProfileCertificatesArgs, opts?: CustomResourceOptions);
@overload
def ZeroTrustDeviceDefaultProfileCertificates(resource_name: str,
                                              args: ZeroTrustDeviceDefaultProfileCertificatesArgs,
                                              opts: Optional[ResourceOptions] = None)

@overload
def ZeroTrustDeviceDefaultProfileCertificates(resource_name: str,
                                              opts: Optional[ResourceOptions] = None,
                                              enabled: Optional[bool] = None,
                                              zone_id: Optional[str] = None)
func NewZeroTrustDeviceDefaultProfileCertificates(ctx *Context, name string, args ZeroTrustDeviceDefaultProfileCertificatesArgs, opts ...ResourceOption) (*ZeroTrustDeviceDefaultProfileCertificates, error)
public ZeroTrustDeviceDefaultProfileCertificates(string name, ZeroTrustDeviceDefaultProfileCertificatesArgs args, CustomResourceOptions? opts = null)
public ZeroTrustDeviceDefaultProfileCertificates(String name, ZeroTrustDeviceDefaultProfileCertificatesArgs args)
public ZeroTrustDeviceDefaultProfileCertificates(String name, ZeroTrustDeviceDefaultProfileCertificatesArgs args, CustomResourceOptions options)
type: cloudflare:ZeroTrustDeviceDefaultProfileCertificates
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ZeroTrustDeviceDefaultProfileCertificatesArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ZeroTrustDeviceDefaultProfileCertificatesArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ZeroTrustDeviceDefaultProfileCertificatesArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ZeroTrustDeviceDefaultProfileCertificatesArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ZeroTrustDeviceDefaultProfileCertificatesArgs
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 zeroTrustDeviceDefaultProfileCertificatesResource = new Cloudflare.ZeroTrustDeviceDefaultProfileCertificates("zeroTrustDeviceDefaultProfileCertificatesResource", new()
{
    Enabled = false,
    ZoneId = "string",
});
Copy
example, err := cloudflare.NewZeroTrustDeviceDefaultProfileCertificates(ctx, "zeroTrustDeviceDefaultProfileCertificatesResource", &cloudflare.ZeroTrustDeviceDefaultProfileCertificatesArgs{
	Enabled: pulumi.Bool(false),
	ZoneId:  pulumi.String("string"),
})
Copy
var zeroTrustDeviceDefaultProfileCertificatesResource = new ZeroTrustDeviceDefaultProfileCertificates("zeroTrustDeviceDefaultProfileCertificatesResource", ZeroTrustDeviceDefaultProfileCertificatesArgs.builder()
    .enabled(false)
    .zoneId("string")
    .build());
Copy
zero_trust_device_default_profile_certificates_resource = cloudflare.ZeroTrustDeviceDefaultProfileCertificates("zeroTrustDeviceDefaultProfileCertificatesResource",
    enabled=False,
    zone_id="string")
Copy
const zeroTrustDeviceDefaultProfileCertificatesResource = new cloudflare.ZeroTrustDeviceDefaultProfileCertificates("zeroTrustDeviceDefaultProfileCertificatesResource", {
    enabled: false,
    zoneId: "string",
});
Copy
type: cloudflare:ZeroTrustDeviceDefaultProfileCertificates
properties:
    enabled: false
    zoneId: string
Copy

ZeroTrustDeviceDefaultProfileCertificates 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 ZeroTrustDeviceDefaultProfileCertificates resource accepts the following input properties:

Enabled This property is required. bool
The current status of the device policy certificate provisioning feature for WARP clients.
ZoneId This property is required. string
Enabled This property is required. bool
The current status of the device policy certificate provisioning feature for WARP clients.
ZoneId This property is required. string
enabled This property is required. Boolean
The current status of the device policy certificate provisioning feature for WARP clients.
zoneId This property is required. String
enabled This property is required. boolean
The current status of the device policy certificate provisioning feature for WARP clients.
zoneId This property is required. string
enabled This property is required. bool
The current status of the device policy certificate provisioning feature for WARP clients.
zone_id This property is required. str
enabled This property is required. Boolean
The current status of the device policy certificate provisioning feature for WARP clients.
zoneId This property is required. String

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing ZeroTrustDeviceDefaultProfileCertificates Resource

Get an existing ZeroTrustDeviceDefaultProfileCertificates 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?: ZeroTrustDeviceDefaultProfileCertificatesState, opts?: CustomResourceOptions): ZeroTrustDeviceDefaultProfileCertificates
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        enabled: Optional[bool] = None,
        zone_id: Optional[str] = None) -> ZeroTrustDeviceDefaultProfileCertificates
func GetZeroTrustDeviceDefaultProfileCertificates(ctx *Context, name string, id IDInput, state *ZeroTrustDeviceDefaultProfileCertificatesState, opts ...ResourceOption) (*ZeroTrustDeviceDefaultProfileCertificates, error)
public static ZeroTrustDeviceDefaultProfileCertificates Get(string name, Input<string> id, ZeroTrustDeviceDefaultProfileCertificatesState? state, CustomResourceOptions? opts = null)
public static ZeroTrustDeviceDefaultProfileCertificates get(String name, Output<String> id, ZeroTrustDeviceDefaultProfileCertificatesState state, CustomResourceOptions options)
resources:  _:    type: cloudflare:ZeroTrustDeviceDefaultProfileCertificates    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Enabled bool
The current status of the device policy certificate provisioning feature for WARP clients.
ZoneId string
Enabled bool
The current status of the device policy certificate provisioning feature for WARP clients.
ZoneId string
enabled Boolean
The current status of the device policy certificate provisioning feature for WARP clients.
zoneId String
enabled boolean
The current status of the device policy certificate provisioning feature for WARP clients.
zoneId string
enabled bool
The current status of the device policy certificate provisioning feature for WARP clients.
zone_id str
enabled Boolean
The current status of the device policy certificate provisioning feature for WARP clients.
zoneId String

Package Details

Repository
Cloudflare pulumi/pulumi-cloudflare
License
Apache-2.0
Notes
This Pulumi package is based on the cloudflare Terraform Provider.