get Vault
Use this data source to access information about an existing Recovery Services Vault.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.recoveryservices.RecoveryservicesFunctions;
import com.pulumi.azure.recoveryservices.inputs.GetVaultArgs;
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 vault = RecoveryservicesFunctions.getVault(GetVaultArgs.builder()
.name("tfex-recovery_vault")
.resourceGroupName("tfex-resource_group")
.build());
}
}
Content copied to clipboard
Return
A collection of values returned by getVault.
Parameters
argument
A collection of arguments for invoking getVault.
Return
A collection of values returned by getVault.
See also
Parameters
name
Specifies the name of the Recovery Services Vault.
resource Group Name
The name of the resource group in which the Recovery Services Vault resides.
Return
A collection of values returned by getVault.
See also
Parameters
argument
Builder for com.pulumi.azure.recoveryservices.kotlin.inputs.GetVaultPlainArgs.