|
13 | 13 | "/configurations/service": { |
14 | 14 | "get": { |
15 | 15 | "tags": [ |
16 | | - "ConfigurationsV1Dot1Preview1" |
| 16 | + "Configurations20220901Preview" |
17 | 17 | ], |
18 | 18 | "summary": "Get Service Configuration.", |
19 | 19 | "description": "Get the Personalizer service configuration.", |
|
59 | 59 | }, |
60 | 60 | "put": { |
61 | 61 | "tags": [ |
62 | | - "ConfigurationsV1Dot1Preview1" |
| 62 | + "Configurations20220901Preview" |
63 | 63 | ], |
64 | 64 | "summary": "Update Service Configuration.", |
65 | 65 | "description": "Update the Personalizer service configuration.", |
|
118 | 118 | "/configurations/policy": { |
119 | 119 | "get": { |
120 | 120 | "tags": [ |
121 | | - "ConfigurationsV1Dot1Preview1" |
| 121 | + "Configurations20220901Preview" |
122 | 122 | ], |
123 | 123 | "summary": "Get Policy.", |
124 | 124 | "description": "Get the Learning Settings currently used by the Personalizer service.", |
|
164 | 164 | }, |
165 | 165 | "put": { |
166 | 166 | "tags": [ |
167 | | - "ConfigurationsV1Dot1Preview1" |
| 167 | + "Configurations20220901Preview" |
168 | 168 | ], |
169 | 169 | "summary": "Update Policy.", |
170 | 170 | "description": "Update the Learning Settings that the Personalizer service will use to train models.", |
|
221 | 221 | }, |
222 | 222 | "delete": { |
223 | 223 | "tags": [ |
224 | | - "ConfigurationsV1Dot1Preview1" |
| 224 | + "Configurations20220901Preview" |
225 | 225 | ], |
226 | 226 | "summary": "Reset Policy.", |
227 | 227 | "description": "Resets the learning settings of the Personalizer service to default.", |
|
665 | 665 | "/configurations/applyFromEvaluation": { |
666 | 666 | "post": { |
667 | 667 | "tags": [ |
668 | | - "ConfigurationsV1Dot1Preview1" |
| 668 | + "Configurations20220901Preview" |
669 | 669 | ], |
670 | 670 | "summary": "Apply Learning Settings and model from a pre-existing Offline Evaluation, making them the current online Learning Settings and model and replacing the previous ones.", |
671 | 671 | "operationId": "ServiceConfiguration_ApplyFromEvaluation", |
|
2218 | 2218 | "InvalidModelImportFormat", |
2219 | 2219 | "FeatureImportanceAlreadyExists", |
2220 | 2220 | "EvaluationAlreadyExists", |
| 2221 | + "InvalidModelRetrainDays", |
2221 | 2222 | "InvalidApiAccess", |
2222 | 2223 | "ModelFileAccessDenied", |
2223 | 2224 | "ProblemTypeIncompatibleWithAutoOptimization", |
|
2354 | 2355 | "value": "EvaluationAlreadyExists", |
2355 | 2356 | "description": "Evaluation with id {0} already exists." |
2356 | 2357 | }, |
| 2358 | + { |
| 2359 | + "value": "InvalidModelRetrainDays", |
| 2360 | + "description": "Model retrain days must be between 0 and the number of log retention days." |
| 2361 | + }, |
2357 | 2362 | { |
2358 | 2363 | "value": "InvalidApiAccess", |
2359 | 2364 | "description": "Api is currently disabled for the instance." |
|
2676 | 2681 | "explorationPercentage", |
2677 | 2682 | "logRetentionDays", |
2678 | 2683 | "modelExportFrequency", |
| 2684 | + "modelRetrainDays", |
2679 | 2685 | "rewardAggregation", |
2680 | 2686 | "rewardWaitTime" |
2681 | 2687 | ], |
|
2756 | 2762 | "format": "date-time", |
2757 | 2763 | "description": "Date when the first automatic optimization evaluation must be performed. Only relevant if IsAutoOptimizationEnabled is true.", |
2758 | 2764 | "type": "string" |
| 2765 | + }, |
| 2766 | + "modelRetrainDays": { |
| 2767 | + "format": "int32", |
| 2768 | + "description": "Number of days of historical logs used when a model retrain is triggered.", |
| 2769 | + "default": 0, |
| 2770 | + "maximum": 2147483647, |
| 2771 | + "minimum": 0, |
| 2772 | + "type": "integer" |
2759 | 2773 | } |
2760 | 2774 | } |
2761 | 2775 | }, |
|
2916 | 2930 | ], |
2917 | 2931 | "tags": [ |
2918 | 2932 | { |
2919 | | - "name": "ConfigurationsV1Dot1Preview1", |
| 2933 | + "name": "Configurations20220901Preview", |
2920 | 2934 | "description": "Manages configuration operations." |
2921 | 2935 | }, |
2922 | 2936 | { |
|
0 commit comments