GetContainer
Use this data source to get the ID of an available Barbican container.
Example Usage
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",
}));
}
}
Coming soon!
import pulumi
import pulumi_openstack as openstack
example = openstack.keymanager.get_container(name="my_container")import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";
const example = pulumi.output(openstack.keymanager.getContainer({
name: "my_container",
}, { async: true }));Using GetContainer
function getContainer(args: GetContainerArgs, opts?: InvokeOptions): Promise<GetContainerResult>function get_container(name=None, region=None, opts=None)func GetContainer(ctx *Context, args *GetContainerArgs, opts ...InvokeOption) (*GetContainerResult, error)public static class GetContainer {
public static Task<GetContainerResult> InvokeAsync(GetContainerArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
GetContainer Result
The following output properties are available:
- Acls
List<Pulumi.
Open Stack. Key Manager. Outputs. Get Container Acl> The list of ACLs assigned to a container. The
readstructure is described below.- Consumers
List<Pulumi.
Open Stack. Key Manager. Outputs. Get Container Consumer> The list of the container consumers. The structure is described below.
- Container
Ref string The container reference / where to find the container.
- Created
At string The date the container ACL was created.
- Creator
Id string The creator of the container.
- Id string
The provider-assigned unique ID for this managed resource.
- Secret
Refs List<Pulumi.Open Stack. Key Manager. Outputs. Get Container Secret Ref> A set of dictionaries containing references to secrets. The structure is described below.
- Status string
The status of the container.
- Type string
The container type.
- Updated
At string The date the container ACL was last updated.
- Name string
The name of the consumer.
- Region string
See Argument Reference above.
- Acls
[]Get
Container Acl The list of ACLs assigned to a container. The
readstructure is described below.- Consumers
[]Get
Container Consumer The list of the container consumers. The structure is described below.
- Container
Ref string The container reference / where to find the container.
- Created
At string The date the container ACL was created.
- Creator
Id string The creator of the container.
- Id string
The provider-assigned unique ID for this managed resource.
- Secret
Refs []GetContainer Secret Ref A set of dictionaries containing references to secrets. The structure is described below.
- Status string
The status of the container.
- Type string
The container type.
- Updated
At string The date the container ACL was last updated.
- Name string
The name of the consumer.
- Region string
See Argument Reference above.
- acls
Get
Container Acl[] The list of ACLs assigned to a container. The
readstructure is described below.- consumers
Get
Container Consumer[] The list of the container consumers. The structure is described below.
- container
Ref string The container reference / where to find the container.
- created
At string The date the container ACL was created.
- creator
Id string The creator of the container.
- id string
The provider-assigned unique ID for this managed resource.
- secret
Refs GetContainer Secret Ref[] A set of dictionaries containing references to secrets. The structure is described below.
- status string
The status of the container.
- type string
The container type.
- updated
At string The date the container ACL was last updated.
- name string
The name of the consumer.
- region string
See Argument Reference above.
- acls
List[Get
Container Acl] The list of ACLs assigned to a container. The
readstructure is described below.- consumers
List[Get
Container Consumer] The list of the container consumers. The structure is described below.
- container_
ref str The container reference / where to find the container.
- created_
at str The date the container ACL was created.
- creator_
id str The creator of the container.
- id str
The provider-assigned unique ID for this managed resource.
- secret_
refs List[GetContainer Secret Ref] A set of dictionaries containing references to secrets. The structure is described below.
- status str
The status of the container.
- type str
The container type.
- updated_
at str The date the container ACL was last updated.
- name str
The name of the consumer.
- region str
See Argument Reference above.
Supporting Types
GetContainerAcl
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
GetContainerAclRead
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
- Created
At string The date the container ACL was created.
- Updated
At string The date the container ACL was last updated.
- Project
Access bool Whether the container is accessible project wide.
- Users List<string>
The list of user IDs, which are allowed to access the container, when
project_accessis set tofalse.
- created
At string The date the container ACL was created.
- updated
At string The date the container ACL was last updated.
- project
Access boolean Whether the container is accessible project wide.
- users string[]
The list of user IDs, which are allowed to access the container, when
project_accessis set tofalse.
- created_
at str The date the container ACL was created.
- updated_
at str The date the container ACL was last updated.
- project
Access bool Whether the container is accessible project wide.
- users List[str]
The list of user IDs, which are allowed to access the container, when
project_accessis set tofalse.
GetContainerConsumer
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
GetContainerSecretRef
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
- name str
The Container name.
- secret_
ref str The secret reference / where to find the secret, URL.
Package Details
- Repository
- https://github.com/pulumi/pulumi-openstack
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
openstackTerraform Provider.