published on Thursday, Apr 16, 2026 by Byteplus
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
Value Byteplus.Organization Organization - Organization Details
- Owner
Byteplus.
Organization Owner - Administrator Details
- Organization
Organization
Organization Args - Organization Details
- Owner
Organization
Owner Args - Administrator Details
- organization
Organization
Organization - Organization Details
- owner
Organization
Owner - Administrator Details
- organization
Organization
Organization - Organization Details
- owner
Organization
Owner - Administrator Details
- organization
Organization
Organization Args - Organization Details
- owner
Organization
Owner Args - 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.
- Organization
Id string - Organization ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Organization
Id string - Organization ID
- id String
- The provider-assigned unique ID for this managed resource.
- organization
Id String - Organization ID
- id string
- The provider-assigned unique ID for this managed resource.
- organization
Id 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.
- organization
Id 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) -> Organizationfunc 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.
- Organization
Id string - Organization ID
- Organization
Value Byteplus.Organization Organization - Organization Details
- Owner
Byteplus.
Organization Owner - Administrator Details
- Organization
Organization
Organization Args - Organization Details
- Organization
Id string - Organization ID
- Owner
Organization
Owner Args - Administrator Details
- organization
Organization
Organization - Organization Details
- organization
Id String - Organization ID
- owner
Organization
Owner - Administrator Details
- organization
Organization
Organization - Organization Details
- organization
Id string - Organization ID
- owner
Organization
Owner - Administrator Details
- organization
Organization
Organization Args - Organization Details
- organization_
id str - Organization ID
- owner
Organization
Owner Args - Administrator Details
- organization Property Map
- Organization Details
- organization
Id String - Organization ID
- owner Property Map
- Administrator Details
Supporting Types
OrganizationOrganization, OrganizationOrganizationArgs
- Created
Time 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
- Updated
Time string - Last Updated
- Created
Time 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
- Updated
Time string - Last Updated
- created
Time 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
- updated
Time String - Last Updated
- created
Time 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
- updated
Time 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
- created
Time 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
- updated
Time String - Last Updated
OrganizationOwner, OrganizationOwnerArgs
- Account
Id int - Account ID
- Account
Name string - Account Name
- Main
Name string - Entity Name
- Account
Id int - Account ID
- Account
Name string - Account Name
- Main
Name string - Entity Name
- account
Id Integer - Account ID
- account
Name String - Account Name
- main
Name String - Entity Name
- account
Id number - Account ID
- account
Name string - Account Name
- main
Name string - Entity Name
- account_
id int - Account ID
- account_
name str - Account Name
- main_
name str - Entity Name
- account
Id Number - Account ID
- account
Name String - Account Name
- main
Name 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
byteplusccTerraform Provider.
published on Thursday, Apr 16, 2026 by Byteplus
