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

cloudflare.ZeroTrustDevicePostureIntegration

Explore with Pulumi AI

cloudflare logo
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

    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
    

    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 string
    The unique name of the resource.
    args ZeroTrustDevicePostureIntegrationArgs
    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 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 string
    The unique name of the resource.
    args ZeroTrustDevicePostureIntegrationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ZeroTrustDevicePostureIntegrationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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",
    });
    
    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"),
    })
    
    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());
    
    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")
    
    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",
    });
    
    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
    

    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 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".

    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
    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.
    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>'
    

    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.
    cloudflare logo
    Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi