flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
flexibleengine.getDdmSchemas
Start a Neo task
Explain and create a flexibleengine.getDdmSchemas resource
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
Use this data source to get the list of DDM schemas.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const config = new pulumi.Config();
const ddmInstanceId = config.requireObject("ddmInstanceId");
const ddmSchemaName = config.requireObject("ddmSchemaName");
const test = flexibleengine.getDdmSchemas({
instanceId: ddmInstanceId,
name: ddmSchemaName,
});
import pulumi
import pulumi_flexibleengine as flexibleengine
config = pulumi.Config()
ddm_instance_id = config.require_object("ddmInstanceId")
ddm_schema_name = config.require_object("ddmSchemaName")
test = flexibleengine.get_ddm_schemas(instance_id=ddm_instance_id,
name=ddm_schema_name)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
ddmInstanceId := cfg.RequireObject("ddmInstanceId")
ddmSchemaName := cfg.RequireObject("ddmSchemaName")
_, err := flexibleengine.GetDdmSchemas(ctx, &flexibleengine.GetDdmSchemasArgs{
InstanceId: ddmInstanceId,
Name: pulumi.StringRef(ddmSchemaName),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var ddmInstanceId = config.RequireObject<dynamic>("ddmInstanceId");
var ddmSchemaName = config.RequireObject<dynamic>("ddmSchemaName");
var test = Flexibleengine.GetDdmSchemas.Invoke(new()
{
InstanceId = ddmInstanceId,
Name = ddmSchemaName,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.FlexibleengineFunctions;
import com.pulumi.flexibleengine.inputs.GetDdmSchemasArgs;
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 config = ctx.config();
final var ddmInstanceId = config.get("ddmInstanceId");
final var ddmSchemaName = config.get("ddmSchemaName");
final var test = FlexibleengineFunctions.getDdmSchemas(GetDdmSchemasArgs.builder()
.instanceId(ddmInstanceId)
.name(ddmSchemaName)
.build());
}
}
configuration:
ddmInstanceId:
type: dynamic
ddmSchemaName:
type: dynamic
variables:
test:
fn::invoke:
function: flexibleengine:getDdmSchemas
arguments:
instanceId: ${ddmInstanceId}
name: ${ddmSchemaName}
Using getDdmSchemas
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 getDdmSchemas(args: GetDdmSchemasArgs, opts?: InvokeOptions): Promise<GetDdmSchemasResult>
function getDdmSchemasOutput(args: GetDdmSchemasOutputArgs, opts?: InvokeOptions): Output<GetDdmSchemasResult>def get_ddm_schemas(id: Optional[str] = None,
instance_id: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
shard_mode: Optional[str] = None,
status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDdmSchemasResult
def get_ddm_schemas_output(id: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
shard_mode: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDdmSchemasResult]func GetDdmSchemas(ctx *Context, args *GetDdmSchemasArgs, opts ...InvokeOption) (*GetDdmSchemasResult, error)
func GetDdmSchemasOutput(ctx *Context, args *GetDdmSchemasOutputArgs, opts ...InvokeOption) GetDdmSchemasResultOutput> Note: This function is named GetDdmSchemas in the Go SDK.
public static class GetDdmSchemas
{
public static Task<GetDdmSchemasResult> InvokeAsync(GetDdmSchemasArgs args, InvokeOptions? opts = null)
public static Output<GetDdmSchemasResult> Invoke(GetDdmSchemasInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDdmSchemasResult> getDdmSchemas(GetDdmSchemasArgs args, InvokeOptions options)
public static Output<GetDdmSchemasResult> getDdmSchemas(GetDdmSchemasArgs args, InvokeOptions options)
fn::invoke:
function: flexibleengine:index/getDdmSchemas:getDdmSchemas
arguments:
# arguments dictionaryThe following arguments are supported:
- Instance
Id string - Specifies the ID of DDM instance.
- Id string
- Indicates the node ID of the associated RDS instance.
- Name string
- Specifies the name of the DDM schema.
- Region string
- Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
- string
- Specifies the sharding mode of the schema. Values option: cluster, single.
- Status string
- Specifies the status of the DDM schema.
- Instance
Id string - Specifies the ID of DDM instance.
- Id string
- Indicates the node ID of the associated RDS instance.
- Name string
- Specifies the name of the DDM schema.
- Region string
- Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
- string
- Specifies the sharding mode of the schema. Values option: cluster, single.
- Status string
- Specifies the status of the DDM schema.
- instance
Id String - Specifies the ID of DDM instance.
- id String
- Indicates the node ID of the associated RDS instance.
- name String
- Specifies the name of the DDM schema.
- region String
- Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
- String
- Specifies the sharding mode of the schema. Values option: cluster, single.
- status String
- Specifies the status of the DDM schema.
- instance
Id string - Specifies the ID of DDM instance.
- id string
- Indicates the node ID of the associated RDS instance.
- name string
- Specifies the name of the DDM schema.
- region string
- Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
- string
- Specifies the sharding mode of the schema. Values option: cluster, single.
- status string
- Specifies the status of the DDM schema.
- instance_
id str - Specifies the ID of DDM instance.
- id str
- Indicates the node ID of the associated RDS instance.
- name str
- Specifies the name of the DDM schema.
- region str
- Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
- str
- Specifies the sharding mode of the schema. Values option: cluster, single.
- status str
- Specifies the status of the DDM schema.
- instance
Id String - Specifies the ID of DDM instance.
- id String
- Indicates the node ID of the associated RDS instance.
- name String
- Specifies the name of the DDM schema.
- region String
- Specifies the region in which to query the data source. If omitted, the provider-level region will be used.
- String
- Specifies the sharding mode of the schema. Values option: cluster, single.
- status String
- Specifies the status of the DDM schema.
getDdmSchemas Result
The following output properties are available:
- Id string
- Indicates the node ID of the associated RDS instance.
- Instance
Id string - Region string
- Schemas
List<Get
Ddm Schemas Schema> - Indicates the list of DDM schema. The Schema structure is documented below.
- Name string
- Indicates the name of the associated RDS instance.
- string
- Indicates the sharding mode of the schema.
- Status string
- Indicates the status of the associated RDS instance
- Id string
- Indicates the node ID of the associated RDS instance.
- Instance
Id string - Region string
- Schemas
[]Get
Ddm Schemas Schema - Indicates the list of DDM schema. The Schema structure is documented below.
- Name string
- Indicates the name of the associated RDS instance.
- string
- Indicates the sharding mode of the schema.
- Status string
- Indicates the status of the associated RDS instance
- id String
- Indicates the node ID of the associated RDS instance.
- instance
Id String - region String
- schemas
List<Get
Ddm Schemas Schema> - Indicates the list of DDM schema. The Schema structure is documented below.
- name String
- Indicates the name of the associated RDS instance.
- String
- Indicates the sharding mode of the schema.
- status String
- Indicates the status of the associated RDS instance
- id string
- Indicates the node ID of the associated RDS instance.
- instance
Id string - region string
- schemas
Get
Ddm Schemas Schema[] - Indicates the list of DDM schema. The Schema structure is documented below.
- name string
- Indicates the name of the associated RDS instance.
- string
- Indicates the sharding mode of the schema.
- status string
- Indicates the status of the associated RDS instance
- id str
- Indicates the node ID of the associated RDS instance.
- instance_
id str - region str
- schemas
Sequence[Get
Ddm Schemas Schema] - Indicates the list of DDM schema. The Schema structure is documented below.
- name str
- Indicates the name of the associated RDS instance.
- str
- Indicates the sharding mode of the schema.
- status str
- Indicates the status of the associated RDS instance
- id String
- Indicates the node ID of the associated RDS instance.
- instance
Id String - region String
- schemas List<Property Map>
- Indicates the list of DDM schema. The Schema structure is documented below.
- name String
- Indicates the name of the associated RDS instance.
- String
- Indicates the sharding mode of the schema.
- status String
- Indicates the status of the associated RDS instance
Supporting Types
GetDdmSchemasSchema
- Data
Nodes List<GetDdm Schemas Schema Data Node> - Indicates the RDS instances associated with the schema. The DataNode structure is documented below.
- Name string
- Specifies the name of the DDM schema.
- string
- Specifies the sharding mode of the schema. Values option: cluster, single.
- double
- Indicates the number of shards in the same working mode.
- Status string
- Specifies the status of the DDM schema.
- Data
Nodes []GetDdm Schemas Schema Data Node - Indicates the RDS instances associated with the schema. The DataNode structure is documented below.
- Name string
- Specifies the name of the DDM schema.
- string
- Specifies the sharding mode of the schema. Values option: cluster, single.
- float64
- Indicates the number of shards in the same working mode.
- Status string
- Specifies the status of the DDM schema.
- data
Nodes List<GetDdm Schemas Schema Data Node> - Indicates the RDS instances associated with the schema. The DataNode structure is documented below.
- name String
- Specifies the name of the DDM schema.
- String
- Specifies the sharding mode of the schema. Values option: cluster, single.
- Double
- Indicates the number of shards in the same working mode.
- status String
- Specifies the status of the DDM schema.
- data
Nodes GetDdm Schemas Schema Data Node[] - Indicates the RDS instances associated with the schema. The DataNode structure is documented below.
- name string
- Specifies the name of the DDM schema.
- string
- Specifies the sharding mode of the schema. Values option: cluster, single.
- number
- Indicates the number of shards in the same working mode.
- status string
- Specifies the status of the DDM schema.
- data_
nodes Sequence[GetDdm Schemas Schema Data Node] - Indicates the RDS instances associated with the schema. The DataNode structure is documented below.
- name str
- Specifies the name of the DDM schema.
- str
- Specifies the sharding mode of the schema. Values option: cluster, single.
- float
- Indicates the number of shards in the same working mode.
- status str
- Specifies the status of the DDM schema.
- data
Nodes List<Property Map> - Indicates the RDS instances associated with the schema. The DataNode structure is documented below.
- name String
- Specifies the name of the DDM schema.
- String
- Specifies the sharding mode of the schema. Values option: cluster, single.
- Number
- Indicates the number of shards in the same working mode.
- status String
- Specifies the status of the DDM schema.
GetDdmSchemasSchemaDataNode
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengineTerraform Provider.
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
