UNPKG

@crowdstrike/pulumi

Version:

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

118 lines (117 loc) 4.67 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * This resource allows management of the default sensor update policy in the CrowdStrike Falcon platform. Destruction of this resource *will not* delete the default sensor update policy or remove any configured settings. * * ## API Scopes * * The following API scopes are required: * * - Sensor update policies | Read & Write * * ## Import * * A default sensor update policy can be imported by specifying the policy id. * * ```sh * $ pulumi import crowdstrike:index/defaultSensorUpdatePolicy:DefaultSensorUpdatePolicy default 7fb858a949034a0cbca175f660f1e769 * ``` */ export declare class DefaultSensorUpdatePolicy extends pulumi.CustomResource { /** * Get an existing DefaultSensorUpdatePolicy 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?: DefaultSensorUpdatePolicyState, opts?: pulumi.CustomResourceOptions): DefaultSensorUpdatePolicy; /** * Returns true if the given object is an instance of DefaultSensorUpdatePolicy. 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 DefaultSensorUpdatePolicy; /** * Sensor build to use for the default sensor update policy. */ readonly build: pulumi.Output<string>; /** * Sensor arm64 build to use for the default sensor update policy (Linux only). Required if platformName is Linux. */ readonly buildArm64: pulumi.Output<string | undefined>; readonly lastUpdated: pulumi.Output<string>; /** * Chooses which default 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.DefaultSensorUpdatePolicySchedule>; /** * Enable uninstall protection. Windows and Mac only. */ readonly uninstallProtection: pulumi.Output<boolean>; /** * Create a DefaultSensorUpdatePolicy 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: DefaultSensorUpdatePolicyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DefaultSensorUpdatePolicy resources. */ export interface DefaultSensorUpdatePolicyState { /** * Sensor build to use for the default sensor update policy. */ build?: pulumi.Input<string>; /** * Sensor arm64 build to use for the default sensor update policy (Linux only). Required if platformName is Linux. */ buildArm64?: pulumi.Input<string>; lastUpdated?: pulumi.Input<string>; /** * Chooses which default 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.DefaultSensorUpdatePolicySchedule>; /** * Enable uninstall protection. Windows and Mac only. */ uninstallProtection?: pulumi.Input<boolean>; } /** * The set of arguments for constructing a DefaultSensorUpdatePolicy resource. */ export interface DefaultSensorUpdatePolicyArgs { /** * Sensor build to use for the default sensor update policy. */ build: pulumi.Input<string>; /** * Sensor arm64 build to use for the default sensor update policy (Linux only). Required if platformName is Linux. */ buildArm64?: pulumi.Input<string>; /** * Chooses which default 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.DefaultSensorUpdatePolicySchedule>; /** * Enable uninstall protection. Windows and Mac only. */ uninstallProtection?: pulumi.Input<boolean>; }