Viewing docs for OVHCloud v2.13.0
published on Thursday, Mar 12, 2026 by OVHcloud
published on Thursday, Mar 12, 2026 by OVHcloud
OVH
I want to use the Pulumi OVHCloud package (ovh) in my project.
## Provider details
- Package: ovh
- Version: v2.13.0
- Publisher: OVHcloud
- Source: pulumi
- Repository: https://github.com/ovh/pulumi-ovh
## Documentation
The Pulumi Cloud Registry API serves canonical, up-to-date docs for this package — including private packages and every published version. Send the "Accept: text/markdown" header for clean readable content, or "application/json" for structured data.
Start at the navigation tree, which cross-links to the readme, installation guide, and per-resource docs URL template:
- https://api.pulumi.com/api/registry/packages/pulumi/ovhcloud/ovh/versions/latest/nav
Returns a summary by default. The full tree can be hundreds of kB for large providers, so prefer targeted search: append "?q=<query>&depth=full" to filter by resource/function title or token (for example "?q=bucket&depth=full"). Only request the full nav without a query if you actually need to enumerate every resource.
Other endpoints:
- Overview and getting started: https://api.pulumi.com/api/registry/packages/pulumi/ovhcloud/ovh/versions/latest/readme
- Installation and configuration: https://api.pulumi.com/api/registry/packages/pulumi/ovhcloud/ovh/versions/latest/installation
- Per-resource/function docs: https://api.pulumi.com/api/registry/packages/pulumi/ovhcloud/ovh/versions/latest/docs/{token}?lang={lang}
Replace {token} with the percent-encoded token from the nav response (for example aws:s3/bucket:Bucket).
Replace {lang} with typescript, python, go, csharp, java, or yaml.
Fetch the installation endpoint above for the correct setup steps — install instructions vary between native providers, bridged Terraform providers, and component packages.
Help me get started using this provider. Show me a complete Pulumi program that provisions a common resource, including all necessary configuration and imports.
Viewing docs for OVHCloud v2.13.0
published on Thursday, Mar 12, 2026 by OVHcloud
published on Thursday, Mar 12, 2026 by OVHcloud
The OVH provider for Pulumi can be used to provision any of the resources available in OVHcloud.
The OVH provider must be configured with credentials to deploy and update resources in OVH.
Information
Note that the lbrlabs Pulumi OVH provider is replaced by this official one. See the Migration Guide for more information.
Example
// Deploy a new Kubernetes cluster
myKube, err := cloudproject.NewKube(ctx, "my_desired_cluster", &cloudproject.KubeArgs{
ServiceName: pulumi.String("xxxxxxxxxxxxx-xxxx-xxxx-xxxxxxxxx"),
Name: pulumi.String("my_desired_cluster"),
Region: pulumi.String("GRA5"),
})
if err != nil {
return err
}
// Export kubeconfig file to a secret
ctx.Export("kubeconfig", pulumi.ToSecret(myKube.Kubeconfig))
"""Get a Kubernetes cluster version"""
import pulumi
import pulumi_ovh as ovh
config = pulumi.Config();
service_name = config.require('serviceName')
print(service_name);
my_kube_cluster = ovh.cloudproject.get_kube(service_name=service_name,
kube_id="xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx");
pulumi.export("version", my_kube_cluster.version)
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh"
let config = new pulumi.Config();
let serviceName = config.require("serviceName")
console.log(serviceName)
// Get a Kubernetes cluster version
let myKubeCluster = ovh.cloudproject.getKube({
serviceName: serviceName,
kubeId: "xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx"
})
export const version = myKubeCluster.then(myKubeCluster => myKubeCluster.version);
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ovh = Pulumi.Ovh;
using System;
return await Deployment.RunAsync(() =>
{
var config = new Pulumi.Config();
var serviceName = config.Require("serviceName");
System.Console.WriteLine(serviceName);
var myKubeCluster = Ovh.CloudProject.GetKube.Invoke(new()
{
ServiceName = serviceName,
KubeId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
});
return new Dictionary<string, object?>
{
["version"] = myKubeCluster.Apply(getKubeResult => getKubeResult.Version),
};
});
import com.ovhcloud.pulumi.ovh.CloudProject.Kube;
import com.ovhcloud.pulumi.ovh.CloudProject.KubeArgs;
import com.ovhcloud.pulumi.ovh.CloudProject.KubeNodePool;
import com.ovhcloud.pulumi.ovh.CloudProject.KubeNodePoolArgs;
import com.pulumi.Context;
import com.pulumi.Pulumi;
/**
* Minimal Pulumi example with Java SDK.
*/
public class App {
private final static String OVH_CLOUD_PROJECT_SERVICE = System.getenv("OVH_CLOUD_PROJECT_SERVICE");
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
KubeArgs kubeDetails = KubeArgs.builder()
.serviceName(OVH_CLOUD_PROJECT_SERVICE)
.name("pulumi-k8s")
.region("GRA7")
.build();
Kube myKube = new Kube("my-kube", kubeDetails);
KubeNodePoolArgs nodePoolDetails = KubeNodePoolArgs.builder()
.serviceName(OVH_CLOUD_PROJECT_SERVICE)
.flavorName("d2-4")
.kubeId(myKube.id().asPlaintext())
.minNodes(1)
.maxNodes(1)
.build();
KubeNodePool nodePool = new KubeNodePool("pulumi-nodepool", nodePoolDetails);
ctx.export("kubeconfig", myKube.kubeconfig());
}
}
Viewing docs for OVHCloud v2.13.0
published on Thursday, Mar 12, 2026 by OVHcloud
published on Thursday, Mar 12, 2026 by OVHcloud
