Skip to content

ResourceShareAssociationProps

Properties for defining a ResourceShareAssociation.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-resourcemanager-resourceshareassociation

Initializer

using AlibabaCloud.SDK.ROS.CDK.Resourcemanager;
new ResourceShareAssociationProps {
    object ResourceShareId,
    object PermissionNames = null,
    object Resources = null,
    object Targets = null
};

Properties

Name Type Description
ResourceShareId object Property resourceShareId: The ID of the resource share.
PermissionNames object Property permissionNames: Sharing permission name.
Resources object Property resources:.
Targets object Property targets: The shared target.

ResourceShareIdRequired

public object ResourceShareId { get; set; }
  • Type: object

Property resourceShareId: The ID of the resource share.


PermissionNamesOptional

public object PermissionNames { get; set; }
  • Type: object

Property permissionNames: Sharing permission name.

When empty, the system automatically binds the default permissions associated with the resource type.


ResourcesOptional

public object Resources { get; set; }
  • Type: object

Property resources:.


TargetsOptional

public object Targets { get; set; }
  • Type: object

Property targets: The shared target.

A shared target shares the resources of resource owners. You can share your resources only with the member accounts in your resource directory. A shared target is indicated by its account ID. For more information about how to obtain the ID, see View the basic information of a member account.