Skip to content

UserVpcAuthorizationProps

Properties for defining a UserVpcAuthorization.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-pvtz-uservpcauthorization

Initializer

using AlibabaCloud.SDK.ROS.CDK.Pvtz;
new UserVpcAuthorizationProps {
    object AuthorizedUserId,
    object AuthChannel = null,
    object AuthCode = null,
    object AuthType = null,
    object IgnoreDeletionForbidden = null
};

Properties

Name Type Description
AuthorizedUserId object Property authorizedUserId: The account ID of the user who authorizes the resource.
AuthChannel object Property authChannel: Authorization channel.
AuthCode object Property authCode: Verification code, if AuthChannel takes "AUTH_CODE" or is empty, it is mandatory.
AuthType object Property authType: Authorization type.
IgnoreDeletionForbidden object Property ignoreDeletionForbidden: Whether to ignore following deletion forbidden errors when deleting:- UserAuth.DeleteForbidden.ZoneVpcExists.

AuthorizedUserIdRequired

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

Property authorizedUserId: The account ID of the user who authorizes the resource.


AuthChannelOptional

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

Property authChannel: Authorization channel.

Valid values: AUTH_CODE: Verification code authorization, to verify whether the verification code passed in by AuthCode is correct. RESOURCE_DIRECTORY: Resource directory authorization, verify whether the AuthorizedUserId and the current account have resource directory credit.When it is empty, it is the same as AUTH_CODE, that is, verification code authorization.


AuthCodeOptional

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

Property authCode: Verification code, if AuthChannel takes "AUTH_CODE" or is empty, it is mandatory.


AuthTypeOptional

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

Property authType: Authorization type.


IgnoreDeletionForbiddenOptional

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

Property ignoreDeletionForbidden: Whether to ignore following deletion forbidden errors when deleting:- UserAuth.DeleteForbidden.ZoneVpcExists.