1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. ZeroTrustDevicePostureIntegration
Cloudflare v6.0.0 published on Monday, Apr 14, 2025 by Pulumi

cloudflare.ZeroTrustDevicePostureIntegration

Explore with Pulumi AI

Example Usage

Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
  exampleZeroTrustDevicePostureIntegration:
    type: cloudflare:ZeroTrustDevicePostureIntegration
    name: example_zero_trust_device_posture_integration
    properties:
      accountId: 699d98642c564d2e855e9661899b7252
      config:
        api_url: https://as123.awmdm.com/API
        auth_url: https://na.uemauth.vmwservices.com/connect/token
        client_id: example client id
        client_secret: example client secret
      interval: 10m
      name: My Workspace One Integration
      type: workspace_one
Copy

Create ZeroTrustDevicePostureIntegration Resource

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

Constructor syntax

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

@overload
def ZeroTrustDevicePostureIntegration(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      account_id: Optional[str] = None,
                                      config: Optional[ZeroTrustDevicePostureIntegrationConfigArgs] = None,
                                      interval: Optional[str] = None,
                                      name: Optional[str] = None,
                                      type: Optional[str] = None)
func NewZeroTrustDevicePostureIntegration(ctx *Context, name string, args ZeroTrustDevicePostureIntegrationArgs, opts ...ResourceOption) (*ZeroTrustDevicePostureIntegration, error)
public ZeroTrustDevicePostureIntegration(string name, ZeroTrustDevicePostureIntegrationArgs args, CustomResourceOptions? opts = null)
public ZeroTrustDevicePostureIntegration(String name, ZeroTrustDevicePostureIntegrationArgs args)
public ZeroTrustDevicePostureIntegration(String name, ZeroTrustDevicePostureIntegrationArgs args, CustomResourceOptions options)
type: cloudflare:ZeroTrustDevicePostureIntegration
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. ZeroTrustDevicePostureIntegrationArgs
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. ZeroTrustDevicePostureIntegrationArgs
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. ZeroTrustDevicePostureIntegrationArgs
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. ZeroTrustDevicePostureIntegrationArgs
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. ZeroTrustDevicePostureIntegrationArgs
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 zeroTrustDevicePostureIntegrationResource = new Cloudflare.ZeroTrustDevicePostureIntegration("zeroTrustDevicePostureIntegrationResource", new()
{
    AccountId = "string",
    Config = new Cloudflare.Inputs.ZeroTrustDevicePostureIntegrationConfigArgs
    {
        AccessClientId = "string",
        AccessClientSecret = "string",
        ApiUrl = "string",
        AuthUrl = "string",
        ClientId = "string",
        ClientKey = "string",
        ClientSecret = "string",
        CustomerId = "string",
    },
    Interval = "string",
    Name = "string",
    Type = "string",
});
Copy
example, err := cloudflare.NewZeroTrustDevicePostureIntegration(ctx, "zeroTrustDevicePostureIntegrationResource", &cloudflare.ZeroTrustDevicePostureIntegrationArgs{
	AccountId: pulumi.String("string"),
	Config: &cloudflare.ZeroTrustDevicePostureIntegrationConfigArgs{
		AccessClientId:     pulumi.String("string"),
		AccessClientSecret: pulumi.String("string"),
		ApiUrl:             pulumi.String("string"),
		AuthUrl:            pulumi.String("string"),
		ClientId:           pulumi.String("string"),
		ClientKey:          pulumi.String("string"),
		ClientSecret:       pulumi.String("string"),
		CustomerId:         pulumi.String("string"),
	},
	Interval: pulumi.String("string"),
	Name:     pulumi.String("string"),
	Type:     pulumi.String("string"),
})
Copy
var zeroTrustDevicePostureIntegrationResource = new ZeroTrustDevicePostureIntegration("zeroTrustDevicePostureIntegrationResource", ZeroTrustDevicePostureIntegrationArgs.builder()
    .accountId("string")
    .config(ZeroTrustDevicePostureIntegrationConfigArgs.builder()
        .accessClientId("string")
        .accessClientSecret("string")
        .apiUrl("string")
        .authUrl("string")
        .clientId("string")
        .clientKey("string")
        .clientSecret("string")
        .customerId("string")
        .build())
    .interval("string")
    .name("string")
    .type("string")
    .build());
