1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getTseZookeeperServerInterfaces
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getTseZookeeperServerInterfaces

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query detailed information of tse zookeeper_server_interfaces

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const zookeeperServerInterfaces = tencentcloud.getTseZookeeperServerInterfaces({
        instanceId: "ins-7eb7eea7",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    zookeeper_server_interfaces = tencentcloud.get_tse_zookeeper_server_interfaces(instance_id="ins-7eb7eea7")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetTseZookeeperServerInterfaces(ctx, &tencentcloud.GetTseZookeeperServerInterfacesArgs{
    			InstanceId: "ins-7eb7eea7",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var zookeeperServerInterfaces = Tencentcloud.GetTseZookeeperServerInterfaces.Invoke(new()
        {
            InstanceId = "ins-7eb7eea7",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetTseZookeeperServerInterfacesArgs;
    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 zookeeperServerInterfaces = TencentcloudFunctions.getTseZookeeperServerInterfaces(GetTseZookeeperServerInterfacesArgs.builder()
                .instanceId("ins-7eb7eea7")
                .build());
    
        }
    }
    
    variables:
      zookeeperServerInterfaces:
        fn::invoke:
          function: tencentcloud:getTseZookeeperServerInterfaces
          arguments:
            instanceId: ins-7eb7eea7
    

    Using getTseZookeeperServerInterfaces

    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 getTseZookeeperServerInterfaces(args: GetTseZookeeperServerInterfacesArgs, opts?: InvokeOptions): Promise<GetTseZookeeperServerInterfacesResult>
    function getTseZookeeperServerInterfacesOutput(args: GetTseZookeeperServerInterfacesOutputArgs, opts?: InvokeOptions): Output<GetTseZookeeperServerInterfacesResult>
    def get_tse_zookeeper_server_interfaces(id: Optional[str] = None,
                                            instance_id: Optional[str] = None,
                                            result_output_file: Optional[str] = None,
                                            opts: Optional[InvokeOptions] = None) -> GetTseZookeeperServerInterfacesResult
    def get_tse_zookeeper_server_interfaces_output(id: Optional[pulumi.Input[str]] = None,
                                            instance_id: Optional[pulumi.Input[str]] = None,
                                            result_output_file: Optional[pulumi.Input[str]] = None,
                                            opts: Optional[InvokeOptions] = None) -> Output[GetTseZookeeperServerInterfacesResult]
    func GetTseZookeeperServerInterfaces(ctx *Context, args *GetTseZookeeperServerInterfacesArgs, opts ...InvokeOption) (*GetTseZookeeperServerInterfacesResult, error)
    func GetTseZookeeperServerInterfacesOutput(ctx *Context, args *GetTseZookeeperServerInterfacesOutputArgs, opts ...InvokeOption) GetTseZookeeperServerInterfacesResultOutput

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

    public static class GetTseZookeeperServerInterfaces 
    {
        public static Task<GetTseZookeeperServerInterfacesResult> InvokeAsync(GetTseZookeeperServerInterfacesArgs args, InvokeOptions? opts = null)
        public static Output<GetTseZookeeperServerInterfacesResult> Invoke(GetTseZookeeperServerInterfacesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTseZookeeperServerInterfacesResult> getTseZookeeperServerInterfaces(GetTseZookeeperServerInterfacesArgs args, InvokeOptions options)
    public static Output<GetTseZookeeperServerInterfacesResult> getTseZookeeperServerInterfaces(GetTseZookeeperServerInterfacesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getTseZookeeperServerInterfaces:getTseZookeeperServerInterfaces
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InstanceId string
    engine instance ID.
    Id string
    ResultOutputFile string
    Used to save results.
    InstanceId string
    engine instance ID.
    Id string
    ResultOutputFile string
    Used to save results.
    instanceId String
    engine instance ID.
    id String
    resultOutputFile String
    Used to save results.
    instanceId string
    engine instance ID.
    id string
    resultOutputFile string
    Used to save results.
    instance_id str
    engine instance ID.
    id str
    result_output_file str
    Used to save results.
    instanceId String
    engine instance ID.
    id String
    resultOutputFile String
    Used to save results.

    getTseZookeeperServerInterfaces Result

    The following output properties are available:

    contents List<Property Map>
    interface list.
    id String
    instanceId String
    resultOutputFile String

    Supporting Types

    GetTseZookeeperServerInterfacesContent

    Interface string
    interface nameNote: This field may return null, indicating that a valid value is not available.
    Interface string
    interface nameNote: This field may return null, indicating that a valid value is not available.
    interface_ String
    interface nameNote: This field may return null, indicating that a valid value is not available.
    interface string
    interface nameNote: This field may return null, indicating that a valid value is not available.
    interface str
    interface nameNote: This field may return null, indicating that a valid value is not available.
    interface String
    interface nameNote: This field may return null, indicating that a valid value is not available.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack