@pulumi/tailscale
Version:
A Pulumi package for creating and managing Tailscale cloud resources.
122 lines (121 loc) • 4.39 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* The postureIntegration resource allows you to manage integrations with device posture data providers. See https://tailscale.com/kb/1288/device-posture for more information.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as tailscale from "@pulumi/tailscale";
*
* const samplePostureIntegration = new tailscale.PostureIntegration("sample_posture_integration", {
* postureProvider: "falcon",
* cloudId: "us-1",
* clientId: "clientid1",
* clientSecret: "test-secret1",
* });
* ```
*
* ## Import
*
* Posture integration can be imported using the posture integration id, e.g.,
*
* ```sh
* $ pulumi import tailscale:index/postureIntegration:PostureIntegration sample_posture_integration 123456789
* ```
*/
export declare class PostureIntegration extends pulumi.CustomResource {
/**
* Get an existing PostureIntegration 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<pulumi.ID>, state?: PostureIntegrationState, opts?: pulumi.CustomResourceOptions): PostureIntegration;
/**
* Returns true if the given object is an instance of PostureIntegration. 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 PostureIntegration;
/**
* Unique identifier for your client.
*/
readonly clientId: pulumi.Output<string | undefined>;
/**
* The secret (auth key, token, etc.) used to authenticate with the provider.
*/
readonly clientSecret: pulumi.Output<string>;
/**
* Identifies which of the provider's clouds to integrate with.
*/
readonly cloudId: pulumi.Output<string | undefined>;
/**
* The type of posture integration data provider.
*/
readonly postureProvider: pulumi.Output<string>;
/**
* The Microsoft Intune directory (tenant) ID. For other providers, this is left blank.
*/
readonly tenantId: pulumi.Output<string | undefined>;
/**
* Create a PostureIntegration 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: PostureIntegrationArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering PostureIntegration resources.
*/
export interface PostureIntegrationState {
/**
* Unique identifier for your client.
*/
clientId?: pulumi.Input<string>;
/**
* The secret (auth key, token, etc.) used to authenticate with the provider.
*/
clientSecret?: pulumi.Input<string>;
/**
* Identifies which of the provider's clouds to integrate with.
*/
cloudId?: pulumi.Input<string>;
/**
* The type of posture integration data provider.
*/
postureProvider?: pulumi.Input<string>;
/**
* The Microsoft Intune directory (tenant) ID. For other providers, this is left blank.
*/
tenantId?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a PostureIntegration resource.
*/
export interface PostureIntegrationArgs {
/**
* Unique identifier for your client.
*/
clientId?: pulumi.Input<string>;
/**
* The secret (auth key, token, etc.) used to authenticate with the provider.
*/
clientSecret: pulumi.Input<string>;
/**
* Identifies which of the provider's clouds to integrate with.
*/
cloudId?: pulumi.Input<string>;
/**
* The type of posture integration data provider.
*/
postureProvider: pulumi.Input<string>;
/**
* The Microsoft Intune directory (tenant) ID. For other providers, this is left blank.
*/
tenantId?: pulumi.Input<string>;
}