Ovh

v0.1.0 published on Friday, Nov 4, 2022 by lbrlabs

getCapabilities

Use this data source to get information about capabilities of a public cloud project.

Using getCapabilities

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 getCapabilities(args: GetCapabilitiesArgs, opts?: InvokeOptions): Promise<GetCapabilitiesResult>
function getCapabilitiesOutput(args: GetCapabilitiesOutputArgs, opts?: InvokeOptions): Output<GetCapabilitiesResult>
def get_capabilities(service_name: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetCapabilitiesResult
def get_capabilities_output(service_name: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetCapabilitiesResult]
func GetCapabilities(ctx *Context, args *GetCapabilitiesArgs, opts ...InvokeOption) (*GetCapabilitiesResult, error)
func GetCapabilitiesOutput(ctx *Context, args *GetCapabilitiesOutputArgs, opts ...InvokeOption) GetCapabilitiesResultOutput

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

public static class GetCapabilities 
{
    public static Task<GetCapabilitiesResult> InvokeAsync(GetCapabilitiesArgs args, InvokeOptions? opts = null)
    public static Output<GetCapabilitiesResult> Invoke(GetCapabilitiesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCapabilitiesResult> getCapabilities(GetCapabilitiesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: ovh:CloudProjectDatabase/getCapabilities:getCapabilities
  arguments:
    # arguments dictionary

The following arguments are supported:

ServiceName string

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

ServiceName string

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

serviceName String

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

serviceName string

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

service_name str

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

serviceName String

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

getCapabilities Result

The following output properties are available:

Engines []GetCapabilitiesEngine

Database engines available.

Flavors []GetCapabilitiesFlavor

Flavors available.

Id string

The provider-assigned unique ID for this managed resource.

Options []GetCapabilitiesOption

Options available.

Plans []GetCapabilitiesPlan

Plans available.

ServiceName string

See Argument Reference above.

engines List<GetCapabilitiesEngine>

Database engines available.

flavors List<GetCapabilitiesFlavor>

Flavors available.

id String

The provider-assigned unique ID for this managed resource.

options List<GetCapabilitiesOption>

Options available.

plans List<GetCapabilitiesPlan>

Plans available.

serviceName String

See Argument Reference above.

engines GetCapabilitiesEngine[]

Database engines available.

flavors GetCapabilitiesFlavor[]

Flavors available.

id string

The provider-assigned unique ID for this managed resource.

options GetCapabilitiesOption[]

Options available.

plans GetCapabilitiesPlan[]

Plans available.

serviceName string

See Argument Reference above.

engines GetCapabilitiesEngine]

Database engines available.

flavors GetCapabilitiesFlavor]

Flavors available.

id str

The provider-assigned unique ID for this managed resource.

options GetCapabilitiesOption]

Options available.

plans GetCapabilitiesPlan]

Plans available.

service_name str

See Argument Reference above.

engines List<Property Map>

Database engines available.

flavors List<Property Map>

Flavors available.

id String

The provider-assigned unique ID for this managed resource.

options List<Property Map>

Options available.

plans List<Property Map>

Plans available.

serviceName String

See Argument Reference above.

Supporting Types

GetCapabilitiesEngine

DefaultVersion string

Default version used for the engine.

Description string

Description of the plan.

Name string

Name of the plan.

SslModes List<string>

SSL modes for this engine.

Versions List<string>

Versions available for this engine.

DefaultVersion string

Default version used for the engine.

Description string

Description of the plan.

Name string

Name of the plan.

SslModes []string

SSL modes for this engine.

Versions []string

Versions available for this engine.

defaultVersion String

Default version used for the engine.

description String

Description of the plan.

name String

Name of the plan.

sslModes List<String>

SSL modes for this engine.

versions List<String>

Versions available for this engine.

defaultVersion string

Default version used for the engine.

description string

Description of the plan.

name string

Name of the plan.

sslModes string[]

SSL modes for this engine.

versions string[]

Versions available for this engine.

default_version str

Default version used for the engine.

description str

Description of the plan.

name str

Name of the plan.

ssl_modes Sequence[str]

SSL modes for this engine.

versions Sequence[str]

Versions available for this engine.

defaultVersion String

Default version used for the engine.

description String

Description of the plan.

name String

Name of the plan.

sslModes List<String>

SSL modes for this engine.

versions List<String>

Versions available for this engine.

GetCapabilitiesFlavor

Core int

Flavor core number.

Memory int

Flavor ram size in GB.

Name string

Name of the plan.

Storage int

Flavor disk size in GB.

Core int

Flavor core number.

Memory int

Flavor ram size in GB.

Name string

Name of the plan.

Storage int

Flavor disk size in GB.

core Integer

Flavor core number.

memory Integer

Flavor ram size in GB.

name String

Name of the plan.

storage Integer

Flavor disk size in GB.

core number

Flavor core number.

memory number

Flavor ram size in GB.

name string

Name of the plan.

storage number

Flavor disk size in GB.

core int

Flavor core number.

memory int

Flavor ram size in GB.

name str

Name of the plan.

storage int

Flavor disk size in GB.

core Number

Flavor core number.

memory Number

Flavor ram size in GB.

name String

Name of the plan.

storage Number

Flavor disk size in GB.

GetCapabilitiesOption

Name string

Name of the plan.

Type string

Type of the option.

Name string

Name of the plan.

Type string

Type of the option.

name String

Name of the plan.

type String

Type of the option.

name string

Name of the plan.

type string

Type of the option.

name str

Name of the plan.

type str

Type of the option.

name String

Name of the plan.

type String

Type of the option.

GetCapabilitiesPlan

BackupRetention string

Automatic backup retention duration.

Description string

Description of the plan.

Name string

Name of the plan.

BackupRetention string

Automatic backup retention duration.

Description string

Description of the plan.

Name string

Name of the plan.

backupRetention String

Automatic backup retention duration.

description String

Description of the plan.

name String

Name of the plan.

backupRetention string

Automatic backup retention duration.

description string

Description of the plan.

name string

Name of the plan.

backup_retention str

Automatic backup retention duration.

description str

Description of the plan.

name str

Name of the plan.

backupRetention String

Automatic backup retention duration.

description String

Description of the plan.

name String

Name of the plan.

Package Details

Repository
https://github.com/lbrlabs/pulumi-ovh
License
Apache-2.0
Notes

This Pulumi package is based on the ovh Terraform Provider.