import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "./types"; /** * Provides a Cloudflare Device Posture Integration resource. Device posture integrations configure third-party data providers for device posture rules. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const thirdPartyDevicesPostureIntegration = new cloudflare.DevicePostureIntegration("third_party_devices_posture_integration", { * accountId: "1d5fdc9e88c8a8c4518b068cd94331fe", * configs: [{ * apiUrl: "https://example.com/api", * authUrl: "https://example.com/connect/token", * clientId: "client-id", * clientSecret: "client-secret", * }], * interval: "24h", * name: "Device posture integration", * type: "workspace_one", * }); * ``` * * ## Import * * Device posture integrations can be imported using a composite ID formed of account ID and device posture integration ID. * * ```sh * $ pulumi import cloudflare:index/devicePostureIntegration:DevicePostureIntegration corporate_devices cb029e245cfdd66dc8d2e570d5dd3322/0ade592a-62d6-46ab-bac8-01f47c7fa792 * ``` */ export declare class DevicePostureIntegration extends pulumi.CustomResource { /** * Get an existing DevicePostureIntegration resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: DevicePostureIntegrationState, opts?: pulumi.CustomResourceOptions): DevicePostureIntegration; /** * Returns true if the given object is an instance of DevicePostureIntegration. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DevicePostureIntegration; /** * The account to which the device posture integration should be added. */ readonly accountId: pulumi.Output; /** * The device posture integration's connection authorization parameters. */ readonly configs: pulumi.Output; readonly identifier: pulumi.Output; /** * Indicates the frequency with which to poll the third-party API. * Must be in the format `"1h"` or `"30m"`. Valid units are `h` and `m`. */ readonly interval: pulumi.Output; /** * Name of the device posture integration. */ readonly name: pulumi.Output; /** * The device posture integration type. Valid values are `workspaceOne`. */ readonly type: pulumi.Output; /** * Create a DevicePostureIntegration resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DevicePostureIntegrationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DevicePostureIntegration resources. */ export interface DevicePostureIntegrationState { /** * The account to which the device posture integration should be added. */ accountId?: pulumi.Input; /** * The device posture integration's connection authorization parameters. */ configs?: pulumi.Input[]>; identifier?: pulumi.Input; /** * Indicates the frequency with which to poll the third-party API. * Must be in the format `"1h"` or `"30m"`. Valid units are `h` and `m`. */ interval?: pulumi.Input; /** * Name of the device posture integration. */ name?: pulumi.Input; /** * The device posture integration type. Valid values are `workspaceOne`. */ type?: pulumi.Input; } /** * The set of arguments for constructing a DevicePostureIntegration resource. */ export interface DevicePostureIntegrationArgs { /** * The account to which the device posture integration should be added. */ accountId: pulumi.Input; /** * The device posture integration's connection authorization parameters. */ configs?: pulumi.Input[]>; identifier?: pulumi.Input; /** * Indicates the frequency with which to poll the third-party API. * Must be in the format `"1h"` or `"30m"`. Valid units are `h` and `m`. */ interval?: pulumi.Input; /** * Name of the device posture integration. */ name: pulumi.Input; /** * The device posture integration type. Valid values are `workspaceOne`. */ type: pulumi.Input; }