UNPKG

@gtheocrwd/pulumi-crowdstrike

Version:

A Pulumi package for creating and managing Crowdstrike resources. Based on terraform-provider-crowdstrike: version v0.0.5

166 lines (165 loc) 5.74 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * This resource allows management of sensor update policies in the CrowdStrike Falcon platform. Sensor update policies allow you to control the update process across a set of hosts. * * ## API Scopes * * The following API scopes are required: * * - Sensor update policies | Read & Write * * ## Import * * prevention policy can be imported by specifying the policy id. * * ```sh * $ pulumi import crowdstrike:index/sensorUpdatePolicy:SensorUpdatePolicy example 7fb858a949034a0cbca175f660f1e769 * ``` */ export declare class SensorUpdatePolicy extends pulumi.CustomResource { /** * Get an existing SensorUpdatePolicy 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?: SensorUpdatePolicyState, opts?: pulumi.CustomResourceOptions): SensorUpdatePolicy; /** * Returns true if the given object is an instance of SensorUpdatePolicy. 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 SensorUpdatePolicy; /** * Sensor build to use for the sensor update policy. */ readonly build: pulumi.Output<string>; /** * Sensor arm64 build to use for the sensor update policy (Linux only). Required if platformName is Linux. */ readonly buildArm64: pulumi.Output<string | undefined>; /** * Description of the sensor update policy. */ readonly description: pulumi.Output<string | undefined>; /** * Enable the sensor update policy. */ readonly enabled: pulumi.Output<boolean>; /** * Host Group ids to attach to the sensor update policy. */ readonly hostGroups: pulumi.Output<string[] | undefined>; readonly lastUpdated: pulumi.Output<string>; /** * Name of the sensor update policy. */ readonly name: pulumi.Output<string>; /** * Platform for the sensor update policy to manage. (Windows, Mac, Linux) */ readonly platformName: pulumi.Output<string>; /** * Prohibit sensor updates during a set of time blocks. */ readonly schedule: pulumi.Output<outputs.SensorUpdatePolicySchedule>; /** * Enable uninstall protection. Windows and Mac only. */ readonly uninstallProtection: pulumi.Output<boolean>; /** * Create a SensorUpdatePolicy 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: SensorUpdatePolicyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SensorUpdatePolicy resources. */ export interface SensorUpdatePolicyState { /** * Sensor build to use for the sensor update policy. */ build?: pulumi.Input<string>; /** * Sensor arm64 build to use for the sensor update policy (Linux only). Required if platformName is Linux. */ buildArm64?: pulumi.Input<string>; /** * Description of the sensor update policy. */ description?: pulumi.Input<string>; /** * Enable the sensor update policy. */ enabled?: pulumi.Input<boolean>; /** * Host Group ids to attach to the sensor update policy. */ hostGroups?: pulumi.Input<pulumi.Input<string>[]>; lastUpdated?: pulumi.Input<string>; /** * Name of the sensor update policy. */ name?: pulumi.Input<string>; /** * Platform for the sensor update policy to manage. (Windows, Mac, Linux) */ platformName?: pulumi.Input<string>; /** * Prohibit sensor updates during a set of time blocks. */ schedule?: pulumi.Input<inputs.SensorUpdatePolicySchedule>; /** * Enable uninstall protection. Windows and Mac only. */ uninstallProtection?: pulumi.Input<boolean>; } /** * The set of arguments for constructing a SensorUpdatePolicy resource. */ export interface SensorUpdatePolicyArgs { /** * Sensor build to use for the sensor update policy. */ build: pulumi.Input<string>; /** * Sensor arm64 build to use for the sensor update policy (Linux only). Required if platformName is Linux. */ buildArm64?: pulumi.Input<string>; /** * Description of the sensor update policy. */ description?: pulumi.Input<string>; /** * Enable the sensor update policy. */ enabled?: pulumi.Input<boolean>; /** * Host Group ids to attach to the sensor update policy. */ hostGroups?: pulumi.Input<pulumi.Input<string>[]>; /** * Name of the sensor update policy. */ name?: pulumi.Input<string>; /** * Platform for the sensor update policy to manage. (Windows, Mac, Linux) */ platformName: pulumi.Input<string>; /** * Prohibit sensor updates during a set of time blocks. */ schedule: pulumi.Input<inputs.SensorUpdatePolicySchedule>; /** * Enable uninstall protection. Windows and Mac only. */ uninstallProtection?: pulumi.Input<boolean>; }