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

tencentcloud.getChdfsAccessGroups

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 chdfs access_groups

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const accessGroups = tencentcloud.getChdfsAccessGroups({
        vpcId: "vpc-pewdpc0d",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    access_groups = tencentcloud.get_chdfs_access_groups(vpc_id="vpc-pewdpc0d")
    
    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.GetChdfsAccessGroups(ctx, &tencentcloud.GetChdfsAccessGroupsArgs{
    			VpcId: pulumi.StringRef("vpc-pewdpc0d"),
    		}, 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 accessGroups = Tencentcloud.GetChdfsAccessGroups.Invoke(new()
        {
            VpcId = "vpc-pewdpc0d",
        });
    
    });
    
    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.GetChdfsAccessGroupsArgs;
    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 accessGroups = TencentcloudFunctions.getChdfsAccessGroups(GetChdfsAccessGroupsArgs.builder()
                .vpcId("vpc-pewdpc0d")
                .build());
    
        }
    }
    
    variables:
      accessGroups:
        fn::invoke:
          function: tencentcloud:getChdfsAccessGroups
          arguments:
            vpcId: vpc-pewdpc0d
    

    Using getChdfsAccessGroups

    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 getChdfsAccessGroups(args: GetChdfsAccessGroupsArgs, opts?: InvokeOptions): Promise<GetChdfsAccessGroupsResult>
    function getChdfsAccessGroupsOutput(args: GetChdfsAccessGroupsOutputArgs, opts?: InvokeOptions): Output<GetChdfsAccessGroupsResult>
    def get_chdfs_access_groups(id: Optional[str] = None,
                                owner_uin: Optional[float] = None,
                                result_output_file: Optional[str] = None,
                                vpc_id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetChdfsAccessGroupsResult
    def get_chdfs_access_groups_output(id: Optional[pulumi.Input[str]] = None,
                                owner_uin: Optional[pulumi.Input[float]] = None,
                                result_output_file: Optional[pulumi.Input[str]] = None,
                                vpc_id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetChdfsAccessGroupsResult]
    func GetChdfsAccessGroups(ctx *Context, args *GetChdfsAccessGroupsArgs, opts ...InvokeOption) (*GetChdfsAccessGroupsResult, error)
    func GetChdfsAccessGroupsOutput(ctx *Context, args *GetChdfsAccessGroupsOutputArgs, opts ...InvokeOption) GetChdfsAccessGroupsResultOutput

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

    public static class GetChdfsAccessGroups 
    {
        public static Task<GetChdfsAccessGroupsResult> InvokeAsync(GetChdfsAccessGroupsArgs args, InvokeOptions? opts = null)
        public static Output<GetChdfsAccessGroupsResult> Invoke(GetChdfsAccessGroupsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetChdfsAccessGroupsResult> getChdfsAccessGroups(GetChdfsAccessGroupsArgs args, InvokeOptions options)
    public static Output<GetChdfsAccessGroupsResult> getChdfsAccessGroups(GetChdfsAccessGroupsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getChdfsAccessGroups:getChdfsAccessGroups
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    OwnerUin double
    get groups belongs to the owner uin, must set but only can use one of VpcId and OwnerUin to get the groups.
    ResultOutputFile string
    Used to save results.
    VpcId string
    get groups belongs to the vpc id, must set but only can use one of VpcId and OwnerUin to get the groups.
    Id string
    OwnerUin float64
    get groups belongs to the owner uin, must set but only can use one of VpcId and OwnerUin to get the groups.
    ResultOutputFile string
    Used to save results.
    VpcId string
    get groups belongs to the vpc id, must set but only can use one of VpcId and OwnerUin to get the groups.
    id String
    ownerUin Double
    get groups belongs to the owner uin, must set but only can use one of VpcId and OwnerUin to get the groups.
    resultOutputFile String
    Used to save results.
    vpcId String
    get groups belongs to the vpc id, must set but only can use one of VpcId and OwnerUin to get the groups.
    id string
    ownerUin number
    get groups belongs to the owner uin, must set but only can use one of VpcId and OwnerUin to get the groups.
    resultOutputFile string
    Used to save results.
    vpcId string
    get groups belongs to the vpc id, must set but only can use one of VpcId and OwnerUin to get the groups.
    id str
    owner_uin float
    get groups belongs to the owner uin, must set but only can use one of VpcId and OwnerUin to get the groups.
    result_output_file str
    Used to save results.
    vpc_id str
    get groups belongs to the vpc id, must set but only can use one of VpcId and OwnerUin to get the groups.
    id String
    ownerUin Number
    get groups belongs to the owner uin, must set but only can use one of VpcId and OwnerUin to get the groups.
    resultOutputFile String
    Used to save results.
    vpcId String
    get groups belongs to the vpc id, must set but only can use one of VpcId and OwnerUin to get the groups.

    getChdfsAccessGroups Result

    The following output properties are available:

    AccessGroups List<GetChdfsAccessGroupsAccessGroup>
    access group list.
    Id string
    OwnerUin double
    ResultOutputFile string
    VpcId string
    VPC ID.
    AccessGroups []GetChdfsAccessGroupsAccessGroup
    access group list.
    Id string
    OwnerUin float64
    ResultOutputFile string
    VpcId string
    VPC ID.
    accessGroups List<GetChdfsAccessGroupsAccessGroup>
    access group list.
    id String
    ownerUin Double
    resultOutputFile String
    vpcId String
    VPC ID.
    accessGroups GetChdfsAccessGroupsAccessGroup[]
    access group list.
    id string
    ownerUin number
    resultOutputFile string
    vpcId string
    VPC ID.
    accessGroups List<Property Map>
    access group list.
    id String
    ownerUin Number
    resultOutputFile String
    vpcId String
    VPC ID.

    Supporting Types

    GetChdfsAccessGroupsAccessGroup

    AccessGroupId string
    access group id.
    AccessGroupName string
    access group name.
    CreateTime string
    create time.
    Description string
    access group description.
    VpcId string
    get groups belongs to the vpc id, must set but only can use one of VpcId and OwnerUin to get the groups.
    VpcType double
    vpc network type(1:CVM, 2:BM 1.0).
    AccessGroupId string
    access group id.
    AccessGroupName string
    access group name.
    CreateTime string
    create time.
    Description string
    access group description.
    VpcId string
    get groups belongs to the vpc id, must set but only can use one of VpcId and OwnerUin to get the groups.
    VpcType float64
    vpc network type(1:CVM, 2:BM 1.0).
    accessGroupId String
    access group id.
    accessGroupName String
    access group name.
    createTime String
    create time.
    description String
    access group description.
    vpcId String
    get groups belongs to the vpc id, must set but only can use one of VpcId and OwnerUin to get the groups.
    vpcType Double
    vpc network type(1:CVM, 2:BM 1.0).
    accessGroupId string
    access group id.
    accessGroupName string
    access group name.
    createTime string
    create time.
    description string
    access group description.
    vpcId string
    get groups belongs to the vpc id, must set but only can use one of VpcId and OwnerUin to get the groups.
    vpcType number
    vpc network type(1:CVM, 2:BM 1.0).
    access_group_id str
    access group id.
    access_group_name str
    access group name.
    create_time str
    create time.
    description str
    access group description.
    vpc_id str
    get groups belongs to the vpc id, must set but only can use one of VpcId and OwnerUin to get the groups.
    vpc_type float
    vpc network type(1:CVM, 2:BM 1.0).
    accessGroupId String
    access group id.
    accessGroupName String
    access group name.
    createTime String
    create time.
    description String
    access group description.
    vpcId String
    get groups belongs to the vpc id, must set but only can use one of VpcId and OwnerUin to get the groups.
    vpcType Number
    vpc network type(1:CVM, 2:BM 1.0).

    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