vkcs 0.9.3 published on Tuesday, Apr 15, 2025 by vk-cs
vkcs.getKeymanagerContainer
Explore with Pulumi AI
Use this data source to get the ID of an available Key container.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vkcs from "@pulumi/vkcs";
const lbCert = vkcs.getKeymanagerContainer({
name: "container-tf-example",
});
import pulumi
import pulumi_vkcs as vkcs
lb_cert = vkcs.get_keymanager_container(name="container-tf-example")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/vkcs/vkcs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vkcs.LookupKeymanagerContainer(ctx, &vkcs.LookupKeymanagerContainerArgs{
Name: pulumi.StringRef("container-tf-example"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vkcs = Pulumi.Vkcs;
return await Deployment.RunAsync(() =>
{
var lbCert = Vkcs.GetKeymanagerContainer.Invoke(new()
{
Name = "container-tf-example",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vkcs.VkcsFunctions;
import com.pulumi.vkcs.inputs.GetKeymanagerContainerArgs;
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 lbCert = VkcsFunctions.getKeymanagerContainer(GetKeymanagerContainerArgs.builder()
.name("container-tf-example")
.build());
}
}
variables:
lbCert:
fn::invoke:
function: vkcs:getKeymanagerContainer
arguments:
name: container-tf-example
Using getKeymanagerContainer
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getKeymanagerContainer(args: GetKeymanagerContainerArgs, opts?: InvokeOptions): Promise<GetKeymanagerContainerResult>
function getKeymanagerContainerOutput(args: GetKeymanagerContainerOutputArgs, opts?: InvokeOptions): Output<GetKeymanagerContainerResult>
def get_keymanager_container(name: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetKeymanagerContainerResult
def get_keymanager_container_output(name: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetKeymanagerContainerResult]
func LookupKeymanagerContainer(ctx *Context, args *LookupKeymanagerContainerArgs, opts ...InvokeOption) (*LookupKeymanagerContainerResult, error)
func LookupKeymanagerContainerOutput(ctx *Context, args *LookupKeymanagerContainerOutputArgs, opts ...InvokeOption) LookupKeymanagerContainerResultOutput
> Note: This function is named LookupKeymanagerContainer
in the Go SDK.
public static class GetKeymanagerContainer
{
public static Task<GetKeymanagerContainerResult> InvokeAsync(GetKeymanagerContainerArgs args, InvokeOptions? opts = null)
public static Output<GetKeymanagerContainerResult> Invoke(GetKeymanagerContainerInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetKeymanagerContainerResult> getKeymanagerContainer(GetKeymanagerContainerArgs args, InvokeOptions options)
public static Output<GetKeymanagerContainerResult> getKeymanagerContainer(GetKeymanagerContainerArgs args, InvokeOptions options)
fn::invoke:
function: vkcs:index/getKeymanagerContainer:getKeymanagerContainer
arguments:
# arguments dictionary
The following arguments are supported:
getKeymanagerContainer Result
The following output properties are available:
- Acls
List<Get
Keymanager Container Acl> - list → ACLs assigned to a container.
- Consumers
List<Get
Keymanager Container Consumer> - list → The list of the container consumers.
- Container
Ref string - string → The container reference / where to find the container.
- Created
At string - string → The date the container was created.
- Creator
Id string - string → The creator of the container.
- Id string
- string → ID of the resource.
- Name string
- string
- Region string
- Secret
Refs List<GetKeymanager Container Secret Ref> - set → A set of dictionaries containing references to secrets.
- Status string
- string → The status of the container.
- Type string
- string → The container type.
- Updated
At string - string → The date the container was last updated.
- Acls
[]Get
Keymanager Container Acl - list → ACLs assigned to a container.
- Consumers
[]Get
Keymanager Container Consumer - list → The list of the container consumers.
- Container
Ref string - string → The container reference / where to find the container.
- Created
At string - string → The date the container was created.
- Creator
Id string - string → The creator of the container.
- Id string
- string → ID of the resource.
- Name string
- string
- Region string
- Secret
Refs []GetKeymanager Container Secret Ref - set → A set of dictionaries containing references to secrets.
- Status string
- string → The status of the container.
- Type string
- string → The container type.
- Updated
At string - string → The date the container was last updated.
- acls
List<Get
Keymanager Container Acl> - list → ACLs assigned to a container.
- consumers
List<Get
Keymanager Container Consumer> - list → The list of the container consumers.
- container
Ref String - string → The container reference / where to find the container.
- created
At String - string → The date the container was created.
- creator
Id String - string → The creator of the container.
- id String
- string → ID of the resource.
- name String
- string
- region String
- secret
Refs List<GetKeymanager Container Secret Ref> - set → A set of dictionaries containing references to secrets.
- status String
- string → The status of the container.
- type String
- string → The container type.
- updated
At String - string → The date the container was last updated.
- acls
Get
Keymanager Container Acl[] - list → ACLs assigned to a container.
- consumers
Get
Keymanager Container Consumer[] - list → The list of the container consumers.
- container
Ref string - string → The container reference / where to find the container.
- created
At string - string → The date the container was created.
- creator
Id string - string → The creator of the container.
- id string
- string → ID of the resource.
- name string
- string
- region string
- secret
Refs GetKeymanager Container Secret Ref[] - set → A set of dictionaries containing references to secrets.
- status string
- string → The status of the container.
- type string
- string → The container type.
- updated
At string - string → The date the container was last updated.
- acls
Sequence[Get
Keymanager Container Acl] - list → ACLs assigned to a container.
- consumers
Sequence[Get
Keymanager Container Consumer] - list → The list of the container consumers.
- container_
ref str - string → The container reference / where to find the container.
- created_
at str - string → The date the container was created.
- creator_
id str - string → The creator of the container.
- id str
- string → ID of the resource.
- name str
- string
- region str
- secret_
refs Sequence[GetKeymanager Container Secret Ref] - set → A set of dictionaries containing references to secrets.
- status str
- string → The status of the container.
- type str
- string → The container type.
- updated_
at str - string → The date the container was last updated.
- acls List<Property Map>
- list → ACLs assigned to a container.
- consumers List<Property Map>
- list → The list of the container consumers.
- container
Ref String - string → The container reference / where to find the container.
- created
At String - string → The date the container was created.
- creator
Id String - string → The creator of the container.
- id String
- string → ID of the resource.
- name String
- string
- region String
- secret
Refs List<Property Map> - set → A set of dictionaries containing references to secrets.
- status String
- string → The status of the container.
- type String
- string → The container type.
- updated
At String - string → The date the container was last updated.
Supporting Types
GetKeymanagerContainerAcl
- Reads
List<Get
Keymanager Container Acl Read> - list → Object that describes read operation.
- Reads
[]Get
Keymanager Container Acl Read - list → Object that describes read operation.
- reads
List<Get
Keymanager Container Acl Read> - list → Object that describes read operation.
- reads
Get
Keymanager Container Acl Read[] - list → Object that describes read operation.
- reads
Sequence[Get
Keymanager Container Acl Read] - list → Object that describes read operation.
- reads List<Property Map>
- list → Object that describes read operation.
GetKeymanagerContainerAclRead
- Created
At string - string → The date the container was created.
- Project
Access bool - boolean → Whether the container is accessible project wide.
- Updated
At string - string → The date the container was last updated.
- Users List<string>
- set of string → The list of user IDs, which are allowed to access the container, when
project_access
is set tofalse
.
- Created
At string - string → The date the container was created.
- Project
Access bool - boolean → Whether the container is accessible project wide.
- Updated
At string - string → The date the container was last updated.
- Users []string
- set of string → The list of user IDs, which are allowed to access the container, when
project_access
is set tofalse
.
- created
At String - string → The date the container was created.
- project
Access Boolean - boolean → Whether the container is accessible project wide.
- updated
At String - string → The date the container was last updated.
- users List<String>
- set of string → The list of user IDs, which are allowed to access the container, when
project_access
is set tofalse
.
- created
At string - string → The date the container was created.
- project
Access boolean - boolean → Whether the container is accessible project wide.
- updated
At string - string → The date the container was last updated.
- users string[]
- set of string → The list of user IDs, which are allowed to access the container, when
project_access
is set tofalse
.
- created_
at str - string → The date the container was created.
- project_
access bool - boolean → Whether the container is accessible project wide.
- updated_
at str - string → The date the container was last updated.
- users Sequence[str]
- set of string → The list of user IDs, which are allowed to access the container, when
project_access
is set tofalse
.
- created
At String - string → The date the container was created.
- project
Access Boolean - boolean → Whether the container is accessible project wide.
- updated
At String - string → The date the container was last updated.
- users List<String>
- set of string → The list of user IDs, which are allowed to access the container, when
project_access
is set tofalse
.
GetKeymanagerContainerConsumer
GetKeymanagerContainerSecretRef
- name str
- optional string → The Container name.
- secret_
ref str - string
Package Details
- Repository
- vkcs vk-cs/terraform-provider-vkcs
- License
- Notes
- This Pulumi package is based on the
vkcs
Terraform Provider.