1. Packages
  2. Volcengine
  3. API Docs
  4. organization
  5. Organizations
Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine

volcengine.organization.Organizations

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine

    Use this data source to query detailed information of organizations

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = Volcengine.Organization.Organizations.Invoke();
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/organization"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := organization.Organizations(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.organization.OrganizationFunctions;
    import com.pulumi.volcengine.organization.inputs.OrganizationsArgs;
    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 foo = OrganizationFunctions.Organizations();
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.organization.organizations()
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const foo = volcengine.organization.Organizations({});
    
    variables:
      foo:
        fn::invoke:
          Function: volcengine:organization:Organizations
          Arguments: {}
    

    Using Organizations

    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 organizations(args: OrganizationsArgs, opts?: InvokeOptions): Promise<OrganizationsResult>
    function organizationsOutput(args: OrganizationsOutputArgs, opts?: InvokeOptions): Output<OrganizationsResult>
    def organizations(name_regex: Optional[str] = None,
                      output_file: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> OrganizationsResult
    def organizations_output(name_regex: Optional[pulumi.Input[str]] = None,
                      output_file: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[OrganizationsResult]
    func Organizations(ctx *Context, args *OrganizationsArgs, opts ...InvokeOption) (*OrganizationsResult, error)
    func OrganizationsOutput(ctx *Context, args *OrganizationsOutputArgs, opts ...InvokeOption) OrganizationsResultOutput
    public static class Organizations 
    {
        public static Task<OrganizationsResult> InvokeAsync(OrganizationsArgs args, InvokeOptions? opts = null)
        public static Output<OrganizationsResult> Invoke(OrganizationsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<OrganizationsResult> organizations(OrganizationsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:organization:Organizations
      arguments:
        # arguments dictionary

    The following arguments are supported:

    NameRegex string
    A Name Regex of Resource.
    OutputFile string
    File name where to save data source results.
    NameRegex string
    A Name Regex of Resource.
    OutputFile string
    File name where to save data source results.
    nameRegex String
    A Name Regex of Resource.
    outputFile String
    File name where to save data source results.
    nameRegex string
    A Name Regex of Resource.
    outputFile string
    File name where to save data source results.
    name_regex str
    A Name Regex of Resource.
    output_file str
    File name where to save data source results.
    nameRegex String
    A Name Regex of Resource.
    outputFile String
    File name where to save data source results.

    Organizations Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Organizations List<OrganizationsOrganization>
    The collection of query.
    TotalCount int
    The total count of query.
    NameRegex string
    OutputFile string
    Id string
    The provider-assigned unique ID for this managed resource.
    Organizations []OrganizationsOrganization
    The collection of query.
    TotalCount int
    The total count of query.
    NameRegex string
    OutputFile string
    id String
    The provider-assigned unique ID for this managed resource.
    organizations List<OrganizationsOrganization>
    The collection of query.
    totalCount Integer
    The total count of query.
    nameRegex String
    outputFile String
    id string
    The provider-assigned unique ID for this managed resource.
    organizations OrganizationsOrganization[]
    The collection of query.
    totalCount number
    The total count of query.
    nameRegex string
    outputFile string
    id str
    The provider-assigned unique ID for this managed resource.
    organizations Sequence[OrganizationsOrganization]
    The collection of query.
    total_count int
    The total count of query.
    name_regex str
    output_file str
    id String
    The provider-assigned unique ID for this managed resource.
    organizations List<Property Map>
    The collection of query.
    totalCount Number
    The total count of query.
    nameRegex String
    outputFile String

    Supporting Types

    OrganizationsOrganization

    AccountId int
    The account id of the organization owner.
    AccountName string
    The account name of the organization owner.
    CreatedTime string
    The created time of the organization.
    DeleteUk string
    The delete uk of the organization.
    DeletedTime string
    The deleted time of the organization.
    Description string
    The description of the organization.
    Id string
    The id of the organization.
    MainName string
    The main name of the organization owner.
    Name string
    The name of the organization.
    Owner string
    The owner id of the organization.
    Status int
    The status of the organization.
    Type int
    The type of the organization.
    UpdatedTime string
    The updated time of the organization.
    AccountId int
    The account id of the organization owner.
    AccountName string
    The account name of the organization owner.
    CreatedTime string
    The created time of the organization.
    DeleteUk string
    The delete uk of the organization.
    DeletedTime string
    The deleted time of the organization.
    Description string
    The description of the organization.
    Id string
    The id of the organization.
    MainName string
    The main name of the organization owner.
    Name string
    The name of the organization.
    Owner string
    The owner id of the organization.
    Status int
    The status of the organization.
    Type int
    The type of the organization.
    UpdatedTime string
    The updated time of the organization.
    accountId Integer
    The account id of the organization owner.
    accountName String
    The account name of the organization owner.
    createdTime String
    The created time of the organization.
    deleteUk String
    The delete uk of the organization.
    deletedTime String
    The deleted time of the organization.
    description String
    The description of the organization.
    id String
    The id of the organization.
    mainName String
    The main name of the organization owner.
    name String
    The name of the organization.
    owner String
    The owner id of the organization.
    status Integer
    The status of the organization.
    type Integer
    The type of the organization.
    updatedTime String
    The updated time of the organization.
    accountId number
    The account id of the organization owner.
    accountName string
    The account name of the organization owner.
    createdTime string
    The created time of the organization.
    deleteUk string
    The delete uk of the organization.
    deletedTime string
    The deleted time of the organization.
    description string
    The description of the organization.
    id string
    The id of the organization.
    mainName string
    The main name of the organization owner.
    name string
    The name of the organization.
    owner string
    The owner id of the organization.
    status number
    The status of the organization.
    type number
    The type of the organization.
    updatedTime string
    The updated time of the organization.
    account_id int
    The account id of the organization owner.
    account_name str
    The account name of the organization owner.
    created_time str
    The created time of the organization.
    delete_uk str
    The delete uk of the organization.
    deleted_time str
    The deleted time of the organization.
    description str
    The description of the organization.
    id str
    The id of the organization.
    main_name str
    The main name of the organization owner.
    name str
    The name of the organization.
    owner str
    The owner id of the organization.
    status int
    The status of the organization.
    type int
    The type of the organization.
    updated_time str
    The updated time of the organization.
    accountId Number
    The account id of the organization owner.
    accountName String
    The account name of the organization owner.
    createdTime String
    The created time of the organization.
    deleteUk String
    The delete uk of the organization.
    deletedTime String
    The deleted time of the organization.
    description String
    The description of the organization.
    id String
    The id of the organization.
    mainName String
    The main name of the organization owner.
    name String
    The name of the organization.
    owner String
    The owner id of the organization.
    status Number
    The status of the organization.
    type Number
    The type of the organization.
    updatedTime String
    The updated time of the organization.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine