Skip to content

ResourceShareProps

Properties for defining a ResourceShare.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Resourcemanager;
new ResourceShareProps {
    object ResourceShareName,
    object AllowExternalTargets = null,
    object PermissionNames = null,
    object Resources = null,
    object Targets = null
};

Properties

Name Type Description
ResourceShareName object Property resourceShareName: The name of the resource share.
AllowExternalTargets object Property allowExternalTargets: Whether to allow sharing to accounts outside the resource directory.
PermissionNames object Property permissionNames: Sharing permission name.
Resources object Property resources:.
Targets object Property targets: The shared target.

ResourceShareNameRequired

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

Property resourceShareName: The name of the resource share.

The name must be 1 to 50 characters in length. It can contain letters, digits, periods (.), underscores (_), and hyphens (-).


AllowExternalTargetsOptional

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

Property allowExternalTargets: Whether to allow sharing to accounts outside the resource directory.

Value: false (default): Only allow sharing within the resource directory. true: Allow sharing to any account.


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.