Skip to content

CrossAccountProps

Properties for defining a CrossAccount.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-hbr-crossaccount

Initializer

using AlibabaCloud.SDK.ROS.CDK.Hbr;
new CrossAccountProps {
    object Alias = null,
    object CrossAccountRoleName = null,
    object CrossAccountType = null,
    object CrossAccountUserId = null
};

Properties

Name Type Description
Alias object Property alias: The alias.
CrossAccountRoleName object Property crossAccountRoleName: The name of the RAM role for the account to back up.
CrossAccountType object Property crossAccountType: The type of the cross-account authorization.
CrossAccountUserId object Property crossAccountUserId: The user ID of the account that you want to authorize to back up data in your account.

AliasOptional

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

Property alias: The alias.

The maximum length is 32 characters. This parameter is not required for cross-account backups that are configured based on a resource directory.


CrossAccountRoleNameOptional

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

Property crossAccountRoleName: The name of the RAM role for the account to back up.

This parameter is used when you configure a cross-account backup by assuming a RAM role.


CrossAccountTypeOptional

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

Property crossAccountType: The type of the cross-account authorization.

Valid values: CROSS_ACCOUNT, CROSS_ACCOUNT_BY_RD.


CrossAccountUserIdOptional

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

Property crossAccountUserId: The user ID of the account that you want to authorize to back up data in your account.