Ovh

v0.0.4 published on Saturday, Sep 17, 2022 by lbrlabs

getDedicatedCeph

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

Example Usage

using System.Collections.Generic;
using Pulumi;
using Ovh = Pulumi.Ovh;

return await Deployment.RunAsync(() => 
{
    var my_ceph = Ovh.GetDedicatedCeph.Invoke(new()
    {
        ServiceName = "XXXXXX",
    });

});
package main

import (
	"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ovh.GetDedicatedCeph(ctx, &GetDedicatedCephArgs{
			ServiceName: "XXXXXX",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
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.GetDedicatedCephArgs;
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 = OvhFunctions.getDedicatedCeph(GetDedicatedCephArgs.builder()
            .serviceName("XXXXXX")
            .build());

    }
}
import pulumi
import pulumi_ovh as ovh

my_ceph = ovh.get_dedicated_ceph(service_name="XXXXXX")
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@pulumi/ovh";

const my_ceph = pulumi.output(ovh.getDedicatedCeph({
    serviceName: "XXXXXX",
}));
variables:
  my-ceph:
    Fn::Invoke:
      Function: ovh:getDedicatedCeph
      Arguments:
        serviceName: XXXXXX

Using getDedicatedCeph

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 getDedicatedCeph(args: GetDedicatedCephArgs, opts?: InvokeOptions): Promise<GetDedicatedCephResult>
function getDedicatedCephOutput(args: GetDedicatedCephOutputArgs, opts?: InvokeOptions): Output<GetDedicatedCephResult>
def get_dedicated_ceph(ceph_version: Optional[str] = None,
                       service_name: Optional[str] = None,
                       status: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetDedicatedCephResult
def get_dedicated_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[GetDedicatedCephResult]
func GetDedicatedCeph(ctx *Context, args *GetDedicatedCephArgs, opts ...InvokeOption) (*GetDedicatedCephResult, error)
func GetDedicatedCephOutput(ctx *Context, args *GetDedicatedCephOutputArgs, opts ...InvokeOption) GetDedicatedCephResultOutput

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

public static class GetDedicatedCeph 
{
    public static Task<GetDedicatedCephResult> InvokeAsync(GetDedicatedCephArgs args, InvokeOptions? opts = null)
    public static Output<GetDedicatedCephResult> Invoke(GetDedicatedCephInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDedicatedCephResult> getDedicatedCeph(GetDedicatedCephArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: ovh:index/getDedicatedCeph:getDedicatedCeph
  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

getDedicatedCeph Result

The following output properties are available:

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

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 float64

Cluster size in TB

State string

the state of the cluster

Status string

the status of the service

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

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_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

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
https://github.com/lbrlabs/pulumi-ovh
License
Apache-2.0
Notes

This Pulumi package is based on the ovh Terraform Provider.