import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages the Pricing Tier for Azure Security Center in the current subscription. * * > **Note:** Deletion of this resource will reset the pricing tier to `Free` * * ## Example Usage * * ### Basic usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.securitycenter.SubscriptionPricing("example", { * tier: "Standard", * resourceType: "VirtualMachines", * }); * ``` * * ### Using Extensions with Defender CSPM * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example1 = new azure.securitycenter.SubscriptionPricing("example1", { * tier: "Standard", * resourceType: "CloudPosture", * extensions: [ * { * name: "ContainerRegistriesVulnerabilityAssessments", * }, * { * name: "AgentlessVmScanning", * additionalExtensionProperties: { * ExclusionTags: "[]", * }, * }, * { * name: "AgentlessDiscoveryForKubernetes", * }, * { * name: "SensitiveDataDiscovery", * }, * ], * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Security` - 2023-01-01 * * ## Import * * The pricing tier can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:securitycenter/subscriptionPricing:SubscriptionPricing example /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/pricings/ * ``` */ export declare class SubscriptionPricing extends pulumi.CustomResource { /** * Get an existing SubscriptionPricing 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?: SubscriptionPricingState, opts?: pulumi.CustomResourceOptions): SubscriptionPricing; /** * Returns true if the given object is an instance of SubscriptionPricing. 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 SubscriptionPricing; /** * One or more `extension` blocks as defined below. */ readonly extensions: pulumi.Output; /** * The resource type this setting affects. Possible values are `AI`, `Api`, `AppServices`, `ContainerRegistry`, `KeyVaults`, `KubernetesService`, `SqlServers`, `SqlServerVirtualMachines`, `StorageAccounts`, `VirtualMachines`, `Arm`, `Dns`, `OpenSourceRelationalDatabases`, `Containers`, `CosmosDbs` and `CloudPosture`. Defaults to `VirtualMachines` */ readonly resourceType: pulumi.Output; /** * Resource type pricing subplan. Contact your MSFT representative for possible values. Changing this forces a new resource to be created. */ readonly subplan: pulumi.Output; /** * The pricing tier to use. Possible values are `Free` and `Standard`. */ readonly tier: pulumi.Output; /** * Create a SubscriptionPricing 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: SubscriptionPricingArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SubscriptionPricing resources. */ export interface SubscriptionPricingState { /** * One or more `extension` blocks as defined below. */ extensions?: pulumi.Input[]>; /** * The resource type this setting affects. Possible values are `AI`, `Api`, `AppServices`, `ContainerRegistry`, `KeyVaults`, `KubernetesService`, `SqlServers`, `SqlServerVirtualMachines`, `StorageAccounts`, `VirtualMachines`, `Arm`, `Dns`, `OpenSourceRelationalDatabases`, `Containers`, `CosmosDbs` and `CloudPosture`. Defaults to `VirtualMachines` */ resourceType?: pulumi.Input; /** * Resource type pricing subplan. Contact your MSFT representative for possible values. Changing this forces a new resource to be created. */ subplan?: pulumi.Input; /** * The pricing tier to use. Possible values are `Free` and `Standard`. */ tier?: pulumi.Input; } /** * The set of arguments for constructing a SubscriptionPricing resource. */ export interface SubscriptionPricingArgs { /** * One or more `extension` blocks as defined below. */ extensions?: pulumi.Input[]>; /** * The resource type this setting affects. Possible values are `AI`, `Api`, `AppServices`, `ContainerRegistry`, `KeyVaults`, `KubernetesService`, `SqlServers`, `SqlServerVirtualMachines`, `StorageAccounts`, `VirtualMachines`, `Arm`, `Dns`, `OpenSourceRelationalDatabases`, `Containers`, `CosmosDbs` and `CloudPosture`. Defaults to `VirtualMachines` */ resourceType?: pulumi.Input; /** * Resource type pricing subplan. Contact your MSFT representative for possible values. Changing this forces a new resource to be created. */ subplan?: pulumi.Input; /** * The pricing tier to use. Possible values are `Free` and `Standard`. */ tier: pulumi.Input; }