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

tencentcloud.getOrganizationServices

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 services

    Example Usage

    Query all organization services

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const services = tencentcloud.getOrganizationServices({});
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    services = tencentcloud.get_organization_services()
    
    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.GetOrganizationServices(ctx, &tencentcloud.GetOrganizationServicesArgs{}, 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 services = Tencentcloud.GetOrganizationServices.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.GetOrganizationServicesArgs;
    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 services = TencentcloudFunctions.getOrganizationServices();
    
        }
    }
    
    variables:
      services:
        fn::invoke:
          function: tencentcloud:getOrganizationServices
          arguments: {}
    

    Query organization services by filter

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const services = tencentcloud.getOrganizationServices({
        searchKey: "KeyWord",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    services = tencentcloud.get_organization_services(search_key="KeyWord")
    
    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.GetOrganizationServices(ctx, &tencentcloud.GetOrganizationServicesArgs{
    			SearchKey: pulumi.StringRef("KeyWord"),
    		}, 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 services = Tencentcloud.GetOrganizationServices.Invoke(new()
        {
            SearchKey = "KeyWord",
        });
    
    });
    
    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.GetOrganizationServicesArgs;
    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 services = TencentcloudFunctions.getOrganizationServices(GetOrganizationServicesArgs.builder()
                .searchKey("KeyWord")
                .build());
    
        }
    }
    
    variables:
      services:
        fn::invoke:
          function: tencentcloud:getOrganizationServices
          arguments:
            searchKey: KeyWord
    

    Using getOrganizationServices

    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 getOrganizationServices(args: GetOrganizationServicesArgs, opts?: InvokeOptions): Promise<GetOrganizationServicesResult>
    function getOrganizationServicesOutput(args: GetOrganizationServicesOutputArgs, opts?: InvokeOptions): Output<GetOrganizationServicesResult>
    def get_organization_services(id: Optional[str] = None,
                                  result_output_file: Optional[str] = None,
                                  search_key: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetOrganizationServicesResult
    def get_organization_services_output(id: Optional[pulumi.Input[str]] = None,
                                  result_output_file: Optional[pulumi.Input[str]] = None,
                                  search_key: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetOrganizationServicesResult]
    func GetOrganizationServices(ctx *Context, args *GetOrganizationServicesArgs, opts ...InvokeOption) (*GetOrganizationServicesResult, error)
    func GetOrganizationServicesOutput(ctx *Context, args *GetOrganizationServicesOutputArgs, opts ...InvokeOption) GetOrganizationServicesResultOutput

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

    public static class GetOrganizationServices 
    {
        public static Task<GetOrganizationServicesResult> InvokeAsync(GetOrganizationServicesArgs args, InvokeOptions? opts = null)
        public static Output<GetOrganizationServicesResult> Invoke(GetOrganizationServicesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOrganizationServicesResult> getOrganizationServices(GetOrganizationServicesArgs args, InvokeOptions options)
    public static Output<GetOrganizationServicesResult> getOrganizationServices(GetOrganizationServicesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getOrganizationServices:getOrganizationServices
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    ResultOutputFile string
    Used to save results.
    SearchKey string
    Keyword for search by name.
    Id string
    ResultOutputFile string
    Used to save results.
    SearchKey string
    Keyword for search by name.
    id String
    resultOutputFile String
    Used to save results.
    searchKey String
    Keyword for search by name.
    id string
    resultOutputFile string
    Used to save results.
    searchKey string
    Keyword for search by name.
    id str
    result_output_file str
    Used to save results.
    search_key str
    Keyword for search by name.
    id String
    resultOutputFile String
    Used to save results.
    searchKey String
    Keyword for search by name.

    getOrganizationServices Result

    The following output properties are available:

    Id string
    Items List<GetOrganizationServicesItem>
    Organization service list.
    ResultOutputFile string
    SearchKey string
    Id string
    Items []GetOrganizationServicesItem
    Organization service list.
    ResultOutputFile string
    SearchKey string
    id String
    items List<GetOrganizationServicesItem>
    Organization service list.
    resultOutputFile String
    searchKey String
    id string
    items GetOrganizationServicesItem[]
    Organization service list.
    resultOutputFile string
    searchKey string
    id String
    items List<Property Map>
    Organization service list.
    resultOutputFile String
    searchKey String

    Supporting Types

    GetOrganizationServicesItem

    CanAssignCount double
    Limit for the number of delegated admins. Note: This field may return null, indicating that no valid values can be obtained.
    ConsoleUrl string
    Console path of the organization service product. Note: This field may return null, indicating that no valid values can be obtained.
    Description string
    Organization service description. Note: This field may return null, indicating that no valid values can be obtained.
    Document string
    Help documentation. Note: This field may return null, indicating that no valid values can be obtained.
    GrantStatus string
    Enabling status of organization service authorization. This field is valid when ServiceGrant is 1. Valid values: Enabled, Disabled. Note: This field may return null, indicating that no valid values can be obtained.
    IsAssign double
    Whether to support delegation. Valid values: 1 (yes), 2 (no). Note: This field may return null, indicating that no valid values can be obtained.
    IsSetManagementScope double
    Whether to support setting the delegated management scope. Valid values: 1 (yes), 2 (no). Note: This field may return null, indicating that no valid values can be obtained.
    IsUsageStatus double
    Whether to access the usage status. Valid values: 1 (yes), 2 (no). Note: This field may return null, indicating that no valid values can be obtained.
    MemberNum string
    Number of the current delegated admins. Note: This field may return null, indicating that no valid values can be obtained.
    Product string
    Organization service product identifier. Note: This field may return null, indicating that no valid values can be obtained.
    ProductName string
    Organization service product name. Note: This field may return null, indicating that no valid values can be obtained.
    ServiceGrant double
    Whether to support organization service authorization. Valid values: 1 (yes), 2 (no). Note: This field may return null, indicating that no valid values can be obtained.
    ServiceId double
    Organization service ID. Note: This field may return null, indicating that no valid values can be obtained.
    CanAssignCount float64
    Limit for the number of delegated admins. Note: This field may return null, indicating that no valid values can be obtained.
    ConsoleUrl string
    Console path of the organization service product. Note: This field may return null, indicating that no valid values can be obtained.
    Description string
    Organization service description. Note: This field may return null, indicating that no valid values can be obtained.
    Document string
    Help documentation. Note: This field may return null, indicating that no valid values can be obtained.
    GrantStatus string
    Enabling status of organization service authorization. This field is valid when ServiceGrant is 1. Valid values: Enabled, Disabled. Note: This field may return null, indicating that no valid values can be obtained.
    IsAssign float64
    Whether to support delegation. Valid values: 1 (yes), 2 (no). Note: This field may return null, indicating that no valid values can be obtained.
    IsSetManagementScope float64
    Whether to support setting the delegated management scope. Valid values: 1 (yes), 2 (no). Note: This field may return null, indicating that no valid values can be obtained.
    IsUsageStatus float64
    Whether to access the usage status. Valid values: 1 (yes), 2 (no). Note: This field may return null, indicating that no valid values can be obtained.
    MemberNum string
    Number of the current delegated admins. Note: This field may return null, indicating that no valid values can be obtained.
    Product string
    Organization service product identifier. Note: This field may return null, indicating that no valid values can be obtained.
    ProductName string
    Organization service product name. Note: This field may return null, indicating that no valid values can be obtained.
    ServiceGrant float64
    Whether to support organization service authorization. Valid values: 1 (yes), 2 (no). Note: This field may return null, indicating that no valid values can be obtained.
    ServiceId float64
    Organization service ID. Note: This field may return null, indicating that no valid values can be obtained.
    canAssignCount Double
    Limit for the number of delegated admins. Note: This field may return null, indicating that no valid values can be obtained.
    consoleUrl String
    Console path of the organization service product. Note: This field may return null, indicating that no valid values can be obtained.
    description String
    Organization service description. Note: This field may return null, indicating that no valid values can be obtained.
    document String
    Help documentation. Note: This field may return null, indicating that no valid values can be obtained.
    grantStatus String
    Enabling status of organization service authorization. This field is valid when ServiceGrant is 1. Valid values: Enabled, Disabled. Note: This field may return null, indicating that no valid values can be obtained.
    isAssign Double
    Whether to support delegation. Valid values: 1 (yes), 2 (no). Note: This field may return null, indicating that no valid values can be obtained.
    isSetManagementScope Double
    Whether to support setting the delegated management scope. Valid values: 1 (yes), 2 (no). Note: This field may return null, indicating that no valid values can be obtained.
    isUsageStatus Double
    Whether to access the usage status. Valid values: 1 (yes), 2 (no). Note: This field may return null, indicating that no valid values can be obtained.
    memberNum String
    Number of the current delegated admins. Note: This field may return null, indicating that no valid values can be obtained.
    product String
    Organization service product identifier. Note: This field may return null, indicating that no valid values can be obtained.
    productName String
    Organization service product name. Note: This field may return null, indicating that no valid values can be obtained.
    serviceGrant Double
    Whether to support organization service authorization. Valid values: 1 (yes), 2 (no). Note: This field may return null, indicating that no valid values can be obtained.
    serviceId Double
    Organization service ID. Note: This field may return null, indicating that no valid values can be obtained.
    canAssignCount number
    Limit for the number of delegated admins. Note: This field may return null, indicating that no valid values can be obtained.
    consoleUrl string
    Console path of the organization service product. Note: This field may return null, indicating that no valid values can be obtained.
    description string
    Organization service description. Note: This field may return null, indicating that no valid values can be obtained.
    document string
    Help documentation. Note: This field may return null, indicating that no valid values can be obtained.
    grantStatus string
    Enabling status of organization service authorization. This field is valid when ServiceGrant is 1. Valid values: Enabled, Disabled. Note: This field may return null, indicating that no valid values can be obtained.
    isAssign number
    Whether to support delegation. Valid values: 1 (yes), 2 (no). Note: This field may return null, indicating that no valid values can be obtained.
    isSetManagementScope number
    Whether to support setting the delegated management scope. Valid values: 1 (yes), 2 (no). Note: This field may return null, indicating that no valid values can be obtained.
    isUsageStatus number
    Whether to access the usage status. Valid values: 1 (yes), 2 (no). Note: This field may return null, indicating that no valid values can be obtained.
    memberNum string
    Number of the current delegated admins. Note: This field may return null, indicating that no valid values can be obtained.
    product string
    Organization service product identifier. Note: This field may return null, indicating that no valid values can be obtained.
    productName string
    Organization service product name. Note: This field may return null, indicating that no valid values can be obtained.
    serviceGrant number
    Whether to support organization service authorization. Valid values: 1 (yes), 2 (no). Note: This field may return null, indicating that no valid values can be obtained.
    serviceId number
    Organization service ID. Note: This field may return null, indicating that no valid values can be obtained.
    can_assign_count float
    Limit for the number of delegated admins. Note: This field may return null, indicating that no valid values can be obtained.
    console_url str
    Console path of the organization service product. Note: This field may return null, indicating that no valid values can be obtained.
    description str
    Organization service description. Note: This field may return null, indicating that no valid values can be obtained.
    document str
    Help documentation. Note: This field may return null, indicating that no valid values can be obtained.
    grant_status str
    Enabling status of organization service authorization. This field is valid when ServiceGrant is 1. Valid values: Enabled, Disabled. Note: This field may return null, indicating that no valid values can be obtained.
    is_assign float
    Whether to support delegation. Valid values: 1 (yes), 2 (no). Note: This field may return null, indicating that no valid values can be obtained.
    is_set_management_scope float
    Whether to support setting the delegated management scope. Valid values: 1 (yes), 2 (no). Note: This field may return null, indicating that no valid values can be obtained.
    is_usage_status float
    Whether to access the usage status. Valid values: 1 (yes), 2 (no). Note: This field may return null, indicating that no valid values can be obtained.
    member_num str
    Number of the current delegated admins. Note: This field may return null, indicating that no valid values can be obtained.
    product str
    Organization service product identifier. Note: This field may return null, indicating that no valid values can be obtained.
    product_name str
    Organization service product name. Note: This field may return null, indicating that no valid values can be obtained.
    service_grant float
    Whether to support organization service authorization. Valid values: 1 (yes), 2 (no). Note: This field may return null, indicating that no valid values can be obtained.
    service_id float
    Organization service ID. Note: This field may return null, indicating that no valid values can be obtained.
    canAssignCount Number
    Limit for the number of delegated admins. Note: This field may return null, indicating that no valid values can be obtained.
    consoleUrl String
    Console path of the organization service product. Note: This field may return null, indicating that no valid values can be obtained.
    description String
    Organization service description. Note: This field may return null, indicating that no valid values can be obtained.
    document String
    Help documentation. Note: This field may return null, indicating that no valid values can be obtained.
    grantStatus String
    Enabling status of organization service authorization. This field is valid when ServiceGrant is 1. Valid values: Enabled, Disabled. Note: This field may return null, indicating that no valid values can be obtained.
    isAssign Number
    Whether to support delegation. Valid values: 1 (yes), 2 (no). Note: This field may return null, indicating that no valid values can be obtained.
    isSetManagementScope Number
    Whether to support setting the delegated management scope. Valid values: 1 (yes), 2 (no). Note: This field may return null, indicating that no valid values can be obtained.
    isUsageStatus Number
    Whether to access the usage status. Valid values: 1 (yes), 2 (no). Note: This field may return null, indicating that no valid values can be obtained.
    memberNum String
    Number of the current delegated admins. Note: This field may return null, indicating that no valid values can be obtained.
    product String
    Organization service product identifier. Note: This field may return null, indicating that no valid values can be obtained.
    productName String
    Organization service product name. Note: This field may return null, indicating that no valid values can be obtained.
    serviceGrant Number
    Whether to support organization service authorization. Valid values: 1 (yes), 2 (no). Note: This field may return null, indicating that no valid values can be obtained.
    serviceId Number
    Organization service ID. Note: This field may return null, indicating that no valid values can be obtained.

    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