Viewing docs for OVHCloud v2.12.0
published on Thursday, Mar 12, 2026 by OVHcloud
published on Thursday, Mar 12, 2026 by OVHcloud
Viewing docs for OVHCloud v2.12.0
published on Thursday, Mar 12, 2026 by OVHcloud
published on Thursday, Mar 12, 2026 by OVHcloud
List available and current versions for the given managed Rancher service
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
const versions = ovh.getCloudProjectRancherCapabilitiesVersion({
projectId: "XXX",
rancherId: "YYY",
});
import pulumi
import pulumi_ovh as ovh
versions = ovh.get_cloud_project_rancher_capabilities_version(project_id="XXX",
rancher_id="YYY")
package main
import (
"github.com/ovh/pulumi-ovh/sdk/v2/go/ovh"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ovh.GetCloudProjectRancherCapabilitiesVersion(ctx, &ovh.GetCloudProjectRancherCapabilitiesVersionArgs{
ProjectId: "XXX",
RancherId: "YYY",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ovh = Pulumi.Ovh;
return await Deployment.RunAsync(() =>
{
var versions = Ovh.GetCloudProjectRancherCapabilitiesVersion.Invoke(new()
{
ProjectId = "XXX",
RancherId = "YYY",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ovh.OvhFunctions;
import com.pulumi.ovh.inputs.GetCloudProjectRancherCapabilitiesVersionArgs;
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 versions = OvhFunctions.getCloudProjectRancherCapabilitiesVersion(GetCloudProjectRancherCapabilitiesVersionArgs.builder()
.projectId("XXX")
.rancherId("YYY")
.build());
}
}
variables:
versions:
fn::invoke:
function: ovh:getCloudProjectRancherCapabilitiesVersion
arguments:
projectId: XXX
rancherId: YYY
Using getCloudProjectRancherCapabilitiesVersion
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 getCloudProjectRancherCapabilitiesVersion(args: GetCloudProjectRancherCapabilitiesVersionArgs, opts?: InvokeOptions): Promise<GetCloudProjectRancherCapabilitiesVersionResult>
function getCloudProjectRancherCapabilitiesVersionOutput(args: GetCloudProjectRancherCapabilitiesVersionOutputArgs, opts?: InvokeOptions): Output<GetCloudProjectRancherCapabilitiesVersionResult>def get_cloud_project_rancher_capabilities_version(project_id: Optional[str] = None,
rancher_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudProjectRancherCapabilitiesVersionResult
def get_cloud_project_rancher_capabilities_version_output(project_id: Optional[pulumi.Input[str]] = None,
rancher_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudProjectRancherCapabilitiesVersionResult]func GetCloudProjectRancherCapabilitiesVersion(ctx *Context, args *GetCloudProjectRancherCapabilitiesVersionArgs, opts ...InvokeOption) (*GetCloudProjectRancherCapabilitiesVersionResult, error)
func GetCloudProjectRancherCapabilitiesVersionOutput(ctx *Context, args *GetCloudProjectRancherCapabilitiesVersionOutputArgs, opts ...InvokeOption) GetCloudProjectRancherCapabilitiesVersionResultOutput> Note: This function is named GetCloudProjectRancherCapabilitiesVersion in the Go SDK.
public static class GetCloudProjectRancherCapabilitiesVersion
{
public static Task<GetCloudProjectRancherCapabilitiesVersionResult> InvokeAsync(GetCloudProjectRancherCapabilitiesVersionArgs args, InvokeOptions? opts = null)
public static Output<GetCloudProjectRancherCapabilitiesVersionResult> Invoke(GetCloudProjectRancherCapabilitiesVersionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCloudProjectRancherCapabilitiesVersionResult> getCloudProjectRancherCapabilitiesVersion(GetCloudProjectRancherCapabilitiesVersionArgs args, InvokeOptions options)
public static Output<GetCloudProjectRancherCapabilitiesVersionResult> getCloudProjectRancherCapabilitiesVersion(GetCloudProjectRancherCapabilitiesVersionArgs args, InvokeOptions options)
fn::invoke:
function: ovh:index/getCloudProjectRancherCapabilitiesVersion:getCloudProjectRancherCapabilitiesVersion
arguments:
# arguments dictionaryThe following arguments are supported:
- project_
id str - Project ID
- rancher_
id str - Rancher ID
getCloudProjectRancherCapabilitiesVersion Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Id string - Project ID
- Rancher
Id string - Rancher ID
- Versions
List<Get
Cloud Project Rancher Capabilities Version Version>
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Id string - Project ID
- Rancher
Id string - Rancher ID
- Versions
[]Get
Cloud Project Rancher Capabilities Version Version
- id String
- The provider-assigned unique ID for this managed resource.
- project
Id String - Project ID
- rancher
Id String - Rancher ID
- versions
List<Get
Cloud Project Rancher Capabilities Version Version>
- id string
- The provider-assigned unique ID for this managed resource.
- project
Id string - Project ID
- rancher
Id string - Rancher ID
- versions
Get
Cloud Project Rancher Capabilities Version Version[]
- id str
- The provider-assigned unique ID for this managed resource.
- project_
id str - Project ID
- rancher_
id str - Rancher ID
- versions
Sequence[Get
Cloud Project Rancher Capabilities Version Version]
- id String
- The provider-assigned unique ID for this managed resource.
- project
Id String - Project ID
- rancher
Id String - Rancher ID
- versions List<Property Map>
Supporting Types
GetCloudProjectRancherCapabilitiesVersionVersion
- Cause string
- Cause for an unavailability
- Changelog
Url string - Changelog URL of the version
- Message string
- Human-readable description of the unavailability cause
- Name string
- Name of the version
- Status string
- Status of the version
- Cause string
- Cause for an unavailability
- Changelog
Url string - Changelog URL of the version
- Message string
- Human-readable description of the unavailability cause
- Name string
- Name of the version
- Status string
- Status of the version
- cause String
- Cause for an unavailability
- changelog
Url String - Changelog URL of the version
- message String
- Human-readable description of the unavailability cause
- name String
- Name of the version
- status String
- Status of the version
- cause string
- Cause for an unavailability
- changelog
Url string - Changelog URL of the version
- message string
- Human-readable description of the unavailability cause
- name string
- Name of the version
- status string
- Status of the version
- cause str
- Cause for an unavailability
- changelog_
url str - Changelog URL of the version
- message str
- Human-readable description of the unavailability cause
- name str
- Name of the version
- status str
- Status of the version
- cause String
- Cause for an unavailability
- changelog
Url String - Changelog URL of the version
- message String
- Human-readable description of the unavailability cause
- name String
- Name of the version
- status String
- Status of the version
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.12.0
published on Thursday, Mar 12, 2026 by OVHcloud
published on Thursday, Mar 12, 2026 by OVHcloud