Copy
zero_trust_device_posture_integration_resource = cloudflare.ZeroTrustDevicePostureIntegration("zeroTrustDevicePostureIntegrationResource",
    account_id="string",
    config={
        "access_client_id": "string",
        "access_client_secret": "string",
        "api_url": "string",
        "auth_url": "string",
        "client_id": "string",
        "client_key": "string",
        "client_secret": "string",
        "customer_id": "string",
    },
    interval="string",
    name="string",
    type="string")
Copy
const zeroTrustDevicePostureIntegrationResource = new cloudflare.ZeroTrustDevicePostureIntegration("zeroTrustDevicePostureIntegrationResource", {
    accountId: "string",
    config: {
        accessClientId: "string",
        accessClientSecret: "string",
        apiUrl: "string",
        authUrl: "string",
        clientId: "string",
        clientKey: "string",
        clientSecret: "string",
        customerId: "string",
    },
    interval: "string",
    name: "string",
    type: "string",
});
Copy
type: cloudflare:ZeroTrustDevicePostureIntegration
properties:
    accountId: string
    config:
        accessClientId: string
        accessClientSecret: string
        apiUrl: string
        authUrl: string
        clientId: string
        clientKey: string
        clientSecret: string
        customerId: string
    interval: string
    name: string
    type: string
Copy

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

AccountId This property is required. string
Config This property is required. ZeroTrustDevicePostureIntegrationConfig
The configuration object containing third-party integration information.
Interval This property is required. string
The interval between each posture check with the third-party API. Use m for minutes (e.g. 5m) and h for hours (e.g. 12h).
Name This property is required. string
The name of the device posture integration.
Type This property is required. string
The type of device posture integration. Available values: "workspaceone", "crowdstrikes2s", "uptycs", "intune", "kolide", "tanium", "sentinelones2s", "customs2s".
AccountId This property is required. string
Config This property is required. ZeroTrustDevicePostureIntegrationConfigArgs
The configuration object containing third-party integration information.
Interval This property is required. string
The interval between each posture check with the third-party API. Use m for minutes (e.g. 5m) and h for hours (e.g. 12h).
Name This property is required. string
The name of the device posture integration.
Type This property is required. string
The type of device posture integration. Available values: "workspaceone", "crowdstrikes2s", "uptycs", "intune", "kolide", "tanium", "sentinelones2s", "customs2s".
accountId This property is required. String
config This property is required. ZeroTrustDevicePostureIntegrationConfig
The configuration object containing third-party integration information.
interval This property is required. String
The interval between each posture check with the third-party API. Use m for minutes (e.g. 5m) and h for hours (e.g. 12h).
name This property is required. String
The name of the device posture integration.
type This property is required. String
The type of device posture integration. Available values: "workspaceone", "crowdstrikes2s", "uptycs", "intune", "kolide", "tanium", "sentinelones2s", "customs2s".
accountId This property is required. string
config This property is required. ZeroTrustDevicePostureIntegrationConfig
The configuration object containing third-party integration information.
interval This property is required. string
The interval between each posture check with the third-party API. Use m for minutes (e.g. 5m) and h for hours (e.g. 12h).
name This property is required. string
The name of the device posture integration.
type This property is required. string
The type of device posture integration. Available values: "workspaceone", "crowdstrikes2s", "uptycs", "intune", "kolide", "tanium", "sentinelones2s", "customs2s".
account_id This property is required. str
config This property is required. ZeroTrustDevicePostureIntegrationConfigArgs
The configuration object containing third-party integration information.
interval This property is required. str
The interval between each posture check with the third-party API. Use m for minutes (e.g. 5m) and h for hours (e.g. 12h).
name This property is required. str
The name of the device posture integration.
type This property is required. str
The type of device posture integration. Available values: "workspaceone", "crowdstrikes2s", "uptycs", "intune", "kolide", "tanium", "sentinelones2s", "customs2s".
accountId This property is required. String
config This property is required. Property Map
The configuration object containing third-party integration information.
interval This property is required. String
The interval between each posture check with the third-party API. Use m for minutes (e.g. 5m) and h for hours (e.g. 12h).
name This property is required. String
The name of the device posture integration.
type This property is required. String
The type of device posture integration. Available values: "workspaceone", "crowdstrikes2s", "uptycs", "intune", "kolide", "tanium", "sentinelones2s", "customs2s".

