@alicloud/sae20190506 2.12.1 → 2.12.3
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 +194 -202
- package/dist/client.js +214 -202
- package/dist/client.js.map +1 -1
- package/dist/models/AbortChangeOrderRequest.d.ts +7 -0
- package/dist/models/AbortChangeOrderRequest.js.map +1 -1
- package/dist/models/AbortChangeOrderResponseBody.d.ts +19 -14
- package/dist/models/AbortChangeOrderResponseBody.js.map +1 -1
- package/dist/models/BatchRestartApplicationsResponseBody.d.ts +0 -3
- package/dist/models/BatchRestartApplicationsResponseBody.js.map +1 -1
- package/dist/models/BatchStartApplicationsRequest.d.ts +1 -1
- package/dist/models/BatchStartApplicationsResponseBody.d.ts +15 -9
- package/dist/models/BatchStartApplicationsResponseBody.js.map +1 -1
- package/dist/models/BatchStopApplicationsResponseBody.d.ts +11 -7
- package/dist/models/BatchStopApplicationsResponseBody.js.map +1 -1
- package/dist/models/BindNlbRequest.d.ts +17 -12
- package/dist/models/BindNlbRequest.js.map +1 -1
- package/dist/models/BindNlbResponseBody.d.ts +24 -18
- package/dist/models/BindNlbResponseBody.js.map +1 -1
- package/dist/models/BindSlbResponseBody.d.ts +3 -0
- package/dist/models/BindSlbResponseBody.js.map +1 -1
- package/dist/models/ConfirmPipelineBatchRequest.d.ts +6 -2
- package/dist/models/ConfirmPipelineBatchRequest.js.map +1 -1
- package/dist/models/ConfirmPipelineBatchResponseBody.d.ts +19 -14
- package/dist/models/ConfirmPipelineBatchResponseBody.js.map +1 -1
- package/dist/models/Container.d.ts +14 -14
- package/dist/models/ContainerResources.d.ts +1 -1
- package/dist/models/CreateApplicationRequest.d.ts +445 -238
- package/dist/models/CreateApplicationRequest.js.map +1 -1
- package/dist/models/CreateApplicationResponseBody.d.ts +27 -18
- package/dist/models/CreateApplicationResponseBody.js.map +1 -1
- package/dist/models/CreateApplicationScalingRuleRequest.d.ts +108 -79
- package/dist/models/CreateApplicationScalingRuleRequest.js.map +1 -1
- package/dist/models/CreateApplicationScalingRuleResponseBody.d.ts +113 -76
- package/dist/models/CreateApplicationScalingRuleResponseBody.js.map +1 -1
- package/dist/models/CreateApplicationShrinkRequest.d.ts +445 -238
- package/dist/models/CreateApplicationShrinkRequest.js.map +1 -1
- package/dist/models/CreateConfigMapResponseBody.d.ts +7 -10
- package/dist/models/CreateConfigMapResponseBody.js.map +1 -1
- package/dist/models/CreateGreyTagRouteRequest.d.ts +6 -6
- package/dist/models/CreateGreyTagRouteResponseBody.d.ts +20 -15
- package/dist/models/CreateGreyTagRouteResponseBody.js.map +1 -1
- package/dist/models/CreateIngressRequest.d.ts +71 -50
- package/dist/models/CreateIngressRequest.js.map +1 -1
- package/dist/models/CreateIngressResponseBody.d.ts +20 -17
- package/dist/models/CreateIngressResponseBody.js.map +1 -1
- package/dist/models/CreateJobRequest.d.ts +214 -128
- package/dist/models/CreateJobRequest.js.map +1 -1
- package/dist/models/CreateJobResponseBody.d.ts +24 -21
- package/dist/models/CreateJobResponseBody.js.map +1 -1
- package/dist/models/CreateNamespaceRequest.d.ts +9 -8
- package/dist/models/CreateNamespaceRequest.js.map +1 -1
- package/dist/models/CreateNamespaceResponseBody.d.ts +31 -28
- package/dist/models/CreateNamespaceResponseBody.js.map +1 -1
- package/dist/models/CreateOrUpdateSwimmingLaneGroupRequest.d.ts +14 -12
- package/dist/models/CreateOrUpdateSwimmingLaneGroupRequest.js.map +1 -1
- package/dist/models/CreateOrUpdateSwimmingLaneGroupResponseBody.d.ts +24 -18
- package/dist/models/CreateOrUpdateSwimmingLaneGroupResponseBody.js.map +1 -1
- package/dist/models/CreateOrUpdateSwimmingLaneGroupShrinkRequest.d.ts +14 -12
- package/dist/models/CreateOrUpdateSwimmingLaneGroupShrinkRequest.js.map +1 -1
- package/dist/models/CreateOrUpdateSwimmingLaneRequest.d.ts +77 -59
- package/dist/models/CreateOrUpdateSwimmingLaneRequest.js.map +1 -1
- package/dist/models/CreateOrUpdateSwimmingLaneResponseBody.d.ts +24 -18
- package/dist/models/CreateOrUpdateSwimmingLaneResponseBody.js.map +1 -1
- package/dist/models/CreateOrUpdateSwimmingLaneShrinkRequest.d.ts +18 -16
- package/dist/models/CreateOrUpdateSwimmingLaneShrinkRequest.js.map +1 -1
- package/dist/models/CreateSecretRequest.d.ts +6 -4
- package/dist/models/CreateSecretRequest.js.map +1 -1
- package/dist/models/CreateSecretResponseBody.d.ts +12 -10
- package/dist/models/CreateSecretResponseBody.js.map +1 -1
- package/dist/models/CreateSecretShrinkRequest.d.ts +6 -4
- package/dist/models/CreateSecretShrinkRequest.js.map +1 -1
- package/dist/models/DataInstancesValue.d.ts +6 -5
- package/dist/models/DataInstancesValue.js.map +1 -1
- package/dist/models/DataInstancesValueListenersValue.d.ts +13 -9
- package/dist/models/DataInstancesValueListenersValue.js.map +1 -1
- package/dist/models/DeleteApplicationResponseBody.d.ts +23 -17
- package/dist/models/DeleteApplicationResponseBody.js.map +1 -1
- package/dist/models/DeleteApplicationScalingRuleRequest.d.ts +2 -2
- package/dist/models/DeleteApplicationScalingRuleResponseBody.d.ts +26 -14
- package/dist/models/DeleteApplicationScalingRuleResponseBody.js.map +1 -1
- package/dist/models/DeleteConfigMapRequest.d.ts +1 -1
- package/dist/models/DeleteConfigMapResponseBody.d.ts +23 -17
- package/dist/models/DeleteConfigMapResponseBody.js.map +1 -1
- package/dist/models/DeleteGreyTagRouteResponseBody.d.ts +22 -16
- package/dist/models/DeleteGreyTagRouteResponseBody.js.map +1 -1
- package/dist/models/DeleteHistoryJobResponseBody.d.ts +16 -13
- package/dist/models/DeleteHistoryJobResponseBody.js.map +1 -1
- package/dist/models/DeleteIngressRequest.d.ts +1 -1
- package/dist/models/DeleteIngressResponseBody.d.ts +17 -12
- package/dist/models/DeleteIngressResponseBody.js.map +1 -1
- package/dist/models/DeleteInstancesRequest.d.ts +2 -2
- package/dist/models/DeleteInstancesResponseBody.d.ts +23 -17
- package/dist/models/DeleteInstancesResponseBody.js.map +1 -1
- package/dist/models/DeleteJobResponseBody.d.ts +16 -13
- package/dist/models/DeleteJobResponseBody.js.map +1 -1
- package/dist/models/DeleteNamespaceRequest.d.ts +4 -1
- package/dist/models/DeleteNamespaceRequest.js.map +1 -1
- package/dist/models/DeleteNamespaceResponseBody.d.ts +16 -11
- package/dist/models/DeleteNamespaceResponseBody.js.map +1 -1
- package/dist/models/DeleteSecretRequest.d.ts +2 -2
- package/dist/models/DeleteSecretResponseBody.d.ts +22 -19
- package/dist/models/DeleteSecretResponseBody.js.map +1 -1
- package/dist/models/DeleteSwimmingLaneGroupRequest.d.ts +2 -2
- package/dist/models/DeleteSwimmingLaneGroupResponseBody.d.ts +22 -16
- package/dist/models/DeleteSwimmingLaneGroupResponseBody.js.map +1 -1
- package/dist/models/DeployApplicationRequest.d.ts +445 -273
- package/dist/models/DeployApplicationRequest.js.map +1 -1
- package/dist/models/DeployApplicationResponseBody.d.ts +29 -22
- package/dist/models/DeployApplicationResponseBody.js.map +1 -1
- package/dist/models/DeployApplicationShrinkRequest.d.ts +445 -273
- package/dist/models/DeployApplicationShrinkRequest.js.map +1 -1
- package/dist/models/DescribeAppServiceDetailRequest.d.ts +10 -6
- package/dist/models/DescribeAppServiceDetailRequest.js.map +1 -1
- package/dist/models/DescribeAppServiceDetailResponseBody.d.ts +41 -40
- package/dist/models/DescribeAppServiceDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeApplicationConfigRequest.d.ts +2 -2
- package/dist/models/DescribeApplicationConfigResponseBody.d.ts +556 -311
- package/dist/models/DescribeApplicationConfigResponseBody.js.map +1 -1
- package/dist/models/DescribeApplicationGroupsRequest.d.ts +2 -2
- package/dist/models/DescribeApplicationGroupsResponseBody.d.ts +62 -39
- package/dist/models/DescribeApplicationGroupsResponseBody.js.map +1 -1
- package/dist/models/DescribeApplicationImageRequest.d.ts +2 -2
- package/dist/models/DescribeApplicationImageResponseBody.d.ts +26 -20
- package/dist/models/DescribeApplicationImageResponseBody.js.map +1 -1
- package/dist/models/DescribeApplicationInstancesRequest.d.ts +37 -6
- package/dist/models/DescribeApplicationInstancesRequest.js.map +1 -1
- package/dist/models/DescribeApplicationInstancesResponseBody.d.ts +99 -54
- package/dist/models/DescribeApplicationInstancesResponseBody.js.map +1 -1
- package/dist/models/DescribeApplicationMseServiceResponseBody.d.ts +17 -13
- package/dist/models/DescribeApplicationMseServiceResponseBody.js.map +1 -1
- package/dist/models/DescribeApplicationNlbsRequest.d.ts +1 -1
- package/dist/models/DescribeApplicationNlbsResponseBody.d.ts +19 -14
- package/dist/models/DescribeApplicationNlbsResponseBody.js.map +1 -1
- package/dist/models/DescribeApplicationScalingRuleRequest.d.ts +2 -2
- package/dist/models/DescribeApplicationScalingRuleResponseBody.d.ts +204 -88
- package/dist/models/DescribeApplicationScalingRuleResponseBody.js.map +1 -1
- package/dist/models/DescribeApplicationScalingRulesRequest.d.ts +1 -1
- package/dist/models/DescribeApplicationScalingRulesResponseBody.d.ts +244 -90
- package/dist/models/DescribeApplicationScalingRulesResponseBody.js.map +1 -1
- package/dist/models/DescribeApplicationSlbsRequest.d.ts +1 -1
- package/dist/models/DescribeApplicationSlbsResponseBody.d.ts +120 -33
- package/dist/models/DescribeApplicationSlbsResponseBody.js.map +1 -1
- package/dist/models/DescribeApplicationStatusResponseBody.d.ts +65 -44
- package/dist/models/DescribeApplicationStatusResponseBody.js.map +1 -1
- package/dist/models/DescribeChangeOrderRequest.d.ts +1 -1
- package/dist/models/DescribeChangeOrderResponseBody.d.ts +135 -78
- package/dist/models/DescribeChangeOrderResponseBody.js.map +1 -1
- package/dist/models/DescribeComponentsRequest.d.ts +4 -3
- package/dist/models/DescribeComponentsRequest.js.map +1 -1
- package/dist/models/DescribeComponentsResponseBody.d.ts +25 -19
- package/dist/models/DescribeComponentsResponseBody.js.map +1 -1
- package/dist/models/DescribeConfigMapRequest.d.ts +1 -1
- package/dist/models/DescribeConfigMapResponseBody.d.ts +32 -26
- package/dist/models/DescribeConfigMapResponseBody.js.map +1 -1
- package/dist/models/DescribeConfigurationPriceRequest.d.ts +74 -24
- package/dist/models/DescribeConfigurationPriceRequest.js.map +1 -1
- package/dist/models/DescribeConfigurationPriceResponseBody.d.ts +74 -49
- package/dist/models/DescribeConfigurationPriceResponseBody.js.map +1 -1
- package/dist/models/DescribeEdasContainersResponseBody.d.ts +22 -16
- package/dist/models/DescribeEdasContainersResponseBody.js.map +1 -1
- package/dist/models/DescribeGreyTagRouteRequest.d.ts +1 -1
- package/dist/models/DescribeGreyTagRouteResponseBody.d.ts +107 -77
- package/dist/models/DescribeGreyTagRouteResponseBody.js.map +1 -1
- package/dist/models/DescribeIngressRequest.d.ts +2 -2
- package/dist/models/DescribeIngressResponseBody.d.ts +233 -54
- package/dist/models/DescribeIngressResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceLogRequest.d.ts +8 -1
- package/dist/models/DescribeInstanceLogRequest.js.map +1 -1
- package/dist/models/DescribeInstanceLogResponseBody.d.ts +21 -20
- package/dist/models/DescribeInstanceLogResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceSpecificationsResponseBody.d.ts +33 -23
- package/dist/models/DescribeInstanceSpecificationsResponseBody.js.map +1 -1
- package/dist/models/DescribeJobHistoryRequest.d.ts +7 -4
- package/dist/models/DescribeJobHistoryRequest.js.map +1 -1
- package/dist/models/DescribeJobHistoryResponseBody.d.ts +22 -19
- package/dist/models/DescribeJobHistoryResponseBody.js.map +1 -1
- package/dist/models/DescribeJobRequest.d.ts +1 -1
- package/dist/models/DescribeJobResponseBody.d.ts +222 -159
- package/dist/models/DescribeJobResponseBody.js.map +1 -1
- package/dist/models/DescribeJobStatusResponseBody.d.ts +25 -18
- package/dist/models/DescribeJobStatusResponseBody.js.map +1 -1
- package/dist/models/DescribeNamespaceListRequest.d.ts +6 -4
- package/dist/models/DescribeNamespaceListRequest.js.map +1 -1
- package/dist/models/DescribeNamespaceListResponseBody.d.ts +21 -16
- package/dist/models/DescribeNamespaceListResponseBody.js.map +1 -1
- package/dist/models/DescribeNamespaceResourcesRequest.d.ts +4 -1
- package/dist/models/DescribeNamespaceResourcesRequest.js.map +1 -1
- package/dist/models/DescribeNamespaceResourcesResponseBody.d.ts +91 -45
- package/dist/models/DescribeNamespaceResourcesResponseBody.js.map +1 -1
- package/dist/models/DescribeNamespaceResponseBody.d.ts +18 -14
- package/dist/models/DescribeNamespaceResponseBody.js.map +1 -1
- package/dist/models/DescribeNamespacesRequest.d.ts +1 -1
- package/dist/models/DescribeNamespacesResponseBody.d.ts +30 -24
- package/dist/models/DescribeNamespacesResponseBody.js.map +1 -1
- package/dist/models/DescribePipelineResponseBody.d.ts +59 -39
- package/dist/models/DescribePipelineResponseBody.js.map +1 -1
- package/dist/models/DescribeRegionsResponseBody.d.ts +8 -5
- package/dist/models/DescribeRegionsResponseBody.js.map +1 -1
- package/dist/models/DescribeSecretResponseBody.d.ts +15 -12
- package/dist/models/DescribeSecretResponseBody.js.map +1 -1
- package/dist/models/DescribeSwimmingLaneRequest.d.ts +3 -3
- package/dist/models/DescribeSwimmingLaneResponseBody.d.ts +62 -53
- package/dist/models/DescribeSwimmingLaneResponseBody.js.map +1 -1
- package/dist/models/DescribeVswitchesRequest.d.ts +0 -11
- package/dist/models/DescribeVswitchesRequest.js.map +1 -1
- package/dist/models/DescribeVswitchesResponseBody.d.ts +0 -47
- package/dist/models/DescribeVswitchesResponseBody.js.map +1 -1
- package/dist/models/DisableApplicationScalingRuleRequest.d.ts +2 -2
- package/dist/models/DisableApplicationScalingRuleResponseBody.d.ts +24 -15
- package/dist/models/DisableApplicationScalingRuleResponseBody.js.map +1 -1
- package/dist/models/DisableArmsResponseBody.d.ts +17 -22
- package/dist/models/DisableArmsResponseBody.js.map +1 -1
- package/dist/models/DowngradeApplicationApmServiceResponseBody.d.ts +13 -11
- package/dist/models/DowngradeApplicationApmServiceResponseBody.js.map +1 -1
- package/dist/models/EnableApplicationScalingRuleResponseBody.d.ts +15 -12
- package/dist/models/EnableApplicationScalingRuleResponseBody.js.map +1 -1
- package/dist/models/ExecJobRequest.d.ts +31 -23
- package/dist/models/ExecJobRequest.js.map +1 -1
- package/dist/models/ExecJobResponseBody.d.ts +37 -26
- package/dist/models/ExecJobResponseBody.js.map +1 -1
- package/dist/models/GetApplicationRequest.d.ts +2 -2
- package/dist/models/GetApplicationResponseBody.d.ts +74 -44
- package/dist/models/GetApplicationResponseBody.js.map +1 -1
- package/dist/models/GetAvailabilityMetricResponseBody.d.ts +1 -1
- package/dist/models/GetChangeOrderMetricRequest.d.ts +20 -9
- package/dist/models/GetChangeOrderMetricRequest.js.map +1 -1
- package/dist/models/GetChangeOrderMetricResponseBody.d.ts +36 -15
- package/dist/models/GetChangeOrderMetricResponseBody.js.map +1 -1
- package/dist/models/GetScaleAppMetricResponseBody.d.ts +1 -1
- package/dist/models/GetWebshellTokenRequest.d.ts +7 -6
- package/dist/models/GetWebshellTokenRequest.js.map +1 -1
- package/dist/models/GetWebshellTokenResponseBody.d.ts +12 -10
- package/dist/models/GetWebshellTokenResponseBody.js.map +1 -1
- package/dist/models/ImageRegistryConfig.d.ts +8 -0
- package/dist/models/ImageRegistryConfig.js.map +1 -1
- package/dist/models/InitContainerConfig.d.ts +49 -0
- package/dist/models/InitContainerConfig.js.map +1 -1
- package/dist/models/ListAllSwimmingLaneGroupsRequest.d.ts +1 -1
- package/dist/models/ListAllSwimmingLaneGroupsResponseBody.d.ts +51 -42
- package/dist/models/ListAllSwimmingLaneGroupsResponseBody.js.map +1 -1
- package/dist/models/ListAllSwimmingLanesRequest.d.ts +2 -2
- package/dist/models/ListAllSwimmingLanesResponseBody.d.ts +67 -58
- package/dist/models/ListAllSwimmingLanesResponseBody.js.map +1 -1
- package/dist/models/ListAppEventsRequest.d.ts +19 -14
- package/dist/models/ListAppEventsRequest.js.map +1 -1
- package/dist/models/ListAppEventsResponseBody.d.ts +32 -23
- package/dist/models/ListAppEventsResponseBody.js.map +1 -1
- package/dist/models/ListAppServicesPageRequest.d.ts +5 -4
- package/dist/models/ListAppServicesPageRequest.js.map +1 -1
- package/dist/models/ListAppServicesPageResponseBody.d.ts +29 -24
- package/dist/models/ListAppServicesPageResponseBody.js.map +1 -1
- package/dist/models/ListAppServicesRequest.d.ts +21 -15
- package/dist/models/ListAppServicesRequest.js.map +1 -1
- package/dist/models/ListAppServicesResponseBody.d.ts +52 -37
- package/dist/models/ListAppServicesResponseBody.js.map +1 -1
- package/dist/models/ListAppVersionsRequest.d.ts +1 -1
- package/dist/models/ListAppVersionsResponseBody.d.ts +33 -23
- package/dist/models/ListAppVersionsResponseBody.js.map +1 -1
- package/dist/models/ListApplicationCenterServiceInstancesRequest.d.ts +0 -8
- package/dist/models/ListApplicationCenterServiceInstancesRequest.js.map +1 -1
- package/dist/models/ListApplicationCenterServiceInstancesResponseBody.d.ts +0 -43
- package/dist/models/ListApplicationCenterServiceInstancesResponseBody.js.map +1 -1
- package/dist/models/ListApplicationsForSwimmingLaneRequest.d.ts +2 -2
- package/dist/models/ListApplicationsForSwimmingLaneResponseBody.d.ts +27 -21
- package/dist/models/ListApplicationsForSwimmingLaneResponseBody.js.map +1 -1
- package/dist/models/ListApplicationsRequest.d.ts +65 -20
- package/dist/models/ListApplicationsRequest.js.map +1 -1
- package/dist/models/ListApplicationsResponseBody.d.ts +131 -83
- package/dist/models/ListApplicationsResponseBody.js.map +1 -1
- package/dist/models/ListChangeOrdersRequest.d.ts +76 -25
- package/dist/models/ListChangeOrdersRequest.js.map +1 -1
- package/dist/models/ListChangeOrdersResponseBody.d.ts +111 -78
- package/dist/models/ListChangeOrdersResponseBody.js.map +1 -1
- package/dist/models/ListConsumedServicesRequest.d.ts +1 -1
- package/dist/models/ListConsumedServicesResponseBody.d.ts +26 -20
- package/dist/models/ListConsumedServicesResponseBody.js.map +1 -1
- package/dist/models/ListGreyTagRouteRequest.d.ts +1 -1
- package/dist/models/ListGreyTagRouteResponseBody.d.ts +131 -66
- package/dist/models/ListGreyTagRouteResponseBody.js.map +1 -1
- package/dist/models/ListIngressesRequest.d.ts +10 -2
- package/dist/models/ListIngressesRequest.js.map +1 -1
- package/dist/models/ListIngressesResponseBody.d.ts +170 -40
- package/dist/models/ListIngressesResponseBody.js.map +1 -1
- package/dist/models/ListJobsRequest.d.ts +20 -16
- package/dist/models/ListJobsRequest.js.map +1 -1
- package/dist/models/ListJobsResponseBody.d.ts +81 -56
- package/dist/models/ListJobsResponseBody.js.map +1 -1
- package/dist/models/ListLogConfigsRequest.d.ts +3 -3
- package/dist/models/ListLogConfigsResponseBody.d.ts +39 -30
- package/dist/models/ListLogConfigsResponseBody.js.map +1 -1
- package/dist/models/ListNamespaceChangeOrdersRequest.d.ts +22 -6
- package/dist/models/ListNamespaceChangeOrdersRequest.js.map +1 -1
- package/dist/models/ListNamespaceChangeOrdersResponseBody.d.ts +52 -38
- package/dist/models/ListNamespaceChangeOrdersResponseBody.js.map +1 -1
- package/dist/models/ListNamespacedConfigMapsRequest.d.ts +1 -1
- package/dist/models/ListNamespacedConfigMapsResponseBody.d.ts +32 -28
- package/dist/models/ListNamespacedConfigMapsResponseBody.js.map +1 -1
- package/dist/models/ListPublishedServicesRequest.d.ts +1 -1
- package/dist/models/ListPublishedServicesResponseBody.d.ts +28 -22
- package/dist/models/ListPublishedServicesResponseBody.js.map +1 -1
- package/dist/models/ListSecretsRequest.d.ts +1 -1
- package/dist/models/ListSecretsResponseBody.d.ts +27 -24
- package/dist/models/ListSecretsResponseBody.js.map +1 -1
- package/dist/models/ListSwimmingLaneGatewayRoutesResponseBody.d.ts +27 -21
- package/dist/models/ListSwimmingLaneGatewayRoutesResponseBody.js.map +1 -1
- package/dist/models/ListSwimmingLaneGroupTagsRequest.d.ts +2 -2
- package/dist/models/ListSwimmingLaneGroupTagsResponseBody.d.ts +26 -20
- package/dist/models/ListSwimmingLaneGroupTagsResponseBody.js.map +1 -1
- package/dist/models/ListTagResourcesRequest.d.ts +9 -8
- package/dist/models/ListTagResourcesRequest.js.map +1 -1
- package/dist/models/ListTagResourcesResponseBody.d.ts +25 -19
- package/dist/models/ListTagResourcesResponseBody.js.map +1 -1
- package/dist/models/ListWebApplicationInstancesRequest.d.ts +3 -0
- package/dist/models/ListWebApplicationInstancesRequest.js.map +1 -1
- package/dist/models/ListWebApplicationInstancesShrinkRequest.d.ts +3 -0
- package/dist/models/ListWebApplicationInstancesShrinkRequest.js.map +1 -1
- package/dist/models/ListWebApplicationRevisionsOutput.d.ts +1 -1
- package/dist/models/ListWebApplicationRevisionsRequest.d.ts +1 -1
- package/dist/models/ListWebInstancesOutput.d.ts +3 -0
- package/dist/models/ListWebInstancesOutput.js.map +1 -1
- package/dist/models/PathConfig.d.ts +2 -2
- package/dist/models/QueryArmsEnableResponseBody.d.ts +8 -8
- package/dist/models/QueryResourceStaticsRequest.d.ts +1 -1
- package/dist/models/QueryResourceStaticsResponseBody.d.ts +36 -29
- package/dist/models/QueryResourceStaticsResponseBody.js.map +1 -1
- package/dist/models/ReduceApplicationCapacityByInstanceIdsResponseBody.d.ts +15 -12
- package/dist/models/ReduceApplicationCapacityByInstanceIdsResponseBody.js.map +1 -1
- package/dist/models/RegistryAuthenticationConfig.d.ts +6 -0
- package/dist/models/RegistryAuthenticationConfig.js.map +1 -1
- package/dist/models/RegistryCertificateConfig.d.ts +6 -0
- package/dist/models/RegistryCertificateConfig.js.map +1 -1
- package/dist/models/RescaleApplicationRequest.d.ts +10 -7
- package/dist/models/RescaleApplicationRequest.js.map +1 -1
- package/dist/models/RescaleApplicationResponseBody.d.ts +12 -10
- package/dist/models/RescaleApplicationResponseBody.js.map +1 -1
- package/dist/models/RescaleApplicationVerticallyRequest.d.ts +7 -7
- package/dist/models/RescaleApplicationVerticallyResponseBody.d.ts +22 -17
- package/dist/models/RescaleApplicationVerticallyResponseBody.js.map +1 -1
- package/dist/models/RestartApplicationRequest.d.ts +10 -7
- package/dist/models/RestartApplicationRequest.js.map +1 -1
- package/dist/models/RestartApplicationResponseBody.d.ts +15 -12
- package/dist/models/RestartApplicationResponseBody.js.map +1 -1
- package/dist/models/RestartInstancesResponseBody.d.ts +15 -12
- package/dist/models/RestartInstancesResponseBody.js.map +1 -1
- package/dist/models/ResumeTrafficRequest.d.ts +1 -1
- package/dist/models/ResumeTrafficResponseBody.d.ts +26 -19
- package/dist/models/ResumeTrafficResponseBody.js.map +1 -1
- package/dist/models/Revision.d.ts +2 -2
- package/dist/models/RollbackApplicationRequest.d.ts +24 -19
- package/dist/models/RollbackApplicationRequest.js.map +1 -1
- package/dist/models/RollbackApplicationResponseBody.d.ts +15 -12
- package/dist/models/RollbackApplicationResponseBody.js.map +1 -1
- package/dist/models/RouteConfig.d.ts +1 -1
- package/dist/models/SidecarContainerConfig.d.ts +30 -10
- package/dist/models/SidecarContainerConfig.js.map +1 -1
- package/dist/models/SlscollectConfig.d.ts +3 -3
- package/dist/models/StartApplicationResponseBody.d.ts +15 -12
- package/dist/models/StartApplicationResponseBody.js.map +1 -1
- package/dist/models/StopApplicationRequest.d.ts +1 -4
- package/dist/models/StopApplicationRequest.js.map +1 -1
- package/dist/models/StopApplicationResponseBody.d.ts +31 -16
- package/dist/models/StopApplicationResponseBody.js.map +1 -1
- package/dist/models/SuspendJobRequest.d.ts +3 -2
- package/dist/models/SuspendJobRequest.js.map +1 -1
- package/dist/models/SuspendJobResponseBody.d.ts +15 -12
- package/dist/models/SuspendJobResponseBody.js.map +1 -1
- package/dist/models/SuspendTrafficRequest.d.ts +1 -1
- package/dist/models/SuspendTrafficResponseBody.d.ts +19 -22
- package/dist/models/SuspendTrafficResponseBody.js.map +1 -1
- package/dist/models/TagResourcesRequest.d.ts +8 -7
- package/dist/models/TagResourcesRequest.js.map +1 -1
- package/dist/models/TagResourcesResponseBody.d.ts +21 -15
- package/dist/models/TagResourcesResponseBody.js.map +1 -1
- package/dist/models/UnbindNlbRequest.d.ts +9 -7
- package/dist/models/UnbindNlbRequest.js.map +1 -1
- package/dist/models/UnbindNlbResponseBody.d.ts +23 -17
- package/dist/models/UnbindNlbResponseBody.js.map +1 -1
- package/dist/models/UnbindSlbRequest.d.ts +8 -6
- package/dist/models/UnbindSlbRequest.js.map +1 -1
- package/dist/models/UnbindSlbResponseBody.d.ts +21 -15
- package/dist/models/UnbindSlbResponseBody.js.map +1 -1
- package/dist/models/UntagResourcesRequest.d.ts +7 -6
- package/dist/models/UntagResourcesRequest.js.map +1 -1
- package/dist/models/UntagResourcesResponseBody.d.ts +21 -15
- package/dist/models/UntagResourcesResponseBody.js.map +1 -1
- package/dist/models/UpdateAppModeRequest.d.ts +10 -7
- package/dist/models/UpdateAppModeRequest.js.map +1 -1
- package/dist/models/UpdateAppModeResponseBody.d.ts +19 -14
- package/dist/models/UpdateAppModeResponseBody.js.map +1 -1
- package/dist/models/UpdateAppSecurityGroupRequest.d.ts +2 -2
- package/dist/models/UpdateAppSecurityGroupResponseBody.d.ts +21 -15
- package/dist/models/UpdateAppSecurityGroupResponseBody.js.map +1 -1
- package/dist/models/UpdateApplicationDescriptionResponseBody.d.ts +15 -12
- package/dist/models/UpdateApplicationDescriptionResponseBody.js.map +1 -1
- package/dist/models/UpdateApplicationScalingRuleRequest.d.ts +102 -59
- package/dist/models/UpdateApplicationScalingRuleRequest.js +2 -0
- package/dist/models/UpdateApplicationScalingRuleRequest.js.map +1 -1
- package/dist/models/UpdateApplicationScalingRuleResponseBody.d.ts +124 -64
- package/dist/models/UpdateApplicationScalingRuleResponseBody.js.map +1 -1
- package/dist/models/UpdateApplicationVswitchesRequest.d.ts +20 -1
- package/dist/models/UpdateApplicationVswitchesRequest.js.map +1 -1
- package/dist/models/UpdateApplicationVswitchesResponseBody.d.ts +21 -15
- package/dist/models/UpdateApplicationVswitchesResponseBody.js.map +1 -1
- package/dist/models/UpdateConfigMapRequest.d.ts +10 -1
- package/dist/models/UpdateConfigMapRequest.js.map +1 -1
- package/dist/models/UpdateConfigMapResponseBody.d.ts +24 -16
- package/dist/models/UpdateConfigMapResponseBody.js.map +1 -1
- package/dist/models/UpdateGreyTagRouteRequest.d.ts +6 -6
- package/dist/models/UpdateGreyTagRouteResponseBody.d.ts +19 -14
- package/dist/models/UpdateGreyTagRouteResponseBody.js.map +1 -1
- package/dist/models/UpdateIngressRequest.d.ts +81 -26
- package/dist/models/UpdateIngressRequest.js.map +1 -1
- package/dist/models/UpdateIngressResponseBody.d.ts +24 -18
- package/dist/models/UpdateIngressResponseBody.js.map +1 -1
- package/dist/models/UpdateJobRequest.d.ts +133 -95
- package/dist/models/UpdateJobRequest.js.map +1 -1
- package/dist/models/UpdateJobResponseBody.d.ts +23 -22
- package/dist/models/UpdateJobResponseBody.js.map +1 -1
- package/dist/models/UpdateNamespaceRequest.d.ts +3 -2
- package/dist/models/UpdateNamespaceRequest.js.map +1 -1
- package/dist/models/UpdateNamespaceResponseBody.d.ts +15 -12
- package/dist/models/UpdateNamespaceResponseBody.js.map +1 -1
- package/dist/models/UpdateNamespaceSlsConfigsRequest.d.ts +22 -13
- package/dist/models/UpdateNamespaceSlsConfigsRequest.js.map +1 -1
- package/dist/models/UpdateNamespaceSlsConfigsResponseBody.d.ts +7 -9
- package/dist/models/UpdateNamespaceSlsConfigsResponseBody.js.map +1 -1
- package/dist/models/UpdateNamespaceVpcRequest.d.ts +5 -2
- package/dist/models/UpdateNamespaceVpcRequest.js.map +1 -1
- package/dist/models/UpdateNamespaceVpcResponseBody.d.ts +26 -17
- package/dist/models/UpdateNamespaceVpcResponseBody.js.map +1 -1
- package/dist/models/UpdateSecretRequest.d.ts +6 -4
- package/dist/models/UpdateSecretRequest.js.map +1 -1
- package/dist/models/UpdateSecretResponseBody.d.ts +42 -0
- package/dist/models/UpdateSecretResponseBody.js.map +1 -1
- package/dist/models/UpdateSecretShrinkRequest.d.ts +3 -1
- package/dist/models/UpdateSecretShrinkRequest.js.map +1 -1
- package/dist/models/UpdateSwimmingLaneEnableAttributeRequest.d.ts +7 -6
- package/dist/models/UpdateSwimmingLaneEnableAttributeRequest.js.map +1 -1
- package/dist/models/UpdateSwimmingLaneEnableAttributeResponseBody.d.ts +22 -16
- package/dist/models/UpdateSwimmingLaneEnableAttributeResponseBody.js.map +1 -1
- package/dist/models/WebAclEntryConfig.d.ts +1 -1
- package/dist/models/WebApplication.d.ts +2 -2
- package/dist/models/WebVersionStatus.d.ts +3 -0
- package/dist/models/WebVersionStatus.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +215 -202
- package/src/models/AbortChangeOrderRequest.ts +7 -0
- package/src/models/AbortChangeOrderResponseBody.ts +19 -14
- package/src/models/BatchRestartApplicationsResponseBody.ts +0 -3
- package/src/models/BatchStartApplicationsRequest.ts +1 -1
- package/src/models/BatchStartApplicationsResponseBody.ts +15 -9
- package/src/models/BatchStopApplicationsResponseBody.ts +11 -7
- package/src/models/BindNlbRequest.ts +17 -12
- package/src/models/BindNlbResponseBody.ts +24 -18
- package/src/models/BindSlbResponseBody.ts +3 -0
- package/src/models/ConfirmPipelineBatchRequest.ts +6 -2
- package/src/models/ConfirmPipelineBatchResponseBody.ts +19 -14
- package/src/models/Container.ts +14 -14
- package/src/models/ContainerResources.ts +1 -1
- package/src/models/CreateApplicationRequest.ts +445 -238
- package/src/models/CreateApplicationResponseBody.ts +27 -18
- package/src/models/CreateApplicationScalingRuleRequest.ts +108 -79
- package/src/models/CreateApplicationScalingRuleResponseBody.ts +113 -76
- package/src/models/CreateApplicationShrinkRequest.ts +445 -238
- package/src/models/CreateConfigMapResponseBody.ts +7 -10
- package/src/models/CreateGreyTagRouteRequest.ts +6 -6
- package/src/models/CreateGreyTagRouteResponseBody.ts +20 -15
- package/src/models/CreateIngressRequest.ts +71 -50
- package/src/models/CreateIngressResponseBody.ts +20 -17
- package/src/models/CreateJobRequest.ts +214 -128
- package/src/models/CreateJobResponseBody.ts +24 -21
- package/src/models/CreateNamespaceRequest.ts +9 -8
- package/src/models/CreateNamespaceResponseBody.ts +31 -28
- package/src/models/CreateOrUpdateSwimmingLaneGroupRequest.ts +14 -12
- package/src/models/CreateOrUpdateSwimmingLaneGroupResponseBody.ts +24 -18
- package/src/models/CreateOrUpdateSwimmingLaneGroupShrinkRequest.ts +14 -12
- package/src/models/CreateOrUpdateSwimmingLaneRequest.ts +77 -59
- package/src/models/CreateOrUpdateSwimmingLaneResponseBody.ts +24 -18
- package/src/models/CreateOrUpdateSwimmingLaneShrinkRequest.ts +18 -16
- package/src/models/CreateSecretRequest.ts +6 -4
- package/src/models/CreateSecretResponseBody.ts +12 -10
- package/src/models/CreateSecretShrinkRequest.ts +6 -4
- package/src/models/DataInstancesValue.ts +6 -5
- package/src/models/DataInstancesValueListenersValue.ts +13 -9
- package/src/models/DeleteApplicationResponseBody.ts +23 -17
- package/src/models/DeleteApplicationScalingRuleRequest.ts +2 -2
- package/src/models/DeleteApplicationScalingRuleResponseBody.ts +26 -14
- package/src/models/DeleteConfigMapRequest.ts +1 -1
- package/src/models/DeleteConfigMapResponseBody.ts +23 -17
- package/src/models/DeleteGreyTagRouteResponseBody.ts +22 -16
- package/src/models/DeleteHistoryJobResponseBody.ts +16 -13
- package/src/models/DeleteIngressRequest.ts +1 -1
- package/src/models/DeleteIngressResponseBody.ts +17 -12
- package/src/models/DeleteInstancesRequest.ts +2 -2
- package/src/models/DeleteInstancesResponseBody.ts +23 -17
- package/src/models/DeleteJobResponseBody.ts +16 -13
- package/src/models/DeleteNamespaceRequest.ts +4 -1
- package/src/models/DeleteNamespaceResponseBody.ts +16 -11
- package/src/models/DeleteSecretRequest.ts +2 -2
- package/src/models/DeleteSecretResponseBody.ts +22 -19
- package/src/models/DeleteSwimmingLaneGroupRequest.ts +2 -2
- package/src/models/DeleteSwimmingLaneGroupResponseBody.ts +22 -16
- package/src/models/DeployApplicationRequest.ts +445 -273
- package/src/models/DeployApplicationResponseBody.ts +29 -22
- package/src/models/DeployApplicationShrinkRequest.ts +445 -273
- package/src/models/DescribeAppServiceDetailRequest.ts +10 -6
- package/src/models/DescribeAppServiceDetailResponseBody.ts +41 -40
- package/src/models/DescribeApplicationConfigRequest.ts +2 -2
- package/src/models/DescribeApplicationConfigResponseBody.ts +556 -311
- package/src/models/DescribeApplicationGroupsRequest.ts +2 -2
- package/src/models/DescribeApplicationGroupsResponseBody.ts +64 -41
- package/src/models/DescribeApplicationImageRequest.ts +2 -2
- package/src/models/DescribeApplicationImageResponseBody.ts +26 -20
- package/src/models/DescribeApplicationInstancesRequest.ts +37 -6
- package/src/models/DescribeApplicationInstancesResponseBody.ts +99 -54
- package/src/models/DescribeApplicationMseServiceResponseBody.ts +17 -13
- package/src/models/DescribeApplicationNlbsRequest.ts +1 -1
- package/src/models/DescribeApplicationNlbsResponseBody.ts +19 -14
- package/src/models/DescribeApplicationScalingRuleRequest.ts +2 -2
- package/src/models/DescribeApplicationScalingRuleResponseBody.ts +204 -88
- package/src/models/DescribeApplicationScalingRulesRequest.ts +1 -1
- package/src/models/DescribeApplicationScalingRulesResponseBody.ts +244 -90
- package/src/models/DescribeApplicationSlbsRequest.ts +1 -1
- package/src/models/DescribeApplicationSlbsResponseBody.ts +120 -33
- package/src/models/DescribeApplicationStatusResponseBody.ts +66 -45
- package/src/models/DescribeChangeOrderRequest.ts +1 -1
- package/src/models/DescribeChangeOrderResponseBody.ts +135 -78
- package/src/models/DescribeComponentsRequest.ts +4 -3
- package/src/models/DescribeComponentsResponseBody.ts +25 -19
- package/src/models/DescribeConfigMapRequest.ts +1 -1
- package/src/models/DescribeConfigMapResponseBody.ts +32 -26
- package/src/models/DescribeConfigurationPriceRequest.ts +74 -24
- package/src/models/DescribeConfigurationPriceResponseBody.ts +74 -49
- package/src/models/DescribeEdasContainersResponseBody.ts +22 -16
- package/src/models/DescribeGreyTagRouteRequest.ts +1 -1
- package/src/models/DescribeGreyTagRouteResponseBody.ts +107 -77
- package/src/models/DescribeIngressRequest.ts +2 -2
- package/src/models/DescribeIngressResponseBody.ts +233 -54
- package/src/models/DescribeInstanceLogRequest.ts +8 -1
- package/src/models/DescribeInstanceLogResponseBody.ts +21 -20
- package/src/models/DescribeInstanceSpecificationsResponseBody.ts +33 -23
- package/src/models/DescribeJobHistoryRequest.ts +7 -4
- package/src/models/DescribeJobHistoryResponseBody.ts +22 -19
- package/src/models/DescribeJobRequest.ts +1 -1
- package/src/models/DescribeJobResponseBody.ts +222 -159
- package/src/models/DescribeJobStatusResponseBody.ts +25 -18
- package/src/models/DescribeNamespaceListRequest.ts +6 -4
- package/src/models/DescribeNamespaceListResponseBody.ts +21 -16
- package/src/models/DescribeNamespaceResourcesRequest.ts +4 -1
- package/src/models/DescribeNamespaceResourcesResponseBody.ts +91 -45
- package/src/models/DescribeNamespaceResponseBody.ts +18 -14
- package/src/models/DescribeNamespacesRequest.ts +1 -1
- package/src/models/DescribeNamespacesResponseBody.ts +30 -24
- package/src/models/DescribePipelineResponseBody.ts +59 -39
- package/src/models/DescribeRegionsResponseBody.ts +8 -5
- package/src/models/DescribeSecretResponseBody.ts +15 -12
- package/src/models/DescribeSwimmingLaneRequest.ts +3 -3
- package/src/models/DescribeSwimmingLaneResponseBody.ts +62 -53
- package/src/models/DescribeVswitchesRequest.ts +0 -11
- package/src/models/DescribeVswitchesResponseBody.ts +0 -47
- package/src/models/DisableApplicationScalingRuleRequest.ts +2 -2
- package/src/models/DisableApplicationScalingRuleResponseBody.ts +24 -15
- package/src/models/DisableArmsResponseBody.ts +17 -22
- package/src/models/DowngradeApplicationApmServiceResponseBody.ts +13 -11
- package/src/models/EnableApplicationScalingRuleResponseBody.ts +15 -12
- package/src/models/ExecJobRequest.ts +31 -23
- package/src/models/ExecJobResponseBody.ts +37 -26
- package/src/models/GetApplicationRequest.ts +2 -2
- package/src/models/GetApplicationResponseBody.ts +75 -45
- package/src/models/GetAvailabilityMetricResponseBody.ts +1 -1
- package/src/models/GetChangeOrderMetricRequest.ts +20 -9
- package/src/models/GetChangeOrderMetricResponseBody.ts +36 -15
- package/src/models/GetScaleAppMetricResponseBody.ts +1 -1
- package/src/models/GetWebshellTokenRequest.ts +7 -6
- package/src/models/GetWebshellTokenResponseBody.ts +12 -10
- package/src/models/ImageRegistryConfig.ts +8 -0
- package/src/models/InitContainerConfig.ts +49 -0
- package/src/models/ListAllSwimmingLaneGroupsRequest.ts +1 -1
- package/src/models/ListAllSwimmingLaneGroupsResponseBody.ts +51 -42
- package/src/models/ListAllSwimmingLanesRequest.ts +2 -2
- package/src/models/ListAllSwimmingLanesResponseBody.ts +67 -58
- package/src/models/ListAppEventsRequest.ts +19 -14
- package/src/models/ListAppEventsResponseBody.ts +32 -23
- package/src/models/ListAppServicesPageRequest.ts +5 -4
- package/src/models/ListAppServicesPageResponseBody.ts +29 -24
- package/src/models/ListAppServicesRequest.ts +21 -15
- package/src/models/ListAppServicesResponseBody.ts +52 -37
- package/src/models/ListAppVersionsRequest.ts +1 -1
- package/src/models/ListAppVersionsResponseBody.ts +33 -23
- package/src/models/ListApplicationCenterServiceInstancesRequest.ts +0 -8
- package/src/models/ListApplicationCenterServiceInstancesResponseBody.ts +0 -43
- package/src/models/ListApplicationsForSwimmingLaneRequest.ts +2 -2
- package/src/models/ListApplicationsForSwimmingLaneResponseBody.ts +27 -21
- package/src/models/ListApplicationsRequest.ts +65 -20
- package/src/models/ListApplicationsResponseBody.ts +131 -83
- package/src/models/ListChangeOrdersRequest.ts +76 -25
- package/src/models/ListChangeOrdersResponseBody.ts +111 -78
- package/src/models/ListConsumedServicesRequest.ts +1 -1
- package/src/models/ListConsumedServicesResponseBody.ts +26 -20
- package/src/models/ListGreyTagRouteRequest.ts +1 -1
- package/src/models/ListGreyTagRouteResponseBody.ts +131 -66
- package/src/models/ListIngressesRequest.ts +10 -2
- package/src/models/ListIngressesResponseBody.ts +170 -40
- package/src/models/ListJobsRequest.ts +20 -16
- package/src/models/ListJobsResponseBody.ts +81 -56
- package/src/models/ListLogConfigsRequest.ts +3 -3
- package/src/models/ListLogConfigsResponseBody.ts +39 -30
- package/src/models/ListNamespaceChangeOrdersRequest.ts +22 -6
- package/src/models/ListNamespaceChangeOrdersResponseBody.ts +52 -38
- package/src/models/ListNamespacedConfigMapsRequest.ts +1 -1
- package/src/models/ListNamespacedConfigMapsResponseBody.ts +32 -28
- package/src/models/ListPublishedServicesRequest.ts +1 -1
- package/src/models/ListPublishedServicesResponseBody.ts +28 -22
- package/src/models/ListSecretsRequest.ts +1 -1
- package/src/models/ListSecretsResponseBody.ts +27 -24
- package/src/models/ListSwimmingLaneGatewayRoutesResponseBody.ts +27 -21
- package/src/models/ListSwimmingLaneGroupTagsRequest.ts +2 -2
- package/src/models/ListSwimmingLaneGroupTagsResponseBody.ts +26 -20
- package/src/models/ListTagResourcesRequest.ts +9 -8
- package/src/models/ListTagResourcesResponseBody.ts +25 -19
- package/src/models/ListWebApplicationInstancesRequest.ts +3 -0
- package/src/models/ListWebApplicationInstancesShrinkRequest.ts +3 -0
- package/src/models/ListWebApplicationRevisionsOutput.ts +1 -1
- package/src/models/ListWebApplicationRevisionsRequest.ts +1 -1
- package/src/models/ListWebInstancesOutput.ts +3 -0
- package/src/models/PathConfig.ts +2 -2
- package/src/models/QueryArmsEnableResponseBody.ts +8 -8
- package/src/models/QueryResourceStaticsRequest.ts +1 -1
- package/src/models/QueryResourceStaticsResponseBody.ts +37 -30
- package/src/models/ReduceApplicationCapacityByInstanceIdsResponseBody.ts +15 -12
- package/src/models/RegistryAuthenticationConfig.ts +6 -0
- package/src/models/RegistryCertificateConfig.ts +6 -0
- package/src/models/RescaleApplicationRequest.ts +10 -7
- package/src/models/RescaleApplicationResponseBody.ts +12 -10
- package/src/models/RescaleApplicationVerticallyRequest.ts +7 -7
- package/src/models/RescaleApplicationVerticallyResponseBody.ts +22 -17
- package/src/models/RestartApplicationRequest.ts +10 -7
- package/src/models/RestartApplicationResponseBody.ts +15 -12
- package/src/models/RestartInstancesResponseBody.ts +15 -12
- package/src/models/ResumeTrafficRequest.ts +1 -1
- package/src/models/ResumeTrafficResponseBody.ts +26 -19
- package/src/models/Revision.ts +2 -2
- package/src/models/RollbackApplicationRequest.ts +24 -19
- package/src/models/RollbackApplicationResponseBody.ts +15 -12
- package/src/models/RouteConfig.ts +1 -1
- package/src/models/SidecarContainerConfig.ts +30 -10
- package/src/models/SlscollectConfig.ts +3 -3
- package/src/models/StartApplicationResponseBody.ts +15 -12
- package/src/models/StopApplicationRequest.ts +1 -4
- package/src/models/StopApplicationResponseBody.ts +31 -16
- package/src/models/SuspendJobRequest.ts +3 -2
- package/src/models/SuspendJobResponseBody.ts +15 -12
- package/src/models/SuspendTrafficRequest.ts +1 -1
- package/src/models/SuspendTrafficResponseBody.ts +19 -22
- package/src/models/TagResourcesRequest.ts +8 -7
- package/src/models/TagResourcesResponseBody.ts +21 -15
- package/src/models/UnbindNlbRequest.ts +9 -7
- package/src/models/UnbindNlbResponseBody.ts +23 -17
- package/src/models/UnbindSlbRequest.ts +8 -6
- package/src/models/UnbindSlbResponseBody.ts +21 -15
- package/src/models/UntagResourcesRequest.ts +7 -6
- package/src/models/UntagResourcesResponseBody.ts +21 -15
- package/src/models/UpdateAppModeRequest.ts +10 -7
- package/src/models/UpdateAppModeResponseBody.ts +19 -14
- package/src/models/UpdateAppSecurityGroupRequest.ts +2 -2
- package/src/models/UpdateAppSecurityGroupResponseBody.ts +21 -15
- package/src/models/UpdateApplicationDescriptionResponseBody.ts +15 -12
- package/src/models/UpdateApplicationScalingRuleRequest.ts +104 -59
- package/src/models/UpdateApplicationScalingRuleResponseBody.ts +124 -64
- package/src/models/UpdateApplicationVswitchesRequest.ts +20 -1
- package/src/models/UpdateApplicationVswitchesResponseBody.ts +21 -15
- package/src/models/UpdateConfigMapRequest.ts +10 -1
- package/src/models/UpdateConfigMapResponseBody.ts +24 -16
- package/src/models/UpdateGreyTagRouteRequest.ts +6 -6
- package/src/models/UpdateGreyTagRouteResponseBody.ts +19 -14
- package/src/models/UpdateIngressRequest.ts +81 -26
- package/src/models/UpdateIngressResponseBody.ts +24 -18
- package/src/models/UpdateJobRequest.ts +133 -95
- package/src/models/UpdateJobResponseBody.ts +23 -22
- package/src/models/UpdateNamespaceRequest.ts +3 -2
- package/src/models/UpdateNamespaceResponseBody.ts +15 -12
- package/src/models/UpdateNamespaceSlsConfigsRequest.ts +22 -13
- package/src/models/UpdateNamespaceSlsConfigsResponseBody.ts +7 -9
- package/src/models/UpdateNamespaceVpcRequest.ts +5 -2
- package/src/models/UpdateNamespaceVpcResponseBody.ts +26 -17
- package/src/models/UpdateSecretRequest.ts +6 -4
- package/src/models/UpdateSecretResponseBody.ts +42 -0
- package/src/models/UpdateSecretShrinkRequest.ts +3 -1
- package/src/models/UpdateSwimmingLaneEnableAttributeRequest.ts +7 -6
- package/src/models/UpdateSwimmingLaneEnableAttributeResponseBody.ts +22 -16
- package/src/models/WebAclEntryConfig.ts +1 -1
- package/src/models/WebApplication.ts +2 -2
- package/src/models/WebVersionStatus.ts +3 -0
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The
|
|
5
|
+
* The ARN of the RAM role required to pull images across accounts. For more information, see [Authorize cross-account image pulls using RAM roles](https://help.aliyun.com/document_detail/223585.html).
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* acs:ram::123456789012****:role/adminrole
|
|
@@ -10,17 +10,31 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
10
10
|
acrAssumeRoleArn?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The
|
|
13
|
+
* The Container Registry Enterprise Edition instance ID. Required when **ImageUrl** is from Container Registry Enterprise Edition.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* cri-xxxxxx
|
|
17
17
|
*/
|
|
18
18
|
acrInstanceId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The AliyunAgent version.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* 4.4.2
|
|
25
|
+
*/
|
|
19
26
|
agentVersion?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* The ALB gateway readiness gate configuration.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* default
|
|
33
|
+
*/
|
|
20
34
|
albIngressReadinessGate?: string;
|
|
21
35
|
/**
|
|
22
36
|
* @remarks
|
|
23
|
-
* The ID of the application.
|
|
37
|
+
* The ID of the application to deploy.
|
|
24
38
|
*
|
|
25
39
|
* This parameter is required.
|
|
26
40
|
*
|
|
@@ -30,10 +44,11 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
30
44
|
appId?: string;
|
|
31
45
|
/**
|
|
32
46
|
* @remarks
|
|
33
|
-
*
|
|
47
|
+
* Whether to associate an EIP. Values:
|
|
48
|
+
*
|
|
49
|
+
* - **true**: Associate.
|
|
34
50
|
*
|
|
35
|
-
*
|
|
36
|
-
* * **false**: The EIP is not associated with the application instance.
|
|
51
|
+
* - **false**: Do not associate.
|
|
37
52
|
*
|
|
38
53
|
* @example
|
|
39
54
|
* true
|
|
@@ -41,10 +56,11 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
41
56
|
associateEip?: boolean;
|
|
42
57
|
/**
|
|
43
58
|
* @remarks
|
|
44
|
-
*
|
|
59
|
+
* Whether to automatically enable application Auto Scaling rules. Values:
|
|
45
60
|
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
61
|
+
* - **true**: Enable.
|
|
62
|
+
*
|
|
63
|
+
* - **false**: Disable.
|
|
48
64
|
*
|
|
49
65
|
* @example
|
|
50
66
|
* true
|
|
@@ -52,7 +68,7 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
52
68
|
autoEnableApplicationScalingRule?: boolean;
|
|
53
69
|
/**
|
|
54
70
|
* @remarks
|
|
55
|
-
* The
|
|
71
|
+
* The wait time between batches, in seconds.
|
|
56
72
|
*
|
|
57
73
|
* @example
|
|
58
74
|
* 10
|
|
@@ -60,23 +76,25 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
60
76
|
batchWaitTime?: number;
|
|
61
77
|
/**
|
|
62
78
|
* @remarks
|
|
63
|
-
* The description of the
|
|
79
|
+
* The description of the release task.
|
|
64
80
|
*
|
|
65
81
|
* @example
|
|
66
|
-
* Start
|
|
82
|
+
* Start application
|
|
67
83
|
*/
|
|
68
84
|
changeOrderDesc?: string;
|
|
69
85
|
/**
|
|
70
86
|
* @remarks
|
|
71
|
-
* The command
|
|
87
|
+
* The startup command for your image. This command must be an executable object inside the container. Example:
|
|
72
88
|
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
89
|
+
* ```
|
|
90
|
+
* command:
|
|
91
|
+
* - echo
|
|
92
|
+
* - abc
|
|
93
|
+
* - >
|
|
94
|
+
* - file0
|
|
95
|
+
* ```
|
|
78
96
|
*
|
|
79
|
-
* In this example,
|
|
97
|
+
* In this example, Command="echo" and `CommandArgs=["abc", ">", "file0"]`.
|
|
80
98
|
*
|
|
81
99
|
* @example
|
|
82
100
|
* echo
|
|
@@ -84,11 +102,11 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
84
102
|
command?: string;
|
|
85
103
|
/**
|
|
86
104
|
* @remarks
|
|
87
|
-
* The
|
|
105
|
+
* The arguments for the startup command **Command**. Format:
|
|
88
106
|
*
|
|
89
107
|
* `["a","b"]`
|
|
90
108
|
*
|
|
91
|
-
* In the
|
|
109
|
+
* In the earlier example, `CommandArgs=["abc", ">", "file0"]`. The value `["abc", ">", "file0"]` must be converted to a string in JSON array format. Leave this field empty if no arguments are needed.
|
|
92
110
|
*
|
|
93
111
|
* @example
|
|
94
112
|
* ["a","b"]
|
|
@@ -96,14 +114,15 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
96
114
|
commandArgs?: string;
|
|
97
115
|
/**
|
|
98
116
|
* @remarks
|
|
99
|
-
* The description
|
|
117
|
+
* The mount description for a **ConfigMap**. Use configuration items created on the namespace configuration page to inject configuration into your container. Parameters:
|
|
118
|
+
*
|
|
119
|
+
* - **configMapId**: The ID of the ConfigMap instance. Get it by calling the [ListNamespacedConfigMaps](https://help.aliyun.com/document_detail/176917.html) API.
|
|
100
120
|
*
|
|
101
|
-
*
|
|
102
|
-
* * **key**: the key.
|
|
121
|
+
* - **key**: The key.
|
|
103
122
|
*
|
|
104
|
-
* > You can
|
|
123
|
+
* > You can mount all keys by passing `sae-sys-configmap-all`.
|
|
105
124
|
*
|
|
106
|
-
*
|
|
125
|
+
* - **mountPath**: The mount path.
|
|
107
126
|
*
|
|
108
127
|
* @example
|
|
109
128
|
* [{"configMapId":16,"key":"test","mountPath":"/tmp"}]
|
|
@@ -111,16 +130,23 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
111
130
|
configMapMountDesc?: string;
|
|
112
131
|
/**
|
|
113
132
|
* @remarks
|
|
114
|
-
* The CPU
|
|
133
|
+
* The CPU required per instance, in milliCPU. Cannot be zero. Supported fixed specifications:
|
|
134
|
+
*
|
|
135
|
+
* - **500**
|
|
136
|
+
*
|
|
137
|
+
* - **1000**
|
|
138
|
+
*
|
|
139
|
+
* - **2000**
|
|
115
140
|
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
*
|
|
141
|
+
* - **4000**
|
|
142
|
+
*
|
|
143
|
+
* - **8000**
|
|
144
|
+
*
|
|
145
|
+
* - **12000**
|
|
146
|
+
*
|
|
147
|
+
* - **16000**
|
|
148
|
+
*
|
|
149
|
+
* - **32000**
|
|
124
150
|
*
|
|
125
151
|
* @example
|
|
126
152
|
* 1000
|
|
@@ -128,10 +154,11 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
128
154
|
cpu?: number;
|
|
129
155
|
/**
|
|
130
156
|
* @remarks
|
|
131
|
-
*
|
|
157
|
+
* Custom host mappings inside your container. Values:
|
|
158
|
+
*
|
|
159
|
+
* - **hostName**: A domain name or hostname.
|
|
132
160
|
*
|
|
133
|
-
*
|
|
134
|
-
* * **ip**: the IP address.
|
|
161
|
+
* - **ip**: An IP address.
|
|
135
162
|
*
|
|
136
163
|
* @example
|
|
137
164
|
* [{"hostName":"samplehost","ip":"127.0.0.1"}]
|
|
@@ -139,7 +166,7 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
139
166
|
customHostAlias?: string;
|
|
140
167
|
/**
|
|
141
168
|
* @remarks
|
|
142
|
-
*
|
|
169
|
+
* The custom image type. Set to an empty string for non-custom images:
|
|
143
170
|
*
|
|
144
171
|
* - internet: Public network image
|
|
145
172
|
*
|
|
@@ -151,10 +178,11 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
151
178
|
customImageNetworkType?: string;
|
|
152
179
|
/**
|
|
153
180
|
* @remarks
|
|
154
|
-
* This parameter
|
|
181
|
+
* This parameter applies only to stopped applications. If you call **DeployApplication** on a running application, it deploys immediately.
|
|
155
182
|
*
|
|
156
|
-
*
|
|
157
|
-
*
|
|
183
|
+
* - **true**: Default. Deploys immediately, applies the new configuration, and starts instances.
|
|
184
|
+
*
|
|
185
|
+
* - **false**: Applies the new configuration only. Does not start application instances.
|
|
158
186
|
*
|
|
159
187
|
* @example
|
|
160
188
|
* true
|
|
@@ -162,12 +190,16 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
162
190
|
deploy?: string;
|
|
163
191
|
/**
|
|
164
192
|
* @remarks
|
|
165
|
-
* The
|
|
193
|
+
* The .NET framework version:
|
|
166
194
|
*
|
|
167
195
|
* - .NET 3.1
|
|
196
|
+
*
|
|
168
197
|
* - .NET 5.0
|
|
198
|
+
*
|
|
169
199
|
* - .NET 6.0
|
|
200
|
+
*
|
|
170
201
|
* - .NET 7.0
|
|
202
|
+
*
|
|
171
203
|
* - .NET 8.0
|
|
172
204
|
*
|
|
173
205
|
* @example
|
|
@@ -176,19 +208,27 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
176
208
|
dotnet?: string;
|
|
177
209
|
/**
|
|
178
210
|
* @remarks
|
|
179
|
-
* The version of the
|
|
211
|
+
* The version of the application runtime environment for HSF applications, such as Ali-Tomcat containers.
|
|
180
212
|
*
|
|
181
213
|
* @example
|
|
182
214
|
* 3.5.3
|
|
183
215
|
*/
|
|
184
216
|
edasContainerVersion?: string;
|
|
217
|
+
/**
|
|
218
|
+
* @remarks
|
|
219
|
+
* The configuration for shared temporary storage.
|
|
220
|
+
*
|
|
221
|
+
* @example
|
|
222
|
+
* [{\\"name\\":\\"workdir\\",\\"mountPath\\":\\"/usr/local/tomcat/webapps\\"}]
|
|
223
|
+
*/
|
|
185
224
|
emptyDirDesc?: string;
|
|
186
225
|
/**
|
|
187
226
|
* @remarks
|
|
188
|
-
*
|
|
227
|
+
* Whether to integrate with AHAS. Values:
|
|
189
228
|
*
|
|
190
|
-
*
|
|
191
|
-
*
|
|
229
|
+
* - **true**: Integrate with AHAS.
|
|
230
|
+
*
|
|
231
|
+
* - **false**: Do not integrate with AHAS.
|
|
192
232
|
*
|
|
193
233
|
* @example
|
|
194
234
|
* false
|
|
@@ -196,11 +236,11 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
196
236
|
enableAhas?: string;
|
|
197
237
|
/**
|
|
198
238
|
* @remarks
|
|
199
|
-
*
|
|
239
|
+
* Whether to enable CPU Burst:
|
|
200
240
|
*
|
|
201
|
-
* true:
|
|
241
|
+
* - true: Enable.
|
|
202
242
|
*
|
|
203
|
-
* false:
|
|
243
|
+
* - false: Do not enable.
|
|
204
244
|
*
|
|
205
245
|
* @example
|
|
206
246
|
* true
|
|
@@ -208,36 +248,51 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
208
248
|
enableCpuBurst?: boolean;
|
|
209
249
|
/**
|
|
210
250
|
* @remarks
|
|
211
|
-
*
|
|
251
|
+
* Whether to enable traffic canary rules. These rules apply only to Spring Cloud and Dubbo applications. Values:
|
|
252
|
+
*
|
|
253
|
+
* - **true**: Enable canary rules.
|
|
212
254
|
*
|
|
213
|
-
*
|
|
214
|
-
* * **false**: The canary release rules are disabled.
|
|
255
|
+
* - **false**: Disable canary rules.
|
|
215
256
|
*
|
|
216
257
|
* @example
|
|
217
258
|
* false
|
|
218
259
|
*/
|
|
219
260
|
enableGreyTagRoute?: boolean;
|
|
261
|
+
/**
|
|
262
|
+
* @remarks
|
|
263
|
+
* Whether to reuse the namespace Agent version configuration.
|
|
264
|
+
*
|
|
265
|
+
* @example
|
|
266
|
+
* true
|
|
267
|
+
*/
|
|
220
268
|
enableNamespaceAgentVersion?: boolean;
|
|
221
269
|
/**
|
|
222
270
|
* @remarks
|
|
223
|
-
*
|
|
271
|
+
* Whether to enable the new ARMS feature:
|
|
224
272
|
*
|
|
225
|
-
* - true:
|
|
273
|
+
* - true: Enable.
|
|
226
274
|
*
|
|
227
|
-
* - false:
|
|
275
|
+
* - false: Do not enable.
|
|
228
276
|
*
|
|
229
277
|
* @example
|
|
230
278
|
* true
|
|
231
279
|
*/
|
|
232
280
|
enableNewArms?: boolean;
|
|
281
|
+
/**
|
|
282
|
+
* @remarks
|
|
283
|
+
* Whether to enable Prometheus custom metric collection.
|
|
284
|
+
*
|
|
285
|
+
* @example
|
|
286
|
+
* false
|
|
287
|
+
*/
|
|
233
288
|
enablePrometheus?: boolean;
|
|
234
289
|
/**
|
|
235
290
|
* @remarks
|
|
236
|
-
*
|
|
291
|
+
* Whether to isolate sidecar resources:
|
|
237
292
|
*
|
|
238
|
-
* true:
|
|
293
|
+
* - true: Isolate.
|
|
239
294
|
*
|
|
240
|
-
* false:
|
|
295
|
+
* - false: Do not isolate.
|
|
241
296
|
*
|
|
242
297
|
* @example
|
|
243
298
|
* true
|
|
@@ -245,36 +300,60 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
245
300
|
enableSidecarResourceIsolated?: boolean;
|
|
246
301
|
/**
|
|
247
302
|
* @remarks
|
|
248
|
-
* The environment variables. You can
|
|
303
|
+
* The environment variables for your container. You can define custom variables or reference configuration items. To reference a configuration item, first create a ConfigMap instance. For more information, see [CreateConfigMap](https://help.aliyun.com/document_detail/176914.html). Values:
|
|
304
|
+
*
|
|
305
|
+
* - Custom configuration
|
|
306
|
+
*
|
|
307
|
+
* - **name**: The name of the environment variable.
|
|
308
|
+
*
|
|
309
|
+
* - **value**: The value of the environment variable. Takes precedence over valueFrom.
|
|
310
|
+
*
|
|
311
|
+
* - Reference a configuration item (valueFrom)
|
|
312
|
+
*
|
|
313
|
+
* - **name**: The name of the environment variable. You can reference a single key or all keys. To reference all keys, use `sae-sys-configmap-all-<configmap-name>`, for example `sae-sys-configmap-all-test1`.
|
|
314
|
+
*
|
|
315
|
+
* - **valueFrom**: The reference type. Set to `configMapRef`.
|
|
249
316
|
*
|
|
250
|
-
*
|
|
317
|
+
* - **configMapId**: The ID of the ConfigMap instance.
|
|
251
318
|
*
|
|
252
|
-
*
|
|
253
|
-
* * **value**: the value of the environment variable.
|
|
319
|
+
* - **key**: The key. Omit this field if you reference all keys.
|
|
254
320
|
*
|
|
255
|
-
*
|
|
321
|
+
* - Reference a secret (valueFrom)
|
|
256
322
|
*
|
|
257
|
-
*
|
|
258
|
-
* * **valueFrom**: the reference of the environment variable. Set the value to `configMapRef`.
|
|
259
|
-
* * **configMapId**: the ConfigMap ID.
|
|
260
|
-
* * **key**: the key. If you want to reference all keys, do not configure this parameter.
|
|
323
|
+
* - **name**: The name of the environment variable. You can reference a single key or all keys. To reference all keys, use `sae-sys-secret-all-<secret-name>`, for example `sae-sys-secret-all-test1`.
|
|
261
324
|
*
|
|
262
|
-
*
|
|
325
|
+
* - **valueFrom**: The reference type. Set to `secretRef`.
|
|
263
326
|
*
|
|
264
|
-
*
|
|
265
|
-
*
|
|
266
|
-
*
|
|
267
|
-
* * **key**: the key. If you want to reference all keys, do not configure this parameter.
|
|
327
|
+
* - **secretId**: The ID of the secret.
|
|
328
|
+
*
|
|
329
|
+
* - **key**: The key. Omit this field if you reference all keys.
|
|
268
330
|
*
|
|
269
331
|
* @example
|
|
270
|
-
* [{"name":"envtmp","value":"
|
|
332
|
+
* [ { "name": "sae-sys-configmap-all-hello", "valueFrom": { "configMapRef": { "configMapId": 100, "key": "" } } }, { "name": "hello", "valueFrom": { "configMapRef": { "configMapId": 101, "key": "php-fpm" } } }, { "name": "sae-sys-secret-all-hello", "valueFrom": { “secretRef": { “secretId": 100, "key": "" } } }, { "name": “password”, "valueFrom": { “secretRef": { “secretId": 101, "key": “password” } } }, { "name": "envtmp", "value": "newenv" } ]
|
|
271
333
|
*/
|
|
272
334
|
envs?: string;
|
|
273
335
|
gpuConfig?: string;
|
|
336
|
+
/**
|
|
337
|
+
* @remarks
|
|
338
|
+
* The Nginx version:
|
|
339
|
+
*
|
|
340
|
+
* - nginx 1.20
|
|
341
|
+
*
|
|
342
|
+
* - nginx 1.22
|
|
343
|
+
*
|
|
344
|
+
* - nginx 1.24
|
|
345
|
+
*
|
|
346
|
+
* - nginx 1.26
|
|
347
|
+
*
|
|
348
|
+
* - nginx 1.28
|
|
349
|
+
*
|
|
350
|
+
* @example
|
|
351
|
+
* nginx 1.28
|
|
352
|
+
*/
|
|
274
353
|
html?: string;
|
|
275
354
|
/**
|
|
276
355
|
* @remarks
|
|
277
|
-
* The ID of the corresponding
|
|
356
|
+
* The ID of the corresponding secret.
|
|
278
357
|
*
|
|
279
358
|
* @example
|
|
280
359
|
* 10
|
|
@@ -282,7 +361,7 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
282
361
|
imagePullSecrets?: string;
|
|
283
362
|
/**
|
|
284
363
|
* @remarks
|
|
285
|
-
* The
|
|
364
|
+
* The registry address of your image. Required when **Package Type** is **Image**.
|
|
286
365
|
*
|
|
287
366
|
* @example
|
|
288
367
|
* registry.cn-hangzhou.aliyuncs.com/sae_test/ali_sae_test:0.0.1
|
|
@@ -290,12 +369,12 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
290
369
|
imageUrl?: string;
|
|
291
370
|
/**
|
|
292
371
|
* @remarks
|
|
293
|
-
*
|
|
372
|
+
* The initialization container configuration.
|
|
294
373
|
*/
|
|
295
374
|
initContainersConfigShrink?: string;
|
|
296
375
|
/**
|
|
297
376
|
* @remarks
|
|
298
|
-
*
|
|
377
|
+
* Startup arguments for your JAR package. Default startup command: `$JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs`
|
|
299
378
|
*
|
|
300
379
|
* @example
|
|
301
380
|
* -Xms4G -Xmx4G
|
|
@@ -303,7 +382,7 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
303
382
|
jarStartArgs?: string;
|
|
304
383
|
/**
|
|
305
384
|
* @remarks
|
|
306
|
-
*
|
|
385
|
+
* Startup options for your JAR package. Default startup command: `$JAVA_HOME/bin/java $JarStartOptions -jar $CATALINA_OPTS "$package_path" $JarStartArgs`
|
|
307
386
|
*
|
|
308
387
|
* @example
|
|
309
388
|
* custom-option
|
|
@@ -311,16 +390,21 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
311
390
|
jarStartOptions?: string;
|
|
312
391
|
/**
|
|
313
392
|
* @remarks
|
|
314
|
-
* The
|
|
393
|
+
* The JDK version that your deployment package depends on. Supported versions include the following:
|
|
394
|
+
*
|
|
395
|
+
* - **Open JDK 8**
|
|
396
|
+
*
|
|
397
|
+
* - **Open JDK 7**
|
|
398
|
+
*
|
|
399
|
+
* - **Dragonwell 11**
|
|
400
|
+
*
|
|
401
|
+
* - **Dragonwell 8**
|
|
315
402
|
*
|
|
316
|
-
*
|
|
317
|
-
* * **Open JDK 7**
|
|
318
|
-
* * **Dragonwell 11**
|
|
319
|
-
* * **Dragonwell 8**
|
|
320
|
-
* * **openjdk-8u191-jdk-alpine3.9**
|
|
321
|
-
* * **openjdk-7u201-jdk-alpine3.9**
|
|
403
|
+
* - **openjdk-8u191-jdk-alpine3.9**
|
|
322
404
|
*
|
|
323
|
-
*
|
|
405
|
+
* - **openjdk-7u201-jdk-alpine3.9**
|
|
406
|
+
*
|
|
407
|
+
* This parameter is not supported when **Package Type** is **Image**.
|
|
324
408
|
*
|
|
325
409
|
* @example
|
|
326
410
|
* Open JDK 8
|
|
@@ -328,60 +412,99 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
328
412
|
jdk?: string;
|
|
329
413
|
/**
|
|
330
414
|
* @remarks
|
|
331
|
-
* The
|
|
415
|
+
* The configuration for collecting logs to Kafka. Values:
|
|
416
|
+
*
|
|
417
|
+
* - **kafkaEndpoint**: The endpoint for the Kafka API.
|
|
418
|
+
*
|
|
419
|
+
* - **kafkaInstanceId**: The Kafka instance ID.
|
|
332
420
|
*
|
|
333
|
-
*
|
|
334
|
-
* * **kafkaInstanceId**: the ID of the Message Queue for Apache Kafka instance.
|
|
335
|
-
* * **kafkaConfigs**: One or more logging configurations of Message Queue for Apache Kafka. For information about sample values and parameters, see the request parameter **KafkaLogfileConfig** in this topic.
|
|
421
|
+
* - **kafkaConfigs**: The configuration for one or more log entries. For examples and details, see the \\*\\*kafkaConfigs\\*\\* request parameter in this topic.
|
|
336
422
|
*
|
|
337
423
|
* @example
|
|
338
|
-
* {"kafkaEndpoint":"10.0.X.XXX:XXXX,10.0.X.XXX:XXXX,10.0.X.XXX:XXXX
|
|
424
|
+
* {"kafkaEndpoint":"10.0.X.XXX:XXXX,10.0.X.XXX:XXXX,10.0.X.XXX:XXXX","kafkaInstanceId":"alikafka_pre-cn-7pp2l8kr****","kafkaConfigs":[{"logType":"file_log","logDir":"/tmp/a.log","kafkaTopic":"test2"},{"logType":"stdout","logDir":"","kafkaTopic":"test"}]}
|
|
339
425
|
*/
|
|
340
426
|
kafkaConfigs?: string;
|
|
341
427
|
labelsShrink?: string;
|
|
342
428
|
/**
|
|
343
429
|
* @remarks
|
|
344
|
-
*
|
|
430
|
+
* Health checks for your container. Containers that fail health checks are terminated and restarted. Supported methods:
|
|
431
|
+
*
|
|
432
|
+
* - **exec**: For example, `{"exec":{"command":["sh","-c","cat/home/admin/start.sh"]},"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":2}`
|
|
433
|
+
*
|
|
434
|
+
* - **httpGet**: For example, `{"httpGet":{"path":"/","port":18091,"scheme":"HTTP","isContainKeyWord":true,"keyWord":"SAE"},"initialDelaySeconds":11,"periodSeconds":10,"timeoutSeconds":1}`
|
|
345
435
|
*
|
|
346
|
-
*
|
|
347
|
-
* * Sample code of the **httpGet** method: `{"httpGet":{"path":"/","port":18091,"scheme":"HTTP","isContainKeyWord":true,"keyWord":"SAE"},"initialDelaySeconds":11,"periodSeconds":10,"timeoutSeconds":1}`
|
|
348
|
-
* * Sample code of the **tcpSocket** method: `{"tcpSocket":{"port":18091},"initialDelaySeconds":11,"periodSeconds":10,"timeoutSeconds":1}`
|
|
436
|
+
* - **tcpSocket**: For example, `{"tcpSocket":{"port":18091},"initialDelaySeconds":11,"periodSeconds":10,"timeoutSeconds":1}`
|
|
349
437
|
*
|
|
350
|
-
* > You can
|
|
438
|
+
* > You can select only one health check method.
|
|
351
439
|
*
|
|
352
|
-
*
|
|
440
|
+
* Parameters:
|
|
353
441
|
*
|
|
354
|
-
*
|
|
355
|
-
*
|
|
356
|
-
*
|
|
357
|
-
*
|
|
358
|
-
*
|
|
359
|
-
*
|
|
360
|
-
*
|
|
361
|
-
*
|
|
362
|
-
*
|
|
442
|
+
* - **exec.command**: The health check command.
|
|
443
|
+
*
|
|
444
|
+
* - **httpGet.path**: The path to access.
|
|
445
|
+
*
|
|
446
|
+
* - **httpGet.scheme**: **HTTP** or **HTTPS**.
|
|
447
|
+
*
|
|
448
|
+
* - **httpGet.isContainKeyWord**: **true** means the response contains a keyword. **false** means it does not. If omitted, advanced features are disabled.
|
|
449
|
+
*
|
|
450
|
+
* - **httpGet.keyWord**: Your custom keyword. Include **isContainKeyWord** when using this field.
|
|
451
|
+
*
|
|
452
|
+
* - **tcpSocket.port**: The port for TCP connection checks.
|
|
453
|
+
*
|
|
454
|
+
* - **initialDelaySeconds**: The delay before the first health check, in seconds. Default is 10.
|
|
455
|
+
*
|
|
456
|
+
* - **periodSeconds**: The interval between health checks, in seconds. Default is 30.
|
|
457
|
+
*
|
|
458
|
+
* - **timeoutSeconds**: The timeout for each health check, in seconds. Default is 1. If set to 0 or omitted, the default is 1 second.
|
|
363
459
|
*
|
|
364
460
|
* @example
|
|
365
461
|
* {"exec":{"command":["sleep","5s"]},"initialDelaySeconds":10,"timeoutSeconds":11}
|
|
366
462
|
*/
|
|
367
463
|
liveness?: string;
|
|
368
464
|
lokiConfigs?: string;
|
|
465
|
+
/**
|
|
466
|
+
* @remarks
|
|
467
|
+
* The maximum number of surge instances as a percentage of total instances. Values:
|
|
468
|
+
*
|
|
469
|
+
* If the minimum available instances is 100%, the maximum surge cannot be set to 0. If set to -1, the system uses its recommended value: 30% of your current instance count. For example, with 10 instances, 10 × 30% = 3.
|
|
470
|
+
*
|
|
471
|
+
* @example
|
|
472
|
+
* -1
|
|
473
|
+
*/
|
|
369
474
|
maxSurgeInstanceRatio?: number;
|
|
475
|
+
/**
|
|
476
|
+
* @remarks
|
|
477
|
+
* The maximum number of surge instances during a rolling update. Values:
|
|
478
|
+
*
|
|
479
|
+
* If the minimum available instances is 100%, the maximum surge cannot be set to 0. If set to -1, the system uses its recommended value: 30% of your current instance count. For example, with 10 instances, 10 × 30% = 3.
|
|
480
|
+
*
|
|
481
|
+
* @example
|
|
482
|
+
* -1
|
|
483
|
+
*/
|
|
370
484
|
maxSurgeInstances?: number;
|
|
371
485
|
/**
|
|
372
486
|
* @remarks
|
|
373
|
-
* The memory
|
|
487
|
+
* The memory required per instance, in MB. Cannot be zero. Memory and CPU are paired. Supported fixed specifications:
|
|
488
|
+
*
|
|
489
|
+
* - **1024**: Pairs with 500 and 1000 milliCPU.
|
|
490
|
+
*
|
|
491
|
+
* - **2048**: Pairs with 500, 1000, and 2000 milliCPU.
|
|
492
|
+
*
|
|
493
|
+
* - **4096**: Pairs with 1000, 2000, and 4000 milliCPU.
|
|
494
|
+
*
|
|
495
|
+
* - **8192**: Pairs with 2000, 4000, and 8000 milliCPU.
|
|
496
|
+
*
|
|
497
|
+
* - **12288**: Pairs with 12000 milliCPU.
|
|
498
|
+
*
|
|
499
|
+
* - **16384**: Pairs with 4000, 8000, and 16000 milliCPU.
|
|
500
|
+
*
|
|
501
|
+
* - **24576**: Pairs with 12000 milliCPU.
|
|
502
|
+
*
|
|
503
|
+
* - **32768**: Pairs with 16000 milliCPU.
|
|
504
|
+
*
|
|
505
|
+
* - **65536**: Pairs with 8000, 16000, and 32000 milliCPU.
|
|
374
506
|
*
|
|
375
|
-
*
|
|
376
|
-
* * This parameter is set to **2048** if the Cpu parameter is set to 500, 1000, or 2000.
|
|
377
|
-
* * This parameter is set to **4096** if the Cpu parameter is set to 1000, 2000, or 4000.
|
|
378
|
-
* * This parameter is set to **8192** if the Cpu parameter is set to 2000, 4000, or 8,000.
|
|
379
|
-
* * This parameter is set to **12288** if the Cpu parameter is set to 12000.
|
|
380
|
-
* * This parameter is set to **16384** if the Cpu parameter is set to 4000, 8000, or 16000.
|
|
381
|
-
* * This parameter is set to **24576** if the Cpu parameter is set to 12000.
|
|
382
|
-
* * This parameter is set to **32768** if the Cpu parameter is set to 16000.
|
|
383
|
-
* * This parameter is set to **65536** if the Cpu parameter is set to 8000, 16000, or 32000.
|
|
384
|
-
* * This parameter is set to **131072** if the Cpu parameter is set to 32000.
|
|
507
|
+
* - **131072**: Pairs with 32000 milliCPU.
|
|
385
508
|
*
|
|
386
509
|
* @example
|
|
387
510
|
* 1024
|
|
@@ -389,11 +512,15 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
389
512
|
memory?: number;
|
|
390
513
|
/**
|
|
391
514
|
* @remarks
|
|
392
|
-
*
|
|
515
|
+
* Select a Nacos registry center. Values:
|
|
393
516
|
*
|
|
394
|
-
*
|
|
395
|
-
*
|
|
396
|
-
*
|
|
517
|
+
* - **0**: Built-in Nacos in SAE.
|
|
518
|
+
*
|
|
519
|
+
* - **1**: Self-managed Nacos.
|
|
520
|
+
*
|
|
521
|
+
* - **2**: MSE Nacos Commercial Edition.
|
|
522
|
+
*
|
|
523
|
+
* > If you select built-in Nacos in SAE, you cannot retrieve its configuration.
|
|
397
524
|
*
|
|
398
525
|
* @example
|
|
399
526
|
* "0"
|
|
@@ -401,13 +528,7 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
401
528
|
microRegistration?: string;
|
|
402
529
|
/**
|
|
403
530
|
* @remarks
|
|
404
|
-
*
|
|
405
|
-
*
|
|
406
|
-
* - 0: SAE built-in Nacos. Unable to get the configuration of SAE built-in Nacos.
|
|
407
|
-
*
|
|
408
|
-
* - 1: Self-built Nacos from users.
|
|
409
|
-
*
|
|
410
|
-
* - 2: MSE enterprise Nacos.
|
|
531
|
+
* The registry configuration. Applies only when the registry type is MSE Nacos Enterprise Edition.
|
|
411
532
|
*
|
|
412
533
|
* @example
|
|
413
534
|
* {\\"instanceId\\":\\"mse-cn-zvp2bh6h70r\\",\\"namespace\\":\\"4c0aa74f-57cb-423c-b6af-5d9f2d0e3dbd\\"}
|
|
@@ -415,29 +536,23 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
415
536
|
microRegistrationConfig?: string;
|
|
416
537
|
/**
|
|
417
538
|
* @remarks
|
|
418
|
-
* Configure
|
|
419
|
-
*
|
|
420
|
-
* Whether to enable microservices governance (enable):
|
|
421
|
-
* - true: Enable
|
|
422
|
-
* - false: Disable
|
|
423
|
-
*
|
|
424
|
-
* Configure lossless online/offline deployment (mseLosslessRule):
|
|
539
|
+
* Configure microservice governance features.
|
|
425
540
|
*
|
|
426
|
-
*
|
|
541
|
+
* - Enable microservice governance (enable):
|
|
427
542
|
*
|
|
428
|
-
*
|
|
543
|
+
* - true: Enable
|
|
429
544
|
*
|
|
430
|
-
*
|
|
545
|
+
* - false: Disable
|
|
431
546
|
*
|
|
432
|
-
* -
|
|
547
|
+
* - Configure graceful start and shutdown (mseLosslessRule):
|
|
433
548
|
*
|
|
434
|
-
*
|
|
549
|
+
* - delayTime: Delay time
|
|
435
550
|
*
|
|
436
|
-
*
|
|
551
|
+
* - enable: Whether to enable graceful start. true enables it. false disables it.
|
|
437
552
|
*
|
|
438
|
-
*
|
|
553
|
+
* - notice: Whether to enable notifications. true enables them. false disables them.
|
|
439
554
|
*
|
|
440
|
-
* warmupTime:
|
|
555
|
+
* - warmupTime: Warm-up duration for small traffic, in seconds.
|
|
441
556
|
*
|
|
442
557
|
* @example
|
|
443
558
|
* {"enable": true,"mseLosslessRule": {"delayTime": 0,"enable": false,"notice": false,"warmupTime": 120}}
|
|
@@ -445,12 +560,13 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
445
560
|
microserviceEngineConfig?: string;
|
|
446
561
|
/**
|
|
447
562
|
* @remarks
|
|
448
|
-
* The
|
|
563
|
+
* The minimum number of available instances as a percentage of total instances. Values:
|
|
449
564
|
*
|
|
450
|
-
*
|
|
451
|
-
* * If you set the value to a number **from 0 to 100**, the minimum number of available instances is calculated by using the following formula: Current number of instances × (Value of MinReadyInstanceRatio × 100%). The value is the nearest integer rounded up from the calculated result. For example, if the percentage is set to **50**% and five instances are available, the minimum number of available instances is 3.
|
|
565
|
+
* - **-1**: Use the default value. No percentage is applied.
|
|
452
566
|
*
|
|
453
|
-
*
|
|
567
|
+
* - **0–100**: Percentage value. Rounded up. For example, if set to **50**% and you have 5 instances, the minimum is 3.
|
|
568
|
+
*
|
|
569
|
+
* > If both **MinReadyInstances** and **MinReadyInstanceRatio** are provided, and **MinReadyInstanceRatio** is not **-1**, then **MinReadyInstanceRatio** takes precedence. For example, if **MinReadyInstances** is **5** and **MinReadyInstanceRatio** is **50**, the system calculates the minimum based on 50%.
|
|
454
570
|
*
|
|
455
571
|
* @example
|
|
456
572
|
* -1
|
|
@@ -458,12 +574,13 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
458
574
|
minReadyInstanceRatio?: number;
|
|
459
575
|
/**
|
|
460
576
|
* @remarks
|
|
461
|
-
* The minimum number of available
|
|
577
|
+
* The minimum number of instances that remain available during a rolling update. Values:
|
|
578
|
+
*
|
|
579
|
+
* - If set to **0**, your application experiences downtime during updates.
|
|
462
580
|
*
|
|
463
|
-
*
|
|
464
|
-
* * If you set the value to \\*\\*-1\\*\\*, the minimum number of available instances is automatically set to a system-recommended value. The value is the nearest integer to which the calculated result of the following formula is rounded up: Current number of instances × 25%. For example, if five instances are available, the minimum number of available instances is calculated by using the following formula: 5 × 25% = 1.25. In this case, the minimum number of available instances is 2.
|
|
581
|
+
* - If set to -1, the system uses its recommended value: 25% of your current instance count. For example, with 5 instances, 5 × 25% = 1.25, rounded up to 2.
|
|
465
582
|
*
|
|
466
|
-
* >
|
|
583
|
+
* > We recommend setting this value to at least 1 to avoid service interruptions.
|
|
467
584
|
*
|
|
468
585
|
* @example
|
|
469
586
|
* 1
|
|
@@ -471,7 +588,7 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
471
588
|
minReadyInstances?: number;
|
|
472
589
|
/**
|
|
473
590
|
* @remarks
|
|
474
|
-
*
|
|
591
|
+
* We recommend using **NasConfigs** instead of this field. The NAS mount description. If your NAS configuration remains unchanged, omit this parameter. To clear your NAS configuration, set this field to an empty string.
|
|
475
592
|
*
|
|
476
593
|
* @example
|
|
477
594
|
* [{mountPath: "/tmp", nasPath: "/"}]
|
|
@@ -479,7 +596,7 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
479
596
|
mountDesc?: string;
|
|
480
597
|
/**
|
|
481
598
|
* @remarks
|
|
482
|
-
* The mount target of the NAS
|
|
599
|
+
* We recommend using **NasConfigs** instead of this field. The mount target of the NAS in your application\\"s VPC. If your NAS configuration remains unchanged, omit this parameter. To clear your NAS configuration, set this field to an empty string.
|
|
483
600
|
*
|
|
484
601
|
* @example
|
|
485
602
|
* 10d3b4bc9****.com
|
|
@@ -487,13 +604,17 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
487
604
|
mountHost?: string;
|
|
488
605
|
/**
|
|
489
606
|
* @remarks
|
|
490
|
-
* The
|
|
607
|
+
* The configuration for mounting NAS. Values:
|
|
491
608
|
*
|
|
492
|
-
*
|
|
493
|
-
*
|
|
494
|
-
*
|
|
495
|
-
*
|
|
496
|
-
*
|
|
609
|
+
* - **mountPath**: The mount path in the container.
|
|
610
|
+
*
|
|
611
|
+
* - **readOnly**: Set to **false** for read and write permissions.
|
|
612
|
+
*
|
|
613
|
+
* - **nasId**: The NAS ID.
|
|
614
|
+
*
|
|
615
|
+
* - **mountDomain**: The mount target address. For more information, see [DescribeMountTargets](https://help.aliyun.com/document_detail/62626.html).
|
|
616
|
+
*
|
|
617
|
+
* - **nasPath**: The relative directory in NAS.
|
|
497
618
|
*
|
|
498
619
|
* @example
|
|
499
620
|
* [{"mountPath":"/test1","readOnly":false,"nasId":"nasId1","mountDomain":"nasId1.cn-shenzhen.nas.aliyuncs.com","nasPath":"/test1"},{"nasId":"nasId2","mountDomain":"nasId2.cn-shenzhen.nas.aliyuncs.com","readOnly":false,"nasPath":"/test2","mountPath":"/test2"}]
|
|
@@ -501,7 +622,7 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
501
622
|
nasConfigs?: string;
|
|
502
623
|
/**
|
|
503
624
|
* @remarks
|
|
504
|
-
*
|
|
625
|
+
* We recommend using **NasConfigs** instead of this field. The ID of the NAS file system. If your NAS configuration remains unchanged, omit this parameter. To clear your NAS configuration, set this field to an empty string.
|
|
505
626
|
*
|
|
506
627
|
* @example
|
|
507
628
|
* 10d3b4****
|
|
@@ -509,13 +630,13 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
509
630
|
nasId?: string;
|
|
510
631
|
/**
|
|
511
632
|
* @remarks
|
|
512
|
-
*
|
|
633
|
+
* The application version:
|
|
513
634
|
*
|
|
514
|
-
* - lite:
|
|
635
|
+
* - lite: Lite Edition
|
|
515
636
|
*
|
|
516
|
-
* - std:
|
|
637
|
+
* - std: Standard Edition
|
|
517
638
|
*
|
|
518
|
-
* - pro:
|
|
639
|
+
* - pro: Professional Edition
|
|
519
640
|
*
|
|
520
641
|
* @example
|
|
521
642
|
* pro
|
|
@@ -523,9 +644,9 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
523
644
|
newSaeVersion?: string;
|
|
524
645
|
/**
|
|
525
646
|
* @remarks
|
|
526
|
-
* The
|
|
647
|
+
* The RAM role for identity authentication.
|
|
527
648
|
*
|
|
528
|
-
* >
|
|
649
|
+
* > Create an OIDC identity provider and an associated role in the same region before using this parameter. For more information, see [Create an OIDC identity provider](https://help.aliyun.com/document_detail/2331022.html) and [Create a role for SSO identity providers](https://help.aliyun.com/document_detail/2331016.html).
|
|
529
650
|
*
|
|
530
651
|
* @example
|
|
531
652
|
* sae-test
|
|
@@ -533,7 +654,7 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
533
654
|
oidcRoleName?: string;
|
|
534
655
|
/**
|
|
535
656
|
* @remarks
|
|
536
|
-
* The AccessKey ID
|
|
657
|
+
* The AccessKey ID for OSS read and write operations.
|
|
537
658
|
*
|
|
538
659
|
* @example
|
|
539
660
|
* xxxxxx
|
|
@@ -541,7 +662,7 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
541
662
|
ossAkId?: string;
|
|
542
663
|
/**
|
|
543
664
|
* @remarks
|
|
544
|
-
* The AccessKey secret
|
|
665
|
+
* The AccessKey secret for OSS read and write operations.
|
|
545
666
|
*
|
|
546
667
|
* @example
|
|
547
668
|
* xxxxxx
|
|
@@ -549,18 +670,19 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
549
670
|
ossAkSecret?: string;
|
|
550
671
|
/**
|
|
551
672
|
* @remarks
|
|
552
|
-
*
|
|
673
|
+
* The OSS mount description. Parameters:
|
|
674
|
+
*
|
|
675
|
+
* - **bucketName**: The name of the bucket.
|
|
553
676
|
*
|
|
554
|
-
*
|
|
677
|
+
* - **bucketPath**: The directory or object in OSS. If the directory does not exist, an error occurs.
|
|
555
678
|
*
|
|
556
|
-
*
|
|
679
|
+
* - **mountPath**: The path in your SAE container. If the path exists, it is overwritten. If it does not exist, it is created.
|
|
557
680
|
*
|
|
558
|
-
*
|
|
681
|
+
* - **readOnly**: Whether the container path has read-only access to the mounted resource. Values:
|
|
559
682
|
*
|
|
560
|
-
*
|
|
683
|
+
* - **true**: Read-only.
|
|
561
684
|
*
|
|
562
|
-
*
|
|
563
|
-
* * **false**: The application has read and write permissions.
|
|
685
|
+
* - **false**: Read and write.
|
|
564
686
|
*
|
|
565
687
|
* @example
|
|
566
688
|
* [{"bucketName": "oss-bucket", "bucketPath": "data/user.data", "mountPath": "/usr/data/user.data", "readOnly": true}]
|
|
@@ -568,26 +690,43 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
568
690
|
ossMountDescs?: string;
|
|
569
691
|
/**
|
|
570
692
|
* @remarks
|
|
571
|
-
* The package
|
|
572
|
-
*
|
|
573
|
-
*
|
|
574
|
-
*
|
|
575
|
-
*
|
|
576
|
-
*
|
|
577
|
-
*
|
|
578
|
-
*
|
|
579
|
-
*
|
|
580
|
-
*
|
|
581
|
-
*
|
|
582
|
-
*
|
|
583
|
-
*
|
|
584
|
-
*
|
|
585
|
-
*
|
|
586
|
-
*
|
|
587
|
-
*
|
|
588
|
-
*
|
|
589
|
-
*
|
|
590
|
-
*
|
|
693
|
+
* The type of your application package. Values:
|
|
694
|
+
*
|
|
695
|
+
* - For Java applications: **FatJar**, **War**, and **Image**.
|
|
696
|
+
*
|
|
697
|
+
* - For PHP applications:
|
|
698
|
+
*
|
|
699
|
+
* - **PhpZip**
|
|
700
|
+
*
|
|
701
|
+
* - **IMAGE_PHP_5_4**
|
|
702
|
+
*
|
|
703
|
+
* - **IMAGE_PHP_5_4_ALPINE**
|
|
704
|
+
*
|
|
705
|
+
* - **IMAGE_PHP_5_5**
|
|
706
|
+
*
|
|
707
|
+
* - **IMAGE_PHP_5_5_ALPINE**
|
|
708
|
+
*
|
|
709
|
+
* - **IMAGE_PHP_5_6**
|
|
710
|
+
*
|
|
711
|
+
* - **IMAGE_PHP_5_6_ALPINE**
|
|
712
|
+
*
|
|
713
|
+
* - **IMAGE_PHP_7_0**
|
|
714
|
+
*
|
|
715
|
+
* - **IMAGE_PHP_7_0_ALPINE**
|
|
716
|
+
*
|
|
717
|
+
* - **IMAGE_PHP_7_1**
|
|
718
|
+
*
|
|
719
|
+
* - **IMAGE_PHP_7_1_ALPINE**
|
|
720
|
+
*
|
|
721
|
+
* - **IMAGE_PHP_7_2**
|
|
722
|
+
*
|
|
723
|
+
* - **IMAGE_PHP_7_2_ALPINE**
|
|
724
|
+
*
|
|
725
|
+
* - **IMAGE_PHP_7_3**
|
|
726
|
+
*
|
|
727
|
+
* - **IMAGE_PHP_7_3_ALPINE**
|
|
728
|
+
*
|
|
729
|
+
* - For Python applications: **PythonZip** and **Image**.
|
|
591
730
|
*
|
|
592
731
|
* @example
|
|
593
732
|
* FatJar
|
|
@@ -595,7 +734,7 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
595
734
|
packageType?: string;
|
|
596
735
|
/**
|
|
597
736
|
* @remarks
|
|
598
|
-
* The
|
|
737
|
+
* The URL of your deployment package. Required when **Package Type** is **FatJar**, **War**, or **PythonZip**.
|
|
599
738
|
*
|
|
600
739
|
* @example
|
|
601
740
|
* http://myoss.oss-cn-hangzhou.aliyuncs.com/my-buc/2019-06-30/****.jar
|
|
@@ -603,7 +742,7 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
603
742
|
packageUrl?: string;
|
|
604
743
|
/**
|
|
605
744
|
* @remarks
|
|
606
|
-
* The version of
|
|
745
|
+
* The version number of your deployment package. Required when **Package Type** is **FatJar**, **War**, or **PythonZip**.
|
|
607
746
|
*
|
|
608
747
|
* @example
|
|
609
748
|
* 1.0.1
|
|
@@ -611,7 +750,7 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
611
750
|
packageVersion?: string;
|
|
612
751
|
/**
|
|
613
752
|
* @remarks
|
|
614
|
-
* The
|
|
753
|
+
* The PHP version that your PHP deployment package depends on. Not supported for images.
|
|
615
754
|
*
|
|
616
755
|
* @example
|
|
617
756
|
* PHP-FPM 7.0
|
|
@@ -619,7 +758,7 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
619
758
|
php?: string;
|
|
620
759
|
/**
|
|
621
760
|
* @remarks
|
|
622
|
-
* The path
|
|
761
|
+
* The mount path for PHP application monitoring. Ensure your PHP server loads the configuration file at this path. You do not need to manage the configuration content. SAE renders the correct configuration automatically.
|
|
623
762
|
*
|
|
624
763
|
* @example
|
|
625
764
|
* /usr/local/etc/php/conf.d/arms.ini
|
|
@@ -627,7 +766,7 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
627
766
|
phpArmsConfigLocation?: string;
|
|
628
767
|
/**
|
|
629
768
|
* @remarks
|
|
630
|
-
* The
|
|
769
|
+
* The content of the PHP configuration file.
|
|
631
770
|
*
|
|
632
771
|
* @example
|
|
633
772
|
* k1=v1
|
|
@@ -635,7 +774,7 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
635
774
|
phpConfig?: string;
|
|
636
775
|
/**
|
|
637
776
|
* @remarks
|
|
638
|
-
* The path
|
|
777
|
+
* The mount path for the PHP startup configuration. Ensure your PHP server uses this configuration file to start.
|
|
639
778
|
*
|
|
640
779
|
* @example
|
|
641
780
|
* /usr/local/etc/php/php.ini
|
|
@@ -643,7 +782,7 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
643
782
|
phpConfigLocation?: string;
|
|
644
783
|
/**
|
|
645
784
|
* @remarks
|
|
646
|
-
*
|
|
785
|
+
* A script that runs after your container starts. It executes immediately after the container is created. Format: `{"exec":{"command":["sh","-c","echo hello"]}}`
|
|
647
786
|
*
|
|
648
787
|
* @example
|
|
649
788
|
* {"exec":{"command":["sh","-c","echo hello"]}}
|
|
@@ -651,7 +790,7 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
651
790
|
postStart?: string;
|
|
652
791
|
/**
|
|
653
792
|
* @remarks
|
|
654
|
-
*
|
|
793
|
+
* A script that runs before your container stops. It executes just before the container is deleted. Format: `{"exec":{"command":["sh","-c","echo hello"]}}`
|
|
655
794
|
*
|
|
656
795
|
* @example
|
|
657
796
|
* {"exec":{"command":["sh","-c","echo hello"]}}
|
|
@@ -659,20 +798,21 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
659
798
|
preStop?: string;
|
|
660
799
|
/**
|
|
661
800
|
* @remarks
|
|
662
|
-
*
|
|
801
|
+
* Enable K8s Service registration and discovery. Values:
|
|
802
|
+
*
|
|
803
|
+
* - **portProtocols**: Port and protocol. Port range is [1,65535]. Protocols supported: **TCP** and **UDP**.
|
|
804
|
+
*
|
|
805
|
+
* - portAndProtocol: Port and protocol. Port range is [1,65535]. Protocols supported: **TCP** and **UDP**. **portProtocols** takes precedence. If both are set, only **portProtocols** applies.
|
|
663
806
|
*
|
|
664
|
-
*
|
|
665
|
-
* * **namespaceId**: the namespace ID.
|
|
666
|
-
* * **portAndProtocol**: the port number and protocol. Valid values of the port number: 1 to 65535. Valid values of the protocol: **TCP** and **UDP**.
|
|
667
|
-
* * **enable**: enables the Kubernetes Service-based registration and discovery feature.
|
|
807
|
+
* - **enable**: Enable K8s Service registration and discovery.
|
|
668
808
|
*
|
|
669
809
|
* @example
|
|
670
|
-
* {"
|
|
810
|
+
* {"portProtocols":[{"port":18012,"protocol":"TCP"}],"portAndProtocol":{"18012":"TCP"},"enable":true}
|
|
671
811
|
*/
|
|
672
812
|
pvtzDiscoverySvc?: string;
|
|
673
813
|
/**
|
|
674
814
|
* @remarks
|
|
675
|
-
* The Python environment.
|
|
815
|
+
* The Python runtime environment. Supported: **PYTHON 3.9.15**.
|
|
676
816
|
*
|
|
677
817
|
* @example
|
|
678
818
|
* PYTHON 3.9.15
|
|
@@ -680,7 +820,7 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
680
820
|
python?: string;
|
|
681
821
|
/**
|
|
682
822
|
* @remarks
|
|
683
|
-
*
|
|
823
|
+
* Custom module dependencies. By default, dependencies defined in requirements.txt in the root directory are installed. If no configuration or custom packages exist, specify the dependencies to install.
|
|
684
824
|
*
|
|
685
825
|
* @example
|
|
686
826
|
* Flask==2.0
|
|
@@ -688,9 +828,9 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
688
828
|
pythonModules?: string;
|
|
689
829
|
/**
|
|
690
830
|
* @remarks
|
|
691
|
-
*
|
|
831
|
+
* Startup status checks for your application. Containers that repeatedly fail readiness checks are terminated and restarted. Containers that fail readiness checks receive no SLB traffic. Supports **exec**, **httpGet**, and **tcpSocket**. For examples, see the **Liveness** parameter.
|
|
692
832
|
*
|
|
693
|
-
* > You can
|
|
833
|
+
* > You can select only one health check method.
|
|
694
834
|
*
|
|
695
835
|
* @example
|
|
696
836
|
* {"exec":{"command":["sleep","6s"]},"initialDelaySeconds":15,"timeoutSeconds":12}
|
|
@@ -706,14 +846,15 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
706
846
|
replicas?: number;
|
|
707
847
|
/**
|
|
708
848
|
* @remarks
|
|
709
|
-
* Secret
|
|
710
|
-
* Use the secret dictionaries created in the Namespace Secret Dictionary page to inject information into containers. Parameter descriptions are as follows:
|
|
849
|
+
* The mount description for a **Secret**. Use secrets created on the namespace secrets page to inject sensitive information into your container. Parameters:
|
|
711
850
|
*
|
|
712
|
-
* - secretId
|
|
851
|
+
* - **secretId**: The ID of the secret instance. Get it by calling the ListSecrets API.
|
|
713
852
|
*
|
|
714
|
-
* - key
|
|
853
|
+
* - **key**: The key.
|
|
715
854
|
*
|
|
716
|
-
*
|
|
855
|
+
* > You can mount all keys by passing `sae-sys-secret-all`.
|
|
856
|
+
*
|
|
857
|
+
* - **mountPath**: The mount path.
|
|
717
858
|
*
|
|
718
859
|
* @example
|
|
719
860
|
* [{“secretId":10,”key":"test","mountPath":"/tmp"}]
|
|
@@ -721,7 +862,7 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
721
862
|
secretMountDesc?: string;
|
|
722
863
|
/**
|
|
723
864
|
* @remarks
|
|
724
|
-
*
|
|
865
|
+
* The security group ID.
|
|
725
866
|
*
|
|
726
867
|
* @example
|
|
727
868
|
* sg-wz969ngg2e49q5i4****
|
|
@@ -729,7 +870,7 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
729
870
|
securityGroupId?: string;
|
|
730
871
|
/**
|
|
731
872
|
* @remarks
|
|
732
|
-
* The
|
|
873
|
+
* The canary tags configured for your application.
|
|
733
874
|
*
|
|
734
875
|
* @example
|
|
735
876
|
* {\\"alicloud.service.tag\\":\\"g1\\"}
|
|
@@ -737,41 +878,55 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
737
878
|
serviceTags?: string;
|
|
738
879
|
/**
|
|
739
880
|
* @remarks
|
|
740
|
-
*
|
|
881
|
+
* Container configuration information.
|
|
741
882
|
*/
|
|
742
883
|
sidecarContainersConfigShrink?: string;
|
|
743
884
|
/**
|
|
744
885
|
* @remarks
|
|
745
|
-
* The
|
|
886
|
+
* The configuration for collecting logs to Simple Log Service (SLS).
|
|
887
|
+
*
|
|
888
|
+
* - Using SAE-managed SLS resources: `[{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}]`.
|
|
889
|
+
*
|
|
890
|
+
* - Using custom SLS resources: `[{"projectName":"test-sls","logType":"stdout","logDir":"","logstoreName":"sae","logtailName":""},{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}]`.
|
|
891
|
+
*
|
|
892
|
+
* Parameters:
|
|
893
|
+
*
|
|
894
|
+
* - **projectName**: The name of the SLS project.
|
|
746
895
|
*
|
|
747
|
-
*
|
|
748
|
-
* * To use custom Log Service resources, set this parameter to `[{"projectName":"test-sls","logType":"stdout","logDir":"","logstoreName":"sae","logtailName":""},{"projectName":"test","logDir":"/tmp/a.log","logstoreName":"sae","logtailName":""}]`.
|
|
896
|
+
* - **logDir**: The log file path.
|
|
749
897
|
*
|
|
750
|
-
* The
|
|
898
|
+
* - logType: The log type. **stdout** means standard output logs from the container. Only one **stdout** entry is allowed. If omitted, file logs are collected.
|
|
751
899
|
*
|
|
752
|
-
*
|
|
753
|
-
* * **logDir**: the path in which logs are stored.
|
|
754
|
-
* * **logType**: the log type. **stdout**: the standard output log of the container. You can specify only one stdout value for this parameter. If you leave this parameter empty, file logs are collected.
|
|
755
|
-
* * **logstoreName**: the name of the Logstore in Log Service.
|
|
756
|
-
* * **logtailName**: the name of the Logtail configuration in Log Service. If you do not configure this parameter, a new Logtail configuration is created.
|
|
900
|
+
* - **logstoreName**: The name of the SLS Logstore.
|
|
757
901
|
*
|
|
758
|
-
*
|
|
902
|
+
* - **logtailName**: The name of the SLS Logtail. If omitted, a new Logtail is created.
|
|
759
903
|
*
|
|
760
|
-
*
|
|
904
|
+
* If your SLS collection configuration remains unchanged across deployments, omit this parameter. To disable SLS collection, set this field to an empty string.
|
|
905
|
+
*
|
|
906
|
+
* > Projects automatically created by SAE are deleted when the application is deleted. Do not select these projects when choosing an existing project.
|
|
761
907
|
*
|
|
762
908
|
* @example
|
|
763
909
|
* [{"logDir":"","logType":"stdout"},{"logDir":"/tmp/a.log"}]
|
|
764
910
|
*/
|
|
765
911
|
slsConfigs?: string;
|
|
912
|
+
/**
|
|
913
|
+
* @remarks
|
|
914
|
+
* The SLS log tags.
|
|
915
|
+
*/
|
|
766
916
|
slsLogEnvTags?: string;
|
|
767
917
|
/**
|
|
768
918
|
* @remarks
|
|
769
|
-
*
|
|
919
|
+
* Enable application startup probing.
|
|
920
|
+
*
|
|
921
|
+
* - Success: The application starts successfully. If you configure Liveness and Readiness checks, they run after startup.
|
|
770
922
|
*
|
|
771
|
-
*
|
|
923
|
+
* - Failure: The application fails to start. SAE reports an error and restarts the container automatically.
|
|
772
924
|
*
|
|
773
|
-
*
|
|
774
|
-
*
|
|
925
|
+
* > Description
|
|
926
|
+
* >
|
|
927
|
+
* > - Supports exec, httpGet, and tcpSocket. For examples, see the Liveness parameter.
|
|
928
|
+
* >
|
|
929
|
+
* > - You can select only one health check method.
|
|
775
930
|
*
|
|
776
931
|
* @example
|
|
777
932
|
* {"exec":{"command":["sh","-c","cat /home/admin/start.sh"]},"initialDelaySeconds":30,"periodSeconds":30,"timeoutSeconds":2}
|
|
@@ -779,23 +934,31 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
779
934
|
startupProbe?: string;
|
|
780
935
|
/**
|
|
781
936
|
* @remarks
|
|
782
|
-
*
|
|
937
|
+
* Configures service discovery and end-to-end canary release based on a Kubernetes Service:
|
|
938
|
+
*
|
|
939
|
+
* - enable: Specifies whether to enable the end-to-end canary release feature.
|
|
940
|
+
*
|
|
941
|
+
* - true: Enables the feature.
|
|
942
|
+
*
|
|
943
|
+
* - false: Disables the feature.
|
|
944
|
+
*
|
|
945
|
+
* - namespaceId: The namespace ID.
|
|
946
|
+
*
|
|
947
|
+
* - portAndProtocol: The listening port and protocol. The format is {"\\<port>:\\<protocol>":"\\<target_port>"}.
|
|
783
948
|
*
|
|
784
|
-
* -
|
|
949
|
+
* - portProtocols: A list of ports and protocols for the service.
|
|
785
950
|
*
|
|
786
|
-
*
|
|
951
|
+
* - port: The port number.
|
|
787
952
|
*
|
|
788
|
-
*
|
|
789
|
-
* - portProtocols: Define service ports and protocols
|
|
790
|
-
* port: Port
|
|
791
|
-
* protocol: Protocol
|
|
792
|
-
* targetPort: Container port
|
|
953
|
+
* - protocol: The protocol.
|
|
793
954
|
*
|
|
794
|
-
*
|
|
955
|
+
* - targetPort: The container port.
|
|
795
956
|
*
|
|
796
|
-
* -
|
|
957
|
+
* - pvtzDiscoveryName: The service discovery name.
|
|
797
958
|
*
|
|
798
|
-
* -
|
|
959
|
+
* - serviceId: The service ID.
|
|
960
|
+
*
|
|
961
|
+
* - serviceName: The service name.
|
|
799
962
|
*
|
|
800
963
|
* @example
|
|
801
964
|
* {\\"enable\\":\\"false\\",\\"namespaceId\\":\\"cn-beijing:test\\",\\"portAndProtocol\\":{\\"2000:TCP\\":\\"18081\\"},\\"portProtocols\\":[{\\"port\\":2000,\\"protocol\\":\\"TCP\\",\\"targetPort\\":18081}],\\"pvtzDiscoveryName\\":\\"cn-beijing-1421801774382676\\",\\"serviceId\\":\\"3513\\",\\"serviceName\\":\\"demo-gray.test\\"}
|
|
@@ -803,7 +966,7 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
803
966
|
swimlanePvtzDiscoverySvc?: string;
|
|
804
967
|
/**
|
|
805
968
|
* @remarks
|
|
806
|
-
* The
|
|
969
|
+
* The graceful shutdown timeout, in seconds. Default is 30. Valid values: 1–300.
|
|
807
970
|
*
|
|
808
971
|
* @example
|
|
809
972
|
* 10
|
|
@@ -811,7 +974,7 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
811
974
|
terminationGracePeriodSeconds?: number;
|
|
812
975
|
/**
|
|
813
976
|
* @remarks
|
|
814
|
-
* The time zone. Default
|
|
977
|
+
* The time zone. Default is **Asia/Shanghai**.
|
|
815
978
|
*
|
|
816
979
|
* @example
|
|
817
980
|
* Asia/Shanghai
|
|
@@ -819,13 +982,17 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
819
982
|
timezone?: string;
|
|
820
983
|
/**
|
|
821
984
|
* @remarks
|
|
822
|
-
* The Tomcat configuration.
|
|
985
|
+
* The Tomcat configuration. Set to an empty string or {} to delete the configuration. Values:
|
|
986
|
+
*
|
|
987
|
+
* - **port**: Port range is 1024–65535. Ports below 1024 require root privileges. Because containers run with admin privileges, use ports above 1024. Default is 8080.
|
|
988
|
+
*
|
|
989
|
+
* - **contextPath**: The access path. Default is the root directory /.
|
|
990
|
+
*
|
|
991
|
+
* - **maxThreads**: The size of the connection pool. Default is 400.
|
|
992
|
+
*
|
|
993
|
+
* - uriEncoding: The encoding format for Tomcat. Options include **UTF-8**, **ISO-8859-1**, **GBK**, and **GB2312**. Default is **ISO-8859-1**.
|
|
823
994
|
*
|
|
824
|
-
*
|
|
825
|
-
* * **contextPath**: the path. Default value: /. This value indicates the root directory.
|
|
826
|
-
* * **maxThreads**: the maximum number of connections in the connection pool. Default value: 400.
|
|
827
|
-
* * **uriEncoding**: the URI encoding scheme in the Tomcat container. Valid values: UTF-8, ISO-8859-1, GBK, and GB2312.************ If you do not specify this parameter, the default value **ISO-8859-1** is used.
|
|
828
|
-
* * **useBodyEncoding**: specifies whether to use the encoding scheme specified in the request body for URI query parameters. Default value: true.
|
|
995
|
+
* - **useBodyEncodingForUri**: Whether to use body encoding for URLs. Default is **true**.
|
|
829
996
|
*
|
|
830
997
|
* @example
|
|
831
998
|
* {"port":8080,"contextPath":"/","maxThreads":400,"uriEncoding":"ISO-8859-1","useBodyEncodingForUri":true}
|
|
@@ -833,23 +1000,27 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
833
1000
|
tomcatConfig?: string;
|
|
834
1001
|
/**
|
|
835
1002
|
* @remarks
|
|
836
|
-
* The
|
|
1003
|
+
* The release strategy. When MinReadyInstances equals 1, set UpdateStrategy to an empty string. When **MinReadyInstances** is greater than 1, examples include the following:
|
|
837
1004
|
*
|
|
838
|
-
*
|
|
839
|
-
* * The application is deployed on an instance. The remaining instances are manually classified into two release batches. In this case, the parameter is set to `{"type":"GrayBatchUpdate","batchUpdate":{"batch":2,"releaseType":"manual"},"grayUpdate":{"gray":1}}`.
|
|
840
|
-
* * All instances are automatically classified into two release batches. The application is deployed on the instances of the two batches in parallel. In this case, the parameter is set to `{"type":"BatchUpdate","batchUpdate":{"batch":2,"releaseType":"auto","batchWaitTime":0}}`
|
|
1005
|
+
* - Canary release with 1 instance, followed by 2 automatic batches with a 1-minute interval: `{"type":"GrayBatchUpdate","batchUpdate":{"batch":2,"releaseType":"auto","batchWaitTime":1},"grayUpdate":{"gray":1}}`
|
|
841
1006
|
*
|
|
842
|
-
*
|
|
1007
|
+
* - Canary release with 1 instance, followed by 2 manual batches: `{"type":"GrayBatchUpdate","batchUpdate":{"batch":2,"releaseType":"manual"},"grayUpdate":{"gray":1}}`
|
|
843
1008
|
*
|
|
844
|
-
*
|
|
1009
|
+
* - Two automatic batches with a 0-minute interval: `{"type":"BatchUpdate","batchUpdate":{"batch":2,"releaseType":"auto","batchWaitTime":0}}`
|
|
845
1010
|
*
|
|
846
|
-
*
|
|
1011
|
+
* Parameters:
|
|
847
1012
|
*
|
|
848
|
-
*
|
|
849
|
-
* * **releaseType**: the processing method for the batches. Valid values: **auto** and **manual**.
|
|
850
|
-
* * **batchWaitTime**: the interval between release batches. Unit: seconds.
|
|
1013
|
+
* - **type**: The release strategy type. Options are **GrayBatchUpdate** (canary release) or **BatchUpdate** (phased release).
|
|
851
1014
|
*
|
|
852
|
-
*
|
|
1015
|
+
* - **batchUpdate**: The phased release strategy.
|
|
1016
|
+
*
|
|
1017
|
+
* - **batch**: The number of batches.
|
|
1018
|
+
*
|
|
1019
|
+
* - **releaseType**: How batches are processed. Options are **auto** (automatic) or **manual** (manual).
|
|
1020
|
+
*
|
|
1021
|
+
* - **batchWaitTime**: The wait time between batches, in minutes.
|
|
1022
|
+
*
|
|
1023
|
+
* - **grayUpdate**: The number of canary instances. Required when **type** is **GrayBatchUpdate**.
|
|
853
1024
|
*
|
|
854
1025
|
* @example
|
|
855
1026
|
* {"type":"GrayBatchUpdate","batchUpdate":{"batch":2,"releaseType":"auto","batchWaitTime":1},"grayUpdate":{"gray":1}}
|
|
@@ -857,7 +1028,7 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
857
1028
|
updateStrategy?: string;
|
|
858
1029
|
/**
|
|
859
1030
|
* @remarks
|
|
860
|
-
* The
|
|
1031
|
+
* The virtual switch where your application instance elastic network interfaces reside. This switch must be in the specified VPC.
|
|
861
1032
|
*
|
|
862
1033
|
* @example
|
|
863
1034
|
* vsw-bp12mw1f8k3jgygk9****
|
|
@@ -865,7 +1036,7 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
865
1036
|
vSwitchId?: string;
|
|
866
1037
|
/**
|
|
867
1038
|
* @remarks
|
|
868
|
-
* The startup command
|
|
1039
|
+
* The startup command for your WAR package. Configure it the same way as the startup command for images. For more information, see [Set the startup command](https://help.aliyun.com/document_detail/96677.html).
|
|
869
1040
|
*
|
|
870
1041
|
* @example
|
|
871
1042
|
* CATALINA_OPTS=\\"$CATALINA_OPTS $Options\\" catalina.sh run
|
|
@@ -873,12 +1044,13 @@ export declare class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
873
1044
|
warStartOptions?: string;
|
|
874
1045
|
/**
|
|
875
1046
|
* @remarks
|
|
876
|
-
* The
|
|
1047
|
+
* The Tomcat version that your deployment package depends on. Supported versions include the following:
|
|
1048
|
+
*
|
|
1049
|
+
* - **apache-tomcat-7.0.91**
|
|
877
1050
|
*
|
|
878
|
-
*
|
|
879
|
-
* * **apache-tomcat-8.5.42**
|
|
1051
|
+
* - **apache-tomcat-8.5.42**
|
|
880
1052
|
*
|
|
881
|
-
* This parameter is not
|
|
1053
|
+
* This parameter is not supported when **Package Type** is **Image**.
|
|
882
1054
|
*
|
|
883
1055
|
* @example
|
|
884
1056
|
* apache-tomcat-7.0.91
|