import * as $dara from '@darabonba/typescript'; export declare class DescribeDedicatedHostsRequestTag extends $dara.Model { /** * @remarks * The key of tag N of the DDH. The tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot contain `http://` or `https://`. The tag key cannot start with `acs:` or `aliyun`. * * @example * TestKey */ key?: string; /** * @remarks * The value of tag N of the DDH. You can specify empty strings as tag values. The tag value can be up to 128 characters in length and cannot contain `http://` or `https://`. * * @example * TestValue */ value?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class DescribeDedicatedHostsRequest extends $dara.Model { /** * @remarks * The ID of the dedicated host cluster. * * @example * dc-bp12wlf6am0vz9v2**** */ dedicatedHostClusterId?: string; /** * @remarks * The list of DDH IDs. You can specify up to 100 deployment set IDs in each request. Separate the deployment set IDs with commas (,). * * @example * ["dh-bp165p6xk2tlw61e****", "dh-bp1f9vxmno7emy96****"] */ dedicatedHostIds?: string; /** * @remarks * The name of the dedicated host. * * @example * MyDDHTestName */ dedicatedHostName?: string; /** * @remarks * The type of the DDH. You can call the [DescribeDedicatedHostTypes](https://help.aliyun.com/document_detail/134240.html) operation to query the most recent list of DDH types. * * @example * ddh.g5 */ dedicatedHostType?: string; /** * @remarks * The reason why the dedicated host is locked. Valid values: * * * financial: The dedicated host is locked due to overdue payments. * * security: The dedicated host is locked due to security reasons. * * @example * financial */ lockReason?: string; /** * @remarks * The maximum number of entries per page. If you specify this parameter, both MaxResults and NextToken are used for a paged query. * * Valid values: 1 to 100. * * Default value: 10. * * @example * 10 */ maxResults?: number; /** * @remarks * The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken. * * @example * e71d8a535bd9cc11 */ nextToken?: string; ownerAccount?: string; ownerId?: number; /** * @remarks * > This parameter will be removed in the future. You can use NextToken and MaxResults for a paged query. * * @example * 1 */ pageNumber?: number; /** * @remarks * > This parameter will be removed in the future. You can use NextToken and MaxResults for a paged query. * * @example * 10 */ pageSize?: number; queryInventory?: boolean; /** * @remarks * The region ID of the dedicated host. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list. * * This parameter is required. * * @example * cn-hangzhou */ regionId?: string; /** * @remarks * The ID of the resource group to which the dedicated host belongs. When this parameter is specified to query resources, up to 1,000 resources that belong to the specified resource group can be displayed in the response. * * > Resources in the default resource group are displayed in the response regardless of how this parameter is set. * * @example * rg-aek3b6jzp66**** */ resourceGroupId?: string; resourceOwnerAccount?: string; resourceOwnerId?: number; /** * @remarks * Specifies whether to display socket information. You can view the remaining resources (vCPUs, memory usage, remaining resources, and total resources) based on the capacity information of the socket dimension. Then you can determine whether ECS instances of the corresponding specifications can be created. Valid values: * * * true Only some DDHs support the information about resources in the socket dimension. For more information, see [View and export information about DDHs](https://help.aliyun.com/document_detail/68989.html). * * false * * > Each DDH generally has two CPUs, and each CPU corresponds to Socket 0 and Socket 1. To maximize the performance of an ECS instance on a DDH, ECS instances are not created across sockets. * * * If one socket has available computing resources for creating the ECS instance, creation succeeds. * * * If not, creation fails even if the combined available resources of both sockets are sufficient. Although the remaining resources of the two sockets on the DDH are larger than the ECS instance type, the ECS instance cannot be created. * * @example * true */ socketDetails?: string; /** * @remarks * The service state of the dedicated host. Valid values: * * * Available: The dedicated host is running normally. * * UnderAssessment: The dedicated host is available but has potential risks that may cause the ECS instances on the dedicated host to fail. * * PermanentFailure: The dedicated host encounters permanent failures and is unavailable. * * TempUnavailable: The dedicated host is temporarily unavailable. * * Redeploying: The dedicated host is being restored. * * Default value: Available. * * @example * Available */ status?: string; /** * @remarks * The list of tags. The list length ranges from 0 to 20. */ tag?: DescribeDedicatedHostsRequestTag[]; /** * @remarks * The zone ID of the dedicated host. You can call the [DescribeZones](https://help.aliyun.com/document_detail/25610.html) operation to query the most recent zone list. * * @example * cn-hangzhou-g */ zoneId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }