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

ovh.getCloudProjectRancherCapabilitiesPlan

Explore with Pulumi AI

ovh logo
OVHCloud v2.7.3 published on Thursday, Aug 28, 2025 by OVHcloud

    List available and current plans for the given managed Rancher service

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ovh from "@ovhcloud/pulumi-ovh";
    
    const plans = ovh.getCloudProjectRancherCapabilitiesPlan({
        projectId: "XXX",
        rancherId: "YYY",
    });
    
    import pulumi
    import pulumi_ovh as ovh
    
    plans = ovh.get_cloud_project_rancher_capabilities_plan(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.GetCloudProjectRancherCapabilitiesPlan(ctx, &ovh.GetCloudProjectRancherCapabilitiesPlanArgs{
    			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 plans = Ovh.GetCloudProjectRancherCapabilitiesPlan.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.GetCloudProjectRancherCapabilitiesPlanArgs;
    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 plans = OvhFunctions.getCloudProjectRancherCapabilitiesPlan(GetCloudProjectRancherCapabilitiesPlanArgs.builder()
                .projectId("XXX")
                .rancherId("YYY")
                .build());
    
        }
    }
    
    variables:
      plans:
        fn::invoke:
          function: ovh:getCloudProjectRancherCapabilitiesPlan
          arguments:
            projectId: XXX
            rancherId: YYY
    

    Using getCloudProjectRancherCapabilitiesPlan

    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 getCloudProjectRancherCapabilitiesPlan(args: GetCloudProjectRancherCapabilitiesPlanArgs, opts?: InvokeOptions): Promise<GetCloudProjectRancherCapabilitiesPlanResult>
    function getCloudProjectRancherCapabilitiesPlanOutput(args: GetCloudProjectRancherCapabilitiesPlanOutputArgs, opts?: InvokeOptions): Output<GetCloudProjectRancherCapabilitiesPlanResult>
    def get_cloud_project_rancher_capabilities_plan(project_id: Optional[str] = None,
                                                    rancher_id: Optional[str] = None,
                                                    opts: Optional[InvokeOptions] = None) -> GetCloudProjectRancherCapabilitiesPlanResult
    def get_cloud_project_rancher_capabilities_plan_output(project_id: Optional[pulumi.Input[str]] = None,
                                                    rancher_id: Optional[pulumi.Input[str]] = None,
                                                    opts: Optional[InvokeOptions] = None) -> Output[GetCloudProjectRancherCapabilitiesPlanResult]
    func GetCloudProjectRancherCapabilitiesPlan(ctx *Context, args *GetCloudProjectRancherCapabilitiesPlanArgs, opts ...InvokeOption) (*GetCloudProjectRancherCapabilitiesPlanResult, error)
    func GetCloudProjectRancherCapabilitiesPlanOutput(ctx *Context, args *GetCloudProjectRancherCapabilitiesPlanOutputArgs, opts ...InvokeOption) GetCloudProjectRancherCapabilitiesPlanResultOutput

    > Note: This function is named GetCloudProjectRancherCapabilitiesPlan in the Go SDK.

    public static class GetCloudProjectRancherCapabilitiesPlan 
    {
        public static Task<GetCloudProjectRancherCapabilitiesPlanResult> InvokeAsync(GetCloudProjectRancherCapabilitiesPlanArgs args, InvokeOptions? opts = null)
        public static Output<GetCloudProjectRancherCapabilitiesPlanResult> Invoke(GetCloudProjectRancherCapabilitiesPlanInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCloudProjectRancherCapabilitiesPlanResult> getCloudProjectRancherCapabilitiesPlan(GetCloudProjectRancherCapabilitiesPlanArgs args, InvokeOptions options)
    public static Output<GetCloudProjectRancherCapabilitiesPlanResult> getCloudProjectRancherCapabilitiesPlan(GetCloudProjectRancherCapabilitiesPlanArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ovh:index/getCloudProjectRancherCapabilitiesPlan:getCloudProjectRancherCapabilitiesPlan
      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

    getCloudProjectRancherCapabilitiesPlan Result

    The following output properties are available:

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

    Supporting Types

    GetCloudProjectRancherCapabilitiesPlanPlan

    Cause string
    Cause for an unavailability
    Message string
    Human-readable description of the unavailability cause
    Name string
    Name of the plan
    Status string
    Status of the plan
    Cause string
    Cause for an unavailability
    Message string
    Human-readable description of the unavailability cause
    Name string
    Name of the plan
    Status string
    Status of the plan
    cause String
    Cause for an unavailability
    message String
    Human-readable description of the unavailability cause
    name String
    Name of the plan
    status String
    Status of the plan
    cause string
    Cause for an unavailability
    message string
    Human-readable description of the unavailability cause
    name string
    Name of the plan
    status string
    Status of the plan
    cause str
    Cause for an unavailability
    message str
    Human-readable description of the unavailability cause
    name str
    Name of the plan
    status str
    Status of the plan
    cause String
    Cause for an unavailability
    message String
    Human-readable description of the unavailability cause
    name String
    Name of the plan
    status String
    Status of the plan

    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