import * as pulumi from "@pulumi/pulumi"; /** * Manages a HyperV Site in Recovery Service Vault. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-rg", * location: "eastus", * }); * const exampleVault = new azure.recoveryservices.Vault("example", { * name: "example-vault", * location: example.location, * resourceGroupName: example.name, * sku: "Standard", * softDeleteEnabled: false, * }); * const exampleHyperVSite = new azure.siterecovery.HyperVSite("example", { * name: "example-site", * recoveryVaultId: exampleVault.id, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.RecoveryServices` - 2024-04-01 * * ## Import * * Recovery Services can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:siterecovery/hyperVSite:HyperVSite example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/fabric1 * ``` */ export declare class HyperVSite extends pulumi.CustomResource { /** * Get an existing HyperVSite 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?: HyperVSiteState, opts?: pulumi.CustomResourceOptions): HyperVSite; /** * Returns true if the given object is an instance of HyperVSite. 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 HyperVSite; /** * The name which should be used for this Recovery Service. Changing this forces a new Site to be created. */ readonly name: pulumi.Output; /** * The ID of the Recovery Services Vault where the Site created. Changing this forces a new Site to be created. */ readonly recoveryVaultId: pulumi.Output; /** * Create a HyperVSite 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: HyperVSiteArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering HyperVSite resources. */ export interface HyperVSiteState { /** * The name which should be used for this Recovery Service. Changing this forces a new Site to be created. */ name?: pulumi.Input; /** * The ID of the Recovery Services Vault where the Site created. Changing this forces a new Site to be created. */ recoveryVaultId?: pulumi.Input; } /** * The set of arguments for constructing a HyperVSite resource. */ export interface HyperVSiteArgs { /** * The name which should be used for this Recovery Service. Changing this forces a new Site to be created. */ name?: pulumi.Input; /** * The ID of the Recovery Services Vault where the Site created. Changing this forces a new Site to be created. */ recoveryVaultId: pulumi.Input; }