import * as pulumi from "@pulumi/pulumi"; /** * Manages the subscription's Security Center Workspace. * * > **Note:** Owner access permission is required. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "tfex-security-workspace", * location: "West Europe", * }); * const exampleAnalyticsWorkspace = new azure.operationalinsights.AnalyticsWorkspace("example", { * name: "tfex-security-workspace", * location: example.location, * resourceGroupName: example.name, * sku: "PerGB2018", * }); * const exampleWorkspace = new azure.securitycenter.Workspace("example", { * scope: "/subscriptions/00000000-0000-0000-0000-000000000000", * workspaceId: exampleAnalyticsWorkspace.id, * }); * ``` * * ## Import * * The contact can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:securitycenter/workspace:Workspace example /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/workspaceSettings/default * ``` */ export declare class Workspace extends pulumi.CustomResource { /** * Get an existing Workspace 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?: WorkspaceState, opts?: pulumi.CustomResourceOptions): Workspace; /** * Returns true if the given object is an instance of Workspace. 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 Workspace; /** * The scope of VMs to send their security data to the desired workspace, unless overridden by a setting with more specific scope. */ readonly scope: pulumi.Output; /** * The ID of the Log Analytics Workspace to save the data in. */ readonly workspaceId: pulumi.Output; /** * Create a Workspace 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: WorkspaceArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Workspace resources. */ export interface WorkspaceState { /** * The scope of VMs to send their security data to the desired workspace, unless overridden by a setting with more specific scope. */ scope?: pulumi.Input; /** * The ID of the Log Analytics Workspace to save the data in. */ workspaceId?: pulumi.Input; } /** * The set of arguments for constructing a Workspace resource. */ export interface WorkspaceArgs { /** * The scope of VMs to send their security data to the desired workspace, unless overridden by a setting with more specific scope. */ scope: pulumi.Input; /** * The ID of the Log Analytics Workspace to save the data in. */ workspaceId: pulumi.Input; }