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