cloudflare.DevicePostureIntegration
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZeroTrustDevicePostureIntegration = new cloudflare.ZeroTrustDevicePostureIntegration("example_zero_trust_device_posture_integration", {
accountId: "699d98642c564d2e855e9661899b7252",
config: {
apiUrl: "https://as123.awmdm.com/API",
authUrl: "https://na.uemauth.vmwservices.com/connect/token",
clientId: "example client id",
clientSecret: "example client secret",
},
interval: "10m",
name: "My Workspace One Integration",
type: "workspace_one",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_device_posture_integration = cloudflare.ZeroTrustDevicePostureIntegration("example_zero_trust_device_posture_integration",
account_id="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")
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.NewZeroTrustDevicePostureIntegration(ctx, "example_zero_trust_device_posture_integration", &cloudflare.ZeroTrustDevicePostureIntegrationArgs{
AccountId: pulumi.String("699d98642c564d2e855e9661899b7252"),
Config: &cloudflare.ZeroTrustDevicePostureIntegrationConfigArgs{
ApiUrl: pulumi.String("https://as123.awmdm.com/API"),
AuthUrl: pulumi.String("https://na.uemauth.vmwservices.com/connect/token"),
ClientId: pulumi.String("example client id"),
ClientSecret: pulumi.String("example client secret"),
},
Interval: pulumi.String("10m"),
Name: pulumi.String("My Workspace One Integration"),
Type: pulumi.String("workspace_one"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var exampleZeroTrustDevicePostureIntegration = new Cloudflare.ZeroTrustDevicePostureIntegration("example_zero_trust_device_posture_integration", new()
{
AccountId = "699d98642c564d2e855e9661899b7252",
Config = new Cloudflare.Inputs.ZeroTrustDevicePostureIntegrationConfigArgs
{
ApiUrl = "https://as123.awmdm.com/API",
AuthUrl = "https://na.uemauth.vmwservices.com/connect/token",
ClientId = "example client id",
ClientSecret = "example client secret",
},
Interval = "10m",
Name = "My Workspace One Integration",
Type = "workspace_one",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.ZeroTrustDevicePostureIntegration;
import com.pulumi.cloudflare.ZeroTrustDevicePostureIntegrationArgs;
import com.pulumi.cloudflare.inputs.ZeroTrustDevicePostureIntegrationConfigArgs;
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 exampleZeroTrustDevicePostureIntegration = new ZeroTrustDevicePostureIntegration("exampleZeroTrustDevicePostureIntegration", ZeroTrustDevicePostureIntegrationArgs.builder()
.accountId("699d98642c564d2e855e9661899b7252")
.config(ZeroTrustDevicePostureIntegrationConfigArgs.builder()
.apiUrl("https://as123.awmdm.com/API")
.authUrl("https://na.uemauth.vmwservices.com/connect/token")
.clientId("example client id")
.clientSecret("example client secret")
.build())
.interval("10m")
.name("My Workspace One Integration")
.type("workspace_one")
.build());
}
}
resources:
exampleZeroTrustDevicePostureIntegration:
type: cloudflare:ZeroTrustDevicePostureIntegration
name: example_zero_trust_device_posture_integration
properties:
accountId: 699d98642c564d2e855e9661899b7252
config:
apiUrl: https://as123.awmdm.com/API
authUrl: https://na.uemauth.vmwservices.com/connect/token
clientId: example client id
clientSecret: example client secret
interval: 10m
name: My Workspace One Integration
type: workspace_one
Create DevicePostureIntegration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DevicePostureIntegration(name: string, args: DevicePostureIntegrationArgs, opts?: CustomResourceOptions);@overload
def DevicePostureIntegration(resource_name: str,
args: DevicePostureIntegrationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DevicePostureIntegration(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
config: Optional[DevicePostureIntegrationConfigArgs] = None,
interval: Optional[str] = None,
name: Optional[str] = None,
type: Optional[str] = None)func NewDevicePostureIntegration(ctx *Context, name string, args DevicePostureIntegrationArgs, opts ...ResourceOption) (*DevicePostureIntegration, error)public DevicePostureIntegration(string name, DevicePostureIntegrationArgs args, CustomResourceOptions? opts = null)
public DevicePostureIntegration(String name, DevicePostureIntegrationArgs args)
public DevicePostureIntegration(String name, DevicePostureIntegrationArgs args, CustomResourceOptions options)
type: cloudflare:DevicePostureIntegration
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 DevicePostureIntegrationArgs
- 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 DevicePostureIntegrationArgs
- 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 DevicePostureIntegrationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DevicePostureIntegrationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DevicePostureIntegrationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DevicePostureIntegration 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 DevicePostureIntegration resource accepts the following input properties:
- Account
Id string - Config
Device
Posture Integration Config - The configuration object containing third-party integration information.
- Interval string
- The interval between each posture check with the third-party API. Use
mfor minutes (e.g.5m) andhfor 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", "taniums2s", "sentinelones2s", <span pulumi-lang-nodejs=""customS2s"" pulumi-lang-dotnet=""CustomS2s"" pulumi-lang-go=""customS2s"" pulumi-lang-python=""custom_s2s"" pulumi-lang-yaml=""customS2s"" pulumi-lang-java=""customS2s"">"custom_s2s".
- Account
Id string - Config
Device
Posture Integration Config Args - The configuration object containing third-party integration information.
- Interval string
- The interval between each posture check with the third-party API. Use
mfor minutes (e.g.5m) andhfor 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", "taniums2s", "sentinelones2s", <span pulumi-lang-nodejs=""customS2s"" pulumi-lang-dotnet=""CustomS2s"" pulumi-lang-go=""customS2s"" pulumi-lang-python=""custom_s2s"" pulumi-lang-yaml=""customS2s"" pulumi-lang-java=""customS2s"">"custom_s2s".
- account
Id String - config
Device
Posture Integration Config - The configuration object containing third-party integration information.
- interval String
- The interval between each posture check with the third-party API. Use
mfor minutes (e.g.5m) andhfor 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", "taniums2s", "sentinelones2s", <span pulumi-lang-nodejs=""customS2s"" pulumi-lang-dotnet=""CustomS2s"" pulumi-lang-go=""customS2s"" pulumi-lang-python=""custom_s2s"" pulumi-lang-yaml=""customS2s"" pulumi-lang-java=""customS2s"">"custom_s2s".
- account
Id string - config
Device
Posture Integration Config - The configuration object containing third-party integration information.
- interval string
- The interval between each posture check with the third-party API. Use
mfor minutes (e.g.5m) andhfor 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", "taniums2s", "sentinelones2s", <span pulumi-lang-nodejs=""customS2s"" pulumi-lang-dotnet=""CustomS2s"" pulumi-lang-go=""customS2s"" pulumi-lang-python=""custom_s2s"" pulumi-lang-yaml=""customS2s"" pulumi-lang-java=""customS2s"">"custom_s2s".
- account_
id str - config
Device
Posture Integration Config Args - The configuration object containing third-party integration information.
- interval str
- The interval between each posture check with the third-party API. Use
mfor minutes (e.g.5m) andhfor 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", "taniums2s", "sentinelones2s", <span pulumi-lang-nodejs=""customS2s"" pulumi-lang-dotnet=""CustomS2s"" pulumi-lang-go=""customS2s"" pulumi-lang-python=""custom_s2s"" pulumi-lang-yaml=""customS2s"" pulumi-lang-java=""customS2s"">"custom_s2s".
- account
Id 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
mfor minutes (e.g.5m) andhfor 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", "taniums2s", "sentinelones2s", <span pulumi-lang-nodejs=""customS2s"" pulumi-lang-dotnet=""CustomS2s"" pulumi-lang-go=""customS2s"" pulumi-lang-python=""custom_s2s"" pulumi-lang-yaml=""customS2s"" pulumi-lang-java=""customS2s"">"custom_s2s".
Outputs
All input properties are implicitly available as output properties. Additionally, the DevicePostureIntegration 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 DevicePostureIntegration Resource
Get an existing DevicePostureIntegration 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?: DevicePostureIntegrationState, opts?: CustomResourceOptions): DevicePostureIntegration@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
config: Optional[DevicePostureIntegrationConfigArgs] = None,
interval: Optional[str] = None,
name: Optional[str] = None,
type: Optional[str] = None) -> DevicePostureIntegrationfunc GetDevicePostureIntegration(ctx *Context, name string, id IDInput, state *DevicePostureIntegrationState, opts ...ResourceOption) (*DevicePostureIntegration, error)public static DevicePostureIntegration Get(string name, Input<string> id, DevicePostureIntegrationState? state, CustomResourceOptions? opts = null)public static DevicePostureIntegration get(String name, Output<String> id, DevicePostureIntegrationState state, CustomResourceOptions options)resources: _: type: cloudflare:DevicePostureIntegration 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.
- Account
Id string - Config
Device
Posture Integration Config - The configuration object containing third-party integration information.
- Interval string
- The interval between each posture check with the third-party API. Use
mfor minutes (e.g.5m) andhfor 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", "taniums2s", "sentinelones2s", <span pulumi-lang-nodejs=""customS2s"" pulumi-lang-dotnet=""CustomS2s"" pulumi-lang-go=""customS2s"" pulumi-lang-python=""custom_s2s"" pulumi-lang-yaml=""customS2s"" pulumi-lang-java=""customS2s"">"custom_s2s".
- Account
Id string - Config
Device
Posture Integration Config Args - The configuration object containing third-party integration information.
- Interval string
- The interval between each posture check with the third-party API. Use
mfor minutes (e.g.5m) andhfor 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", "taniums2s", "sentinelones2s", <span pulumi-lang-nodejs=""customS2s"" pulumi-lang-dotnet=""CustomS2s"" pulumi-lang-go=""customS2s"" pulumi-lang-python=""custom_s2s"" pulumi-lang-yaml=""customS2s"" pulumi-lang-java=""customS2s"">"custom_s2s".
- account
Id String - config
Device
Posture Integration Config - The configuration object containing third-party integration information.
- interval String
- The interval between each posture check with the third-party API. Use
mfor minutes (e.g.5m) andhfor 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", "taniums2s", "sentinelones2s", <span pulumi-lang-nodejs=""customS2s"" pulumi-lang-dotnet=""CustomS2s"" pulumi-lang-go=""customS2s"" pulumi-lang-python=""custom_s2s"" pulumi-lang-yaml=""customS2s"" pulumi-lang-java=""customS2s"">"custom_s2s".
- account
Id string - config
Device
Posture Integration Config - The configuration object containing third-party integration information.
- interval string
- The interval between each posture check with the third-party API. Use
mfor minutes (e.g.5m) andhfor 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", "taniums2s", "sentinelones2s", <span pulumi-lang-nodejs=""customS2s"" pulumi-lang-dotnet=""CustomS2s"" pulumi-lang-go=""customS2s"" pulumi-lang-python=""custom_s2s"" pulumi-lang-yaml=""customS2s"" pulumi-lang-java=""customS2s"">"custom_s2s".
- account_
id str - config
Device
Posture Integration Config Args - The configuration object containing third-party integration information.
- interval str
- The interval between each posture check with the third-party API. Use
mfor minutes (e.g.5m) andhfor 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", "taniums2s", "sentinelones2s", <span pulumi-lang-nodejs=""customS2s"" pulumi-lang-dotnet=""CustomS2s"" pulumi-lang-go=""customS2s"" pulumi-lang-python=""custom_s2s"" pulumi-lang-yaml=""customS2s"" pulumi-lang-java=""customS2s"">"custom_s2s".
- account
Id 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
mfor minutes (e.g.5m) andhfor 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", "taniums2s", "sentinelones2s", <span pulumi-lang-nodejs=""customS2s"" pulumi-lang-dotnet=""CustomS2s"" pulumi-lang-go=""customS2s"" pulumi-lang-python=""custom_s2s"" pulumi-lang-yaml=""customS2s"" pulumi-lang-java=""customS2s"">"custom_s2s".
Supporting Types
DevicePostureIntegrationConfig, DevicePostureIntegrationConfigArgs
- Access
Client stringId - If present, this id will be passed in the
CF-Access-Client-IDheader when hitting theapi_url. - Access
Client stringSecret - If present, this secret will be passed in the
CF-Access-Client-Secretheader when hitting theapi_url. - Api
Url string - The Workspace One API URL provided in the Workspace One Admin Dashboard.
- Auth
Url string - The Workspace One Authorization URL depending on your region.
- Client
Id string - The Workspace One client ID provided in the Workspace One Admin Dashboard.
- Client
Key string - The Uptycs client secret.
- Client
Secret string - The Workspace One client secret provided in the Workspace One Admin Dashboard.
- Customer
Id string - The Crowdstrike customer ID.
- Access
Client stringId - If present, this id will be passed in the
CF-Access-Client-IDheader when hitting theapi_url. - Access
Client stringSecret - If present, this secret will be passed in the
CF-Access-Client-Secretheader when hitting theapi_url. - Api
Url string - The Workspace One API URL provided in the Workspace One Admin Dashboard.
- Auth
Url string - The Workspace One Authorization URL depending on your region.
- Client
Id string - The Workspace One client ID provided in the Workspace One Admin Dashboard.
- Client
Key string - The Uptycs client secret.
- Client
Secret string - The Workspace One client secret provided in the Workspace One Admin Dashboard.
- Customer
Id string - The Crowdstrike customer ID.
- access
Client StringId - If present, this id will be passed in the
CF-Access-Client-IDheader when hitting theapi_url. - access
Client StringSecret - If present, this secret will be passed in the
CF-Access-Client-Secretheader when hitting theapi_url. - api
Url String - The Workspace One API URL provided in the Workspace One Admin Dashboard.
- auth
Url String - The Workspace One Authorization URL depending on your region.
- client
Id String - The Workspace One client ID provided in the Workspace One Admin Dashboard.
- client
Key String - The Uptycs client secret.
- client
Secret String - The Workspace One client secret provided in the Workspace One Admin Dashboard.
- customer
Id String - The Crowdstrike customer ID.
- access
Client stringId - If present, this id will be passed in the
CF-Access-Client-IDheader when hitting theapi_url. - access
Client stringSecret - If present, this secret will be passed in the
CF-Access-Client-Secretheader when hitting theapi_url. - api
Url string - The Workspace One API URL provided in the Workspace One Admin Dashboard.
- auth
Url string - The Workspace One Authorization URL depending on your region.
- client
Id string - The Workspace One client ID provided in the Workspace One Admin Dashboard.
- client
Key string - The Uptycs client secret.
- client
Secret string - The Workspace One client secret provided in the Workspace One Admin Dashboard.
- customer
Id string - The Crowdstrike customer ID.
- access_
client_ strid - If present, this id will be passed in the
CF-Access-Client-IDheader when hitting theapi_url. - access_
client_ strsecret - If present, this secret will be passed in the
CF-Access-Client-Secretheader when hitting theapi_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.
- access
Client StringId - If present, this id will be passed in the
CF-Access-Client-IDheader when hitting theapi_url. - access
Client StringSecret - If present, this secret will be passed in the
CF-Access-Client-Secretheader when hitting theapi_url. - api
Url String - The Workspace One API URL provided in the Workspace One Admin Dashboard.
- auth
Url String - The Workspace One Authorization URL depending on your region.
- client
Id String - The Workspace One client ID provided in the Workspace One Admin Dashboard.
- client
Key String - The Uptycs client secret.
- client
Secret String - The Workspace One client secret provided in the Workspace One Admin Dashboard.
- customer
Id String - The Crowdstrike customer ID.
Import
$ pulumi import cloudflare:index/devicePostureIntegration:DevicePostureIntegration 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
cloudflareTerraform Provider.
