NetworkInterfacePermissionProps
Properties for defining a NetworkInterfacePermission.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-networkinterfacepermission
Initializer
import com.aliyun.ros.cdk.ecs.NetworkInterfacePermissionProps;
NetworkInterfacePermissionProps.builder()
.accountId(java.lang.String)
.accountId(IResolvable)
.networkInterfaceId(java.lang.String)
.networkInterfaceId(IResolvable)
.permission(java.lang.String)
.permission(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
accountId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property accountId: The ID of the account to which the permission is granted. |
networkInterfaceId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property networkInterfaceId: Network interface id. |
permission | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property permission: The permission to grant. |
accountIdRequired
public java.lang.Object getAccountId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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
public java.lang.Object getNetworkInterfaceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property networkInterfaceId: Network interface id.
permissionRequired
public java.lang.Object getPermission();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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.