UserVpcAuthorizationProps
Properties for defining a UserVpcAuthorization
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-pvtz-uservpcauthorization
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkpvtz"
&alicloudroscdkpvtz.UserVpcAuthorizationProps {
AuthorizedUserId: interface{},
AuthChannel: interface{},
AuthCode: interface{},
AuthType: interface{},
IgnoreDeletionForbidden: interface{},
}
Properties
Name | Type | Description |
---|---|---|
AuthorizedUserId |
interface{} |
Property authorizedUserId: The account ID of the user who authorizes the resource. |
AuthChannel |
interface{} |
Property authChannel: Authorization channel. |
AuthCode |
interface{} |
Property authCode: Verification code, if AuthChannel takes "AUTH_CODE" or is empty, it is mandatory. |
AuthType |
interface{} |
Property authType: Authorization type. |
IgnoreDeletionForbidden |
interface{} |
Property ignoreDeletionForbidden: Whether to ignore following deletion forbidden errors when deleting:- UserAuth.DeleteForbidden.ZoneVpcExists. |
AuthorizedUserId
Required
AuthorizedUserId interface{}
- Type: interface{}
Property authorizedUserId: The account ID of the user who authorizes the resource.
AuthChannel
Optional
AuthChannel interface{}
- Type: interface{}
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.
AuthCode
Optional
AuthCode interface{}
- Type: interface{}
Property authCode: Verification code, if AuthChannel takes "AUTH_CODE" or is empty, it is mandatory.
AuthType
Optional
AuthType interface{}
- Type: interface{}
Property authType: Authorization type.
IgnoreDeletionForbidden
Optional
IgnoreDeletionForbidden interface{}
- Type: interface{}
Property ignoreDeletionForbidden: Whether to ignore following deletion forbidden errors when deleting:- UserAuth.DeleteForbidden.ZoneVpcExists.