import * as pulumi from "@pulumi/pulumi"; /** * Manages a VMWare Replication Policy. * * ## 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", * classicVmwareReplicationEnabled: true, * softDeleteEnabled: false, * }); * const exampleVMWareReplicationPolicy = new azure.siterecovery.VMWareReplicationPolicy("example", { * name: "example-policy", * recoveryVaultId: exampleVault.id, * recoveryPointRetentionInMinutes: 1440, * applicationConsistentSnapshotFrequencyInMinutes: 240, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.RecoveryServices` - 2024-04-01 * * ## Import * * VMWare Replication Policy can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:siterecovery/vMWareReplicationPolicy:VMWareReplicationPolicy example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vault1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationPolicies/policy1 * ``` */ export declare class VMWareReplicationPolicy extends pulumi.CustomResource { /** * Get an existing VMWareReplicationPolicy 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?: VMWareReplicationPolicyState, opts?: pulumi.CustomResourceOptions): VMWareReplicationPolicy; /** * Returns true if the given object is an instance of VMWareReplicationPolicy. 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 VMWareReplicationPolicy; /** * Specifies the frequency at which to create application consistent recovery points. Must between `0` to `720`. */ readonly applicationConsistentSnapshotFrequencyInMinutes: pulumi.Output; /** * The name which should be used for this Classic Replication Policy. Changing this forces a new Replication Policy to be created. */ readonly name: pulumi.Output; /** * Specifies the period up to which the recovery points will be retained. Must between `0` to `21600`. */ readonly recoveryPointRetentionInMinutes: pulumi.Output; /** * ID of the Recovery Services Vault. Changing this forces a new Replication Policy to be created. */ readonly recoveryVaultId: pulumi.Output; /** * Create a VMWareReplicationPolicy 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: VMWareReplicationPolicyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering VMWareReplicationPolicy resources. */ export interface VMWareReplicationPolicyState { /** * Specifies the frequency at which to create application consistent recovery points. Must between `0` to `720`. */ applicationConsistentSnapshotFrequencyInMinutes?: pulumi.Input; /** * The name which should be used for this Classic Replication Policy. Changing this forces a new Replication Policy to be created. */ name?: pulumi.Input; /** * Specifies the period up to which the recovery points will be retained. Must between `0` to `21600`. */ recoveryPointRetentionInMinutes?: pulumi.Input; /** * ID of the Recovery Services Vault. Changing this forces a new Replication Policy to be created. */ recoveryVaultId?: pulumi.Input; } /** * The set of arguments for constructing a VMWareReplicationPolicy resource. */ export interface VMWareReplicationPolicyArgs { /** * Specifies the frequency at which to create application consistent recovery points. Must between `0` to `720`. */ applicationConsistentSnapshotFrequencyInMinutes: pulumi.Input; /** * The name which should be used for this Classic Replication Policy. Changing this forces a new Replication Policy to be created. */ name?: pulumi.Input; /** * Specifies the period up to which the recovery points will be retained. Must between `0` to `21600`. */ recoveryPointRetentionInMinutes: pulumi.Input; /** * ID of the Recovery Services Vault. Changing this forces a new Replication Policy to be created. */ recoveryVaultId: pulumi.Input; }