// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class ModifySecurityGroupPolicyRequest extends $dara.Model { /** * @remarks * The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but make sure that the token is unique among different requests. The **ClientToken** value can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](https://help.aliyun.com/document_detail/25693.html). * * @example * 123e4567-e89b-12d3-a456-426655440000 */ clientToken?: string; /** * @remarks * The internal connectivity policy between ECS instances in the security group. Valid values: * * - Accept: intra-group connectivity * - Drop: internal isolation * * >The value is case-insensitive. * * This parameter is required. * * @example * Drop */ innerAccessPolicy?: string; ownerAccount?: string; ownerId?: number; /** * @remarks * The region ID of the security group. You can call [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) to query the most recent region list. * * This parameter is required. * * @example * cn-hangzhou */ regionId?: string; resourceOwnerAccount?: string; resourceOwnerId?: number; /** * @remarks * The ID of the security group. * * This parameter is required. * * @example * sg-bp67acfmxazb4ph**** */ securityGroupId?: string; static names(): { [key: string]: string } { return { clientToken: 'ClientToken', innerAccessPolicy: 'InnerAccessPolicy', ownerAccount: 'OwnerAccount', ownerId: 'OwnerId', regionId: 'RegionId', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', securityGroupId: 'SecurityGroupId', }; } static types(): { [key: string]: any } { return { clientToken: 'string', innerAccessPolicy: 'string', ownerAccount: 'string', ownerId: 'number', regionId: 'string', resourceOwnerAccount: 'string', resourceOwnerId: 'number', securityGroupId: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }