get Fabric
Use this data source to access information about an existing Site Recovery Replication Fabric.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.siterecovery.SiterecoveryFunctions;
import com.pulumi.azure.siterecovery.inputs.GetFabricArgs;
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) {
final var fabric = SiterecoveryFunctions.getFabric(GetFabricArgs.builder()
.name("primary-fabric")
.recoveryVaultName("tfex-recovery_vault")
.resourceGroupName("tfex-resource_group")
.build());
}
}
Content copied to clipboard
Return
A collection of values returned by getFabric.
Parameters
argument
A collection of arguments for invoking getFabric.
suspend fun getFabric(name: String, recoveryVaultName: String, resourceGroupName: String): GetFabricResult
Return
A collection of values returned by getFabric.
See also
Parameters
name
Specifies the name of the Site Recovery Replication Fabric.
recovery Vault Name
The name of the Recovery Services Vault that the Site Recovery Replication Fabric is associated witth.
resource Group Name
The name of the resource group in which the associated Recovery Services Vault resides.
Return
A collection of values returned by getFabric.
See also
Parameters
argument
Builder for com.pulumi.azure.siterecovery.kotlin.inputs.GetFabricPlainArgs.