1. Packages
  2. Alicloud Provider
  3. API Docs
  4. dds
  5. getMongoInstances
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi

alicloud.dds.getMongoInstances

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi

    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:

    AvailabilityZone string
    Ids List<string>
    InstanceClass string
    InstanceType string
    NameRegex string
    OutputFile string
    Tags Dictionary<string, string>
    AvailabilityZone string
    Ids []string
    InstanceClass string
    InstanceType string
    NameRegex string
    OutputFile string
    Tags map[string]string
    availabilityZone String
    ids List<String>
    instanceClass String
    instanceType String
    nameRegex String
    outputFile String
    tags Map<String,String>
    availabilityZone string
    ids string[]
    instanceClass string
    instanceType string
    nameRegex string
    outputFile string
    tags {[key: string]: string}
    availability_zone str
    ids Sequence[str]
    instance_class str
    instance_type str
    name_regex str
    output_file str
    tags Mapping[str, str]
    availabilityZone String
    ids List<String>
    instanceClass String
    instanceType String
    nameRegex String
    outputFile String
    tags 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.AliCloud.Dds.Outputs.GetMongoInstancesInstance>
    Names List<string>
    AvailabilityZone string
    InstanceClass string
    InstanceType string
    NameRegex string
    OutputFile string
    Tags Dictionary<string, string>
    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]string
    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,String>
    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]: string}
    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, str]
    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<String>

    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
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi