1. Registry
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. resourceshare
  6. getResourceShare
Viewing docs for volcenginecc v0.0.60
published on Thursday, Sep 3, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.60
published on Thursday, Sep 3, 2026 by Volcengine

    Data Source schema for Volcengine::ResourceShare::ResourceShare

    Using getResourceShare

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getResourceShare(args: GetResourceShareArgs, opts?: InvokeOptions): Promise<GetResourceShareResult>
    function getResourceShareOutput(args: GetResourceShareOutputArgs, opts?: InvokeOutputOptions): Output<GetResourceShareResult>
    def get_resource_share(id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetResourceShareResult
    def get_resource_share_output(id: pulumi.Input[Optional[str]] = None,
                           opts: Optional[InvokeOutputOptions] = None) -> Output[GetResourceShareResult]
    func LookupResourceShare(ctx *Context, args *LookupResourceShareArgs, opts ...InvokeOption) (*LookupResourceShareResult, error)
    func LookupResourceShareOutput(ctx *Context, args *LookupResourceShareOutputArgs, opts ...InvokeOption) LookupResourceShareResultOutput

    > Note: This function is named LookupResourceShare in the Go SDK.

    public static class GetResourceShare 
    {
        public static Task<GetResourceShareResult> InvokeAsync(GetResourceShareArgs args, InvokeOptions? opts = null)
        public static Output<GetResourceShareResult> Invoke(GetResourceShareInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetResourceShareResult> Invoke(GetResourceShareInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetResourceShareResult> getResourceShare(GetResourceShareArgs args, InvokeOptions options)
    public static Output<GetResourceShareResult> getResourceShare(GetResourceShareArgs args, InvokeOptions options)
    public static Output<GetResourceShareResult> getResourceShare(GetResourceShareArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: volcenginecc:resourceshare/getResourceShare:getResourceShare
      arguments:
        # arguments dictionary
    data "volcenginecc_resourceshare_get_resource_share" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    Uniquely identifies the resource.
    Id string
    Uniquely identifies the resource.
    id string
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.
    id string
    Uniquely identifies the resource.
    id str
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.

    getResourceShare Result

    The following output properties are available:

    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
    Id string
    Uniquely identifies the resource.
    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<Volcengine.GetResourceShareTag>
    Tag key-value pair
    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
    Id string
    Uniquely identifies the resource.
    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 []GetResourceShareTag
    Tag key-value pair
    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
    id string
    Uniquely identifies the resource.
    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
    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
    id String
    Uniquely identifies the resource.
    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<GetResourceShareTag>
    Tag key-value pair
    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
    id string
    Uniquely identifies the resource.
    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 GetResourceShareTag[]
    Tag key-value pair
    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
    id str
    Uniquely identifies the resource.
    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[GetResourceShareTag]
    Tag key-value pair
    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
    id String
    Uniquely identifies the resource.
    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
    updateTime String
    Update time

    Supporting Types

    GetResourceShareTag

    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

    Package Details

    Repository
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.60
    published on Thursday, Sep 3, 2026 by Volcengine

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial