1. Packages
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. OrganizationOrgShareUnitNode
Viewing docs for tencentcloud 1.82.93
published on Monday, May 11, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.82.93
published on Monday, May 11, 2026 by tencentcloudstack

    Provides a resource to create an organization org share unit node

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.OrganizationOrgShareUnitNode("example", {
        unitId: "us-xxxxx",
        nodeId: 123456,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.OrganizationOrgShareUnitNode("example",
        unit_id="us-xxxxx",
        node_id=123456)
    
    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.NewOrganizationOrgShareUnitNode(ctx, "example", &tencentcloud.OrganizationOrgShareUnitNodeArgs{
    			UnitId: pulumi.String("us-xxxxx"),
    			NodeId: pulumi.Float64(123456),
    		})
    		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 example = new Tencentcloud.OrganizationOrgShareUnitNode("example", new()
        {
            UnitId = "us-xxxxx",
            NodeId = 123456,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.OrganizationOrgShareUnitNode;
    import com.pulumi.tencentcloud.OrganizationOrgShareUnitNodeArgs;
    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 example = new OrganizationOrgShareUnitNode("example", OrganizationOrgShareUnitNodeArgs.builder()
                .unitId("us-xxxxx")
                .nodeId(123456.0)
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:OrganizationOrgShareUnitNode
        properties:
          unitId: us-xxxxx
          nodeId: 123456
    
    Example coming soon!
    

    Create OrganizationOrgShareUnitNode Resource

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

    Constructor syntax

    new OrganizationOrgShareUnitNode(name: string, args: OrganizationOrgShareUnitNodeArgs, opts?: CustomResourceOptions);
    @overload
    def OrganizationOrgShareUnitNode(resource_name: str,
                                     args: OrganizationOrgShareUnitNodeArgs,
                                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def OrganizationOrgShareUnitNode(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     node_id: Optional[float] = None,
                                     unit_id: Optional[str] = None,
                                     organization_org_share_unit_node_id: Optional[str] = None)
    func NewOrganizationOrgShareUnitNode(ctx *Context, name string, args OrganizationOrgShareUnitNodeArgs, opts ...ResourceOption) (*OrganizationOrgShareUnitNode, error)
    public OrganizationOrgShareUnitNode(string name, OrganizationOrgShareUnitNodeArgs args, CustomResourceOptions? opts = null)
    public OrganizationOrgShareUnitNode(String name, OrganizationOrgShareUnitNodeArgs args)
    public OrganizationOrgShareUnitNode(String name, OrganizationOrgShareUnitNodeArgs args, CustomResourceOptions options)
    
    type: tencentcloud:OrganizationOrgShareUnitNode
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "tencentcloud_organizationorgshareunitnode" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args OrganizationOrgShareUnitNodeArgs
    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 OrganizationOrgShareUnitNodeArgs
    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 OrganizationOrgShareUnitNodeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OrganizationOrgShareUnitNodeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OrganizationOrgShareUnitNodeArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    OrganizationOrgShareUnitNode 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 OrganizationOrgShareUnitNode resource accepts the following input properties:

    NodeId double
    Organization department ID.
    UnitId string
    Shared unit ID.
    OrganizationOrgShareUnitNodeId string
    ID of the resource.
    NodeId float64
    Organization department ID.
    UnitId string
    Shared unit ID.
    OrganizationOrgShareUnitNodeId string
    ID of the resource.
    node_id number
    Organization department ID.
    unit_id string
    Shared unit ID.
    organization_org_share_unit_node_id string
    ID of the resource.
    nodeId Double
    Organization department ID.
    unitId String
    Shared unit ID.
    organizationOrgShareUnitNodeId String
    ID of the resource.
    nodeId number
    Organization department ID.
    unitId string
    Shared unit ID.
    organizationOrgShareUnitNodeId string
    ID of the resource.
    node_id float
    Organization department ID.
    unit_id str
    Shared unit ID.
    organization_org_share_unit_node_id str
    ID of the resource.
    nodeId Number
    Organization department ID.
    unitId String
    Shared unit ID.
    organizationOrgShareUnitNodeId String
    ID of the resource.

    Outputs

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

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

    Look up Existing OrganizationOrgShareUnitNode Resource

    Get an existing OrganizationOrgShareUnitNode 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?: OrganizationOrgShareUnitNodeState, opts?: CustomResourceOptions): OrganizationOrgShareUnitNode
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            node_id: Optional[float] = None,
            organization_org_share_unit_node_id: Optional[str] = None,
            unit_id: Optional[str] = None) -> OrganizationOrgShareUnitNode
    func GetOrganizationOrgShareUnitNode(ctx *Context, name string, id IDInput, state *OrganizationOrgShareUnitNodeState, opts ...ResourceOption) (*OrganizationOrgShareUnitNode, error)
    public static OrganizationOrgShareUnitNode Get(string name, Input<string> id, OrganizationOrgShareUnitNodeState? state, CustomResourceOptions? opts = null)
    public static OrganizationOrgShareUnitNode get(String name, Output<String> id, OrganizationOrgShareUnitNodeState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:OrganizationOrgShareUnitNode    get:      id: ${id}
    import {
      to = tencentcloud_organizationorgshareunitnode.example
      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:
    NodeId double
    Organization department ID.
    OrganizationOrgShareUnitNodeId string
    ID of the resource.
    UnitId string
    Shared unit ID.
    NodeId float64
    Organization department ID.
    OrganizationOrgShareUnitNodeId string
    ID of the resource.
    UnitId string
    Shared unit ID.
    node_id number
    Organization department ID.
    organization_org_share_unit_node_id string
    ID of the resource.
    unit_id string
    Shared unit ID.
    nodeId Double
    Organization department ID.
    organizationOrgShareUnitNodeId String
    ID of the resource.
    unitId String
    Shared unit ID.
    nodeId number
    Organization department ID.
    organizationOrgShareUnitNodeId string
    ID of the resource.
    unitId string
    Shared unit ID.
    node_id float
    Organization department ID.
    organization_org_share_unit_node_id str
    ID of the resource.
    unit_id str
    Shared unit ID.
    nodeId Number
    Organization department ID.
    organizationOrgShareUnitNodeId String
    ID of the resource.
    unitId String
    Shared unit ID.

    Import

    organization org share unit node can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/organizationOrgShareUnitNode:OrganizationOrgShareUnitNode example us-xxxxx#123456
    

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

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    Viewing docs for tencentcloud 1.82.93
    published on Monday, May 11, 2026 by tencentcloudstack
      Try Pulumi Cloud free. Your team will thank you.