1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getBhSourceTypes
tencentcloud 1.82.50 published on Tuesday, Dec 30, 2025 by tencentcloudstack
tencentcloud logo
tencentcloud 1.82.50 published on Tuesday, Dec 30, 2025 by tencentcloudstack

    Use this data source to query detailed information of BH source types

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getBhSourceTypes({});
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_bh_source_types()
    
    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.GetBhSourceTypes(ctx, &tencentcloud.GetBhSourceTypesArgs{}, 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 example = Tencentcloud.GetBhSourceTypes.Invoke();
    
    });
    
    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.GetBhSourceTypesArgs;
    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 example = TencentcloudFunctions.getBhSourceTypes(GetBhSourceTypesArgs.builder()
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getBhSourceTypes
          arguments: {}
    

    Using getBhSourceTypes

    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 getBhSourceTypes(args: GetBhSourceTypesArgs, opts?: InvokeOptions): Promise<GetBhSourceTypesResult>
    function getBhSourceTypesOutput(args: GetBhSourceTypesOutputArgs, opts?: InvokeOptions): Output<GetBhSourceTypesResult>
    def get_bh_source_types(id: Optional[str] = None,
                            result_output_file: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetBhSourceTypesResult
    def get_bh_source_types_output(id: Optional[pulumi.Input[str]] = None,
                            result_output_file: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetBhSourceTypesResult]
    func GetBhSourceTypes(ctx *Context, args *GetBhSourceTypesArgs, opts ...InvokeOption) (*GetBhSourceTypesResult, error)
    func GetBhSourceTypesOutput(ctx *Context, args *GetBhSourceTypesOutputArgs, opts ...InvokeOption) GetBhSourceTypesResultOutput

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

    public static class GetBhSourceTypes 
    {
        public static Task<GetBhSourceTypesResult> InvokeAsync(GetBhSourceTypesArgs args, InvokeOptions? opts = null)
        public static Output<GetBhSourceTypesResult> Invoke(GetBhSourceTypesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetBhSourceTypesResult> getBhSourceTypes(GetBhSourceTypesArgs args, InvokeOptions options)
    public static Output<GetBhSourceTypesResult> getBhSourceTypes(GetBhSourceTypesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getBhSourceTypes:getBhSourceTypes
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    ResultOutputFile string
    Used to save results.
    Id string
    ResultOutputFile string
    Used to save results.
    id String
    resultOutputFile String
    Used to save results.
    id string
    resultOutputFile string
    Used to save results.
    id str
    result_output_file str
    Used to save results.
    id String
    resultOutputFile String
    Used to save results.

    getBhSourceTypes Result

    The following output properties are available:

    Id string
    SourceTypeSets List<GetBhSourceTypesSourceTypeSet>
    Authentication source information.
    ResultOutputFile string
    Id string
    SourceTypeSets []GetBhSourceTypesSourceTypeSet
    Authentication source information.
    ResultOutputFile string
    id String
    sourceTypeSets List<GetBhSourceTypesSourceTypeSet>
    Authentication source information.
    resultOutputFile String
    id string
    sourceTypeSets GetBhSourceTypesSourceTypeSet[]
    Authentication source information.
    resultOutputFile string
    id String
    sourceTypeSets List<Property Map>
    Authentication source information.
    resultOutputFile String

    Supporting Types

    GetBhSourceTypesSourceTypeSet

    Name string
    Account group source name.
    Source double
    Account group source.
    Target string
    Distinguish between ioa original and iam-mini.
    Type string
    Account group source type.
    Name string
    Account group source name.
    Source float64
    Account group source.
    Target string
    Distinguish between ioa original and iam-mini.
    Type string
    Account group source type.
    name String
    Account group source name.
    source Double
    Account group source.
    target String
    Distinguish between ioa original and iam-mini.
    type String
    Account group source type.
    name string
    Account group source name.
    source number
    Account group source.
    target string
    Distinguish between ioa original and iam-mini.
    type string
    Account group source type.
    name str
    Account group source name.
    source float
    Account group source.
    target str
    Distinguish between ioa original and iam-mini.
    type str
    Account group source type.
    name String
    Account group source name.
    source Number
    Account group source.
    target String
    Distinguish between ioa original and iam-mini.
    type String
    Account group source type.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.82.50 published on Tuesday, Dec 30, 2025 by tencentcloudstack
      Meet Neo: Your AI Platform Teammate