1. Packages
  2. Bytepluscc Provider
  3. API Docs
  4. organization
  5. Organization
Viewing docs for bytepluscc v0.0.23
published on Thursday, Apr 16, 2026 by Byteplus
bytepluscc logo
Viewing docs for bytepluscc v0.0.23
published on Thursday, Apr 16, 2026 by Byteplus

    Enterprise Organization Management

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
    
    const organizationDemo = new bytepluscc.organization.Organization("organizationDemo", {});
    
    import pulumi
    import pulumi_bytepluscc as bytepluscc
    
    organization_demo = bytepluscc.organization.Organization("organizationDemo")
    
    package main
    
    import (
    	"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/organization"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := organization.NewOrganization(ctx, "organizationDemo", nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Bytepluscc = Byteplus.Pulumi.Bytepluscc;
    
    return await Deployment.RunAsync(() => 
    {
        var organizationDemo = new Bytepluscc.Organization.Organization("organizationDemo");
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.byteplus.bytepluscc.organization.Organization;
    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) {
            var organizationDemo = new Organization("organizationDemo");
    
        }
    }
    
    resources:
      organizationDemo:
        type: bytepluscc:organization:Organization
    

    Create Organization Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Organization(name: string, args?: OrganizationArgs, opts?: CustomResourceOptions);
    @overload
    def Organization(resource_name: str,
                     args: Optional[OrganizationArgs] = None,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def Organization(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     organization: Optional[OrganizationOrganizationArgs] = None,
                     owner: Optional[OrganizationOwnerArgs] = None)
    func NewOrganization(ctx *Context, name string, args *OrganizationArgs, opts ...ResourceOption) (*Organization, error)
    public Organization(string name, OrganizationArgs? args = null, CustomResourceOptions? opts = null)
    public Organization(String name, OrganizationArgs args)
    public Organization(String name, OrganizationArgs args, CustomResourceOptions options)
    
    type: bytepluscc:organization:Organization
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args OrganizationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args OrganizationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args OrganizationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OrganizationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OrganizationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var organizationResource = new Bytepluscc.Organization.Organization("organizationResource", new()
    {
        OrganizationValue = new Bytepluscc.Organization.Inputs.OrganizationOrganizationArgs
        {
            CreatedTime = "string",
            Description = "string",
            Name = "string",
            Owner = "string",
            Status = 0,
            Type = 0,
            UpdatedTime = "string",
        },
        Owner = new Bytepluscc.Organization.Inputs.OrganizationOwnerArgs
        {
            AccountId = 0,
            AccountName = "string",
            MainName = "string",
        },
    });
    
    example, err := organization.NewOrganization(ctx, "organizationResource", &organization.OrganizationArgs{
    	Organization: &organization.OrganizationOrganizationArgs{
    		CreatedTime: pulumi.String("string"),
    		Description: pulumi.String("string"),
    		Name:        pulumi.String("string"),
    		Owner:       pulumi.String("string"),
    		Status:      pulumi.Int(0),
    		Type:        pulumi.Int(0),
    		UpdatedTime: pulumi.String("string"),
    	},
    	Owner: &organization.OrganizationOwnerArgs{
    		AccountId:   pulumi.Int(0),
    		AccountName: pulumi.String("string"),
    		MainName:    pulumi.String("string"),
    	},
    })
    
    var organizationResource = new Organization("organizationResource", OrganizationArgs.builder()
        .organization(OrganizationOrganizationArgs.builder()
            .createdTime("string")
            .description("string")
            .name("string")
            .owner("string")
            .status(0)
            .type(0)
            .updatedTime("string")
            .build())
        .owner(OrganizationOwnerArgs.builder()
            .accountId(0)
            .accountName("string")
            .mainName("string")
            .build())
        .build());
    
    organization_resource = bytepluscc.organization.Organization("organizationResource",
        organization={
            "created_time": "string",
            "description": "string",
            "name": "string",
            "owner": "string",
            "status": 0,
            "type": 0,
            "updated_time": "string",
        },
        owner={
            "account_id": 0,
            "account_name": "string",
            "main_name": "string",
        })
    
    const organizationResource = new bytepluscc.organization.Organization("organizationResource", {
        organization: {
            createdTime: "string",
            description: "string",
            name: "string",
            owner: "string",
            status: 0,
            type: 0,
            updatedTime: "string",
        },
        owner: {
            accountId: 0,
            accountName: "string",
            mainName: "string",
        },
    });
    
    type: bytepluscc:organization:Organization
    properties:
        organization:
            createdTime: string
            description: string
            name: string
            owner: string
            status: 0
            type: 0
            updatedTime: string
        owner:
            accountId: 0
            accountName: string
            mainName: string
    

    Organization Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Organization resource accepts the following input properties:

    organization OrganizationOrganization
    Organization Details
    owner OrganizationOwner
    Administrator Details
    organization OrganizationOrganization
    Organization Details
    owner OrganizationOwner
    Administrator Details
    organization Property Map
    Organization Details
    owner Property Map
    Administrator Details

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Organization resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    OrganizationId string
    Organization ID
    Id string
    The provider-assigned unique ID for this managed resource.
    OrganizationId string
    Organization ID
    id String
    The provider-assigned unique ID for this managed resource.
    organizationId String
    Organization ID
    id string
    The provider-assigned unique ID for this managed resource.
    organizationId string
    Organization ID
    id str
    The provider-assigned unique ID for this managed resource.
    organization_id str
    Organization ID
    id String
    The provider-assigned unique ID for this managed resource.
    organizationId String
    Organization ID

    Look up Existing Organization Resource

    Get an existing Organization resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: OrganizationState, opts?: CustomResourceOptions): Organization
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            organization: Optional[OrganizationOrganizationArgs] = None,
            organization_id: Optional[str] = None,
            owner: Optional[OrganizationOwnerArgs] = None) -> Organization
    func GetOrganization(ctx *Context, name string, id IDInput, state *OrganizationState, opts ...ResourceOption) (*Organization, error)
    public static Organization Get(string name, Input<string> id, OrganizationState? state, CustomResourceOptions? opts = null)
    public static Organization get(String name, Output<String> id, OrganizationState state, CustomResourceOptions options)
    resources:  _:    type: bytepluscc:organization:Organization    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    OrganizationId string
    Organization ID
    OrganizationValue Byteplus.OrganizationOrganization
    Organization Details
    Owner Byteplus.OrganizationOwner
    Administrator Details
    Organization OrganizationOrganizationArgs
    Organization Details
    OrganizationId string
    Organization ID
    Owner OrganizationOwnerArgs
    Administrator Details
    organization OrganizationOrganization
    Organization Details
    organizationId String
    Organization ID
    owner OrganizationOwner
    Administrator Details
    organization OrganizationOrganization
    Organization Details
    organizationId string
    Organization ID
    owner OrganizationOwner
    Administrator Details
    organization OrganizationOrganizationArgs
    Organization Details
    organization_id str
    Organization ID
    owner OrganizationOwnerArgs
    Administrator Details
    organization Property Map
    Organization Details
    organizationId String
    Organization ID
    owner Property Map
    Administrator Details

    Supporting Types

    OrganizationOrganization, OrganizationOrganizationArgs

    CreatedTime string
    Creation Time
    Description string
    Description
    Name string
    Organization Name
    Owner string
    Administrator ID
    Status int
    Status
    Type int
    Organization type, enterprise organization is always 1
    UpdatedTime string
    Last Updated
    CreatedTime string
    Creation Time
    Description string
    Description
    Name string
    Organization Name
    Owner string
    Administrator ID
    Status int
    Status
    Type int
    Organization type, enterprise organization is always 1
    UpdatedTime string
    Last Updated
    createdTime String
    Creation Time
    description String
    Description
    name String
    Organization Name
    owner String
    Administrator ID
    status Integer
    Status
    type Integer
    Organization type, enterprise organization is always 1
    updatedTime String
    Last Updated
    createdTime string
    Creation Time
    description string
    Description
    name string
    Organization Name
    owner string
    Administrator ID
    status number
    Status
    type number
    Organization type, enterprise organization is always 1
    updatedTime string
    Last Updated
    created_time str
    Creation Time
    description str
    Description
    name str
    Organization Name
    owner str
    Administrator ID
    status int
    Status
    type int
    Organization type, enterprise organization is always 1
    updated_time str
    Last Updated
    createdTime String
    Creation Time
    description String
    Description
    name String
    Organization Name
    owner String
    Administrator ID
    status Number
    Status
    type Number
    Organization type, enterprise organization is always 1
    updatedTime String
    Last Updated

    OrganizationOwner, OrganizationOwnerArgs

    AccountId int
    Account ID
    AccountName string
    Account Name
    MainName string
    Entity Name
    AccountId int
    Account ID
    AccountName string
    Account Name
    MainName string
    Entity Name
    accountId Integer
    Account ID
    accountName String
    Account Name
    mainName String
    Entity Name
    accountId number
    Account ID
    accountName string
    Account Name
    mainName string
    Entity Name
    account_id int
    Account ID
    account_name str
    Account Name
    main_name str
    Entity Name
    accountId Number
    Account ID
    accountName String
    Account Name
    mainName String
    Entity Name

    Import

    $ pulumi import bytepluscc:organization/organization:Organization example "organization_id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    bytepluscc byteplus-sdk/pulumi-bytepluscc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the bytepluscc Terraform Provider.
    bytepluscc logo
    Viewing docs for bytepluscc v0.0.23
    published on Thursday, Apr 16, 2026 by Byteplus
      Try Pulumi Cloud free. Your team will thank you.