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

tencentcloud.getOrganizationOrgShareUnitResources

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 organization organization_org_share_unit_resources

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const organizationOrgShareUnitResources = tencentcloud.getOrganizationOrgShareUnitResources({
        area: "ap-guangzhou",
        unitId: "xxxxxx",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    organization_org_share_unit_resources = tencentcloud.get_organization_org_share_unit_resources(area="ap-guangzhou",
        unit_id="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.GetOrganizationOrgShareUnitResources(ctx, &tencentcloud.GetOrganizationOrgShareUnitResourcesArgs{
    			Area:   "ap-guangzhou",
    			UnitId: "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 organizationOrgShareUnitResources = Tencentcloud.GetOrganizationOrgShareUnitResources.Invoke(new()
        {
            Area = "ap-guangzhou",
            UnitId = "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.GetOrganizationOrgShareUnitResourcesArgs;
    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 organizationOrgShareUnitResources = TencentcloudFunctions.getOrganizationOrgShareUnitResources(GetOrganizationOrgShareUnitResourcesArgs.builder()
                .area("ap-guangzhou")
                .unitId("xxxxxx")
                .build());
    
        }
    }
    
    variables:
      organizationOrgShareUnitResources:
        fn::invoke:
          function: tencentcloud:getOrganizationOrgShareUnitResources
          arguments:
            area: ap-guangzhou
            unitId: xxxxxx
    

    Using getOrganizationOrgShareUnitResources

    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 getOrganizationOrgShareUnitResources(args: GetOrganizationOrgShareUnitResourcesArgs, opts?: InvokeOptions): Promise<GetOrganizationOrgShareUnitResourcesResult>
    function getOrganizationOrgShareUnitResourcesOutput(args: GetOrganizationOrgShareUnitResourcesOutputArgs, opts?: InvokeOptions): Output<GetOrganizationOrgShareUnitResourcesResult>
    def get_organization_org_share_unit_resources(area: Optional[str] = None,
                                                  id: Optional[str] = None,
                                                  result_output_file: Optional[str] = None,
                                                  search_key: Optional[str] = None,
                                                  type: Optional[str] = None,
                                                  unit_id: Optional[str] = None,
                                                  opts: Optional[InvokeOptions] = None) -> GetOrganizationOrgShareUnitResourcesResult
    def get_organization_org_share_unit_resources_output(area: Optional[pulumi.Input[str]] = None,
                                                  id: Optional[pulumi.Input[str]] = None,
                                                  result_output_file: Optional[pulumi.Input[str]] = None,
                                                  search_key: Optional[pulumi.Input[str]] = None,
                                                  type: Optional[pulumi.Input[str]] = None,
                                                  unit_id: Optional[pulumi.Input[str]] = None,
                                                  opts: Optional[InvokeOptions] = None) -> Output[GetOrganizationOrgShareUnitResourcesResult]
    func GetOrganizationOrgShareUnitResources(ctx *Context, args *GetOrganizationOrgShareUnitResourcesArgs, opts ...InvokeOption) (*GetOrganizationOrgShareUnitResourcesResult, error)
    func GetOrganizationOrgShareUnitResourcesOutput(ctx *Context, args *GetOrganizationOrgShareUnitResourcesOutputArgs, opts ...InvokeOption) GetOrganizationOrgShareUnitResourcesResultOutput

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

    public static class GetOrganizationOrgShareUnitResources 
    {
        public static Task<GetOrganizationOrgShareUnitResourcesResult> InvokeAsync(GetOrganizationOrgShareUnitResourcesArgs args, InvokeOptions? opts = null)
        public static Output<GetOrganizationOrgShareUnitResourcesResult> Invoke(GetOrganizationOrgShareUnitResourcesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOrganizationOrgShareUnitResourcesResult> getOrganizationOrgShareUnitResources(GetOrganizationOrgShareUnitResourcesArgs args, InvokeOptions options)
    public static Output<GetOrganizationOrgShareUnitResourcesResult> getOrganizationOrgShareUnitResources(GetOrganizationOrgShareUnitResourcesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getOrganizationOrgShareUnitResources:getOrganizationOrgShareUnitResources
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Area string
    Shared unit area.
    UnitId string
    Shared unit ID.
    Id string
    ResultOutputFile string
    Used to save results.
    SearchKey string
    Search for keywords. Support product resource ID search.
    Type string
    Shared resource type.
    Area string
    Shared unit area.
    UnitId string
    Shared unit ID.
    Id string
    ResultOutputFile string
    Used to save results.
    SearchKey string
    Search for keywords. Support product resource ID search.
    Type string
    Shared resource type.
    area String
    Shared unit area.
    unitId String
    Shared unit ID.
    id String
    resultOutputFile String
    Used to save results.
    searchKey String
    Search for keywords. Support product resource ID search.
    type String
    Shared resource type.
    area string
    Shared unit area.
    unitId string
    Shared unit ID.
    id string
    resultOutputFile string
    Used to save results.
    searchKey string
    Search for keywords. Support product resource ID search.
    type string
    Shared resource type.
    area str
    Shared unit area.
    unit_id str
    Shared unit ID.
    id str
    result_output_file str
    Used to save results.
    search_key str
    Search for keywords. Support product resource ID search.
    type str
    Shared resource type.
    area String
    Shared unit area.
    unitId String
    Shared unit ID.
    id String
    resultOutputFile String
    Used to save results.
    searchKey String
    Search for keywords. Support product resource ID search.
    type String
    Shared resource type.

    getOrganizationOrgShareUnitResources Result

    The following output properties are available:

    Area string
    Id string
    Items List<GetOrganizationOrgShareUnitResourcesItem>
    Shared unit resource list.
    UnitId string
    ResultOutputFile string
    SearchKey string
    Type string
    Area string
    Id string
    Items []GetOrganizationOrgShareUnitResourcesItem
    Shared unit resource list.
    UnitId string
    ResultOutputFile string
    SearchKey string
    Type string
    area String
    id String
    items List<GetOrganizationOrgShareUnitResourcesItem>
    Shared unit resource list.
    unitId String
    resultOutputFile String
    searchKey String
    type String
    area string
    id string
    items GetOrganizationOrgShareUnitResourcesItem[]
    Shared unit resource list.
    unitId string
    resultOutputFile string
    searchKey string
    type string
    area String
    id String
    items List<Property Map>
    Shared unit resource list.
    unitId String
    resultOutputFile String
    searchKey String
    type String

    Supporting Types

    GetOrganizationOrgShareUnitResourcesItem

    CreateTime string
    ProductResourceId string
    ResourceId string
    ShareManagerUin double
    SharedMemberNum double
    SharedMemberUseNum double
    Type string
    Shared resource type.
    CreateTime string
    ProductResourceId string
    ResourceId string
    ShareManagerUin float64
    SharedMemberNum float64
    SharedMemberUseNum float64
    Type string
    Shared resource type.
    createTime String
    productResourceId String
    resourceId String
    shareManagerUin Double
    sharedMemberNum Double
    sharedMemberUseNum Double
    type String
    Shared resource type.
    createTime string
    productResourceId string
    resourceId string
    shareManagerUin number
    sharedMemberNum number
    sharedMemberUseNum number
    type string
    Shared resource type.
    createTime String
    productResourceId String
    resourceId String
    shareManagerUin Number
    sharedMemberNum Number
    sharedMemberUseNum Number
    type String
    Shared resource 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.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack