1. Packages
  2. OVH
  3. API Docs
  4. getCloudProjectRancherCapabilitiesVersion
OVHCloud v2.7.3 published on Thursday, Aug 28, 2025 by OVHcloud

ovh.getCloudProjectRancherCapabilitiesVersion

Explore with Pulumi AI

ovh logo
OVHCloud v2.7.3 published on Thursday, Aug 28, 2025 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 dictionary

    The following arguments are supported:

    ProjectId string
    Project ID
    RancherId string
    Rancher ID
    ProjectId string
    Project ID
    RancherId string
    Rancher ID
    projectId String
    Project ID
    rancherId String
    Rancher ID
    projectId string
    Project ID
    rancherId string
    Rancher ID
    project_id str
    Project ID
    rancher_id str
    Rancher ID
    projectId String
    Project ID
    rancherId String
    Rancher ID

    getCloudProjectRancherCapabilitiesVersion Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    ProjectId string
    Project ID
    RancherId string
    Rancher ID
    Versions List<GetCloudProjectRancherCapabilitiesVersionVersion>
    Id string
    The provider-assigned unique ID for this managed resource.
    ProjectId string
    Project ID
    RancherId string
    Rancher ID
    Versions []GetCloudProjectRancherCapabilitiesVersionVersion
    id String
    The provider-assigned unique ID for this managed resource.
    projectId String
    Project ID
    rancherId String
    Rancher ID
    versions List<GetCloudProjectRancherCapabilitiesVersionVersion>
    id string
    The provider-assigned unique ID for this managed resource.
    projectId string
    Project ID
    rancherId string
    Rancher ID
    versions GetCloudProjectRancherCapabilitiesVersionVersion[]
    id str
    The provider-assigned unique ID for this managed resource.
    project_id str
    Project ID
    rancher_id str
    Rancher ID
    versions Sequence[GetCloudProjectRancherCapabilitiesVersionVersion]
    id String
    The provider-assigned unique ID for this managed resource.
    projectId String
    Project ID
    rancherId String
    Rancher ID
    versions List<Property Map>

    Supporting Types

    GetCloudProjectRancherCapabilitiesVersionVersion

    Cause string
    Cause for an unavailability
    ChangelogUrl 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
    ChangelogUrl 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
    changelogUrl 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
    changelogUrl 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
    changelogUrl 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 ovh Terraform Provider.
    ovh logo
    OVHCloud v2.7.3 published on Thursday, Aug 28, 2025 by OVHcloud