1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getZeroTrustDevicePostureIntegration
Cloudflare v6.1.0 published on Friday, Apr 18, 2025 by Pulumi

cloudflare.getZeroTrustDevicePostureIntegration

Explore with Pulumi AI

Example Usage

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

const exampleZeroTrustDevicePostureIntegration = cloudflare.getZeroTrustDevicePostureIntegration({
    accountId: "699d98642c564d2e855e9661899b7252",
    integrationId: "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
});
Copy
import pulumi
import pulumi_cloudflare as cloudflare

example_zero_trust_device_posture_integration = cloudflare.get_zero_trust_device_posture_integration(account_id="699d98642c564d2e855e9661899b7252",
    integration_id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415")
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.LookupZeroTrustDevicePostureIntegration(ctx, &cloudflare.LookupZeroTrustDevicePostureIntegrationArgs{
			AccountId:     "699d98642c564d2e855e9661899b7252",
			IntegrationId: pulumi.StringRef("f174e90a-fafe-4643-bbbc-4a0ed4fc8415"),
		}, nil)
		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 exampleZeroTrustDevicePostureIntegration = Cloudflare.GetZeroTrustDevicePostureIntegration.Invoke(new()
    {
        AccountId = "699d98642c564d2e855e9661899b7252",
        IntegrationId = "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.CloudflareFunctions;
import com.pulumi.cloudflare.inputs.GetZeroTrustDevicePostureIntegrationArgs;
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) {
        final var exampleZeroTrustDevicePostureIntegration = CloudflareFunctions.getZeroTrustDevicePostureIntegration(GetZeroTrustDevicePostureIntegrationArgs.builder()
            .accountId("699d98642c564d2e855e9661899b7252")
            .integrationId("f174e90a-fafe-4643-bbbc-4a0ed4fc8415")
            .build());

    }
}
Copy
variables:
  exampleZeroTrustDevicePostureIntegration:
    fn::invoke:
      function: cloudflare:getZeroTrustDevicePostureIntegration
      arguments:
        accountId: 699d98642c564d2e855e9661899b7252
        integrationId: f174e90a-fafe-4643-bbbc-4a0ed4fc8415
Copy

Using getZeroTrustDevicePostureIntegration

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getZeroTrustDevicePostureIntegration(args: GetZeroTrustDevicePostureIntegrationArgs, opts?: InvokeOptions): Promise<GetZeroTrustDevicePostureIntegrationResult>
function getZeroTrustDevicePostureIntegrationOutput(args: GetZeroTrustDevicePostureIntegrationOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustDevicePostureIntegrationResult>
Copy
def get_zero_trust_device_posture_integration(account_id: Optional[str] = None,
                                              integration_id: Optional[str] = None,
                                              opts: Optional[InvokeOptions] = None) -> GetZeroTrustDevicePostureIntegrationResult
def get_zero_trust_device_posture_integration_output(account_id: Optional[pulumi.Input[str]] = None,
                                              integration_id: Optional[pulumi.Input[str]] = None,
                                              opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustDevicePostureIntegrationResult]
Copy
func LookupZeroTrustDevicePostureIntegration(ctx *Context, args *LookupZeroTrustDevicePostureIntegrationArgs, opts ...InvokeOption) (*LookupZeroTrustDevicePostureIntegrationResult, error)
func LookupZeroTrustDevicePostureIntegrationOutput(ctx *Context, args *LookupZeroTrustDevicePostureIntegrationOutputArgs, opts ...InvokeOption) LookupZeroTrustDevicePostureIntegrationResultOutput
Copy

> Note: This function is named LookupZeroTrustDevicePostureIntegration in the Go SDK.

public static class GetZeroTrustDevicePostureIntegration 
{
    public static Task<GetZeroTrustDevicePostureIntegrationResult> InvokeAsync(GetZeroTrustDevicePostureIntegrationArgs args, InvokeOptions? opts = null)
    public static Output<GetZeroTrustDevicePostureIntegrationResult> Invoke(GetZeroTrustDevicePostureIntegrationInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetZeroTrustDevicePostureIntegrationResult> getZeroTrustDevicePostureIntegration(GetZeroTrustDevicePostureIntegrationArgs args, InvokeOptions options)
public static Output<GetZeroTrustDevicePostureIntegrationResult> getZeroTrustDevicePostureIntegration(GetZeroTrustDevicePostureIntegrationArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: cloudflare:index/getZeroTrustDevicePostureIntegration:getZeroTrustDevicePostureIntegration
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AccountId This property is required. string
IntegrationId string
API UUID.
AccountId This property is required. string
IntegrationId string
API UUID.
accountId This property is required. String
integrationId String
API UUID.
accountId This property is required. string
integrationId string
API UUID.
account_id This property is required. str
integration_id str
API UUID.
accountId This property is required. String
integrationId String
API UUID.

getZeroTrustDevicePostureIntegration Result

The following output properties are available:

AccountId string
Config GetZeroTrustDevicePostureIntegrationConfig
The configuration object containing third-party integration information.
Id string
API UUID.
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".
IntegrationId string
API UUID.
AccountId string
Config GetZeroTrustDevicePostureIntegrationConfig
The configuration object containing third-party integration information.
Id string
API UUID.
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".
IntegrationId string
API UUID.
accountId String
config GetZeroTrustDevicePostureIntegrationConfig
The configuration object containing third-party integration information.
id String
API UUID.
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".
integrationId String
API UUID.
accountId string
config GetZeroTrustDevicePostureIntegrationConfig
The configuration object containing third-party integration information.
id string
API UUID.
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".
integrationId string
API UUID.
account_id str
config GetZeroTrustDevicePostureIntegrationConfig
The configuration object containing third-party integration information.
id str
API UUID.
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".
integration_id str
API UUID.
accountId String
config Property Map
The configuration object containing third-party integration information.
id String
API UUID.
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".
integrationId String
API UUID.

Supporting Types

GetZeroTrustDevicePostureIntegrationConfig

ApiUrl This property is required. string
The Workspace One API URL provided in the Workspace One Admin Dashboard.
AuthUrl This property is required. string
The Workspace One Authorization URL depending on your region.
ClientId This property is required. string
The Workspace One client ID provided in the Workspace One Admin Dashboard.
ApiUrl This property is required. string
The Workspace One API URL provided in the Workspace One Admin Dashboard.
AuthUrl This property is required. string
The Workspace One Authorization URL depending on your region.
ClientId This property is required. string
The Workspace One client ID provided in the Workspace One Admin Dashboard.
apiUrl This property is required. String
The Workspace One API URL provided in the Workspace One Admin Dashboard.
authUrl This property is required. String
The Workspace One Authorization URL depending on your region.
clientId This property is required. String
The Workspace One client ID provided in the Workspace One Admin Dashboard.
apiUrl This property is required. string
The Workspace One API URL provided in the Workspace One Admin Dashboard.
authUrl This property is required. string
The Workspace One Authorization URL depending on your region.
clientId This property is required. string
The Workspace One client ID provided in the Workspace One Admin Dashboard.
api_url This property is required. str
The Workspace One API URL provided in the Workspace One Admin Dashboard.
auth_url This property is required. str
The Workspace One Authorization URL depending on your region.
client_id This property is required. str
The Workspace One client ID provided in the Workspace One Admin Dashboard.
apiUrl This property is required. String
The Workspace One API URL provided in the Workspace One Admin Dashboard.
authUrl This property is required. String
The Workspace One Authorization URL depending on your region.
clientId This property is required. String
The Workspace One client ID provided in the Workspace One Admin Dashboard.

Package Details

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