Class GetPlan
Inheritance
System.Object
GetPlan
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 GetPlan
Methods
View SourceInvokeAsync(GetPlanArgs, InvokeOptions)
Use this data source to get information on an existing backup plan.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = Output.Create(Aws.Backup.GetPlan.InvokeAsync(new Aws.Backup.GetPlanArgs
{
PlanId = "tf_example_backup_plan_id",
}));
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetPlanResult> InvokeAsync(GetPlanArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetPlanArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetPlanResult> |