import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages a Fabric Capacity. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const current = azure.core.getClientConfig({}); * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const exampleCapacity = new azure.fabric.Capacity("example", { * name: "exampleffc", * resourceGroupName: example.name, * location: "West Europe", * administrationMembers: [current.then(current => current.objectId)], * sku: { * name: "F32", * tier: "Fabric", * }, * tags: { * environment: "test", * }, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Fabric` - 2023-11-01 * * ## Import * * Fabric Capacities can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:fabric/capacity:Capacity example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Fabric/capacities/capacity1 * ``` */ export declare class Capacity extends pulumi.CustomResource { /** * Get an existing Capacity 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?: CapacityState, opts?: pulumi.CustomResourceOptions): Capacity; /** * Returns true if the given object is an instance of Capacity. 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 Capacity; /** * An array of administrator user identities. The member must be an Entra user or a service principal. * * > **Note:** If the member is an Entra user, use user principal name (UPN) format. If the user is a service principal, use object ID. */ readonly administrationMembers: pulumi.Output; /** * The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. */ readonly location: pulumi.Output; /** * The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; /** * A `sku` block as defined below. */ readonly sku: pulumi.Output; /** * A mapping of tags to assign to the Fabric Capacity. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a Capacity 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: CapacityArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Capacity resources. */ export interface CapacityState { /** * An array of administrator user identities. The member must be an Entra user or a service principal. * * > **Note:** If the member is an Entra user, use user principal name (UPN) format. If the user is a service principal, use object ID. */ administrationMembers?: pulumi.Input[]>; /** * The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; /** * A `sku` block as defined below. */ sku?: pulumi.Input; /** * A mapping of tags to assign to the Fabric Capacity. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; } /** * The set of arguments for constructing a Capacity resource. */ export interface CapacityArgs { /** * An array of administrator user identities. The member must be an Entra user or a service principal. * * > **Note:** If the member is an Entra user, use user principal name (UPN) format. If the user is a service principal, use object ID. */ administrationMembers?: pulumi.Input[]>; /** * The supported Azure location where the Fabric Capacity exists. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * The name which should be used for the Fabric Capacity. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The name of the Resource Group in which to create the Fabric Capacity. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; /** * A `sku` block as defined below. */ sku: pulumi.Input; /** * A mapping of tags to assign to the Fabric Capacity. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }