1. Registry
  2. Packages
  3. Bytepluscc Provider
  4. API Docs
  5. resourceshare
  6. ResourceShare
Viewing docs for bytepluscc v0.0.53
published on Thursday, Sep 10, 2026 by Byteplus
bytepluscc logo
Viewing docs for bytepluscc v0.0.53
published on Thursday, Sep 10, 2026 by Byteplus

    Volcano Engine Resource Share unit. Resource share units allow you to share resources under your account (such as subnets) with specified principals (Principal, which can be an account, organization, or organizational unit) for their use

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
    
    const example = new bytepluscc.resourceshare.ResourceShare("example", {
        resourceShareName: "cc-test-example",
        allowShareType: "ANY",
        resourceTrns: "trn:vpc:ap-southeast-1:210000****:subnet/subnet-example",
        principals: "210000****,210001****",
        tags: [
            {
                key: "key1",
                value: "value1",
            },
            {
                key: "key2",
                value: "value2",
            },
        ],
    });
    
    import pulumi
    import pulumi_bytepluscc as bytepluscc
    
    example = bytepluscc.resourceshare.ResourceShare("example",
        resource_share_name="cc-test-example",
        allow_share_type="ANY",
        resource_trns="trn:vpc:ap-southeast-1:210000****:subnet/subnet-example",
        principals="210000****,210001****",
        tags=[
            {
                "key": "key1",
                "value": "value1",
            },
            {
                "key": "key2",
                "value": "value2",
            },
        ])
    
    package main
    
    import (
    	"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/resourceshare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := resourceshare.NewResourceShare(ctx, "example", &resourceshare.ResourceShareArgs{
    			ResourceShareName: pulumi.String("cc-test-example"),
    			AllowShareType:    pulumi.String("ANY"),
    			ResourceTrns:      pulumi.String("trn:vpc:ap-southeast-1:210000****:subnet/subnet-example"),
    			Principals:        pulumi.String("210000****,210001****"),
    			Tags: resourceshare.ResourceShareTagArray{
    				&resourceshare.ResourceShareTagArgs{
    					Key:   pulumi.String("key1"),
    					Value: pulumi.String("value1"),
    				},
    				&resourceshare.ResourceShareTagArgs{
    					Key:   pulumi.String("key2"),
    					Value: pulumi.String("value2"),
    				},
    			},
    		})
    		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 example = new Bytepluscc.Resourceshare.ResourceShare("example", new()
        {
            ResourceShareName = "cc-test-example",
            AllowShareType = "ANY",
            ResourceTrns = "trn:vpc:ap-southeast-1:210000****:subnet/subnet-example",
            Principals = "210000****,210001****",
            Tags = new[]
            {
                new Bytepluscc.Resourceshare.Inputs.ResourceShareTagArgs
                {
                    Key = "key1",
                    Value = "value1",
                },
                new Bytepluscc.Resourceshare.Inputs.ResourceShareTagArgs
                {
                    Key = "key2",
                    Value = "value2",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.byteplus.bytepluscc.resourceshare.ResourceShare;
    import com.byteplus.bytepluscc.resourceshare.ResourceShareArgs;
    import com.pulumi.bytepluscc.resourceshare.inputs.ResourceShareTagArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 ResourceShare("example", ResourceShareArgs.builder()
                .resourceShareName("cc-test-example")
                .allowShareType("ANY")
                .resourceTrns("trn:vpc:ap-southeast-1:210000****:subnet/subnet-example")
                .principals("210000****,210001****")
                .tags(            
                    ResourceShareTagArgs.builder()
                        .key("key1")
                        .value("value1")
                        .build(),
                    ResourceShareTagArgs.builder()
                        .key("key2")
                        .value("value2")
                        .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: bytepluscc:resourceshare:ResourceShare
        properties:
          resourceShareName: cc-test-example
          allowShareType: ANY
          resourceTrns: trn:vpc:ap-southeast-1:210000****:subnet/subnet-example
          principals: 210000****,210001****
          tags:
            - key: key1
              value: value1
            - key: key2
              value: value2
    
    pulumi {
      required_providers {
        bytepluscc = {
          source = "pulumi/bytepluscc"
        }
      }
    }
    
    resource "bytepluscc_resourceshare_resourceshare" "example" {
      resource_share_name = "cc-test-example"
      allow_share_type    = "ANY"
      resource_trns       = "trn:vpc:ap-southeast-1:210000****:subnet/subnet-example"
      principals          = "210000****,210001****"
      tags {
        key   = "key1"
        value = "value1"
      }
      tags {
        key   = "key2"
        value = "value2"
      }
    }
    

    Create ResourceShare Resource

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

    Constructor syntax

    new ResourceShare(name: string, args: ResourceShareArgs, opts?: CustomResourceOptions);
    @overload
    def ResourceShare(resource_name: str,
                      args: ResourceShareArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def ResourceShare(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      resource_share_name: Optional[str] = None,
                      allow_share_type: Optional[str] = None,
                      principals: Optional[str] = None,
                      resource_trns: Optional[str] = None,
                      tags: Optional[Sequence[ResourceShareTagArgs]] = None)
    func NewResourceShare(ctx *Context, name string, args ResourceShareArgs, opts ...ResourceOption) (*ResourceShare, error)
    public ResourceShare(string name, ResourceShareArgs args, CustomResourceOptions? opts = null)
    public ResourceShare(String name, ResourceShareArgs args)
    public ResourceShare(String name, ResourceShareArgs args, CustomResourceOptions options)
    
    type: bytepluscc:resourceshare:ResourceShare
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "bytepluscc_resourceshare_resource_share" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ResourceShareArgs
    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 ResourceShareArgs
    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 ResourceShareArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ResourceShareArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ResourceShareArgs
    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 resourceShareResource = new Bytepluscc.Resourceshare.ResourceShare("resourceShareResource", new()
    {
        ResourceShareName = "string",
        AllowShareType = "string",
        Principals = "string",
        ResourceTrns = "string",
        Tags = new[]
        {
            new Bytepluscc.Resourceshare.Inputs.ResourceShareTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
    });
    
    example, err := resourceshare.NewResourceShare(ctx, "resourceShareResource", &resourceshare.ResourceShareArgs{
    	ResourceShareName: pulumi.String("string"),
    	AllowShareType:    pulumi.String("string"),
    	Principals:        pulumi.String("string"),
    	ResourceTrns:      pulumi.String("string"),
    	Tags: resourceshare.ResourceShareTagArray{
    		&resourceshare.ResourceShareTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    })
    
    resource "bytepluscc_resourceshare_resource_share" "resourceShareResource" {
      lifecycle {
        create_before_destroy = true
      }
      resource_share_name = "string"
      allow_share_type    = "string"
      principals          = "string"
      resource_trns       = "string"
      tags {
        key   = "string"
        value = "string"
      }
    }
    
    var resourceShareResource = new ResourceShare("resourceShareResource", ResourceShareArgs.builder()
        .resourceShareName("string")
        .allowShareType("string")
        .principals("string")
        .resourceTrns("string")
        .tags(ResourceShareTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .build());
    
    resource_share_resource = bytepluscc.resourceshare.ResourceShare("resourceShareResource",
        resource_share_name="string",
        allow_share_type="string",
        principals="string",
        resource_trns="string",
        tags=[{
            "key": "string",
            "value": "string",
        }])
    
    const resourceShareResource = new bytepluscc.resourceshare.ResourceShare("resourceShareResource", {
        resourceShareName: "string",
        allowShareType: "string",
        principals: "string",
        resourceTrns: "string",
        tags: [{
            key: "string",
            value: "string",
        }],
    });
    
    type: bytepluscc:resourceshare:ResourceShare
    properties:
        allowShareType: string
        principals: string
        resourceShareName: string
        resourceTrns: string
        tags:
            - key: string
              value: string
    

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

    ResourceShareName string
    Resource share unit name
    AllowShareType string
    Resource share unit type. Values can be ORG - allows sharing only within the organization; ANY - allows sharing with any account. Default is ANY
    Principals string
    Associated Principals (Principal refers to the recipient, which can be a user, organization, or organizational unit)
    ResourceTrns string
    Associated resources
    Tags List<Byteplus.ResourceShareTag>
    Tag key-value pair Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    ResourceShareName string
    Resource share unit name
    AllowShareType string
    Resource share unit type. Values can be ORG - allows sharing only within the organization; ANY - allows sharing with any account. Default is ANY
    Principals string
    Associated Principals (Principal refers to the recipient, which can be a user, organization, or organizational unit)
    ResourceTrns string
    Associated resources
    Tags []ResourceShareTagArgs
    Tag key-value pair Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    resource_share_name string
    Resource share unit name
    allow_share_type string
    Resource share unit type. Values can be ORG - allows sharing only within the organization; ANY - allows sharing with any account. Default is ANY
    principals string
    Associated Principals (Principal refers to the recipient, which can be a user, organization, or organizational unit)
    resource_trns string
    Associated resources
    tags list(object)
    Tag key-value pair Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    resourceShareName String
    Resource share unit name
    allowShareType String
    Resource share unit type. Values can be ORG - allows sharing only within the organization; ANY - allows sharing with any account. Default is ANY
    principals String
    Associated Principals (Principal refers to the recipient, which can be a user, organization, or organizational unit)
    resourceTrns String
    Associated resources
    tags List<ResourceShareTag>
    Tag key-value pair Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    resourceShareName string
    Resource share unit name
    allowShareType string
    Resource share unit type. Values can be ORG - allows sharing only within the organization; ANY - allows sharing with any account. Default is ANY
    principals string
    Associated Principals (Principal refers to the recipient, which can be a user, organization, or organizational unit)
    resourceTrns string
    Associated resources
    tags ResourceShareTag[]
    Tag key-value pair Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    resource_share_name str
    Resource share unit name
    allow_share_type str
    Resource share unit type. Values can be ORG - allows sharing only within the organization; ANY - allows sharing with any account. Default is ANY
    principals str
    Associated Principals (Principal refers to the recipient, which can be a user, organization, or organizational unit)
    resource_trns str
    Associated resources
    tags Sequence[ResourceShareTagArgs]
    Tag key-value pair Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    resourceShareName String
    Resource share unit name
    allowShareType String
    Resource share unit type. Values can be ORG - allows sharing only within the organization; ANY - allows sharing with any account. Default is ANY
    principals String
    Associated Principals (Principal refers to the recipient, which can be a user, organization, or organizational unit)
    resourceTrns String
    Associated resources
    tags List<Property Map>
    Tag key-value pair Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

    Outputs

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

    CreateTime string
    Creation time
    Id string
    The provider-assigned unique ID for this managed resource.
    OwningAccountId int
    Resource share unit creator account ID
    ResourceShareId string
    Resource share unit ID
    ResourceShareTrn string
    Resource share unit Trn
    Status string
    Resource share unit status, including UNKNOWN - unknown status; ACTIVE - active status; DELETING - deleting status; DELETED - deleted status; FAILED - share failed status; NEW - newly created status
    UpdateTime string
    Update time
    CreateTime string
    Creation time
    Id string
    The provider-assigned unique ID for this managed resource.
    OwningAccountId int
    Resource share unit creator account ID
    ResourceShareId string
    Resource share unit ID
    ResourceShareTrn string
    Resource share unit Trn
    Status string
    Resource share unit status, including UNKNOWN - unknown status; ACTIVE - active status; DELETING - deleting status; DELETED - deleted status; FAILED - share failed status; NEW - newly created status
    UpdateTime string
    Update time
    create_time string
    Creation time
    id string
    The provider-assigned unique ID for this managed resource.
    owning_account_id number
    Resource share unit creator account ID
    resource_share_id string
    Resource share unit ID
    resource_share_trn string
    Resource share unit Trn
    status string
    Resource share unit status, including UNKNOWN - unknown status; ACTIVE - active status; DELETING - deleting status; DELETED - deleted status; FAILED - share failed status; NEW - newly created status
    update_time string
    Update time
    createTime String
    Creation time
    id String
    The provider-assigned unique ID for this managed resource.
    owningAccountId Integer
    Resource share unit creator account ID
    resourceShareId String
    Resource share unit ID
    resourceShareTrn String
    Resource share unit Trn
    status String
    Resource share unit status, including UNKNOWN - unknown status; ACTIVE - active status; DELETING - deleting status; DELETED - deleted status; FAILED - share failed status; NEW - newly created status
    updateTime String
    Update time
    createTime string
    Creation time
    id string
    The provider-assigned unique ID for this managed resource.
    owningAccountId number
    Resource share unit creator account ID
    resourceShareId string
    Resource share unit ID
    resourceShareTrn string
    Resource share unit Trn
    status string
    Resource share unit status, including UNKNOWN - unknown status; ACTIVE - active status; DELETING - deleting status; DELETED - deleted status; FAILED - share failed status; NEW - newly created status
    updateTime string
    Update time
    create_time str
    Creation time
    id str
    The provider-assigned unique ID for this managed resource.
    owning_account_id int
    Resource share unit creator account ID
    resource_share_id str
    Resource share unit ID
    resource_share_trn str
    Resource share unit Trn
    status str
    Resource share unit status, including UNKNOWN - unknown status; ACTIVE - active status; DELETING - deleting status; DELETED - deleted status; FAILED - share failed status; NEW - newly created status
    update_time str
    Update time
    createTime String
    Creation time
    id String
    The provider-assigned unique ID for this managed resource.
    owningAccountId Number
    Resource share unit creator account ID
    resourceShareId String
    Resource share unit ID
    resourceShareTrn String
    Resource share unit Trn
    status String
    Resource share unit status, including UNKNOWN - unknown status; ACTIVE - active status; DELETING - deleting status; DELETED - deleted status; FAILED - share failed status; NEW - newly created status
    updateTime String
    Update time

    Look up Existing ResourceShare Resource

    Get an existing ResourceShare 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?: ResourceShareState, opts?: CustomResourceOptions): ResourceShare
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            allow_share_type: Optional[str] = None,
            create_time: Optional[str] = None,
            owning_account_id: Optional[int] = None,
            principals: Optional[str] = None,
            resource_share_id: Optional[str] = None,
            resource_share_name: Optional[str] = None,
            resource_share_trn: Optional[str] = None,
            resource_trns: Optional[str] = None,
            status: Optional[str] = None,
            tags: Optional[Sequence[ResourceShareTagArgs]] = None,
            update_time: Optional[str] = None) -> ResourceShare
    func GetResourceShare(ctx *Context, name string, id IDInput, state *ResourceShareState, opts ...ResourceOption) (*ResourceShare, error)
    public static ResourceShare Get(string name, Input<string> id, ResourceShareState? state, CustomResourceOptions? opts = null)
    public static ResourceShare get(String name, Output<String> id, ResourceShareState state, CustomResourceOptions options)
    resources:  _:    type: bytepluscc:resourceshare:ResourceShare    get:      id: ${id}
    import {
      to = bytepluscc_resourceshare_resource_share.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:
    AllowShareType string
    Resource share unit type. Values can be ORG - allows sharing only within the organization; ANY - allows sharing with any account. Default is ANY
    CreateTime string
    Creation time
    OwningAccountId int
    Resource share unit creator account ID
    Principals string
    Associated Principals (Principal refers to the recipient, which can be a user, organization, or organizational unit)
    ResourceShareId string
    Resource share unit ID
    ResourceShareName string
    Resource share unit name
    ResourceShareTrn string
    Resource share unit Trn
    ResourceTrns string
    Associated resources
    Status string
    Resource share unit status, including UNKNOWN - unknown status; ACTIVE - active status; DELETING - deleting status; DELETED - deleted status; FAILED - share failed status; NEW - newly created status
    Tags List<Byteplus.ResourceShareTag>
    Tag key-value pair Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    UpdateTime string
    Update time
    AllowShareType string
    Resource share unit type. Values can be ORG - allows sharing only within the organization; ANY - allows sharing with any account. Default is ANY
    CreateTime string
    Creation time
    OwningAccountId int
    Resource share unit creator account ID
    Principals string
    Associated Principals (Principal refers to the recipient, which can be a user, organization, or organizational unit)
    ResourceShareId string
    Resource share unit ID
    ResourceShareName string
    Resource share unit name
    ResourceShareTrn string
    Resource share unit Trn
    ResourceTrns string
    Associated resources
    Status string
    Resource share unit status, including UNKNOWN - unknown status; ACTIVE - active status; DELETING - deleting status; DELETED - deleted status; FAILED - share failed status; NEW - newly created status
    Tags []ResourceShareTagArgs
    Tag key-value pair Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    UpdateTime string
    Update time
    allow_share_type string
    Resource share unit type. Values can be ORG - allows sharing only within the organization; ANY - allows sharing with any account. Default is ANY
    create_time string
    Creation time
    owning_account_id number
    Resource share unit creator account ID
    principals string
    Associated Principals (Principal refers to the recipient, which can be a user, organization, or organizational unit)
    resource_share_id string
    Resource share unit ID
    resource_share_name string
    Resource share unit name
    resource_share_trn string
    Resource share unit Trn
    resource_trns string
    Associated resources
    status string
    Resource share unit status, including UNKNOWN - unknown status; ACTIVE - active status; DELETING - deleting status; DELETED - deleted status; FAILED - share failed status; NEW - newly created status
    tags list(object)
    Tag key-value pair Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    update_time string
    Update time
    allowShareType String
    Resource share unit type. Values can be ORG - allows sharing only within the organization; ANY - allows sharing with any account. Default is ANY
    createTime String
    Creation time
    owningAccountId Integer
    Resource share unit creator account ID
    principals String
    Associated Principals (Principal refers to the recipient, which can be a user, organization, or organizational unit)
    resourceShareId String
    Resource share unit ID
    resourceShareName String
    Resource share unit name
    resourceShareTrn String
    Resource share unit Trn
    resourceTrns String
    Associated resources
    status String
    Resource share unit status, including UNKNOWN - unknown status; ACTIVE - active status; DELETING - deleting status; DELETED - deleted status; FAILED - share failed status; NEW - newly created status
    tags List<ResourceShareTag>
    Tag key-value pair Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    updateTime String
    Update time
    allowShareType string
    Resource share unit type. Values can be ORG - allows sharing only within the organization; ANY - allows sharing with any account. Default is ANY
    createTime string
    Creation time
    owningAccountId number
    Resource share unit creator account ID
    principals string
    Associated Principals (Principal refers to the recipient, which can be a user, organization, or organizational unit)
    resourceShareId string
    Resource share unit ID
    resourceShareName string
    Resource share unit name
    resourceShareTrn string
    Resource share unit Trn
    resourceTrns string
    Associated resources
    status string
    Resource share unit status, including UNKNOWN - unknown status; ACTIVE - active status; DELETING - deleting status; DELETED - deleted status; FAILED - share failed status; NEW - newly created status
    tags ResourceShareTag[]
    Tag key-value pair Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    updateTime string
    Update time
    allow_share_type str
    Resource share unit type. Values can be ORG - allows sharing only within the organization; ANY - allows sharing with any account. Default is ANY
    create_time str
    Creation time
    owning_account_id int
    Resource share unit creator account ID
    principals str
    Associated Principals (Principal refers to the recipient, which can be a user, organization, or organizational unit)
    resource_share_id str
    Resource share unit ID
    resource_share_name str
    Resource share unit name
    resource_share_trn str
    Resource share unit Trn
    resource_trns str
    Associated resources
    status str
    Resource share unit status, including UNKNOWN - unknown status; ACTIVE - active status; DELETING - deleting status; DELETED - deleted status; FAILED - share failed status; NEW - newly created status
    tags Sequence[ResourceShareTagArgs]
    Tag key-value pair Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    update_time str
    Update time
    allowShareType String
    Resource share unit type. Values can be ORG - allows sharing only within the organization; ANY - allows sharing with any account. Default is ANY
    createTime String
    Creation time
    owningAccountId Number
    Resource share unit creator account ID
    principals String
    Associated Principals (Principal refers to the recipient, which can be a user, organization, or organizational unit)
    resourceShareId String
    Resource share unit ID
    resourceShareName String
    Resource share unit name
    resourceShareTrn String
    Resource share unit Trn
    resourceTrns String
    Associated resources
    status String
    Resource share unit status, including UNKNOWN - unknown status; ACTIVE - active status; DELETING - deleting status; DELETED - deleted status; FAILED - share failed status; NEW - newly created status
    tags List<Property Map>
    Tag key-value pair Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    updateTime String
    Update time

    Supporting Types

    ResourceShareTag, ResourceShareTagArgs

    Key string
    Tag key
    Value string
    Tag value
    Key string
    Tag key
    Value string
    Tag value
    key string
    Tag key
    value string
    Tag value
    key String
    Tag key
    value String
    Tag value
    key string
    Tag key
    value string
    Tag value
    key str
    Tag key
    value str
    Tag value
    key String
    Tag key
    value String
    Tag value

    Import

    $ pulumi import bytepluscc:resourceshare/resourceShare:ResourceShare example "resource_share_trn"
    

    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.53
    published on Thursday, Sep 10, 2026 by Byteplus

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial