@alicloud/cms20240330 2.3.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +522 -0
- package/dist/client.js +1648 -95
- package/dist/client.js.map +1 -1
- package/dist/models/AlertRuleCondition.d.ts +2 -0
- package/dist/models/AlertRuleCondition.js +4 -0
- package/dist/models/AlertRuleCondition.js.map +1 -1
- package/dist/models/AlertRuleQuery.d.ts +1 -0
- package/dist/models/AlertRuleQuery.js +5 -0
- package/dist/models/AlertRuleQuery.js.map +1 -1
- package/dist/models/CreateAddonReleaseRequest.d.ts +66 -0
- package/dist/models/CreateAddonReleaseRequest.js +80 -0
- package/dist/models/CreateAddonReleaseRequest.js.map +1 -0
- package/dist/models/CreateAddonReleaseResponse.d.ts +19 -0
- package/dist/models/CreateAddonReleaseResponse.js +69 -0
- package/dist/models/CreateAddonReleaseResponse.js.map +1 -0
- package/dist/models/CreateAddonReleaseResponseBody.d.ts +186 -0
- package/dist/models/CreateAddonReleaseResponseBody.js +164 -0
- package/dist/models/CreateAddonReleaseResponseBody.js.map +1 -0
- package/dist/models/CreateAggTaskGroupRequest.d.ts +131 -0
- package/dist/models/CreateAggTaskGroupRequest.js +114 -0
- package/dist/models/CreateAggTaskGroupRequest.js.map +1 -0
- package/dist/models/CreateAggTaskGroupResponse.d.ts +19 -0
- package/dist/models/CreateAggTaskGroupResponse.js +69 -0
- package/dist/models/CreateAggTaskGroupResponse.js.map +1 -0
- package/dist/models/CreateAggTaskGroupResponseBody.d.ts +43 -0
- package/dist/models/CreateAggTaskGroupResponseBody.js +68 -0
- package/dist/models/CreateAggTaskGroupResponseBody.js.map +1 -0
- package/dist/models/CreateIntegrationPolicyRequest.d.ts +92 -0
- package/dist/models/CreateIntegrationPolicyRequest.js +120 -0
- package/dist/models/CreateIntegrationPolicyRequest.js.map +1 -0
- package/dist/models/CreateIntegrationPolicyResponse.d.ts +19 -0
- package/dist/models/CreateIntegrationPolicyResponse.js +69 -0
- package/dist/models/CreateIntegrationPolicyResponse.js.map +1 -0
- package/dist/models/CreateIntegrationPolicyResponseBody.d.ts +67 -0
- package/dist/models/CreateIntegrationPolicyResponseBody.js +96 -0
- package/dist/models/CreateIntegrationPolicyResponseBody.js.map +1 -0
- package/dist/models/CreatePrometheusViewRequest.d.ts +114 -0
- package/dist/models/CreatePrometheusViewRequest.js +126 -0
- package/dist/models/CreatePrometheusViewRequest.js.map +1 -0
- package/dist/models/CreatePrometheusViewResponse.d.ts +19 -0
- package/dist/models/CreatePrometheusViewResponse.js +69 -0
- package/dist/models/CreatePrometheusViewResponse.js.map +1 -0
- package/dist/models/CreatePrometheusViewResponseBody.d.ts +26 -0
- package/dist/models/CreatePrometheusViewResponseBody.js +60 -0
- package/dist/models/CreatePrometheusViewResponseBody.js.map +1 -0
- package/dist/models/CreatePrometheusVirtualInstanceRequest.d.ts +21 -0
- package/dist/models/CreatePrometheusVirtualInstanceRequest.js +58 -0
- package/dist/models/CreatePrometheusVirtualInstanceRequest.js.map +1 -0
- package/dist/models/CreatePrometheusVirtualInstanceResponse.d.ts +19 -0
- package/dist/models/CreatePrometheusVirtualInstanceResponse.js +69 -0
- package/dist/models/CreatePrometheusVirtualInstanceResponse.js.map +1 -0
- package/dist/models/CreatePrometheusVirtualInstanceResponseBody.d.ts +64 -0
- package/dist/models/CreatePrometheusVirtualInstanceResponseBody.js +92 -0
- package/dist/models/CreatePrometheusVirtualInstanceResponseBody.js.map +1 -0
- package/dist/models/CreateUmodelRequest.d.ts +0 -24
- package/dist/models/CreateUmodelRequest.js +1 -32
- package/dist/models/CreateUmodelRequest.js.map +1 -1
- package/dist/models/DeleteAddonReleaseRequest.d.ts +28 -0
- package/dist/models/DeleteAddonReleaseRequest.js +62 -0
- package/dist/models/DeleteAddonReleaseRequest.js.map +1 -0
- package/dist/models/DeleteAddonReleaseResponse.d.ts +19 -0
- package/dist/models/DeleteAddonReleaseResponse.js +69 -0
- package/dist/models/DeleteAddonReleaseResponse.js.map +1 -0
- package/dist/models/DeleteAddonReleaseResponseBody.d.ts +18 -0
- package/dist/models/DeleteAddonReleaseResponseBody.js +58 -0
- package/dist/models/DeleteAddonReleaseResponseBody.js.map +1 -0
- package/dist/models/DeleteAggTaskGroupResponse.d.ts +19 -0
- package/dist/models/DeleteAggTaskGroupResponse.js +69 -0
- package/dist/models/DeleteAggTaskGroupResponse.js.map +1 -0
- package/dist/models/DeleteAggTaskGroupResponseBody.d.ts +18 -0
- package/dist/models/DeleteAggTaskGroupResponseBody.js +58 -0
- package/dist/models/DeleteAggTaskGroupResponseBody.js.map +1 -0
- package/dist/models/DeleteIntegrationPolicyRequest.d.ts +18 -0
- package/dist/models/DeleteIntegrationPolicyRequest.js +58 -0
- package/dist/models/DeleteIntegrationPolicyRequest.js.map +1 -0
- package/dist/models/DeleteIntegrationPolicyResponse.d.ts +19 -0
- package/dist/models/DeleteIntegrationPolicyResponse.js +69 -0
- package/dist/models/DeleteIntegrationPolicyResponse.js.map +1 -0
- package/dist/models/DeleteIntegrationPolicyResponseBody.d.ts +21 -0
- package/dist/models/DeleteIntegrationPolicyResponseBody.js +58 -0
- package/dist/models/DeleteIntegrationPolicyResponseBody.js.map +1 -0
- package/dist/models/DeletePrometheusInstanceResponse.d.ts +19 -0
- package/dist/models/DeletePrometheusInstanceResponse.js +69 -0
- package/dist/models/DeletePrometheusInstanceResponse.js.map +1 -0
- package/dist/models/DeletePrometheusInstanceResponseBody.d.ts +21 -0
- package/dist/models/DeletePrometheusInstanceResponseBody.js +58 -0
- package/dist/models/DeletePrometheusInstanceResponseBody.js.map +1 -0
- package/dist/models/DeletePrometheusViewResponse.d.ts +19 -0
- package/dist/models/DeletePrometheusViewResponse.js +69 -0
- package/dist/models/DeletePrometheusViewResponse.js.map +1 -0
- package/dist/models/DeletePrometheusViewResponseBody.d.ts +21 -0
- package/dist/models/DeletePrometheusViewResponseBody.js +58 -0
- package/dist/models/DeletePrometheusViewResponseBody.js.map +1 -0
- package/dist/models/GetAddonReleaseResponse.d.ts +19 -0
- package/dist/models/GetAddonReleaseResponse.js +69 -0
- package/dist/models/GetAddonReleaseResponse.js.map +1 -0
- package/dist/models/GetAddonReleaseResponseBody.d.ts +194 -0
- package/dist/models/GetAddonReleaseResponseBody.js +166 -0
- package/dist/models/GetAddonReleaseResponseBody.js.map +1 -0
- package/dist/models/GetAggTaskGroupResponse.d.ts +19 -0
- package/dist/models/GetAggTaskGroupResponse.js +69 -0
- package/dist/models/GetAggTaskGroupResponse.js.map +1 -0
- package/dist/models/GetAggTaskGroupResponseBody.d.ts +165 -0
- package/dist/models/GetAggTaskGroupResponseBody.js +148 -0
- package/dist/models/GetAggTaskGroupResponseBody.js.map +1 -0
- package/dist/models/GetEntityStoreDataResponseBody.d.ts +34 -0
- package/dist/models/GetEntityStoreDataResponseBody.js +61 -1
- package/dist/models/GetEntityStoreDataResponseBody.js.map +1 -1
- package/dist/models/GetIntegrationPolicyResponse.d.ts +19 -0
- package/dist/models/GetIntegrationPolicyResponse.js +69 -0
- package/dist/models/GetIntegrationPolicyResponse.js.map +1 -0
- package/dist/models/GetIntegrationPolicyResponseBody.d.ts +336 -0
- package/dist/models/GetIntegrationPolicyResponseBody.js +401 -0
- package/dist/models/GetIntegrationPolicyResponseBody.js.map +1 -0
- package/dist/models/GetPrometheusInstanceRequest.d.ts +23 -0
- package/dist/models/GetPrometheusInstanceRequest.js +60 -0
- package/dist/models/GetPrometheusInstanceRequest.js.map +1 -0
- package/dist/models/GetPrometheusInstanceResponse.d.ts +19 -0
- package/dist/models/GetPrometheusInstanceResponse.js +69 -0
- package/dist/models/GetPrometheusInstanceResponse.js.map +1 -0
- package/dist/models/GetPrometheusInstanceResponseBody.d.ts +230 -0
- package/dist/models/GetPrometheusInstanceResponseBody.js +184 -0
- package/dist/models/GetPrometheusInstanceResponseBody.js.map +1 -0
- package/dist/models/GetPrometheusViewRequest.d.ts +23 -0
- package/dist/models/GetPrometheusViewRequest.js +60 -0
- package/dist/models/GetPrometheusViewRequest.js.map +1 -0
- package/dist/models/GetPrometheusViewResponse.d.ts +19 -0
- package/dist/models/GetPrometheusViewResponse.js +69 -0
- package/dist/models/GetPrometheusViewResponse.js.map +1 -0
- package/dist/models/GetPrometheusViewResponseBody.d.ts +206 -0
- package/dist/models/GetPrometheusViewResponseBody.js +187 -0
- package/dist/models/GetPrometheusViewResponseBody.js.map +1 -0
- package/dist/models/GetUmodelResponseBody.d.ts +0 -1
- package/dist/models/GetUmodelResponseBody.js +0 -5
- package/dist/models/GetUmodelResponseBody.js.map +1 -1
- package/dist/models/ListAddonReleasesRequest.d.ts +23 -0
- package/dist/models/ListAddonReleasesRequest.js +60 -0
- package/dist/models/ListAddonReleasesRequest.js.map +1 -0
- package/dist/models/ListAddonReleasesResponse.d.ts +19 -0
- package/dist/models/ListAddonReleasesResponse.js +69 -0
- package/dist/models/ListAddonReleasesResponse.js.map +1 -0
- package/dist/models/ListAddonReleasesResponseBody.d.ts +211 -0
- package/dist/models/ListAddonReleasesResponseBody.js +196 -0
- package/dist/models/ListAddonReleasesResponseBody.js.map +1 -0
- package/dist/models/ListAggTaskGroupsRequest.d.ts +71 -0
- package/dist/models/ListAggTaskGroupsRequest.js +96 -0
- package/dist/models/ListAggTaskGroupsRequest.js.map +1 -0
- package/dist/models/ListAggTaskGroupsResponse.d.ts +19 -0
- package/dist/models/ListAggTaskGroupsResponse.js +69 -0
- package/dist/models/ListAggTaskGroupsResponse.js.map +1 -0
- package/dist/models/ListAggTaskGroupsResponseBody.d.ts +159 -0
- package/dist/models/ListAggTaskGroupsResponseBody.js +148 -0
- package/dist/models/ListAggTaskGroupsResponseBody.js.map +1 -0
- package/dist/models/ListAggTaskGroupsShrinkRequest.d.ts +49 -0
- package/dist/models/ListAggTaskGroupsShrinkRequest.js +72 -0
- package/dist/models/ListAggTaskGroupsShrinkRequest.js.map +1 -0
- package/dist/models/ListIntegrationPolicyCustomScrapeJobRulesRequest.d.ts +24 -0
- package/dist/models/ListIntegrationPolicyCustomScrapeJobRulesRequest.js +62 -0
- package/dist/models/ListIntegrationPolicyCustomScrapeJobRulesRequest.js.map +1 -0
- package/dist/models/ListIntegrationPolicyCustomScrapeJobRulesResponse.d.ts +19 -0
- package/dist/models/ListIntegrationPolicyCustomScrapeJobRulesResponse.js +69 -0
- package/dist/models/ListIntegrationPolicyCustomScrapeJobRulesResponse.js.map +1 -0
- package/dist/models/ListIntegrationPolicyCustomScrapeJobRulesResponseBody.d.ts +139 -0
- package/dist/models/ListIntegrationPolicyCustomScrapeJobRulesResponseBody.js +143 -0
- package/dist/models/ListIntegrationPolicyCustomScrapeJobRulesResponseBody.js.map +1 -0
- package/dist/models/ListIntegrationPolicyPodMonitorsRequest.d.ts +28 -0
- package/dist/models/ListIntegrationPolicyPodMonitorsRequest.js +62 -0
- package/dist/models/ListIntegrationPolicyPodMonitorsRequest.js.map +1 -0
- package/dist/models/ListIntegrationPolicyPodMonitorsResponse.d.ts +19 -0
- package/dist/models/ListIntegrationPolicyPodMonitorsResponse.js +69 -0
- package/dist/models/ListIntegrationPolicyPodMonitorsResponse.js.map +1 -0
- package/dist/models/ListIntegrationPolicyPodMonitorsResponseBody.d.ts +123 -0
- package/dist/models/ListIntegrationPolicyPodMonitorsResponseBody.js +134 -0
- package/dist/models/ListIntegrationPolicyPodMonitorsResponseBody.js.map +1 -0
- package/dist/models/ListIntegrationPolicyStorageRequirementsRequest.d.ts +24 -0
- package/dist/models/ListIntegrationPolicyStorageRequirementsRequest.js +62 -0
- package/dist/models/ListIntegrationPolicyStorageRequirementsRequest.js.map +1 -0
- package/dist/models/ListIntegrationPolicyStorageRequirementsResponse.d.ts +19 -0
- package/dist/models/ListIntegrationPolicyStorageRequirementsResponse.js +69 -0
- package/dist/models/ListIntegrationPolicyStorageRequirementsResponse.js.map +1 -0
- package/dist/models/ListIntegrationPolicyStorageRequirementsResponseBody.d.ts +196 -0
- package/dist/models/ListIntegrationPolicyStorageRequirementsResponseBody.js +215 -0
- package/dist/models/ListIntegrationPolicyStorageRequirementsResponseBody.js.map +1 -0
- package/dist/models/ListPrometheusDashboardsRequest.d.ts +23 -0
- package/dist/models/ListPrometheusDashboardsRequest.js +60 -0
- package/dist/models/ListPrometheusDashboardsRequest.js.map +1 -0
- package/dist/models/ListPrometheusDashboardsResponse.d.ts +19 -0
- package/dist/models/ListPrometheusDashboardsResponse.js +69 -0
- package/dist/models/ListPrometheusDashboardsResponse.js.map +1 -0
- package/dist/models/ListPrometheusDashboardsResponseBody.d.ts +65 -0
- package/dist/models/ListPrometheusDashboardsResponseBody.js +97 -0
- package/dist/models/ListPrometheusDashboardsResponseBody.js.map +1 -0
- package/dist/models/ListPrometheusInstancesRequest.d.ts +97 -0
- package/dist/models/ListPrometheusInstancesRequest.js +98 -0
- package/dist/models/ListPrometheusInstancesRequest.js.map +1 -0
- package/dist/models/ListPrometheusInstancesResponse.d.ts +19 -0
- package/dist/models/ListPrometheusInstancesResponse.js +69 -0
- package/dist/models/ListPrometheusInstancesResponse.js.map +1 -0
- package/dist/models/ListPrometheusInstancesResponseBody.d.ts +146 -0
- package/dist/models/ListPrometheusInstancesResponseBody.js +145 -0
- package/dist/models/ListPrometheusInstancesResponseBody.js.map +1 -0
- package/dist/models/ListPrometheusInstancesShrinkRequest.d.ts +75 -0
- package/dist/models/ListPrometheusInstancesShrinkRequest.js +74 -0
- package/dist/models/ListPrometheusInstancesShrinkRequest.js.map +1 -0
- package/dist/models/ListPrometheusViewsRequest.d.ts +87 -0
- package/dist/models/ListPrometheusViewsRequest.js +100 -0
- package/dist/models/ListPrometheusViewsRequest.js.map +1 -0
- package/dist/models/ListPrometheusViewsResponse.d.ts +19 -0
- package/dist/models/ListPrometheusViewsResponse.js +69 -0
- package/dist/models/ListPrometheusViewsResponse.js.map +1 -0
- package/dist/models/ListPrometheusViewsResponseBody.d.ts +145 -0
- package/dist/models/ListPrometheusViewsResponseBody.js +140 -0
- package/dist/models/ListPrometheusViewsResponseBody.js.map +1 -0
- package/dist/models/ListPrometheusViewsShrinkRequest.d.ts +65 -0
- package/dist/models/ListPrometheusViewsShrinkRequest.js +76 -0
- package/dist/models/ListPrometheusViewsShrinkRequest.js.map +1 -0
- package/dist/models/ListPrometheusVirtualInstancesRequest.d.ts +18 -0
- package/dist/models/ListPrometheusVirtualInstancesRequest.js +58 -0
- package/dist/models/ListPrometheusVirtualInstancesRequest.js.map +1 -0
- package/dist/models/ListPrometheusVirtualInstancesResponse.d.ts +19 -0
- package/dist/models/ListPrometheusVirtualInstancesResponse.js +69 -0
- package/dist/models/ListPrometheusVirtualInstancesResponse.js.map +1 -0
- package/dist/models/ListPrometheusVirtualInstancesResponseBody.d.ts +64 -0
- package/dist/models/ListPrometheusVirtualInstancesResponseBody.js +92 -0
- package/dist/models/ListPrometheusVirtualInstancesResponseBody.js.map +1 -0
- package/dist/models/UpdateAddonReleaseRequest.d.ts +30 -0
- package/dist/models/UpdateAddonReleaseRequest.js +68 -0
- package/dist/models/UpdateAddonReleaseRequest.js.map +1 -0
- package/dist/models/UpdateAddonReleaseResponse.d.ts +19 -0
- package/dist/models/UpdateAddonReleaseResponse.js +69 -0
- package/dist/models/UpdateAddonReleaseResponse.js.map +1 -0
- package/dist/models/UpdateAddonReleaseResponseBody.d.ts +18 -0
- package/dist/models/UpdateAddonReleaseResponseBody.js +58 -0
- package/dist/models/UpdateAddonReleaseResponseBody.js.map +1 -0
- package/dist/models/UpdateAggTaskGroupRequest.d.ts +123 -0
- package/dist/models/UpdateAggTaskGroupRequest.js +112 -0
- package/dist/models/UpdateAggTaskGroupRequest.js.map +1 -0
- package/dist/models/UpdateAggTaskGroupResponse.d.ts +19 -0
- package/dist/models/UpdateAggTaskGroupResponse.js +69 -0
- package/dist/models/UpdateAggTaskGroupResponse.js.map +1 -0
- package/dist/models/UpdateAggTaskGroupResponseBody.d.ts +43 -0
- package/dist/models/UpdateAggTaskGroupResponseBody.js +68 -0
- package/dist/models/UpdateAggTaskGroupResponseBody.js.map +1 -0
- package/dist/models/UpdateAggTaskGroupStatusRequest.d.ts +21 -0
- package/dist/models/UpdateAggTaskGroupStatusRequest.js +58 -0
- package/dist/models/UpdateAggTaskGroupStatusRequest.js.map +1 -0
- package/dist/models/UpdateAggTaskGroupStatusResponse.d.ts +19 -0
- package/dist/models/UpdateAggTaskGroupStatusResponse.js +69 -0
- package/dist/models/UpdateAggTaskGroupStatusResponse.js.map +1 -0
- package/dist/models/UpdateAggTaskGroupStatusResponseBody.d.ts +43 -0
- package/dist/models/UpdateAggTaskGroupStatusResponseBody.js +68 -0
- package/dist/models/UpdateAggTaskGroupStatusResponseBody.js.map +1 -0
- package/dist/models/UpdateIntegrationPolicyRequest.d.ts +51 -0
- package/dist/models/UpdateIntegrationPolicyRequest.js +88 -0
- package/dist/models/UpdateIntegrationPolicyRequest.js.map +1 -0
- package/dist/models/UpdateIntegrationPolicyResponse.d.ts +19 -0
- package/dist/models/UpdateIntegrationPolicyResponse.js +69 -0
- package/dist/models/UpdateIntegrationPolicyResponse.js.map +1 -0
- package/dist/models/UpdateIntegrationPolicyResponseBody.d.ts +21 -0
- package/dist/models/UpdateIntegrationPolicyResponseBody.js +58 -0
- package/dist/models/UpdateIntegrationPolicyResponseBody.js.map +1 -0
- package/dist/models/UpdatePrometheusInstanceRequest.d.ts +71 -0
- package/dist/models/UpdatePrometheusInstanceRequest.js +78 -0
- package/dist/models/UpdatePrometheusInstanceRequest.js.map +1 -0
- package/dist/models/UpdatePrometheusInstanceResponse.d.ts +19 -0
- package/dist/models/UpdatePrometheusInstanceResponse.js +69 -0
- package/dist/models/UpdatePrometheusInstanceResponse.js.map +1 -0
- package/dist/models/UpdatePrometheusInstanceResponseBody.d.ts +26 -0
- package/dist/models/UpdatePrometheusInstanceResponseBody.js +60 -0
- package/dist/models/UpdatePrometheusInstanceResponseBody.js.map +1 -0
- package/dist/models/UpdatePrometheusViewRequest.d.ts +71 -0
- package/dist/models/UpdatePrometheusViewRequest.js +96 -0
- package/dist/models/UpdatePrometheusViewRequest.js.map +1 -0
- package/dist/models/UpdatePrometheusViewResponse.d.ts +19 -0
- package/dist/models/UpdatePrometheusViewResponse.js +69 -0
- package/dist/models/UpdatePrometheusViewResponse.js.map +1 -0
- package/dist/models/UpdatePrometheusViewResponseBody.d.ts +26 -0
- package/dist/models/UpdatePrometheusViewResponseBody.js +60 -0
- package/dist/models/UpdatePrometheusViewResponseBody.js.map +1 -0
- package/dist/models/UpdateUmodelRequest.d.ts +0 -24
- package/dist/models/UpdateUmodelRequest.js +1 -32
- package/dist/models/UpdateUmodelRequest.js.map +1 -1
- package/dist/models/model.d.ts +143 -2
- package/dist/models/model.js +299 -14
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +2120 -370
- package/src/models/AlertRuleCondition.ts +6 -0
- package/src/models/AlertRuleQuery.ts +6 -0
- package/src/models/CreateAddonReleaseRequest.ts +100 -0
- package/src/models/CreateAddonReleaseResponse.ts +40 -0
- package/src/models/CreateAddonReleaseResponseBody.ts +286 -0
- package/src/models/CreateAggTaskGroupRequest.ts +191 -0
- package/src/models/CreateAggTaskGroupResponse.ts +40 -0
- package/src/models/CreateAggTaskGroupResponseBody.ts +66 -0
- package/src/models/CreateIntegrationPolicyRequest.ts +149 -0
- package/src/models/CreateIntegrationPolicyResponse.ts +40 -0
- package/src/models/CreateIntegrationPolicyResponseBody.ts +109 -0
- package/src/models/CreatePrometheusViewRequest.ts +177 -0
- package/src/models/CreatePrometheusViewResponse.ts +40 -0
- package/src/models/CreatePrometheusViewResponseBody.ts +41 -0
- package/src/models/CreatePrometheusVirtualInstanceRequest.ts +34 -0
- package/src/models/CreatePrometheusVirtualInstanceResponse.ts +40 -0
- package/src/models/CreatePrometheusVirtualInstanceResponseBody.ts +102 -0
- package/src/models/CreateUmodelRequest.ts +0 -46
- package/src/models/DeleteAddonReleaseRequest.ts +45 -0
- package/src/models/DeleteAddonReleaseResponse.ts +40 -0
- package/src/models/DeleteAddonReleaseResponseBody.ts +31 -0
- package/src/models/DeleteAggTaskGroupResponse.ts +40 -0
- package/src/models/DeleteAggTaskGroupResponseBody.ts +31 -0
- package/src/models/DeleteIntegrationPolicyRequest.ts +31 -0
- package/src/models/DeleteIntegrationPolicyResponse.ts +40 -0
- package/src/models/DeleteIntegrationPolicyResponseBody.ts +34 -0
- package/src/models/DeletePrometheusInstanceResponse.ts +40 -0
- package/src/models/DeletePrometheusInstanceResponseBody.ts +34 -0
- package/src/models/DeletePrometheusViewResponse.ts +40 -0
- package/src/models/DeletePrometheusViewResponseBody.ts +34 -0
- package/src/models/GetAddonReleaseResponse.ts +40 -0
- package/src/models/GetAddonReleaseResponseBody.ts +296 -0
- package/src/models/GetAggTaskGroupResponse.ts +40 -0
- package/src/models/GetAggTaskGroupResponseBody.ts +250 -0
- package/src/models/GetEntityStoreDataResponseBody.ts +76 -0
- package/src/models/GetIntegrationPolicyResponse.ts +40 -0
- package/src/models/GetIntegrationPolicyResponseBody.ts +593 -0
- package/src/models/GetPrometheusInstanceRequest.ts +38 -0
- package/src/models/GetPrometheusInstanceResponse.ts +40 -0
- package/src/models/GetPrometheusInstanceResponseBody.ts +349 -0
- package/src/models/GetPrometheusViewRequest.ts +38 -0
- package/src/models/GetPrometheusViewResponse.ts +40 -0
- package/src/models/GetPrometheusViewResponseBody.ts +321 -0
- package/src/models/GetUmodelResponseBody.ts +0 -6
- package/src/models/ListAddonReleasesRequest.ts +38 -0
- package/src/models/ListAddonReleasesResponse.ts +40 -0
- package/src/models/ListAddonReleasesResponseBody.ts +334 -0
- package/src/models/ListAggTaskGroupsRequest.ts +113 -0
- package/src/models/ListAggTaskGroupsResponse.ts +40 -0
- package/src/models/ListAggTaskGroupsResponseBody.ts +244 -0
- package/src/models/ListAggTaskGroupsShrinkRequest.ts +76 -0
- package/src/models/ListIntegrationPolicyCustomScrapeJobRulesRequest.ts +41 -0
- package/src/models/ListIntegrationPolicyCustomScrapeJobRulesResponse.ts +40 -0
- package/src/models/ListIntegrationPolicyCustomScrapeJobRulesResponseBody.ts +219 -0
- package/src/models/ListIntegrationPolicyPodMonitorsRequest.ts +45 -0
- package/src/models/ListIntegrationPolicyPodMonitorsResponse.ts +40 -0
- package/src/models/ListIntegrationPolicyPodMonitorsResponseBody.ts +194 -0
- package/src/models/ListIntegrationPolicyStorageRequirementsRequest.ts +41 -0
- package/src/models/ListIntegrationPolicyStorageRequirementsResponse.ts +40 -0
- package/src/models/ListIntegrationPolicyStorageRequirementsResponseBody.ts +322 -0
- package/src/models/ListPrometheusDashboardsRequest.ts +38 -0
- package/src/models/ListPrometheusDashboardsResponse.ts +40 -0
- package/src/models/ListPrometheusDashboardsResponseBody.ts +108 -0
- package/src/models/ListPrometheusInstancesRequest.ts +141 -0
- package/src/models/ListPrometheusInstancesResponse.ts +40 -0
- package/src/models/ListPrometheusInstancesResponseBody.ts +228 -0
- package/src/models/ListPrometheusInstancesShrinkRequest.ts +104 -0
- package/src/models/ListPrometheusViewsRequest.ts +133 -0
- package/src/models/ListPrometheusViewsResponse.ts +40 -0
- package/src/models/ListPrometheusViewsResponseBody.ts +222 -0
- package/src/models/ListPrometheusViewsShrinkRequest.ts +96 -0
- package/src/models/ListPrometheusVirtualInstancesRequest.ts +31 -0
- package/src/models/ListPrometheusVirtualInstancesResponse.ts +40 -0
- package/src/models/ListPrometheusVirtualInstancesResponseBody.ts +102 -0
- package/src/models/UpdateAddonReleaseRequest.ts +52 -0
- package/src/models/UpdateAddonReleaseResponse.ts +40 -0
- package/src/models/UpdateAddonReleaseResponseBody.ts +31 -0
- package/src/models/UpdateAggTaskGroupRequest.ts +181 -0
- package/src/models/UpdateAggTaskGroupResponse.ts +40 -0
- package/src/models/UpdateAggTaskGroupResponseBody.ts +66 -0
- package/src/models/UpdateAggTaskGroupStatusRequest.ts +34 -0
- package/src/models/UpdateAggTaskGroupStatusResponse.ts +40 -0
- package/src/models/UpdateAggTaskGroupStatusResponseBody.ts +66 -0
- package/src/models/UpdateIntegrationPolicyRequest.ts +85 -0
- package/src/models/UpdateIntegrationPolicyResponse.ts +40 -0
- package/src/models/UpdateIntegrationPolicyResponseBody.ts +34 -0
- package/src/models/UpdatePrometheusInstanceRequest.ts +104 -0
- package/src/models/UpdatePrometheusInstanceResponse.ts +40 -0
- package/src/models/UpdatePrometheusInstanceResponseBody.ts +41 -0
- package/src/models/UpdatePrometheusViewRequest.ts +113 -0
- package/src/models/UpdatePrometheusViewResponse.ts +40 -0
- package/src/models/UpdatePrometheusViewResponseBody.ts +41 -0
- package/src/models/UpdateUmodelRequest.ts +0 -46
- package/src/models/model.ts +143 -2
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetIntegrationPolicyResponseBody } from "./GetIntegrationPolicyResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetIntegrationPolicyResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetIntegrationPolicyResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: GetIntegrationPolicyResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,593 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetIntegrationPolicyResponseBodyPolicyBindResource extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 00b1630f02814f95a9bce717d8d56bb2
|
|
9
|
+
*/
|
|
10
|
+
clusterId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* ManagedKubernetes
|
|
14
|
+
*/
|
|
15
|
+
clusterType?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 10.12.0.1/16
|
|
19
|
+
*/
|
|
20
|
+
vpcCidr?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* vpc-2zegqpeyxplhtmdg70xnr
|
|
24
|
+
*/
|
|
25
|
+
vpcId?: string;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
clusterId: 'clusterId',
|
|
29
|
+
clusterType: 'clusterType',
|
|
30
|
+
vpcCidr: 'vpcCidr',
|
|
31
|
+
vpcId: 'vpcId',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
clusterId: 'string',
|
|
38
|
+
clusterType: 'string',
|
|
39
|
+
vpcCidr: 'string',
|
|
40
|
+
vpcId: 'string',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
validate() {
|
|
45
|
+
super.validate();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
constructor(map?: { [key: string]: any }) {
|
|
49
|
+
super(map);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export class GetIntegrationPolicyResponseBodyPolicyEntityGroupEntityRulesAnnotations extends $dara.Model {
|
|
54
|
+
/**
|
|
55
|
+
* @example
|
|
56
|
+
* add
|
|
57
|
+
*/
|
|
58
|
+
op?: string;
|
|
59
|
+
/**
|
|
60
|
+
* @example
|
|
61
|
+
* use
|
|
62
|
+
*/
|
|
63
|
+
tagKey?: string;
|
|
64
|
+
tagValues?: string[];
|
|
65
|
+
static names(): { [key: string]: string } {
|
|
66
|
+
return {
|
|
67
|
+
op: 'op',
|
|
68
|
+
tagKey: 'tagKey',
|
|
69
|
+
tagValues: 'tagValues',
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
static types(): { [key: string]: any } {
|
|
74
|
+
return {
|
|
75
|
+
op: 'string',
|
|
76
|
+
tagKey: 'string',
|
|
77
|
+
tagValues: { 'type': 'array', 'itemType': 'string' },
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
validate() {
|
|
82
|
+
if(Array.isArray(this.tagValues)) {
|
|
83
|
+
$dara.Model.validateArray(this.tagValues);
|
|
84
|
+
}
|
|
85
|
+
super.validate();
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
constructor(map?: { [key: string]: any }) {
|
|
89
|
+
super(map);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export class GetIntegrationPolicyResponseBodyPolicyEntityGroupEntityRulesFieldRules extends $dara.Model {
|
|
94
|
+
/**
|
|
95
|
+
* @example
|
|
96
|
+
* test
|
|
97
|
+
*/
|
|
98
|
+
fieldKey?: string;
|
|
99
|
+
fieldValues?: string[];
|
|
100
|
+
/**
|
|
101
|
+
* @example
|
|
102
|
+
* add
|
|
103
|
+
*/
|
|
104
|
+
op?: string;
|
|
105
|
+
static names(): { [key: string]: string } {
|
|
106
|
+
return {
|
|
107
|
+
fieldKey: 'fieldKey',
|
|
108
|
+
fieldValues: 'fieldValues',
|
|
109
|
+
op: 'op',
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
static types(): { [key: string]: any } {
|
|
114
|
+
return {
|
|
115
|
+
fieldKey: 'string',
|
|
116
|
+
fieldValues: { 'type': 'array', 'itemType': 'string' },
|
|
117
|
+
op: 'string',
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
validate() {
|
|
122
|
+
if(Array.isArray(this.fieldValues)) {
|
|
123
|
+
$dara.Model.validateArray(this.fieldValues);
|
|
124
|
+
}
|
|
125
|
+
super.validate();
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
constructor(map?: { [key: string]: any }) {
|
|
129
|
+
super(map);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export class GetIntegrationPolicyResponseBodyPolicyEntityGroupEntityRulesIpMatchRule extends $dara.Model {
|
|
134
|
+
/**
|
|
135
|
+
* @example
|
|
136
|
+
* 10.10.0.1/16
|
|
137
|
+
*/
|
|
138
|
+
ipCidr?: string;
|
|
139
|
+
/**
|
|
140
|
+
* @example
|
|
141
|
+
* test-key
|
|
142
|
+
*/
|
|
143
|
+
ipFieldKey?: string;
|
|
144
|
+
static names(): { [key: string]: string } {
|
|
145
|
+
return {
|
|
146
|
+
ipCidr: 'ipCidr',
|
|
147
|
+
ipFieldKey: 'ipFieldKey',
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
static types(): { [key: string]: any } {
|
|
152
|
+
return {
|
|
153
|
+
ipCidr: 'string',
|
|
154
|
+
ipFieldKey: 'string',
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
validate() {
|
|
159
|
+
super.validate();
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
constructor(map?: { [key: string]: any }) {
|
|
163
|
+
super(map);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
export class GetIntegrationPolicyResponseBodyPolicyEntityGroupEntityRulesLabels extends $dara.Model {
|
|
168
|
+
/**
|
|
169
|
+
* @example
|
|
170
|
+
* add
|
|
171
|
+
*/
|
|
172
|
+
op?: string;
|
|
173
|
+
/**
|
|
174
|
+
* @example
|
|
175
|
+
* key1
|
|
176
|
+
*/
|
|
177
|
+
tagKey?: string;
|
|
178
|
+
tagValues?: string[];
|
|
179
|
+
static names(): { [key: string]: string } {
|
|
180
|
+
return {
|
|
181
|
+
op: 'op',
|
|
182
|
+
tagKey: 'tagKey',
|
|
183
|
+
tagValues: 'tagValues',
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
static types(): { [key: string]: any } {
|
|
188
|
+
return {
|
|
189
|
+
op: 'string',
|
|
190
|
+
tagKey: 'string',
|
|
191
|
+
tagValues: { 'type': 'array', 'itemType': 'string' },
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
validate() {
|
|
196
|
+
if(Array.isArray(this.tagValues)) {
|
|
197
|
+
$dara.Model.validateArray(this.tagValues);
|
|
198
|
+
}
|
|
199
|
+
super.validate();
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
constructor(map?: { [key: string]: any }) {
|
|
203
|
+
super(map);
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
export class GetIntegrationPolicyResponseBodyPolicyEntityGroupEntityRulesTags extends $dara.Model {
|
|
208
|
+
/**
|
|
209
|
+
* @example
|
|
210
|
+
* add
|
|
211
|
+
*/
|
|
212
|
+
op?: string;
|
|
213
|
+
/**
|
|
214
|
+
* @example
|
|
215
|
+
* key2
|
|
216
|
+
*/
|
|
217
|
+
tagKey?: string;
|
|
218
|
+
tagValues?: string[];
|
|
219
|
+
static names(): { [key: string]: string } {
|
|
220
|
+
return {
|
|
221
|
+
op: 'op',
|
|
222
|
+
tagKey: 'tagKey',
|
|
223
|
+
tagValues: 'tagValues',
|
|
224
|
+
};
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
static types(): { [key: string]: any } {
|
|
228
|
+
return {
|
|
229
|
+
op: 'string',
|
|
230
|
+
tagKey: 'string',
|
|
231
|
+
tagValues: { 'type': 'array', 'itemType': 'string' },
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
validate() {
|
|
236
|
+
if(Array.isArray(this.tagValues)) {
|
|
237
|
+
$dara.Model.validateArray(this.tagValues);
|
|
238
|
+
}
|
|
239
|
+
super.validate();
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
constructor(map?: { [key: string]: any }) {
|
|
243
|
+
super(map);
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
export class GetIntegrationPolicyResponseBodyPolicyEntityGroupEntityRules extends $dara.Model {
|
|
248
|
+
annotations?: GetIntegrationPolicyResponseBodyPolicyEntityGroupEntityRulesAnnotations[];
|
|
249
|
+
entityTypes?: string[];
|
|
250
|
+
fieldRules?: GetIntegrationPolicyResponseBodyPolicyEntityGroupEntityRulesFieldRules[];
|
|
251
|
+
instanceIds?: string[];
|
|
252
|
+
ipMatchRule?: GetIntegrationPolicyResponseBodyPolicyEntityGroupEntityRulesIpMatchRule;
|
|
253
|
+
labels?: GetIntegrationPolicyResponseBodyPolicyEntityGroupEntityRulesLabels[];
|
|
254
|
+
regionIds?: string[];
|
|
255
|
+
/**
|
|
256
|
+
* @example
|
|
257
|
+
* rg-aek3aqsuvlv3yyq
|
|
258
|
+
*/
|
|
259
|
+
resourceGroupId?: string;
|
|
260
|
+
tags?: GetIntegrationPolicyResponseBodyPolicyEntityGroupEntityRulesTags[];
|
|
261
|
+
static names(): { [key: string]: string } {
|
|
262
|
+
return {
|
|
263
|
+
annotations: 'annotations',
|
|
264
|
+
entityTypes: 'entityTypes',
|
|
265
|
+
fieldRules: 'fieldRules',
|
|
266
|
+
instanceIds: 'instanceIds',
|
|
267
|
+
ipMatchRule: 'ipMatchRule',
|
|
268
|
+
labels: 'labels',
|
|
269
|
+
regionIds: 'regionIds',
|
|
270
|
+
resourceGroupId: 'resourceGroupId',
|
|
271
|
+
tags: 'tags',
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
static types(): { [key: string]: any } {
|
|
276
|
+
return {
|
|
277
|
+
annotations: { 'type': 'array', 'itemType': GetIntegrationPolicyResponseBodyPolicyEntityGroupEntityRulesAnnotations },
|
|
278
|
+
entityTypes: { 'type': 'array', 'itemType': 'string' },
|
|
279
|
+
fieldRules: { 'type': 'array', 'itemType': GetIntegrationPolicyResponseBodyPolicyEntityGroupEntityRulesFieldRules },
|
|
280
|
+
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
281
|
+
ipMatchRule: GetIntegrationPolicyResponseBodyPolicyEntityGroupEntityRulesIpMatchRule,
|
|
282
|
+
labels: { 'type': 'array', 'itemType': GetIntegrationPolicyResponseBodyPolicyEntityGroupEntityRulesLabels },
|
|
283
|
+
regionIds: { 'type': 'array', 'itemType': 'string' },
|
|
284
|
+
resourceGroupId: 'string',
|
|
285
|
+
tags: { 'type': 'array', 'itemType': GetIntegrationPolicyResponseBodyPolicyEntityGroupEntityRulesTags },
|
|
286
|
+
};
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
validate() {
|
|
290
|
+
if(Array.isArray(this.annotations)) {
|
|
291
|
+
$dara.Model.validateArray(this.annotations);
|
|
292
|
+
}
|
|
293
|
+
if(Array.isArray(this.entityTypes)) {
|
|
294
|
+
$dara.Model.validateArray(this.entityTypes);
|
|
295
|
+
}
|
|
296
|
+
if(Array.isArray(this.fieldRules)) {
|
|
297
|
+
$dara.Model.validateArray(this.fieldRules);
|
|
298
|
+
}
|
|
299
|
+
if(Array.isArray(this.instanceIds)) {
|
|
300
|
+
$dara.Model.validateArray(this.instanceIds);
|
|
301
|
+
}
|
|
302
|
+
if(this.ipMatchRule && typeof (this.ipMatchRule as any).validate === 'function') {
|
|
303
|
+
(this.ipMatchRule as any).validate();
|
|
304
|
+
}
|
|
305
|
+
if(Array.isArray(this.labels)) {
|
|
306
|
+
$dara.Model.validateArray(this.labels);
|
|
307
|
+
}
|
|
308
|
+
if(Array.isArray(this.regionIds)) {
|
|
309
|
+
$dara.Model.validateArray(this.regionIds);
|
|
310
|
+
}
|
|
311
|
+
if(Array.isArray(this.tags)) {
|
|
312
|
+
$dara.Model.validateArray(this.tags);
|
|
313
|
+
}
|
|
314
|
+
super.validate();
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
constructor(map?: { [key: string]: any }) {
|
|
318
|
+
super(map);
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
export class GetIntegrationPolicyResponseBodyPolicyEntityGroup extends $dara.Model {
|
|
323
|
+
/**
|
|
324
|
+
* @example
|
|
325
|
+
* xxxxxx
|
|
326
|
+
*/
|
|
327
|
+
description?: string;
|
|
328
|
+
/**
|
|
329
|
+
* @example
|
|
330
|
+
* eg-b79f65d11fb94e779867cf937c3a3002
|
|
331
|
+
*/
|
|
332
|
+
entityGroupId?: string;
|
|
333
|
+
/**
|
|
334
|
+
* @example
|
|
335
|
+
* prod-database
|
|
336
|
+
*/
|
|
337
|
+
entityGroupName?: string;
|
|
338
|
+
entityRules?: GetIntegrationPolicyResponseBodyPolicyEntityGroupEntityRules;
|
|
339
|
+
/**
|
|
340
|
+
* @example
|
|
341
|
+
* status: 200 AND totalTime > 0.5
|
|
342
|
+
*/
|
|
343
|
+
query?: string;
|
|
344
|
+
/**
|
|
345
|
+
* @example
|
|
346
|
+
* cn-heyuan
|
|
347
|
+
*/
|
|
348
|
+
regionId?: string;
|
|
349
|
+
/**
|
|
350
|
+
* @example
|
|
351
|
+
* u123456
|
|
352
|
+
*/
|
|
353
|
+
userId?: string;
|
|
354
|
+
/**
|
|
355
|
+
* @example
|
|
356
|
+
* test-api
|
|
357
|
+
*/
|
|
358
|
+
workspace?: string;
|
|
359
|
+
static names(): { [key: string]: string } {
|
|
360
|
+
return {
|
|
361
|
+
description: 'description',
|
|
362
|
+
entityGroupId: 'entityGroupId',
|
|
363
|
+
entityGroupName: 'entityGroupName',
|
|
364
|
+
entityRules: 'entityRules',
|
|
365
|
+
query: 'query',
|
|
366
|
+
regionId: 'regionId',
|
|
367
|
+
userId: 'userId',
|
|
368
|
+
workspace: 'workspace',
|
|
369
|
+
};
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
static types(): { [key: string]: any } {
|
|
373
|
+
return {
|
|
374
|
+
description: 'string',
|
|
375
|
+
entityGroupId: 'string',
|
|
376
|
+
entityGroupName: 'string',
|
|
377
|
+
entityRules: GetIntegrationPolicyResponseBodyPolicyEntityGroupEntityRules,
|
|
378
|
+
query: 'string',
|
|
379
|
+
regionId: 'string',
|
|
380
|
+
userId: 'string',
|
|
381
|
+
workspace: 'string',
|
|
382
|
+
};
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
validate() {
|
|
386
|
+
if(this.entityRules && typeof (this.entityRules as any).validate === 'function') {
|
|
387
|
+
(this.entityRules as any).validate();
|
|
388
|
+
}
|
|
389
|
+
super.validate();
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
constructor(map?: { [key: string]: any }) {
|
|
393
|
+
super(map);
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
export class GetIntegrationPolicyResponseBodyPolicyManagedInfo extends $dara.Model {
|
|
398
|
+
/**
|
|
399
|
+
* @example
|
|
400
|
+
* sg-xxxxxx
|
|
401
|
+
*/
|
|
402
|
+
securityGroupId?: string;
|
|
403
|
+
/**
|
|
404
|
+
* @example
|
|
405
|
+
* vsw-xxxxxxxxx
|
|
406
|
+
*/
|
|
407
|
+
vswitchId?: string;
|
|
408
|
+
static names(): { [key: string]: string } {
|
|
409
|
+
return {
|
|
410
|
+
securityGroupId: 'securityGroupId',
|
|
411
|
+
vswitchId: 'vswitchId',
|
|
412
|
+
};
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
static types(): { [key: string]: any } {
|
|
416
|
+
return {
|
|
417
|
+
securityGroupId: 'string',
|
|
418
|
+
vswitchId: 'string',
|
|
419
|
+
};
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
validate() {
|
|
423
|
+
super.validate();
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
constructor(map?: { [key: string]: any }) {
|
|
427
|
+
super(map);
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
export class GetIntegrationPolicyResponseBodyPolicyTags extends $dara.Model {
|
|
432
|
+
/**
|
|
433
|
+
* @example
|
|
434
|
+
* use
|
|
435
|
+
*/
|
|
436
|
+
key?: string;
|
|
437
|
+
/**
|
|
438
|
+
* @example
|
|
439
|
+
* db
|
|
440
|
+
*/
|
|
441
|
+
value?: string;
|
|
442
|
+
static names(): { [key: string]: string } {
|
|
443
|
+
return {
|
|
444
|
+
key: 'key',
|
|
445
|
+
value: 'value',
|
|
446
|
+
};
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
static types(): { [key: string]: any } {
|
|
450
|
+
return {
|
|
451
|
+
key: 'string',
|
|
452
|
+
value: 'string',
|
|
453
|
+
};
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
validate() {
|
|
457
|
+
super.validate();
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
constructor(map?: { [key: string]: any }) {
|
|
461
|
+
super(map);
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
export class GetIntegrationPolicyResponseBodyPolicy extends $dara.Model {
|
|
466
|
+
bindResource?: GetIntegrationPolicyResponseBodyPolicyBindResource;
|
|
467
|
+
entityGroup?: GetIntegrationPolicyResponseBodyPolicyEntityGroup;
|
|
468
|
+
managedInfo?: GetIntegrationPolicyResponseBodyPolicyManagedInfo;
|
|
469
|
+
/**
|
|
470
|
+
* @example
|
|
471
|
+
* policy-c9efed2b99c348d49e589c5f780fc074
|
|
472
|
+
*/
|
|
473
|
+
policyId?: string;
|
|
474
|
+
/**
|
|
475
|
+
* @example
|
|
476
|
+
* ControlPolicy4DetailVportInfo
|
|
477
|
+
*/
|
|
478
|
+
policyName?: string;
|
|
479
|
+
/**
|
|
480
|
+
* @example
|
|
481
|
+
* CS
|
|
482
|
+
*/
|
|
483
|
+
policyType?: string;
|
|
484
|
+
/**
|
|
485
|
+
* @example
|
|
486
|
+
* cn-heyuan
|
|
487
|
+
*/
|
|
488
|
+
regionId?: string;
|
|
489
|
+
/**
|
|
490
|
+
* @example
|
|
491
|
+
* rg-xxxxx
|
|
492
|
+
*/
|
|
493
|
+
resourceGroupId?: string;
|
|
494
|
+
tags?: GetIntegrationPolicyResponseBodyPolicyTags[];
|
|
495
|
+
/**
|
|
496
|
+
* @example
|
|
497
|
+
* u123456
|
|
498
|
+
*/
|
|
499
|
+
userId?: string;
|
|
500
|
+
/**
|
|
501
|
+
* @example
|
|
502
|
+
* prometheus
|
|
503
|
+
*/
|
|
504
|
+
workspace?: string;
|
|
505
|
+
static names(): { [key: string]: string } {
|
|
506
|
+
return {
|
|
507
|
+
bindResource: 'bindResource',
|
|
508
|
+
entityGroup: 'entityGroup',
|
|
509
|
+
managedInfo: 'managedInfo',
|
|
510
|
+
policyId: 'policyId',
|
|
511
|
+
policyName: 'policyName',
|
|
512
|
+
policyType: 'policyType',
|
|
513
|
+
regionId: 'regionId',
|
|
514
|
+
resourceGroupId: 'resourceGroupId',
|
|
515
|
+
tags: 'tags',
|
|
516
|
+
userId: 'userId',
|
|
517
|
+
workspace: 'workspace',
|
|
518
|
+
};
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
static types(): { [key: string]: any } {
|
|
522
|
+
return {
|
|
523
|
+
bindResource: GetIntegrationPolicyResponseBodyPolicyBindResource,
|
|
524
|
+
entityGroup: GetIntegrationPolicyResponseBodyPolicyEntityGroup,
|
|
525
|
+
managedInfo: GetIntegrationPolicyResponseBodyPolicyManagedInfo,
|
|
526
|
+
policyId: 'string',
|
|
527
|
+
policyName: 'string',
|
|
528
|
+
policyType: 'string',
|
|
529
|
+
regionId: 'string',
|
|
530
|
+
resourceGroupId: 'string',
|
|
531
|
+
tags: { 'type': 'array', 'itemType': GetIntegrationPolicyResponseBodyPolicyTags },
|
|
532
|
+
userId: 'string',
|
|
533
|
+
workspace: 'string',
|
|
534
|
+
};
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
validate() {
|
|
538
|
+
if(this.bindResource && typeof (this.bindResource as any).validate === 'function') {
|
|
539
|
+
(this.bindResource as any).validate();
|
|
540
|
+
}
|
|
541
|
+
if(this.entityGroup && typeof (this.entityGroup as any).validate === 'function') {
|
|
542
|
+
(this.entityGroup as any).validate();
|
|
543
|
+
}
|
|
544
|
+
if(this.managedInfo && typeof (this.managedInfo as any).validate === 'function') {
|
|
545
|
+
(this.managedInfo as any).validate();
|
|
546
|
+
}
|
|
547
|
+
if(Array.isArray(this.tags)) {
|
|
548
|
+
$dara.Model.validateArray(this.tags);
|
|
549
|
+
}
|
|
550
|
+
super.validate();
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
constructor(map?: { [key: string]: any }) {
|
|
554
|
+
super(map);
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
export class GetIntegrationPolicyResponseBody extends $dara.Model {
|
|
559
|
+
policy?: GetIntegrationPolicyResponseBodyPolicy;
|
|
560
|
+
/**
|
|
561
|
+
* @remarks
|
|
562
|
+
* Id of the request
|
|
563
|
+
*
|
|
564
|
+
* @example
|
|
565
|
+
* 0B9377D9-C56B-5C2E-A8A4-A01D6CC3F4B8
|
|
566
|
+
*/
|
|
567
|
+
requestId?: string;
|
|
568
|
+
static names(): { [key: string]: string } {
|
|
569
|
+
return {
|
|
570
|
+
policy: 'policy',
|
|
571
|
+
requestId: 'requestId',
|
|
572
|
+
};
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
static types(): { [key: string]: any } {
|
|
576
|
+
return {
|
|
577
|
+
policy: GetIntegrationPolicyResponseBodyPolicy,
|
|
578
|
+
requestId: 'string',
|
|
579
|
+
};
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
validate() {
|
|
583
|
+
if(this.policy && typeof (this.policy as any).validate === 'function') {
|
|
584
|
+
(this.policy as any).validate();
|
|
585
|
+
}
|
|
586
|
+
super.validate();
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
constructor(map?: { [key: string]: any }) {
|
|
590
|
+
super(map);
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetPrometheusInstanceRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* zh
|
|
9
|
+
*/
|
|
10
|
+
aliyunLang?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* rg-aek2bhocin5e2na
|
|
14
|
+
*/
|
|
15
|
+
resourceGroupId?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
aliyunLang: 'aliyunLang',
|
|
19
|
+
resourceGroupId: 'resourceGroupId',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
aliyunLang: 'string',
|
|
26
|
+
resourceGroupId: 'string',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetPrometheusInstanceResponseBody } from "./GetPrometheusInstanceResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetPrometheusInstanceResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetPrometheusInstanceResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: GetPrometheusInstanceResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|