NetworkInterfacePermissionProps
Properties for defining a NetworkInterfacePermission.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-networkinterfacepermission
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs"
&alicloudroscdkecs.NetworkInterfacePermissionProps {
AccountId: interface{},
NetworkInterfaceId: interface{},
Permission: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
AccountId | interface{} | Property accountId: The ID of the account to which the permission is granted. |
NetworkInterfaceId | interface{} | Property networkInterfaceId: Network interface id. |
Permission | interface{} | Property permission: The permission to grant. |
AccountIdRequired
AccountId interface{}
- Type: interface{}
Property accountId: The ID of the account to which the permission is granted.
The account can be a cloud partner (certified ISV) or an individual user.
NetworkInterfaceIdRequired
NetworkInterfaceId interface{}
- Type: interface{}
Property networkInterfaceId: Network interface id.
PermissionRequired
Permission interface{}
- Type: interface{}
Property permission: The permission to grant.
The only supported value is InstanceAttach. InstanceAttach: Allows an authorized account to attach your elastic network interface to one of its ECS instances. The ECS instance and the elastic network interface must be in the same availability zone.