Viewing docs for OVHCloud v2.17.0
published on Friday, Jul 17, 2026 by OVHcloud
published on Friday, Jul 17, 2026 by OVHcloud
Viewing docs for OVHCloud v2.17.0
published on Friday, Jul 17, 2026 by OVHcloud
published on Friday, Jul 17, 2026 by OVHcloud
Use this data source to list all consumers registered on a Barbican Key Manager container.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
const consumers = ovh.getCloudKeyManagerContainerConsumers({
serviceName: "Public cloud project ID",
containerId: "00000000-0000-0000-0000-000000000000",
});
export const consumerServices = consumers.then(consumers => .map(c => (c.service)));
import pulumi
import pulumi_ovh as ovh
consumers = ovh.get_cloud_key_manager_container_consumers(service_name="Public cloud project ID",
container_id="00000000-0000-0000-0000-000000000000")
pulumi.export("consumerServices", [c.service for c in consumers.consumers])
Example coming soon!
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ovh = Pulumi.Ovh;
return await Deployment.RunAsync(() =>
{
var consumers = Ovh.GetCloudKeyManagerContainerConsumers.Invoke(new()
{
ServiceName = "Public cloud project ID",
ContainerId = "00000000-0000-0000-0000-000000000000",
});
return new Dictionary<string, object?>
{
["consumerServices"] = .Select(c =>
{
return c.Service;
}).ToList(),
};
});
Example coming soon!
Example coming soon!
Example coming soon!
Using getCloudKeyManagerContainerConsumers
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 getCloudKeyManagerContainerConsumers(args: GetCloudKeyManagerContainerConsumersArgs, opts?: InvokeOptions): Promise<GetCloudKeyManagerContainerConsumersResult>
function getCloudKeyManagerContainerConsumersOutput(args: GetCloudKeyManagerContainerConsumersOutputArgs, opts?: InvokeOptions): Output<GetCloudKeyManagerContainerConsumersResult>def get_cloud_key_manager_container_consumers(container_id: Optional[str] = None,
service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudKeyManagerContainerConsumersResult
def get_cloud_key_manager_container_consumers_output(container_id: pulumi.Input[Optional[str]] = None,
service_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudKeyManagerContainerConsumersResult]func GetCloudKeyManagerContainerConsumers(ctx *Context, args *GetCloudKeyManagerContainerConsumersArgs, opts ...InvokeOption) (*GetCloudKeyManagerContainerConsumersResult, error)
func GetCloudKeyManagerContainerConsumersOutput(ctx *Context, args *GetCloudKeyManagerContainerConsumersOutputArgs, opts ...InvokeOption) GetCloudKeyManagerContainerConsumersResultOutput> Note: This function is named GetCloudKeyManagerContainerConsumers in the Go SDK.
public static class GetCloudKeyManagerContainerConsumers
{
public static Task<GetCloudKeyManagerContainerConsumersResult> InvokeAsync(GetCloudKeyManagerContainerConsumersArgs args, InvokeOptions? opts = null)
public static Output<GetCloudKeyManagerContainerConsumersResult> Invoke(GetCloudKeyManagerContainerConsumersInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCloudKeyManagerContainerConsumersResult> getCloudKeyManagerContainerConsumers(GetCloudKeyManagerContainerConsumersArgs args, InvokeOptions options)
public static Output<GetCloudKeyManagerContainerConsumersResult> getCloudKeyManagerContainerConsumers(GetCloudKeyManagerContainerConsumersArgs args, InvokeOptions options)
fn::invoke:
function: ovh:index/getCloudKeyManagerContainerConsumers:getCloudKeyManagerContainerConsumers
arguments:
# arguments dictionarydata "ovh_get_cloud_key_manager_container_consumers" "name" {
# arguments
}The following arguments are supported:
- Container
Id string - UUID of the container.
- Service
Name string - The id of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- Container
Id string - UUID of the container.
- Service
Name string - The id of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- container_
id string - UUID of the container.
- service_
name string - The id of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- container
Id String - UUID of the container.
- service
Name String - The id of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- container
Id string - UUID of the container.
- service
Name string - The id of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- container_
id str - UUID of the container.
- service_
name str - The id of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- container
Id String - UUID of the container.
- service
Name String - The id of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
getCloudKeyManagerContainerConsumers Result
The following output properties are available:
- Consumers
List<Get
Cloud Key Manager Container Consumers Consumer> - List of consumers registered on the container. Each consumer has the following attributes:
- Container
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Service
Name string
- Consumers
[]Get
Cloud Key Manager Container Consumers Consumer - List of consumers registered on the container. Each consumer has the following attributes:
- Container
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Service
Name string
- consumers list(object)
- List of consumers registered on the container. Each consumer has the following attributes:
- container_
id string - id string
- The provider-assigned unique ID for this managed resource.
- service_
name string
- consumers
List<Get
Cloud Key Manager Container Consumers Consumer> - List of consumers registered on the container. Each consumer has the following attributes:
- container
Id String - id String
- The provider-assigned unique ID for this managed resource.
- service
Name String
- consumers
Get
Cloud Key Manager Container Consumers Consumer[] - List of consumers registered on the container. Each consumer has the following attributes:
- container
Id string - id string
- The provider-assigned unique ID for this managed resource.
- service
Name string
- consumers
Sequence[Get
Cloud Key Manager Container Consumers Consumer] - List of consumers registered on the container. Each consumer has the following attributes:
- container_
id str - id str
- The provider-assigned unique ID for this managed resource.
- service_
name str
- consumers List<Property Map>
- List of consumers registered on the container. Each consumer has the following attributes:
- container
Id String - id String
- The provider-assigned unique ID for this managed resource.
- service
Name String
Supporting Types
GetCloudKeyManagerContainerConsumersConsumer
- Id string
- Computed consumer identifier.
- Resource
Id string - UUID of the resource consuming the container.
- Resource
Type string - Type of the resource consuming the container.
- Service string
- OpenStack service type of the consumer.
- Id string
- Computed consumer identifier.
- Resource
Id string - UUID of the resource consuming the container.
- Resource
Type string - Type of the resource consuming the container.
- Service string
- OpenStack service type of the consumer.
- id string
- Computed consumer identifier.
- resource_
id string - UUID of the resource consuming the container.
- resource_
type string - Type of the resource consuming the container.
- service string
- OpenStack service type of the consumer.
- id String
- Computed consumer identifier.
- resource
Id String - UUID of the resource consuming the container.
- resource
Type String - Type of the resource consuming the container.
- service String
- OpenStack service type of the consumer.
- id string
- Computed consumer identifier.
- resource
Id string - UUID of the resource consuming the container.
- resource
Type string - Type of the resource consuming the container.
- service string
- OpenStack service type of the consumer.
- id str
- Computed consumer identifier.
- resource_
id str - UUID of the resource consuming the container.
- resource_
type str - Type of the resource consuming the container.
- service str
- OpenStack service type of the consumer.
- id String
- Computed consumer identifier.
- resource
Id String - UUID of the resource consuming the container.
- resource
Type String - Type of the resource consuming the container.
- service String
- OpenStack service type of the consumer.
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovhTerraform Provider.
Viewing docs for OVHCloud v2.17.0
published on Friday, Jul 17, 2026 by OVHcloud
published on Friday, Jul 17, 2026 by OVHcloud