import * as pulumi from "@pulumi/pulumi";
/**
 * Manages a site recovery network mapping on Azure. A network mapping decides how to translate connected networks when a VM is migrated from one region to another.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 *
 * const primary = new azure.core.ResourceGroup("primary", {
 *     name: "tfex-network-mapping-primary",
 *     location: "West US",
 * });
 * const secondary = new azure.core.ResourceGroup("secondary", {
 *     name: "tfex-network-mapping-secondary",
 *     location: "East US",
 * });
 * const vault = new azure.recoveryservices.Vault("vault", {
 *     name: "example-recovery-vault",
 *     location: secondary.location,
 *     resourceGroupName: secondary.name,
 *     sku: "Standard",
 * });
 * const primaryFabric = new azure.siterecovery.Fabric("primary", {
 *     name: "primary-fabric",
 *     resourceGroupName: secondary.name,
 *     recoveryVaultName: vault.name,
 *     location: primary.location,
 * });
 * const secondaryFabric = new azure.siterecovery.Fabric("secondary", {
 *     name: "secondary-fabric",
 *     resourceGroupName: secondary.name,
 *     recoveryVaultName: vault.name,
 *     location: secondary.location,
 * }, {
 *     dependsOn: [primaryFabric],
 * });
 * const primaryVirtualNetwork = new azure.network.VirtualNetwork("primary", {
 *     name: "network1",
 *     resourceGroupName: primary.name,
 *     addressSpaces: ["192.168.1.0/24"],
 *     location: primary.location,
 * });
 * const secondaryVirtualNetwork = new azure.network.VirtualNetwork("secondary", {
 *     name: "network2",
 *     resourceGroupName: secondary.name,
 *     addressSpaces: ["192.168.2.0/24"],
 *     location: secondary.location,
 * });
 * const recovery_mapping = new azure.siterecovery.NetworkMapping("recovery-mapping", {
 *     name: "recovery-network-mapping-1",
 *     resourceGroupName: secondary.name,
 *     recoveryVaultName: vault.name,
 *     sourceRecoveryFabricName: "primary-fabric",
 *     targetRecoveryFabricName: "secondary-fabric",
 *     sourceNetworkId: primaryVirtualNetwork.id,
 *     targetNetworkId: secondaryVirtualNetwork.id,
 * });
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This resource uses the following Azure API Providers:
 *
 * * `Microsoft.RecoveryServices` - 2024-04-01
 *
 * ## Import
 *
 * Site Recovery Network Mapping can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:siterecovery/networkMapping:NetworkMapping mymapping /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resource-group-name/providers/Microsoft.RecoveryServices/vaults/recovery-vault-name/replicationFabrics/primary-fabric-name/replicationNetworks/azureNetwork/replicationNetworkMappings/mapping-name
 * ```
 */
export declare class NetworkMapping extends pulumi.CustomResource {
    /**
     * Get an existing NetworkMapping 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<pulumi.ID>, state?: NetworkMappingState, opts?: pulumi.CustomResourceOptions): NetworkMapping;
    /**
     * Returns true if the given object is an instance of NetworkMapping.  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 NetworkMapping;
    /**
     * The name of the network mapping. Changing this forces a new resource to be created.
     */
    readonly name: pulumi.Output<string>;
    /**
     * The name of the vault that should be updated. Changing this forces a new resource to be created.
     */
    readonly recoveryVaultName: pulumi.Output<string>;
    /**
     * Name of the resource group where the vault that should be updated is located. Changing this forces a new resource to be created.
     */
    readonly resourceGroupName: pulumi.Output<string>;
    /**
     * The id of the primary network. Changing this forces a new resource to be created.
     */
    readonly sourceNetworkId: pulumi.Output<string>;
    /**
     * Specifies the ASR fabric where mapping should be created. Changing this forces a new resource to be created.
     */
    readonly sourceRecoveryFabricName: pulumi.Output<string>;
    /**
     * The id of the recovery network. Changing this forces a new resource to be created.
     */
    readonly targetNetworkId: pulumi.Output<string>;
    /**
     * The Azure Site Recovery fabric object corresponding to the recovery Azure region. Changing this forces a new resource to be created.
     */
    readonly targetRecoveryFabricName: pulumi.Output<string>;
    /**
     * Create a NetworkMapping 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: NetworkMappingArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering NetworkMapping resources.
 */
export interface NetworkMappingState {
    /**
     * The name of the network mapping. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * The name of the vault that should be updated. Changing this forces a new resource to be created.
     */
    recoveryVaultName?: pulumi.Input<string | undefined>;
    /**
     * Name of the resource group where the vault that should be updated is located. Changing this forces a new resource to be created.
     */
    resourceGroupName?: pulumi.Input<string | undefined>;
    /**
     * The id of the primary network. Changing this forces a new resource to be created.
     */
    sourceNetworkId?: pulumi.Input<string | undefined>;
    /**
     * Specifies the ASR fabric where mapping should be created. Changing this forces a new resource to be created.
     */
    sourceRecoveryFabricName?: pulumi.Input<string | undefined>;
    /**
     * The id of the recovery network. Changing this forces a new resource to be created.
     */
    targetNetworkId?: pulumi.Input<string | undefined>;
    /**
     * The Azure Site Recovery fabric object corresponding to the recovery Azure region. Changing this forces a new resource to be created.
     */
    targetRecoveryFabricName?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a NetworkMapping resource.
 */
export interface NetworkMappingArgs {
    /**
     * The name of the network mapping. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * The name of the vault that should be updated. Changing this forces a new resource to be created.
     */
    recoveryVaultName: pulumi.Input<string>;
    /**
     * Name of the resource group where the vault that should be updated is located. Changing this forces a new resource to be created.
     */
    resourceGroupName: pulumi.Input<string>;
    /**
     * The id of the primary network. Changing this forces a new resource to be created.
     */
    sourceNetworkId: pulumi.Input<string>;
    /**
     * Specifies the ASR fabric where mapping should be created. Changing this forces a new resource to be created.
     */
    sourceRecoveryFabricName: pulumi.Input<string>;
    /**
     * The id of the recovery network. Changing this forces a new resource to be created.
     */
    targetNetworkId: pulumi.Input<string>;
    /**
     * The Azure Site Recovery fabric object corresponding to the recovery Azure region. Changing this forces a new resource to be created.
     */
    targetRecoveryFabricName: pulumi.Input<string>;
}
//# sourceMappingURL=networkMapping.d.ts.map