1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. elasticsearch
  5. getInstances
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

alicloud.elasticsearch.getInstances

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

    Using getInstances

    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 getInstances(args: GetInstancesArgs, opts?: InvokeOptions): Promise<GetInstancesResult>
    function getInstancesOutput(args: GetInstancesOutputArgs, opts?: InvokeOptions): Output<GetInstancesResult>
    def get_instances(description_regex: Optional[str] = None,
                      ids: Optional[Sequence[str]] = None,
                      output_file: Optional[str] = None,
                      tags: Optional[Mapping[str, Any]] = None,
                      version: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetInstancesResult
    def get_instances_output(description_regex: Optional[pulumi.Input[str]] = None,
                      ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                      output_file: Optional[pulumi.Input[str]] = None,
                      tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
                      version: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetInstancesResult]
    func GetInstances(ctx *Context, args *GetInstancesArgs, opts ...InvokeOption) (*GetInstancesResult, error)
    func GetInstancesOutput(ctx *Context, args *GetInstancesOutputArgs, opts ...InvokeOption) GetInstancesResultOutput

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

    public static class GetInstances 
    {
        public static Task<GetInstancesResult> InvokeAsync(GetInstancesArgs args, InvokeOptions? opts = null)
        public static Output<GetInstancesResult> Invoke(GetInstancesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetInstancesResult> getInstances(GetInstancesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: alicloud:elasticsearch/getInstances:getInstances
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DescriptionRegex string
    Ids List<string>
    OutputFile string
    Tags Dictionary<string, object>
    Version string
    DescriptionRegex string
    Ids []string
    OutputFile string
    Tags map[string]interface{}
    Version string
    descriptionRegex String
    ids List<String>
    outputFile String
    tags Map<String,Object>
    version String
    descriptionRegex string
    ids string[]
    outputFile string
    tags {[key: string]: any}
    version string
    description_regex str
    ids Sequence[str]
    output_file str
    tags Mapping[str, Any]
    version str
    descriptionRegex String
    ids List<String>
    outputFile String
    tags Map<Any>
    version String

    getInstances Result

    The following output properties are available:

    Descriptions List<string>
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    Instances List<Pulumi.AliCloud.ElasticSearch.Outputs.GetInstancesInstance>
    DescriptionRegex string
    OutputFile string
    Tags Dictionary<string, object>
    Version string
    Descriptions []string
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    Instances []GetInstancesInstance
    DescriptionRegex string
    OutputFile string
    Tags map[string]interface{}
    Version string
    descriptions List<String>
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    instances List<GetInstancesInstance>
    descriptionRegex String
    outputFile String
    tags Map<String,Object>
    version String
    descriptions string[]
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    instances GetInstancesInstance[]
    descriptionRegex string
    outputFile string
    tags {[key: string]: any}
    version string
    descriptions Sequence[str]
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    instances Sequence[GetInstancesInstance]
    description_regex str
    output_file str
    tags Mapping[str, Any]
    version str
    descriptions List<String>
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    instances List<Property Map>
    descriptionRegex String
    outputFile String
    tags Map<Any>
    version String

    Supporting Types

    GetInstancesInstance

    CreatedAt string
    DataNodeAmount int
    DataNodeDiskSize int
    DataNodeDiskType string
    DataNodeSpec string
    Description string
    Id string
    InstanceChargeType string
    Status string
    Tags Dictionary<string, object>
    UpdatedAt string
    Version string
    VswitchId string
    CreatedAt string
    DataNodeAmount int
    DataNodeDiskSize int
    DataNodeDiskType string
    DataNodeSpec string
    Description string
    Id string
    InstanceChargeType string
    Status string
    Tags map[string]interface{}
    UpdatedAt string
    Version string
    VswitchId string
    createdAt String
    dataNodeAmount Integer
    dataNodeDiskSize Integer
    dataNodeDiskType String
    dataNodeSpec String
    description String
    id String
    instanceChargeType String
    status String
    tags Map<String,Object>
    updatedAt String
    version String
    vswitchId String
    createdAt string
    dataNodeAmount number
    dataNodeDiskSize number
    dataNodeDiskType string
    dataNodeSpec string
    description string
    id string
    instanceChargeType string
    status string
    tags {[key: string]: any}
    updatedAt string
    version string
    vswitchId string
    createdAt String
    dataNodeAmount Number
    dataNodeDiskSize Number
    dataNodeDiskType String
    dataNodeSpec String
    description String
    id String
    instanceChargeType String
    status String
    tags Map<Any>
    updatedAt String
    version String
    vswitchId String

    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.57.1 published on Wednesday, Jun 26, 2024 by Pulumi