Skip to content

NetworkInterfacePermissionProps

Properties for defining a NetworkInterfacePermission.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-networkinterfacepermission

Initializer

using AlibabaCloud.SDK.ROS.CDK.Ecs;
new NetworkInterfacePermissionProps {
    object AccountId,
    object NetworkInterfaceId,
    object Permission
};

Properties

Name Type Description
AccountId object Property accountId: The ID of the account to which the permission is granted.
NetworkInterfaceId object Property networkInterfaceId: Network interface id.
Permission object Property permission: The permission to grant.

AccountIdRequired

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

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 object NetworkInterfaceId { get; set; }
  • Type: object

Property networkInterfaceId: Network interface id.


PermissionRequired

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

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.