Outputs

All input properties are implicitly available as output properties. Additionally, the ZeroTrustDevicePostureIntegration 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 ZeroTrustDevicePostureIntegration Resource

Get an existing ZeroTrustDevicePostureIntegration 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?: ZeroTrustDevicePostureIntegrationState, opts?: CustomResourceOptions): ZeroTrustDevicePostureIntegration
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        account_id: Optional[str] = None,
        config: Optional[ZeroTrustDevicePostureIntegrationConfigArgs] = None,
        interval: Optional[str] = None,
        name: Optional[str] = None,
        type: Optional[str] = None) -> ZeroTrustDevicePostureIntegration
func GetZeroTrustDevicePostureIntegration(ctx *Context, name string, id IDInput, state *ZeroTrustDevicePostureIntegrationState, opts ...ResourceOption) (*ZeroTrustDevicePostureIntegration, error)
public static ZeroTrustDevicePostureIntegration Get(string name, Input<string> id, ZeroTrustDevicePostureIntegrationState? state, CustomResourceOptions? opts = null)
public static ZeroTrustDevicePostureIntegration get(String name, Output<String> id, ZeroTrustDevicePostureIntegrationState state, CustomResourceOptions options)
resources:  _:    type: cloudflare:ZeroTrustDevicePostureIntegration    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:
AccountId string
Config ZeroTrustDevicePostureIntegrationConfig
The configuration object containing third-party integration information.
Interval string
The interval between each posture check with the third-party API. Use m for minutes (e.g. 5m) and h for hours (e.g. 12h).
Name string
The name of the device posture integration.
Type string
The type of device posture integration. Available values: "workspaceone", "crowdstrikes2s", "uptycs", "intune", "kolide", "tanium", "sentinelones2s", "customs2s".
AccountId string
Config ZeroTrustDevicePostureIntegrationConfigArgs
The configuration object containing third-party integration information.
Interval string
The interval between each posture check with the third-party API. Use m for minutes (e.g. 5m) and h for hours (e.g. 12h).
Name string
The name of the device posture integration.
Type string
The type of device posture integration. Available values: "workspaceone", "crowdstrikes2s", "uptycs", "intune", "kolide", "tanium", "sentinelones2s", "customs2s".
accountId String
config ZeroTrustDevicePostureIntegrationConfig
The configuration object containing third-party integration information.
interval String
The interval between each posture check with the third-party API. Use m for minutes (e.g. 5m) and h for hours (e.g. 12h).
name String
The name of the device posture integration.
type String
The type of device posture integration. Available values: "workspaceone", "crowdstrikes2s", "uptycs", "intune", "kolide", "tanium", "sentinelones2s", "customs2s".
accountId string
config ZeroTrustDevicePostureIntegrationConfig
The configuration object containing third-party integration information.
interval string
The interval between each posture check with the third-party API. Use m for minutes (e.g. 5m) and h for hours (e.g. 12h).
name string
The name of the device posture integration.
type string
The type of device posture integration. Available values: "workspaceone", "crowdstrikes2s", "uptycs", "intune", "kolide", "tanium", "sentinelones2s", "customs2s".
account_id str
config ZeroTrustDevicePostureIntegrationConfigArgs
The configuration object containing third-party integration information.
interval str
The interval between each posture check with the third-party API. Use m for minutes (e.g. 5m) and h for hours (e.g. 12h).
name str
The name of the device posture integration.
type str
The type of device posture integration. Available values: "workspaceone", "crowdstrikes2s", "uptycs", "intune", "kolide", "tanium", "sentinelones2s", "customs2s".
accountId String
config Property Map
The configuration object containing third-party integration information.
interval String
The interval between each posture check with the third-party API. Use m for minutes (e.g. 5m) and h for hours (e.g. 12h).
name String
The name of the device posture integration.
type String
The type of device posture integration. Available values: "workspaceone", "crowdstrikes2s", "uptycs", "intune", "kolide", "tanium", "sentinelones2s", "customs2s".

