import * as $dara from '@darabonba/typescript'; import { EntityGroupBase } from "./EntityGroupBase"; export declare class ListAddonReleasesResponseBodyReleasesConditions extends $dara.Model { /** * @remarks * The first transition time. * * @example * 2024-11-04T16:10:22+08:00 */ firstTransitionTime?: string; /** * @remarks * The last transition time. * * @example * 2024-11-04T16:10:22+08:00 */ lastTransitionTime?: string; /** * @remarks * The details. * * @example * The addon loaded successfully */ message?: string; /** * @remarks * The phase status. * * @example * True */ status?: string; /** * @remarks * The phase type. * * @example * Loaded */ type?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class ListAddonReleasesResponseBodyReleasesSubAddonRelease extends $dara.Model { /** * @remarks * The number of ready sub-releases. * * @example * 2 */ ready?: number; /** * @remarks * The number of sub-releases. * * @example * 3 */ total?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class ListAddonReleasesResponseBodyReleases extends $dara.Model { /** * @remarks * The addon name. * * @example * cs-gpu */ addonName?: string; /** * @remarks * The number of alert rules. * * @example * 6 */ alertRuleCount?: number; /** * @remarks * The version number. * * @example * 2023-03-30 */ apiVersion?: string; /** * @remarks * The summary of installation phase conditions. * * Type includes four values: Loaded (loads configurations), Installed (executes installation), Ready (performs a readiness check after installation), and UnInstalled (executes uninstallation). These four conditions theoretically occur in sequence. * * Status. Valid values: * - Unknown: The current phase is being executed. * - True: The execution is ready. * - False: The execution failed. * * Complete status determination rules: * If the Status of Loaded, Installed, or Ready is False, the installation fails. If the Status of Ready is True, the installation succeeds. In other cases, the installation is in progress. * * If UnInstalled exists, an uninstallation is in progress. If Status is True, the uninstallation succeeds. If Status is Unknown, the uninstallation is in progress. If Status is False, the uninstallation fails. */ conditions?: ListAddonReleasesResponseBodyReleasesConditions[]; /** * @remarks * The component configuration information. * * @example * {"install":{"mode":"auto-install","listenPort":"9400"},"discoverMode":"instances","discover":{"instances":"worker-k8s-for-cs-c126d87c76218487e83ab322017f11b44"},"scrapeInterval":"15","enableSecuritecs-nodeyGroupInjection":"true","metricTags":""} */ config?: string; /** * @remarks * The onboarding time. * * @example * 2024-11-04T16:10:12+08:00 */ createTime?: string; /** * @remarks * The number of dashboards. * * @example * 3 */ dashboardCount?: number; /** * @remarks * The entity details. */ entityRules?: EntityGroupBase; /** * @remarks * The environment type. * * @example * CS */ envType?: string; /** * @remarks * The environment ID. * * @example * policy-xxxxxxxxxxxx */ environmentId?: string; /** * @remarks * The number of exporters. * * @example * 2 */ exporterCount?: number; /** * @remarks * Indicates whether a configuration is available. * * @example * true */ haveConfig?: boolean; /** * @remarks * The ID of the onboarding user. * * @example * 175xxxxxxxxx */ installUserId?: string; /** * @remarks * The language. * * @example * zh */ language?: string; /** * @remarks * Indicates whether the component is managed. * * @example * true */ managed?: boolean; /** * @remarks * The starting version number for the remaining list. * * @example * None */ nextVersion?: string; /** * @remarks * The parent add-on release ID. * * @example * policy-xxxxxxxxxxxxxx */ parentAddonReleaseId?: string; /** * @remarks * The policy ID. * * @example * policy-xxxxxxxxxxxxxx */ policyId?: string; /** * @remarks * The region ID. * * @example * cn-hangzhou */ regionId?: string; /** * @remarks * The release ID. * * @example * 7339d808-66f9-4d40-83fa-xxxxxxxxxxx */ releaseId?: string; /** * @remarks * The release name. * * @example * test-gpu-integration-name */ releaseName?: string; /** * @remarks * The component scenario. * * @example * container */ scene?: string; /** * @remarks * The status. * * @example * running */ status?: string; /** * @remarks * The statistics information of sub-addon releases. */ subAddonRelease?: ListAddonReleasesResponseBodyReleasesSubAddonRelease; /** * @remarks * The update time. * * @example * 2024-11-04T16:10:23+08:00 */ updateTime?: string; /** * @remarks * The ID of the owner user. * * @example * 175xxxxxxxxxxxxx */ userId?: string; /** * @remarks * The component version. * * @example * 0.0.2 */ version?: string; /** * @remarks * The workspace. * * @example * default */ workspace?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class ListAddonReleasesResponseBody extends $dara.Model { /** * @remarks * The next page token. */ nextToken?: string; /** * @remarks * The collection of onboarded component information. */ releases?: ListAddonReleasesResponseBodyReleases[]; /** * @remarks * The request ID. * * @example * CD8BA7D6-995D-578D-9941-78B0FECD14B5 */ requestId?: string; /** * @remarks * The number of components. * * @example * 1 */ total?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }