1. Packages
  2. OVH
  3. API Docs
  4. Dedicated
  5. getCeph
OVHCloud v1.0.0 published on Wednesday, Oct 30, 2024 by OVHcloud

ovh.Dedicated.getCeph

Explore with Pulumi AI

ovh logo
OVHCloud v1.0.0 published on Wednesday, Oct 30, 2024 by OVHcloud

    Use this data source to retrieve information about a dedicated CEPH.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ovh from "@pulumi/ovh";
    
    const my-ceph = ovh.Dedicated.getCeph({
        serviceName: "XXXXXX",
    });
    
    import pulumi
    import pulumi_ovh as ovh
    
    my_ceph = ovh.Dedicated.get_ceph(service_name="XXXXXX")
    
    package main
    
    import (
    	"github.com/ovh/pulumi-ovh/sdk/go/ovh/Dedicated"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Dedicated.GetCeph(ctx, &dedicated.GetCephArgs{
    			ServiceName: "XXXXXX",
    		}, 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 my_ceph = Ovh.Dedicated.GetCeph.Invoke(new()
        {
            ServiceName = "XXXXXX",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ovh.Dedicated.DedicatedFunctions;
    import com.pulumi.ovh.Dedicated.inputs.GetCephArgs;
    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 my-ceph = DedicatedFunctions.getCeph(GetCephArgs.builder()
                .serviceName("XXXXXX")
                .build());
    
        }
    }
    
    variables:
      my-ceph:
        fn::invoke:
          Function: ovh:Dedicated:getCeph
          Arguments:
            serviceName: XXXXXX
    

    Using getCeph

    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 getCeph(args: GetCephArgs, opts?: InvokeOptions): Promise<GetCephResult>
    function getCephOutput(args: GetCephOutputArgs, opts?: InvokeOptions): Output<GetCephResult>
    def get_ceph(ceph_version: Optional[str] = None,
                 service_name: Optional[str] = None,
                 status: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetCephResult
    def get_ceph_output(ceph_version: Optional[pulumi.Input[str]] = None,
                 service_name: Optional[pulumi.Input[str]] = None,
                 status: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetCephResult]
    func GetCeph(ctx *Context, args *GetCephArgs, opts ...InvokeOption) (*GetCephResult, error)
    func GetCephOutput(ctx *Context, args *GetCephOutputArgs, opts ...InvokeOption) GetCephResultOutput

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

    public static class GetCeph 
    {
        public static Task<GetCephResult> InvokeAsync(GetCephArgs args, InvokeOptions? opts = null)
        public static Output<GetCephResult> Invoke(GetCephInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCephResult> getCeph(GetCephArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: ovh:Dedicated/getCeph:getCeph
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ServiceName string
    The service name of the dedicated CEPH cluster.
    CephVersion string
    CEPH cluster version
    Status string
    the status of the service
    ServiceName string
    The service name of the dedicated CEPH cluster.
    CephVersion string
    CEPH cluster version
    Status string
    the status of the service
    serviceName String
    The service name of the dedicated CEPH cluster.
    cephVersion String
    CEPH cluster version
    status String
    the status of the service
    serviceName string
    The service name of the dedicated CEPH cluster.
    cephVersion string
    CEPH cluster version
    status string
    the status of the service
    service_name str
    The service name of the dedicated CEPH cluster.
    ceph_version str
    CEPH cluster version
    status str
    the status of the service
    serviceName String
    The service name of the dedicated CEPH cluster.
    cephVersion String
    CEPH cluster version
    status String
    the status of the service

    getCeph Result

    The following output properties are available:

    CephMons List<string>
    list of CEPH monitors IPs
    CephURN string
    URN of the CEPH instance
    CephVersion string
    CEPH cluster version
    CrushTunables string
    CRUSH algorithm settings. Possible values

    • OPTIMAL
    • DEFAULT
    • LEGACY
    • BOBTAIL
    • ARGONAUT
    • FIREFLY
    • HAMMER
    • JEWEL
    Id string
    The provider-assigned unique ID for this managed resource.
    Label string
    CEPH cluster label
    Region string
    cluster region
    ServiceName string
    Size double
    Cluster size in TB
    State string
    the state of the cluster
    Status string
    the status of the service
    CephMons []string
    list of CEPH monitors IPs
    CephURN string
    URN of the CEPH instance
    CephVersion string
    CEPH cluster version
    CrushTunables string
    CRUSH algorithm settings. Possible values

    • OPTIMAL
    • DEFAULT
    • LEGACY
    • BOBTAIL
    • ARGONAUT
    • FIREFLY
    • HAMMER
    • JEWEL
    Id string
    The provider-assigned unique ID for this managed resource.
    Label string
    CEPH cluster label
    Region string
    cluster region
    ServiceName string
    Size float64
    Cluster size in TB
    State string
    the state of the cluster
    Status string
    the status of the service
    CephURN String
    URN of the CEPH instance
    cephMons List<String>
    list of CEPH monitors IPs
    cephVersion String
    CEPH cluster version
    crushTunables String
    CRUSH algorithm settings. Possible values

    • OPTIMAL
    • DEFAULT
    • LEGACY
    • BOBTAIL
    • ARGONAUT
    • FIREFLY
    • HAMMER
    • JEWEL
    id String
    The provider-assigned unique ID for this managed resource.
    label String
    CEPH cluster label
    region String
    cluster region
    serviceName String
    size Double
    Cluster size in TB
    state String
    the state of the cluster
    status String
    the status of the service
    CephURN string
    URN of the CEPH instance
    cephMons string[]
    list of CEPH monitors IPs
    cephVersion string
    CEPH cluster version
    crushTunables string
    CRUSH algorithm settings. Possible values

    • OPTIMAL
    • DEFAULT
    • LEGACY
    • BOBTAIL
    • ARGONAUT
    • FIREFLY
    • HAMMER
    • JEWEL
    id string
    The provider-assigned unique ID for this managed resource.
    label string
    CEPH cluster label
    region string
    cluster region
    serviceName string
    size number
    Cluster size in TB
    state string
    the state of the cluster
    status string
    the status of the service
    ceph_mons Sequence[str]
    list of CEPH monitors IPs
    ceph_urn str
    URN of the CEPH instance
    ceph_version str
    CEPH cluster version
    crush_tunables str
    CRUSH algorithm settings. Possible values

    • OPTIMAL
    • DEFAULT
    • LEGACY
    • BOBTAIL
    • ARGONAUT
    • FIREFLY
    • HAMMER
    • JEWEL
    id str
    The provider-assigned unique ID for this managed resource.
    label str
    CEPH cluster label
    region str
    cluster region
    service_name str
    size float
    Cluster size in TB
    state str
    the state of the cluster
    status str
    the status of the service
    CephURN String
    URN of the CEPH instance
    cephMons List<String>
    list of CEPH monitors IPs
    cephVersion String
    CEPH cluster version
    crushTunables String
    CRUSH algorithm settings. Possible values

    • OPTIMAL
    • DEFAULT
    • LEGACY
    • BOBTAIL
    • ARGONAUT
    • FIREFLY
    • HAMMER
    • JEWEL
    id String
    The provider-assigned unique ID for this managed resource.
    label String
    CEPH cluster label
    region String
    cluster region
    serviceName String
    size Number
    Cluster size in TB
    state String
    the state of the cluster
    status String
    the status of the service

    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 v1.0.0 published on Wednesday, Oct 30, 2024 by OVHcloud