Supporting Types

ZeroTrustDevicePostureIntegrationConfig
, ZeroTrustDevicePostureIntegrationConfigArgs

AccessClientId string
If present, this id will be passed in the CF-Access-Client-ID header when hitting the api_url
AccessClientSecret string
If present, this secret will be passed in the CF-Access-Client-Secret header when hitting the api_url
ApiUrl string
The Workspace One API URL provided in the Workspace One Admin Dashboard.
AuthUrl string
The Workspace One Authorization URL depending on your region.
ClientId string
The Workspace One client ID provided in the Workspace One Admin Dashboard.
ClientKey string
The Uptycs client secret.
ClientSecret string
The Workspace One client secret provided in the Workspace One Admin Dashboard.
CustomerId string
The Crowdstrike customer ID.
AccessClientId string
If present, this id will be passed in the CF-Access-Client-ID header when hitting the api_url
AccessClientSecret string
If present, this secret will be passed in the CF-Access-Client-Secret header when hitting the api_url
ApiUrl string
The Workspace One API URL provided in the Workspace One Admin Dashboard.
AuthUrl string
The Workspace One Authorization URL depending on your region.
ClientId string
The Workspace One client ID provided in the Workspace One Admin Dashboard.
ClientKey string
The Uptycs client secret.
ClientSecret string
The Workspace One client secret provided in the Workspace One Admin Dashboard.
CustomerId string
The Crowdstrike customer ID.
accessClientId String
If present, this id will be passed in the CF-Access-Client-ID header when hitting the api_url
accessClientSecret String
If present, this secret will be passed in the CF-Access-Client-Secret header when hitting the api_url
apiUrl String
The Workspace One API URL provided in the Workspace One Admin Dashboard.
authUrl String
The Workspace One Authorization URL depending on your region.
clientId String
The Workspace One client ID provided in the Workspace One Admin Dashboard.
clientKey String
The Uptycs client secret.
clientSecret String
The Workspace One client secret provided in the Workspace One Admin Dashboard.
customerId String
The Crowdstrike customer ID.
accessClientId string
If present, this id will be passed in the CF-Access-Client-ID header when hitting the api_url
accessClientSecret string
If present, this secret will be passed in the CF-Access-Client-Secret header when hitting the api_url
apiUrl string
The Workspace One API URL provided in the Workspace One Admin Dashboard.
authUrl string
The Workspace One Authorization URL depending on your region.
clientId string
The Workspace One client ID provided in the Workspace One Admin Dashboard.
clientKey string
The Uptycs client secret.
clientSecret string
The Workspace One client secret provided in the Workspace One Admin Dashboard.
customerId string
The Crowdstrike customer ID.
access_client_id str
If present, this id will be passed in the CF-Access-Client-ID header when hitting the api_url
access_client_secret str
If present, this secret will be passed in the CF-Access-Client-Secret header when hitting the api_url
api_url str
The Workspace One API URL provided in the Workspace One Admin Dashboard.
auth_url str
The Workspace One Authorization URL depending on your region.
client_id str
The Workspace One client ID provided in the Workspace One Admin Dashboard.
client_key str
The Uptycs client secret.
client_secret str
The Workspace One client secret provided in the Workspace One Admin Dashboard.
customer_id str
The Crowdstrike customer ID.
accessClientId String
If present, this id will be passed in the CF-Access-Client-ID header when hitting the api_url
accessClientSecret String
If present, this secret will be passed in the CF-Access-Client-Secret header when hitting the api_url
apiUrl String
The Workspace One API URL provided in the Workspace One Admin Dashboard.
authUrl String
The Workspace One Authorization URL depending on your region.
clientId String
The Workspace One client ID provided in the Workspace One Admin Dashboard.
clientKey String
The Uptycs client secret.
clientSecret String
The Workspace One client secret provided in the Workspace One Admin Dashboard.
customerId String
The Crowdstrike customer ID.

Import

$ pulumi import cloudflare:index/zeroTrustDevicePostureIntegration:ZeroTrustDevicePostureIntegration example '<account_id>/<integration_id>'
Copy

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 cloudflare Terraform Provider.