Class GetVault
Inheritance
System.Object
GetVault
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Backup
Assembly: Pulumi.Aws.dll
Syntax
public static class GetVault
Methods
View SourceInvokeAsync(GetVaultArgs, InvokeOptions)
Use this data source to get information on an existing backup vault.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = Output.Create(Aws.Backup.GetVault.InvokeAsync(new Aws.Backup.GetVaultArgs
{
Name = "example_backup_vault",
}));
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetVaultResult> InvokeAsync(GetVaultArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetVaultArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetVaultResult> |