ReplicationFabricArgs

data class ReplicationFabricArgs(val fabricName: Output<String>? = null, val properties: Output<FabricCreationInputPropertiesArgs>? = null, val resourceGroupName: Output<String>? = null, val resourceName: Output<String>? = null) : ConvertibleToJava<ReplicationFabricArgs>

Fabric definition. API Version: 2018-07-10.

Example Usage

Creates an Azure Site Recovery fabric.

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var replicationFabric = new AzureNative.RecoveryServices.ReplicationFabric("replicationFabric", new()
{
FabricName = "cloud1",
Properties = new AzureNative.RecoveryServices.Inputs.FabricCreationInputPropertiesArgs
{
CustomDetails =
{
{ "instanceType", "FabricSpecificCreationInput" },
},
},
ResourceGroupName = "resourceGroupPS1",
ResourceName = "vault1",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.recoveryservices.ReplicationFabric;
import com.pulumi.azurenative.recoveryservices.ReplicationFabricArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var replicationFabric = new ReplicationFabric("replicationFabric", ReplicationFabricArgs.builder()
.fabricName("cloud1")
.properties(Map.of("customDetails", Map.of("instanceType", "FabricSpecificCreationInput")))
.resourceGroupName("resourceGroupPS1")
.resourceName("vault1")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:recoveryservices:ReplicationFabric cloud1 /Subscriptions/c183865e-6077-46f2-a3b1-deb0f4f4650a/resourceGroups/resourceGroupPS1/providers/Microsoft.RecoveryServices/vaults/vault1/replicationFabrics/cloud1

Constructors

Link copied to clipboard
constructor(fabricName: Output<String>? = null, properties: Output<FabricCreationInputPropertiesArgs>? = null, resourceGroupName: Output<String>? = null, resourceName: Output<String>? = null)

Properties

Link copied to clipboard
val fabricName: Output<String>? = null

Name of the ASR fabric.

Link copied to clipboard

Fabric creation input.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group where the recovery services vault is present.

Link copied to clipboard
val resourceName: Output<String>? = null

The name of the recovery services vault.

Functions

Link copied to clipboard
open override fun toJava(): ReplicationFabricArgs