OVHCloud v0.45.0 published on Tuesday, Jun 4, 2024 by OVHcloud
ovh.Dedicated.getCeph
Explore with Pulumi AI
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:
- Service
Name string - The service name of the dedicated CEPH cluster.
- Ceph
Version string - CEPH cluster version
- Status string
- the status of the service
- Service
Name string - The service name of the dedicated CEPH cluster.
- Ceph
Version string - CEPH cluster version
- Status string
- the status of the service
- service
Name String - The service name of the dedicated CEPH cluster.
- ceph
Version String - CEPH cluster version
- status String
- the status of the service
- service
Name string - The service name of the dedicated CEPH cluster.
- ceph
Version 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
- service
Name String - The service name of the dedicated CEPH cluster.
- ceph
Version String - CEPH cluster version
- status String
- the status of the service
getCeph Result
The following output properties are available:
- Ceph
Mons List<string> - list of CEPH monitors IPs
- Ceph
URN string - URN of the CEPH instance
- Ceph
Version string - CEPH cluster version
- Crush
Tunables 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
- Service
Name string - Size double
- Cluster size in TB
- State string
- the state of the cluster
- Status string
- the status of the service
- Ceph
Mons []string - list of CEPH monitors IPs
- Ceph
URN string - URN of the CEPH instance
- Ceph
Version string - CEPH cluster version
- Crush
Tunables 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
- Service
Name string - Size float64
- Cluster size in TB
- State string
- the state of the cluster
- Status string
- the status of the service
- Ceph
URN String - URN of the CEPH instance
- ceph
Mons List<String> - list of CEPH monitors IPs
- ceph
Version String - CEPH cluster version
- crush
Tunables 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
- service
Name String - size Double
- Cluster size in TB
- state String
- the state of the cluster
- status String
- the status of the service
- Ceph
URN string - URN of the CEPH instance
- ceph
Mons string[] - list of CEPH monitors IPs
- ceph
Version string - CEPH cluster version
- crush
Tunables 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
- service
Name 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
- Ceph
URN String - URN of the CEPH instance
- ceph
Mons List<String> - list of CEPH monitors IPs
- ceph
Version String - CEPH cluster version
- crush
Tunables 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
- service
Name 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.