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

tencentcloud.getTseNacosServerInterfaces

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 nacos_server_interfaces

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const nacosServerInterfaces = tencentcloud.getTseNacosServerInterfaces({
        instanceId: "ins-xxxxxx",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    nacos_server_interfaces = tencentcloud.get_tse_nacos_server_interfaces(instance_id="ins-xxxxxx")
    
    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.GetTseNacosServerInterfaces(ctx, &tencentcloud.GetTseNacosServerInterfacesArgs{
    			InstanceId: pulumi.StringRef("ins-xxxxxx"),
    		}, 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 nacosServerInterfaces = Tencentcloud.GetTseNacosServerInterfaces.Invoke(new()
        {
            InstanceId = "ins-xxxxxx",
        });
    
    });
    
    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.GetTseNacosServerInterfacesArgs;
    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 nacosServerInterfaces = TencentcloudFunctions.getTseNacosServerInterfaces(GetTseNacosServerInterfacesArgs.builder()
                .instanceId("ins-xxxxxx")
                .build());
    
        }
    }
    
    variables:
      nacosServerInterfaces:
        fn::invoke:
          function: tencentcloud:getTseNacosServerInterfaces
          arguments:
            instanceId: ins-xxxxxx
    

    Using getTseNacosServerInterfaces

    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 getTseNacosServerInterfaces(args: GetTseNacosServerInterfacesArgs, opts?: InvokeOptions): Promise<GetTseNacosServerInterfacesResult>
    function getTseNacosServerInterfacesOutput(args: GetTseNacosServerInterfacesOutputArgs, opts?: InvokeOptions): Output<GetTseNacosServerInterfacesResult>
    def get_tse_nacos_server_interfaces(id: Optional[str] = None,
                                        instance_id: Optional[str] = None,
                                        result_output_file: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetTseNacosServerInterfacesResult
    def get_tse_nacos_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[GetTseNacosServerInterfacesResult]
    func GetTseNacosServerInterfaces(ctx *Context, args *GetTseNacosServerInterfacesArgs, opts ...InvokeOption) (*GetTseNacosServerInterfacesResult, error)
    func GetTseNacosServerInterfacesOutput(ctx *Context, args *GetTseNacosServerInterfacesOutputArgs, opts ...InvokeOption) GetTseNacosServerInterfacesResultOutput

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

    public static class GetTseNacosServerInterfaces 
    {
        public static Task<GetTseNacosServerInterfacesResult> InvokeAsync(GetTseNacosServerInterfacesArgs args, InvokeOptions? opts = null)
        public static Output<GetTseNacosServerInterfacesResult> Invoke(GetTseNacosServerInterfacesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTseNacosServerInterfacesResult> getTseNacosServerInterfaces(GetTseNacosServerInterfacesArgs args, InvokeOptions options)
    public static Output<GetTseNacosServerInterfacesResult> getTseNacosServerInterfaces(GetTseNacosServerInterfacesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getTseNacosServerInterfaces:getTseNacosServerInterfaces
      arguments:
        # arguments dictionary

    The following arguments are supported:

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

    getTseNacosServerInterfaces Result

    The following output properties are available:

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

    Supporting Types

    GetTseNacosServerInterfacesContent

    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