import * as $dara from '@darabonba/typescript';
export declare class ModifyDedicatedHostAutoRenewAttributeRequest extends $dara.Model {
    /**
     * @remarks
     * Specifies whether to automatically renew the subscription. Valid values:
     *
     * *   true
     * *   false
     *
     * Default value: false
     *
     * @example
     * false
     */
    autoRenew?: boolean;
    /**
     * @remarks
     * Specifies whether to automatically renew the subscription dedicated hosts along with the subscription ECS instances hosted on the dedicated hosts.
     *
     * If auto-renewal is enabled for the subscription ECS instances hosted on the subscription dedicated hosts, you can specify this parameter to automatically renew the dedicated hosts along with the subscription ECS instances. When the subscription ECS instances hosted on your dedicated hosts are automatically renewed, the subscription dedicated hosts are also automatically renewed if the expiration time of the dedicated hosts is earlier than the expiration time of the renewed instances. Take note of the following items:
     *
     * When the subscription dedicated hosts are configured to be automatically renewed along with the subscription ECS instances hosted on the dedicated hosts, the system checks the expiration time of the renewed instances and selects a minimum renewal duration for the dedicated hosts so that the dedicated hosts are renewed by a duration that ends later than the expiration time of the renewed instances. For more information about supported renewal durations, see the descriptions of the `PeriodUnit` and `Duration` parameters.
     *
     * For example, assume that a dedicated host expires on January 15 of the current year. Subscription ECS instances hosted on the dedicated host are configured to be automatically renewed to November 15 of the same year. The expiration time of the dedicated host is earlier than the expiration time of the ECS instances by 10 months. In this case, the system selects a renewal duration of 12 months (a minimum duration calculated based on a `Duration` value of 12 and a `PeriodUnit` value of Month) for the dedicated host. This ensures that the dedicated host expires later than the ECS instances.
     *
     * Valid values:
     *
     * *   AutoRenewWithEcs: automatically renews the subscription dedicated hosts along with the subscription ECS instances hosted on the dedicated hosts.
     * *   StopRenewWithEcs: does not automatically renew the subscription dedicated hosts along with the subscription ECS instances hosted on the dedicated hosts.
     * *   NoOperation: does not change the current settings for the dedicated hosts.
     *
     * > If you set this parameter to AutoRenewWithEcs, make sure that `AutoRenew` is set to true to enable auto-renewal for the dedicated hosts. Otherwise, the subscription dedicated hosts are not automatically renewed along with the subscription ECS instances hosted on the dedicated hosts.
     *
     * Default value: NoOperation.
     *
     * @example
     * StopRenewWithEcs
     */
    autoRenewWithEcs?: string;
    /**
     * @remarks
     * The IDs of dedicated hosts. You can specify up to 100 subscription dedicated host IDs. Separate the IDs with commas (,).
     *
     * This parameter is required.
     *
     * @example
     * dh-bp165p6xk2tlw61e****
     */
    dedicatedHostIds?: string;
    /**
     * @remarks
     * The renewal duration.
     *
     * *   Valid values when PeriodUnit is set to Month: 1 and 12
     * *   Valid values when PeriodUnit is set to Year: 1 and 12
     *
     * @example
     * 1
     */
    duration?: number;
    ownerAccount?: string;
    ownerId?: number;
    /**
     * @remarks
     * The unit of the renewal period. Valid values:
     *
     * *   Month
     * *   Year
     *
     * Default value: Month
     *
     * @example
     * Month
     */
    periodUnit?: string;
    /**
     * @remarks
     * The region ID of the dedicated host.
     *
     * This parameter is required.
     *
     * @example
     * cn-hangzhou
     */
    regionId?: string;
    /**
     * @remarks
     * Specifies whether to automatically renew the subscription dedicated host. The `RenewalStatus` parameter takes precedence over the `AutoRenew` parameter. Valid values:
     *
     * *   AutoRenewal: The dedicated hosts are automatically renewed.
     * *   Normal: The dedicated hosts are not automatically renewed, and renewal notifications are sent.
     * *   NotRenewal: The dedicated hosts are not automatically renewed, and no expiration notification is sent. A notification of no renewal is automatically sent three days before the end of the current subscription cycle. You can change the value of this parameter from NotRenewal to Normal and manually renew the dedicated hosts by calling the [RenewDedicatedHosts](https://help.aliyun.com/document_detail/134250.html) operation. Alternatively, you can renew the dedicated hosts by setting this parameter to AutoRenewal.
     *
     * @example
     * Normal
     */
    renewalStatus?: string;
    resourceOwnerAccount?: string;
    resourceOwnerId?: number;
    static names(): {
        [key: string]: string;
    };
    static types(): {
        [key: string]: any;
    };
    validate(): void;
    constructor(map?: {
        [key: string]: any;
    });
}
