import * as $dara from '@darabonba/typescript'; export declare class CreatePolicyVersionRequest extends $dara.Model { /** * @remarks * The document of the policy. The document can be up to 6,144 bytes in length. * * @example * {"Statement":[{"Action":["oss:*"],"Effect":"Allow","Resource":["acs:oss:*:*:*"]}],"Version":"1"} */ policyDocument?: string; /** * @remarks * The name of the policy. * * @example * OSS-Administrator */ policyName?: string; /** * @remarks * The rotation strategy of the policy. The rotation strategy can be used to delete an early policy version. * * Valid values: * * * `None`: disables the rotation strategy. * * `DeleteOldestNonDefaultVersionWhenLimitExceeded`: deletes the earliest non-active version if the number of versions exceeds the limit. * * Default value: `None`. * * @example * None */ rotateStrategy?: string; /** * @remarks * Specifies whether to set this policy as the default policy. Default value: `false`. * * @example * false */ setAsDefault?: boolean; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }