Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi
alicloud.dds.getMongoInstances
Explore with Pulumi AI
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, str]] = 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, pulumi.Input[str]]]] = 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:
- Availability
Zone string - Ids List<string>
- Instance
Class string - Instance
Type string - Name
Regex string - Output
File string - Dictionary<string, string>
- Availability
Zone string - Ids []string
- Instance
Class string - Instance
Type string - Name
Regex string - Output
File string - map[string]string
- availability
Zone String - ids List<String>
- instance
Class String - instance
Type String - name
Regex String - output
File String - Map<String,String>
- availability
Zone string - ids string[]
- instance
Class string - instance
Type string - name
Regex string - output
File string - {[key: string]: string}
- availability_
zone str - ids Sequence[str]
- instance_
class str - instance_
type str - name_
regex str - output_
file str - Mapping[str, str]
- availability
Zone String - ids List<String>
- instance
Class String - instance
Type String - name
Regex String - output
File String - Map<String>
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.
Ali Cloud. Dds. Outputs. Get Mongo Instances Instance> - Names List<string>
- Availability
Zone string - Instance
Class string - Instance
Type string - Name
Regex string - Output
File string - Dictionary<string, string>
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Instances
[]Get
Mongo Instances Instance - Names []string
- Availability
Zone string - Instance
Class string - Instance
Type string - Name
Regex string - Output
File string - map[string]string
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- instances
List<Get
Mongo Instances Instance> - names List<String>
- availability
Zone String - instance
Class String - instance
Type String - name
Regex String - output
File String - Map<String,String>
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- instances
Get
Mongo Instances Instance[] - names string[]
- availability
Zone string - instance
Class string - instance
Type string - name
Regex string - output
File string - {[key: string]: string}
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- instances
Sequence[Get
Mongo Instances Instance] - names Sequence[str]
- availability_
zone str - instance_
class str - instance_
type str - name_
regex str - output_
file str - Mapping[str, str]
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- instances List<Property Map>
- names List<String>
- availability
Zone String - instance
Class String - instance
Type String - name
Regex String - output
File String - Map<String>
Supporting Types
GetMongoInstancesInstance
- Availability
Zone string - Charge
Type string - Creation
Time string - Engine string
- Engine
Version string - Expiration
Time string - Id string
- Instance
Class string - Instance
Type string - Lock
Mode string - Mongos
List<Pulumi.
Ali Cloud. Dds. Inputs. Get Mongo Instances Instance Mongo> - Name string
- Network
Type string - Region
Id string - Replication string
- List<Pulumi.
Ali Cloud. Dds. Inputs. Get Mongo Instances Instance Shard> - Status string
- Storage int
- Dictionary<string, string>
- Availability
Zone string - Charge
Type string - Creation
Time string - Engine string
- Engine
Version string - Expiration
Time string - Id string
- Instance
Class string - Instance
Type string - Lock
Mode string - Mongos
[]Get
Mongo Instances Instance Mongo - Name string
- Network
Type string - Region
Id string - Replication string
- []Get
Mongo Instances Instance Shard - Status string
- Storage int
- map[string]string
- availability
Zone String - charge
Type String - creation
Time String - engine String
- engine
Version String - expiration
Time String - id String
- instance
Class String - instance
Type String - lock
Mode String - mongos
List<Get
Mongo Instances Instance Mongo> - name String
- network
Type String - region
Id String - replication String
- List<Get
Mongo Instances Instance Shard> - status String
- storage Integer
- Map<String,String>
- availability
Zone string - charge
Type string - creation
Time string - engine string
- engine
Version string - expiration
Time string - id string
- instance
Class string - instance
Type string - lock
Mode string - mongos
Get
Mongo Instances Instance Mongo[] - name string
- network
Type string - region
Id string - replication string
- Get
Mongo Instances Instance Shard[] - status string
- storage number
- {[key: string]: string}
- availability_
zone str - charge_
type str - creation_
time str - engine str
- engine_
version str - expiration_
time str - id str
- instance_
class str - instance_
type str - lock_
mode str - mongos
Sequence[Get
Mongo Instances Instance Mongo] - name str
- network_
type str - region_
id str - replication str
- Sequence[Get
Mongo Instances Instance Shard] - status str
- storage int
- Mapping[str, str]
- availability
Zone String - charge
Type String - creation
Time String - engine String
- engine
Version String - expiration
Time String - id String
- instance
Class String - instance
Type String - lock
Mode String - mongos List<Property Map>
- name String
- network
Type String - region
Id String - replication String
- List<Property Map>
- status String
- storage Number
- Map<String>
GetMongoInstancesInstanceMongo
- Class string
- Description string
- Node
Id string
- Class string
- Description string
- Node
Id string
- class_ String
- description String
- node
Id String
- class string
- description string
- node
Id string
- class_ str
- description str
- node_
id str
- class String
- description String
- node
Id String
GetMongoInstancesInstanceShard
- Class string
- Description string
- Node
Id string - Storage int
- Class string
- Description string
- Node
Id string - Storage int
- class_ String
- description String
- node
Id String - storage Integer
- class string
- description string
- node
Id string - storage number
- class_ str
- description str
- node_
id str - storage int
- class String
- description String
- node
Id String - storage Number
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.