volcengine.organization.Organization
Explore with Pulumi AI
Provides a resource to manage organization
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var foo = new Volcengine.Organization.Organization("foo");
});
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.NewOrganization(ctx, "foo", 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.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 foo = new Organization("foo");
}
}
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.organization.Organization("foo")
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@volcengine/pulumi";
const foo = new volcengine.organization.Organization("foo", {});
resources:
foo:
type: volcengine: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)
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: volcengine: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 Volcengine.Organization.Organization("organizationResource");
example, err := organization.NewOrganization(ctx, "organizationResource", nil)
var organizationResource = new Organization("organizationResource");
organization_resource = volcengine.organization.Organization("organizationResource")
const organizationResource = new volcengine.organization.Organization("organizationResource", {});
type: volcengine:organization:Organization
properties: {}
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
The Organization resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the Organization resource produces the following output properties:
- Account
Id int - The account id of the organization owner.
- Account
Name string - The account name of the organization owner.
- Created
Time string - The created time of the organization.
- Delete
Uk string - The delete uk of the organization.
- Deleted
Time string - The deleted time of the organization.
- Description string
- The description of the organization.
- Id string
- The provider-assigned unique ID for this managed resource.
- Main
Name 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.
- Updated
Time string - The updated time of the organization.
- Account
Id int - The account id of the organization owner.
- Account
Name string - The account name of the organization owner.
- Created
Time string - The created time of the organization.
- Delete
Uk string - The delete uk of the organization.
- Deleted
Time string - The deleted time of the organization.
- Description string
- The description of the organization.
- Id string
- The provider-assigned unique ID for this managed resource.
- Main
Name 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.
- Updated
Time string - The updated time of the organization.
- account
Id Integer - The account id of the organization owner.
- account
Name String - The account name of the organization owner.
- created
Time String - The created time of the organization.
- delete
Uk String - The delete uk of the organization.
- deleted
Time String - The deleted time of the organization.
- description String
- The description of the organization.
- id String
- The provider-assigned unique ID for this managed resource.
- main
Name 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.
- updated
Time String - The updated time of the organization.
- account
Id number - The account id of the organization owner.
- account
Name string - The account name of the organization owner.
- created
Time string - The created time of the organization.
- delete
Uk string - The delete uk of the organization.
- deleted
Time string - The deleted time of the organization.
- description string
- The description of the organization.
- id string
- The provider-assigned unique ID for this managed resource.
- main
Name 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.
- updated
Time 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 provider-assigned unique ID for this managed resource.
- 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.
- account
Id Number - The account id of the organization owner.
- account
Name String - The account name of the organization owner.
- created
Time String - The created time of the organization.
- delete
Uk String - The delete uk of the organization.
- deleted
Time String - The deleted time of the organization.
- description String
- The description of the organization.
- id String
- The provider-assigned unique ID for this managed resource.
- main
Name 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.
- updated
Time String - The updated time of the organization.
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,
account_id: Optional[int] = None,
account_name: Optional[str] = None,
created_time: Optional[str] = None,
delete_uk: Optional[str] = None,
deleted_time: Optional[str] = None,
description: Optional[str] = None,
main_name: Optional[str] = None,
name: Optional[str] = None,
owner: Optional[str] = None,
status: Optional[int] = None,
type: Optional[int] = None,
updated_time: Optional[str] = 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)
Resource lookup is not supported in YAML
- 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.
- Account
Id int - The account id of the organization owner.
- Account
Name string - The account name of the organization owner.
- Created
Time string - The created time of the organization.
- Delete
Uk string - The delete uk of the organization.
- Deleted
Time string - The deleted time of the organization.
- Description string
- The description of the organization.
- Main
Name 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.
- Updated
Time string - The updated time of the organization.
- Account
Id int - The account id of the organization owner.
- Account
Name string - The account name of the organization owner.
- Created
Time string - The created time of the organization.
- Delete
Uk string - The delete uk of the organization.
- Deleted
Time string - The deleted time of the organization.
- Description string
- The description of the organization.
- Main
Name 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.
- Updated
Time string - The updated time of the organization.
- account
Id Integer - The account id of the organization owner.
- account
Name String - The account name of the organization owner.
- created
Time String - The created time of the organization.
- delete
Uk String - The delete uk of the organization.
- deleted
Time String - The deleted time of the organization.
- description String
- The description of the organization.
- main
Name 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.
- updated
Time String - The updated time of the organization.
- account
Id number - The account id of the organization owner.
- account
Name string - The account name of the organization owner.
- created
Time string - The created time of the organization.
- delete
Uk string - The delete uk of the organization.
- deleted
Time string - The deleted time of the organization.
- description string
- The description of the organization.
- main
Name 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.
- updated
Time 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.
- 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.
- account
Id Number - The account id of the organization owner.
- account
Name String - The account name of the organization owner.
- created
Time String - The created time of the organization.
- delete
Uk String - The delete uk of the organization.
- deleted
Time String - The deleted time of the organization.
- description String
- The description of the organization.
- main
Name 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.
- updated
Time String - The updated time of the organization.
Import
Organization can be imported using the id, e.g.
$ pulumi import volcengine:organization/organization:Organization default resource_id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.