Class GetContainer
Inheritance
System.Object
GetContainer
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.OpenStack.KeyManager
Assembly: Pulumi.OpenStack.dll
Syntax
public static class GetContainer
Methods
View SourceInvokeAsync(GetContainerArgs, InvokeOptions)
Use this data source to get the ID of an available Barbican container.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using OpenStack = Pulumi.OpenStack;
class MyStack : Stack
{
public MyStack()
{
var example = Output.Create(OpenStack.KeyManager.GetContainer.InvokeAsync(new OpenStack.KeyManager.GetContainerArgs
{
Name = "my_container",
}));
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetContainerResult> InvokeAsync(GetContainerArgs args = null, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetContainerArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetContainerResult> |