Alibaba Cloud

Pulumi Official
Package maintained by Pulumi
v3.22.0 published on Monday, Jun 27, 2022 by Pulumi

getMongoInstances

Using getMongoInstances

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 getMongoInstances(args: GetMongoInstancesArgs, opts?: InvokeOptions): Promise<GetMongoInstancesResult>
function getMongoInstancesOutput(args: GetMongoInstancesOutputArgs, opts?: InvokeOptions): Output<GetMongoInstancesResult>
def get_mongo_instances(availability_zone: Optional[str] = None,
                        ids: Optional[Sequence[str]] = None,
                        instance_class: Optional[str] = None,
                        instance_type: Optional[str] = None,
                        name_regex: Optional[str] = None,
                        output_file: Optional[str] = None,
                        tags: Optional[Mapping[str, Any]] = None,
                        opts: Optional[InvokeOptions] = None) -> GetMongoInstancesResult
def get_mongo_instances_output(availability_zone: Optional[pulumi.Input[str]] = None,
                        ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                        instance_class: Optional[pulumi.Input[str]] = None,
                        instance_type: Optional[pulumi.Input[str]] = None,
                        name_regex: Optional[pulumi.Input[str]] = None,
                        output_file: Optional[pulumi.Input[str]] = None,
                        tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetMongoInstancesResult]
func GetMongoInstances(ctx *Context, args *GetMongoInstancesArgs, opts ...InvokeOption) (*GetMongoInstancesResult, error)
func GetMongoInstancesOutput(ctx *Context, args *GetMongoInstancesOutputArgs, opts ...InvokeOption) GetMongoInstancesResultOutput

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

public static class GetMongoInstances 
{
    public static Task<GetMongoInstancesResult> InvokeAsync(GetMongoInstancesArgs args, InvokeOptions? opts = null)
    public static Output<GetMongoInstancesResult> Invoke(GetMongoInstancesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetMongoInstancesResult> getMongoInstances(GetMongoInstancesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: alicloud:dds/getMongoInstances:getMongoInstances
  Arguments:
    # Arguments dictionary

The following arguments are supported:

AvailabilityZone string
Ids List<string>
InstanceClass string
InstanceType string
NameRegex string
OutputFile string
Tags Dictionary<string, object>
AvailabilityZone string
Ids []string
InstanceClass string
InstanceType string
NameRegex string
OutputFile string
Tags map[string]interface{}
availabilityZone String
ids List<String>
instanceClass String
instanceType String
nameRegex String
outputFile String
tags Map<String,Object>
availabilityZone string
ids string[]
instanceClass string
instanceType string
nameRegex string
outputFile string
tags {[key: string]: any}
availability_zone str
ids Sequence[str]
instance_class str
instance_type str
name_regex str
output_file str
tags Mapping[str, Any]
availabilityZone String
ids List<String>
instanceClass String
instanceType String
nameRegex String
outputFile String
tags Map<Any>

getMongoInstances Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Ids List<string>
Instances List<Pulumi.AliCloud.Dds.Outputs.GetMongoInstancesInstance>
Names List<string>
AvailabilityZone string
InstanceClass string
InstanceType string
NameRegex string
OutputFile string
Tags Dictionary<string, object>
Id string

The provider-assigned unique ID for this managed resource.

Ids []string
Instances []GetMongoInstancesInstance
Names []string
AvailabilityZone string
InstanceClass string
InstanceType string
NameRegex string
OutputFile string
Tags map[string]interface{}
id String

The provider-assigned unique ID for this managed resource.

ids List<String>
instances List<GetMongoInstancesInstance>
names List<String>
availabilityZone String
instanceClass String
instanceType String
nameRegex String
outputFile String
tags Map<String,Object>
id string

The provider-assigned unique ID for this managed resource.

ids string[]
instances GetMongoInstancesInstance[]
names string[]
availabilityZone string
instanceClass string
instanceType string
nameRegex string
outputFile string
tags {[key: string]: any}
id str

The provider-assigned unique ID for this managed resource.

ids Sequence[str]
instances Sequence[GetMongoInstancesInstance]
names Sequence[str]
availability_zone str
instance_class str
instance_type str
name_regex str
output_file str
tags Mapping[str, Any]
id String

The provider-assigned unique ID for this managed resource.

ids List<String>
instances List<Property Map>
names List<String>
availabilityZone String
instanceClass String
instanceType String
nameRegex String
outputFile String
tags Map<Any>

Supporting Types

GetMongoInstancesInstance

GetMongoInstancesInstanceMongo

Class string
Description string
NodeId string
Class string
Description string
NodeId string
class_ String
description String
nodeId String
class string
description string
nodeId string
class String
description String
nodeId String

GetMongoInstancesInstanceShard

Class string
Description string
NodeId string
Storage int
Class string
Description string
NodeId string
Storage int
class_ String
description String
nodeId String
storage Integer
class string
description string
nodeId string
storage number
class String
description String
nodeId String
storage Number

Package Details

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

This Pulumi package is based on the alicloud Terraform Provider.