@azure/arm-advisor 3.2.0-alpha.20241216.1 → 3.2.0-alpha.20241219.1
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/README.md +4 -4
- package/{dist-esm/src → dist/commonjs}/advisorManagementClient.d.ts +2 -2
- package/dist/commonjs/advisorManagementClient.d.ts.map +1 -0
- package/dist/commonjs/advisorManagementClient.js +103 -0
- package/dist/commonjs/advisorManagementClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/{dist-esm/src → dist/commonjs}/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +77 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.js +652 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.js +172 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operations/configurations.d.ts +3 -3
- package/dist/commonjs/operations/configurations.d.ts.map +1 -0
- package/dist/commonjs/operations/configurations.js +271 -0
- package/dist/commonjs/operations/configurations.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +6 -0
- package/{dist-esm/src → dist/commonjs}/operations/index.d.ts.map +1 -1
- package/dist/commonjs/operations/index.js +16 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operations/operations.d.ts +3 -3
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +137 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operations/recommendationMetadata.d.ts +3 -3
- package/dist/commonjs/operations/recommendationMetadata.d.ts.map +1 -0
- package/dist/commonjs/operations/recommendationMetadata.js +165 -0
- package/dist/commonjs/operations/recommendationMetadata.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operations/recommendations.d.ts +3 -3
- package/dist/commonjs/operations/recommendations.d.ts.map +1 -0
- package/dist/commonjs/operations/recommendations.js +215 -0
- package/dist/commonjs/operations/recommendations.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operations/suppressions.d.ts +3 -3
- package/dist/commonjs/operations/suppressions.d.ts.map +1 -0
- package/dist/commonjs/operations/suppressions.js +247 -0
- package/dist/commonjs/operations/suppressions.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operationsInterfaces/configurations.d.ts +1 -1
- package/dist/commonjs/operationsInterfaces/configurations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/configurations.js +10 -0
- package/dist/commonjs/operationsInterfaces/configurations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +6 -0
- package/{dist-esm/src → dist/commonjs}/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.js +16 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operationsInterfaces/operations.d.ts +1 -1
- package/{dist-esm/src → dist/commonjs}/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operationsInterfaces/recommendationMetadata.d.ts +1 -1
- package/dist/commonjs/operationsInterfaces/recommendationMetadata.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/recommendationMetadata.js +10 -0
- package/dist/commonjs/operationsInterfaces/recommendationMetadata.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operationsInterfaces/recommendations.d.ts +1 -1
- package/dist/commonjs/operationsInterfaces/recommendations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/recommendations.js +10 -0
- package/dist/commonjs/operationsInterfaces/recommendations.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operationsInterfaces/suppressions.d.ts +1 -1
- package/dist/commonjs/operationsInterfaces/suppressions.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/suppressions.js +10 -0
- package/dist/commonjs/operationsInterfaces/suppressions.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/{dist-esm/src → dist/commonjs}/pagingHelper.d.ts.map +1 -1
- package/dist/commonjs/pagingHelper.js +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/esm/advisorManagementClient.d.ts +25 -0
- package/dist/esm/advisorManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/advisorManagementClient.js +22 -26
- package/dist/esm/advisorManagementClient.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/index.js +4 -4
- package/dist/esm/index.js.map +1 -0
- package/{types/arm-advisor.d.ts → dist/esm/models/index.d.ts} +466 -700
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +21 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/models/mappers.js +225 -225
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +19 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/models/parameters.js +48 -48
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/configurations.d.ts +62 -0
- package/dist/esm/operations/configurations.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/operations/configurations.js +29 -41
- package/dist/esm/operations/configurations.js.map +1 -0
- package/dist/esm/operations/index.d.ts +6 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/{dist-esm/src/operationsInterfaces → dist/esm/operations}/index.js +5 -5
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +32 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/operations/operations.js +12 -12
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/recommendationMetadata.d.ts +38 -0
- package/dist/esm/operations/recommendationMetadata.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/operations/recommendationMetadata.js +17 -17
- package/dist/esm/operations/recommendationMetadata.js.map +1 -0
- package/dist/esm/operations/recommendations.d.ts +57 -0
- package/dist/esm/operations/recommendations.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/operations/recommendations.js +27 -44
- package/dist/esm/operations/recommendations.js.map +1 -0
- package/dist/esm/operations/suppressions.d.ts +65 -0
- package/dist/esm/operations/suppressions.d.ts.map +1 -0
- package/{dist-esm/src → dist/esm}/operations/suppressions.js +30 -38
- package/dist/esm/operations/suppressions.js.map +1 -0
- package/dist/esm/operationsInterfaces/configurations.d.ts +33 -0
- package/dist/esm/operationsInterfaces/configurations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/configurations.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +6 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/{dist-esm/src/operations → dist/esm/operationsInterfaces}/index.js +5 -5
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/recommendationMetadata.d.ts +17 -0
- package/dist/esm/operationsInterfaces/recommendationMetadata.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/recommendationMetadata.js.map +1 -0
- package/dist/esm/operationsInterfaces/recommendations.d.ts +35 -0
- package/dist/esm/operationsInterfaces/recommendations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/recommendations.js.map +1 -0
- package/dist/esm/operationsInterfaces/suppressions.d.ts +43 -0
- package/dist/esm/operationsInterfaces/suppressions.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/suppressions.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/package.json +51 -35
- package/dist/index.js +0 -2102
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/configurationsCreateInResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/configurationsCreateInResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/configurationsCreateInResourceGroupSample.js +0 -58
- package/dist-esm/samples-dev/configurationsCreateInResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/configurationsCreateInSubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/configurationsCreateInSubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/configurationsCreateInSubscriptionSample.js +0 -57
- package/dist-esm/samples-dev/configurationsCreateInSubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/configurationsListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/configurationsListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/configurationsListByResourceGroupSample.js +0 -53
- package/dist-esm/samples-dev/configurationsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/configurationsListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/configurationsListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/configurationsListBySubscriptionSample.js +0 -52
- package/dist-esm/samples-dev/configurationsListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/recommendationMetadataGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/recommendationMetadataGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/recommendationMetadataGetSample.js +0 -36
- package/dist-esm/samples-dev/recommendationMetadataGetSample.js.map +0 -1
- package/dist-esm/samples-dev/recommendationMetadataListSample.d.ts +0 -2
- package/dist-esm/samples-dev/recommendationMetadataListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/recommendationMetadataListSample.js +0 -51
- package/dist-esm/samples-dev/recommendationMetadataListSample.js.map +0 -1
- package/dist-esm/samples-dev/recommendationsGenerateSample.d.ts +0 -2
- package/dist-esm/samples-dev/recommendationsGenerateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/recommendationsGenerateSample.js +0 -36
- package/dist-esm/samples-dev/recommendationsGenerateSample.js.map +0 -1
- package/dist-esm/samples-dev/recommendationsGetGenerateStatusSample.d.ts +0 -2
- package/dist-esm/samples-dev/recommendationsGetGenerateStatusSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/recommendationsGetGenerateStatusSample.js +0 -37
- package/dist-esm/samples-dev/recommendationsGetGenerateStatusSample.js.map +0 -1
- package/dist-esm/samples-dev/recommendationsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/recommendationsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/recommendationsGetSample.js +0 -37
- package/dist-esm/samples-dev/recommendationsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/recommendationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/recommendationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/recommendationsListSample.js +0 -54
- package/dist-esm/samples-dev/recommendationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/suppressionsCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/suppressionsCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/suppressionsCreateSample.js +0 -39
- package/dist-esm/samples-dev/suppressionsCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/suppressionsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/suppressionsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/suppressionsDeleteSample.js +0 -38
- package/dist-esm/samples-dev/suppressionsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/suppressionsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/suppressionsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/suppressionsGetSample.js +0 -38
- package/dist-esm/samples-dev/suppressionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/suppressionsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/suppressionsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/suppressionsListSample.js +0 -52
- package/dist-esm/samples-dev/suppressionsListSample.js.map +0 -1
- package/dist-esm/src/advisorManagementClient.d.ts.map +0 -1
- package/dist-esm/src/advisorManagementClient.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/configurations.d.ts.map +0 -1
- package/dist-esm/src/operations/configurations.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -6
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/recommendationMetadata.d.ts.map +0 -1
- package/dist-esm/src/operations/recommendationMetadata.js.map +0 -1
- package/dist-esm/src/operations/recommendations.d.ts.map +0 -1
- package/dist-esm/src/operations/recommendations.js.map +0 -1
- package/dist-esm/src/operations/suppressions.d.ts.map +0 -1
- package/dist-esm/src/operations/suppressions.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/configurations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/configurations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -6
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/recommendationMetadata.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/recommendationMetadata.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/recommendations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/recommendations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/suppressions.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/suppressions.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/advisor_operations_test.spec.d.ts +0 -4
- package/dist-esm/test/advisor_operations_test.spec.d.ts.map +0 -1
- package/dist-esm/test/advisor_operations_test.spec.js +0 -77
- package/dist-esm/test/advisor_operations_test.spec.js.map +0 -1
- package/src/advisorManagementClient.ts +0 -174
- package/src/index.ts +0 -13
- package/src/models/index.ts +0 -538
- package/src/models/mappers.ts +0 -700
- package/src/models/parameters.ts +0 -194
- package/src/operations/configurations.ts +0 -336
- package/src/operations/index.ts +0 -13
- package/src/operations/operations.ts +0 -149
- package/src/operations/recommendationMetadata.ts +0 -186
- package/src/operations/recommendations.ts +0 -271
- package/src/operations/suppressions.ts +0 -304
- package/src/operationsInterfaces/configurations.ts +0 -65
- package/src/operationsInterfaces/index.ts +0 -13
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/recommendationMetadata.ts +0 -36
- package/src/operationsInterfaces/recommendations.ts +0 -63
- package/src/operationsInterfaces/suppressions.ts +0 -78
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/commonjs}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/commonjs}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/commonjs}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/commonjs}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/commonjs}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/commonjs}/pagingHelper.d.ts +0 -0
- /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
- /package/{dist-esm/src → dist/esm}/models/index.js +0 -0
- /package/{dist-esm/src → dist/esm}/operationsInterfaces/configurations.js +0 -0
- /package/{dist-esm/src → dist/esm}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/esm}/operationsInterfaces/recommendationMetadata.js +0 -0
- /package/{dist-esm/src → dist/esm}/operationsInterfaces/recommendations.js +0 -0
- /package/{dist-esm/src → dist/esm}/operationsInterfaces/suppressions.js +0 -0
- /package/{dist-esm/src → dist/esm}/pagingHelper.js +0 -0
|
@@ -1,700 +1,466 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
export
|
|
28
|
-
/**
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
*/
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
*/
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
/**
|
|
121
|
-
export
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
/**
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
export
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
export
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
export
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
*/
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
*/
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
/**
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
/**
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
/**
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
/**
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
/**
|
|
314
|
-
export declare
|
|
315
|
-
/**
|
|
316
|
-
|
|
317
|
-
/**
|
|
318
|
-
|
|
319
|
-
/**
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
/**
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
/** Contains response data for the
|
|
355
|
-
export
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
/**
|
|
362
|
-
export
|
|
363
|
-
|
|
364
|
-
/**
|
|
365
|
-
export
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
/**
|
|
380
|
-
export
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
/** Optional parameters. */
|
|
387
|
-
export
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
/**
|
|
434
|
-
export
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
/**
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
/** Optional parameters. */
|
|
453
|
-
export
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
/**
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
/**
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
export declare interface RecommendationsListOptionalParams extends coreClient.OperationOptions {
|
|
468
|
-
/** The filter to apply to the recommendations.<br>Filter can be applied to properties ['ResourceId', 'ResourceGroup', 'RecommendationTypeGuid', '[Category](#category)'] with operators ['eq', 'and', 'or'].<br>Example:<br>- $filter=Category eq 'Cost' and ResourceGroup eq 'MyResourceGroup' */
|
|
469
|
-
filter?: string;
|
|
470
|
-
/** The number of recommendations per page if a paged version of this API is being used. */
|
|
471
|
-
top?: number;
|
|
472
|
-
/** The page-continuation token to use with a paged version of this API. */
|
|
473
|
-
skipToken?: string;
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
/** Contains response data for the list operation. */
|
|
477
|
-
export declare type RecommendationsListResponse = ResourceRecommendationBaseListResult;
|
|
478
|
-
|
|
479
|
-
/** An Azure resource. */
|
|
480
|
-
export declare interface Resource {
|
|
481
|
-
/**
|
|
482
|
-
* The resource ID.
|
|
483
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
484
|
-
*/
|
|
485
|
-
readonly id?: string;
|
|
486
|
-
/**
|
|
487
|
-
* The name of the resource.
|
|
488
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
489
|
-
*/
|
|
490
|
-
readonly name?: string;
|
|
491
|
-
/**
|
|
492
|
-
* The type of the resource.
|
|
493
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
494
|
-
*/
|
|
495
|
-
readonly type?: string;
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
/** Recommendation resource metadata */
|
|
499
|
-
export declare interface ResourceMetadata {
|
|
500
|
-
/** Azure resource Id of the assessed resource */
|
|
501
|
-
resourceId?: string;
|
|
502
|
-
/** Source from which recommendation is generated */
|
|
503
|
-
source?: string;
|
|
504
|
-
/** The action to view resource. */
|
|
505
|
-
action?: {
|
|
506
|
-
[propertyName: string]: Record<string, unknown>;
|
|
507
|
-
};
|
|
508
|
-
/** The singular user friendly name of resource type. eg: virtual machine */
|
|
509
|
-
singular?: string;
|
|
510
|
-
/** The plural user friendly name of resource type. eg: virtual machines */
|
|
511
|
-
plural?: string;
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
/** Advisor Recommendation. */
|
|
515
|
-
export declare interface ResourceRecommendationBase extends Resource {
|
|
516
|
-
/** The category of the recommendation. */
|
|
517
|
-
category?: Category;
|
|
518
|
-
/** The business impact of the recommendation. */
|
|
519
|
-
impact?: Impact;
|
|
520
|
-
/** The resource type identified by Advisor. */
|
|
521
|
-
impactedField?: string;
|
|
522
|
-
/** The resource identified by Advisor. */
|
|
523
|
-
impactedValue?: string;
|
|
524
|
-
/** The most recent time that Advisor checked the validity of the recommendation. */
|
|
525
|
-
lastUpdated?: Date;
|
|
526
|
-
/** The recommendation metadata. */
|
|
527
|
-
metadata?: {
|
|
528
|
-
[propertyName: string]: Record<string, unknown>;
|
|
529
|
-
};
|
|
530
|
-
/** The recommendation-type GUID. */
|
|
531
|
-
recommendationTypeId?: string;
|
|
532
|
-
/** The potential risk of not implementing the recommendation. */
|
|
533
|
-
risk?: Risk;
|
|
534
|
-
/** A summary of the recommendation. */
|
|
535
|
-
shortDescription?: ShortDescription;
|
|
536
|
-
/** The list of snoozed and dismissed rules for the recommendation. */
|
|
537
|
-
suppressionIds?: string[];
|
|
538
|
-
/** Extended properties */
|
|
539
|
-
extendedProperties?: {
|
|
540
|
-
[propertyName: string]: string;
|
|
541
|
-
};
|
|
542
|
-
/** Metadata of resource that was assessed */
|
|
543
|
-
resourceMetadata?: ResourceMetadata;
|
|
544
|
-
/** The detailed description of recommendation. */
|
|
545
|
-
description?: string;
|
|
546
|
-
/** The label of recommendation. */
|
|
547
|
-
label?: string;
|
|
548
|
-
/** The link to learn more about recommendation and generation logic. */
|
|
549
|
-
learnMoreLink?: string;
|
|
550
|
-
/** The potential benefit of implementing recommendation. */
|
|
551
|
-
potentialBenefits?: string;
|
|
552
|
-
/** The list of recommended actions to implement recommendation. */
|
|
553
|
-
actions?: {
|
|
554
|
-
[propertyName: string]: Record<string, unknown>;
|
|
555
|
-
}[];
|
|
556
|
-
/** The automated way to apply recommendation. */
|
|
557
|
-
remediation?: {
|
|
558
|
-
[propertyName: string]: Record<string, unknown>;
|
|
559
|
-
};
|
|
560
|
-
/** The recommendation metadata properties exposed to customer to provide additional information. */
|
|
561
|
-
exposedMetadataProperties?: {
|
|
562
|
-
[propertyName: string]: Record<string, unknown>;
|
|
563
|
-
};
|
|
564
|
-
}
|
|
565
|
-
|
|
566
|
-
/** The list of Advisor recommendations. */
|
|
567
|
-
export declare interface ResourceRecommendationBaseListResult {
|
|
568
|
-
/** The link used to get the next page of recommendations. */
|
|
569
|
-
nextLink?: string;
|
|
570
|
-
/** The list of recommendations. */
|
|
571
|
-
value?: ResourceRecommendationBase[];
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
/**
|
|
575
|
-
* Defines values for Risk. \
|
|
576
|
-
* {@link KnownRisk} can be used interchangeably with Risk,
|
|
577
|
-
* this enum contains the known values that the service supports.
|
|
578
|
-
* ### Known values supported by the service
|
|
579
|
-
* **Error** \
|
|
580
|
-
* **Warning** \
|
|
581
|
-
* **None**
|
|
582
|
-
*/
|
|
583
|
-
export declare type Risk = string;
|
|
584
|
-
|
|
585
|
-
/**
|
|
586
|
-
* Defines values for Scenario. \
|
|
587
|
-
* {@link KnownScenario} can be used interchangeably with Scenario,
|
|
588
|
-
* this enum contains the known values that the service supports.
|
|
589
|
-
* ### Known values supported by the service
|
|
590
|
-
* **Alerts**
|
|
591
|
-
*/
|
|
592
|
-
export declare type Scenario = string;
|
|
593
|
-
|
|
594
|
-
/** A summary of the recommendation. */
|
|
595
|
-
export declare interface ShortDescription {
|
|
596
|
-
/** The issue or opportunity identified by the recommendation. */
|
|
597
|
-
problem?: string;
|
|
598
|
-
/** The remediation action suggested by the recommendation. */
|
|
599
|
-
solution?: string;
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
/** The details of the snoozed or dismissed rule; for example, the duration, name, and GUID associated with the rule. */
|
|
603
|
-
export declare interface SuppressionContract extends Resource {
|
|
604
|
-
/** The GUID of the suppression. */
|
|
605
|
-
suppressionId?: string;
|
|
606
|
-
/** The duration for which the suppression is valid. */
|
|
607
|
-
ttl?: string;
|
|
608
|
-
/**
|
|
609
|
-
* Gets or sets the expiration time stamp.
|
|
610
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
611
|
-
*/
|
|
612
|
-
readonly expirationTimeStamp?: Date;
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
/** The list of Advisor suppressions. */
|
|
616
|
-
export declare interface SuppressionContractListResult {
|
|
617
|
-
/** The link used to get the next page of suppressions. */
|
|
618
|
-
nextLink?: string;
|
|
619
|
-
/** The list of suppressions. */
|
|
620
|
-
value?: SuppressionContract[];
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
/** Interface representing a Suppressions. */
|
|
624
|
-
export declare interface Suppressions {
|
|
625
|
-
/**
|
|
626
|
-
* Retrieves the list of snoozed or dismissed suppressions for a subscription. The snoozed or dismissed
|
|
627
|
-
* attribute of a recommendation is referred to as a suppression.
|
|
628
|
-
* @param options The options parameters.
|
|
629
|
-
*/
|
|
630
|
-
list(options?: SuppressionsListOptionalParams): PagedAsyncIterableIterator<SuppressionContract>;
|
|
631
|
-
/**
|
|
632
|
-
* Obtains the details of a suppression.
|
|
633
|
-
* @param resourceUri The fully qualified Azure Resource Manager identifier of the resource to which
|
|
634
|
-
* the recommendation applies.
|
|
635
|
-
* @param recommendationId The recommendation ID.
|
|
636
|
-
* @param name The name of the suppression.
|
|
637
|
-
* @param options The options parameters.
|
|
638
|
-
*/
|
|
639
|
-
get(resourceUri: string, recommendationId: string, name: string, options?: SuppressionsGetOptionalParams): Promise<SuppressionsGetResponse>;
|
|
640
|
-
/**
|
|
641
|
-
* Enables the snoozed or dismissed attribute of a recommendation. The snoozed or dismissed attribute
|
|
642
|
-
* is referred to as a suppression. Use this API to create or update the snoozed or dismissed status of
|
|
643
|
-
* a recommendation.
|
|
644
|
-
* @param resourceUri The fully qualified Azure Resource Manager identifier of the resource to which
|
|
645
|
-
* the recommendation applies.
|
|
646
|
-
* @param recommendationId The recommendation ID.
|
|
647
|
-
* @param name The name of the suppression.
|
|
648
|
-
* @param suppressionContract The snoozed or dismissed attribute; for example, the snooze duration.
|
|
649
|
-
* @param options The options parameters.
|
|
650
|
-
*/
|
|
651
|
-
create(resourceUri: string, recommendationId: string, name: string, suppressionContract: SuppressionContract, options?: SuppressionsCreateOptionalParams): Promise<SuppressionsCreateResponse>;
|
|
652
|
-
/**
|
|
653
|
-
* Enables the activation of a snoozed or dismissed recommendation. The snoozed or dismissed attribute
|
|
654
|
-
* of a recommendation is referred to as a suppression.
|
|
655
|
-
* @param resourceUri The fully qualified Azure Resource Manager identifier of the resource to which
|
|
656
|
-
* the recommendation applies.
|
|
657
|
-
* @param recommendationId The recommendation ID.
|
|
658
|
-
* @param name The name of the suppression.
|
|
659
|
-
* @param options The options parameters.
|
|
660
|
-
*/
|
|
661
|
-
delete(resourceUri: string, recommendationId: string, name: string, options?: SuppressionsDeleteOptionalParams): Promise<void>;
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
/** Optional parameters. */
|
|
665
|
-
export declare interface SuppressionsCreateOptionalParams extends coreClient.OperationOptions {
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
/** Contains response data for the create operation. */
|
|
669
|
-
export declare type SuppressionsCreateResponse = SuppressionContract;
|
|
670
|
-
|
|
671
|
-
/** Optional parameters. */
|
|
672
|
-
export declare interface SuppressionsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
673
|
-
}
|
|
674
|
-
|
|
675
|
-
/** Optional parameters. */
|
|
676
|
-
export declare interface SuppressionsGetOptionalParams extends coreClient.OperationOptions {
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
/** Contains response data for the get operation. */
|
|
680
|
-
export declare type SuppressionsGetResponse = SuppressionContract;
|
|
681
|
-
|
|
682
|
-
/** Optional parameters. */
|
|
683
|
-
export declare interface SuppressionsListNextOptionalParams extends coreClient.OperationOptions {
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
/** Contains response data for the listNext operation. */
|
|
687
|
-
export declare type SuppressionsListNextResponse = SuppressionContractListResult;
|
|
688
|
-
|
|
689
|
-
/** Optional parameters. */
|
|
690
|
-
export declare interface SuppressionsListOptionalParams extends coreClient.OperationOptions {
|
|
691
|
-
/** The number of suppressions per page if a paged version of this API is being used. */
|
|
692
|
-
top?: number;
|
|
693
|
-
/** The page-continuation token to use with a paged version of this API. */
|
|
694
|
-
skipToken?: string;
|
|
695
|
-
}
|
|
696
|
-
|
|
697
|
-
/** Contains response data for the list operation. */
|
|
698
|
-
export declare type SuppressionsListResponse = SuppressionContractListResult;
|
|
699
|
-
|
|
700
|
-
export { }
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
/** The metadata entity contract. */
|
|
3
|
+
export interface MetadataEntity {
|
|
4
|
+
/** The resource Id of the metadata entity. */
|
|
5
|
+
id?: string;
|
|
6
|
+
/** The type of the metadata entity. */
|
|
7
|
+
type?: string;
|
|
8
|
+
/** The name of the metadata entity. */
|
|
9
|
+
name?: string;
|
|
10
|
+
/** The display name. */
|
|
11
|
+
displayName?: string;
|
|
12
|
+
/** The list of keys on which this entity depends on. */
|
|
13
|
+
dependsOn?: string[];
|
|
14
|
+
/** The list of scenarios applicable to this metadata entity. */
|
|
15
|
+
applicableScenarios?: Scenario[];
|
|
16
|
+
/** The list of supported values. */
|
|
17
|
+
supportedValues?: MetadataSupportedValueDetail[];
|
|
18
|
+
}
|
|
19
|
+
/** The metadata supported value detail. */
|
|
20
|
+
export interface MetadataSupportedValueDetail {
|
|
21
|
+
/** The id. */
|
|
22
|
+
id?: string;
|
|
23
|
+
/** The display name. */
|
|
24
|
+
displayName?: string;
|
|
25
|
+
}
|
|
26
|
+
/** ARM error response body. */
|
|
27
|
+
export interface ARMErrorResponseBody {
|
|
28
|
+
/** Gets or sets the string that describes the error in detail and provides debugging information. */
|
|
29
|
+
message?: string;
|
|
30
|
+
/** Gets or sets the string that can be used to programmatically identify the error. */
|
|
31
|
+
code?: string;
|
|
32
|
+
}
|
|
33
|
+
export interface ArmErrorResponse {
|
|
34
|
+
/** ARM error response body. */
|
|
35
|
+
error?: ARMErrorResponseBody;
|
|
36
|
+
}
|
|
37
|
+
/** The list of metadata entities */
|
|
38
|
+
export interface MetadataEntityListResult {
|
|
39
|
+
/** The list of metadata entities. */
|
|
40
|
+
value?: MetadataEntity[];
|
|
41
|
+
/** The link used to get the next page of metadata. */
|
|
42
|
+
nextLink?: string;
|
|
43
|
+
}
|
|
44
|
+
/** The list of Advisor configurations. */
|
|
45
|
+
export interface ConfigurationListResult {
|
|
46
|
+
/** The list of configurations. */
|
|
47
|
+
value?: ConfigData[];
|
|
48
|
+
/** The link used to get the next page of configurations. */
|
|
49
|
+
nextLink?: string;
|
|
50
|
+
}
|
|
51
|
+
/** Advisor Digest configuration entity */
|
|
52
|
+
export interface DigestConfig {
|
|
53
|
+
/** Name of digest configuration. Value is case-insensitive and must be unique within a subscription. */
|
|
54
|
+
name?: string;
|
|
55
|
+
/** Action group resource id used by digest. */
|
|
56
|
+
actionGroupResourceId?: string;
|
|
57
|
+
/** Frequency that digest will be triggered, in days. Value must be between 7 and 30 days inclusive. */
|
|
58
|
+
frequency?: number;
|
|
59
|
+
/** Categories to send digest for. If categories are not provided, then digest will be sent for all categories. */
|
|
60
|
+
categories?: Category[];
|
|
61
|
+
/** Language for digest content body. Value must be ISO 639-1 code for one of Azure portal supported languages. Otherwise, it will be converted into one. Default value is English (en). */
|
|
62
|
+
language?: string;
|
|
63
|
+
/** State of digest configuration. */
|
|
64
|
+
state?: DigestConfigState;
|
|
65
|
+
}
|
|
66
|
+
/** An Azure resource. */
|
|
67
|
+
export interface Resource {
|
|
68
|
+
/**
|
|
69
|
+
* The resource ID.
|
|
70
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
71
|
+
*/
|
|
72
|
+
readonly id?: string;
|
|
73
|
+
/**
|
|
74
|
+
* The name of the resource.
|
|
75
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
76
|
+
*/
|
|
77
|
+
readonly name?: string;
|
|
78
|
+
/**
|
|
79
|
+
* The type of the resource.
|
|
80
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
81
|
+
*/
|
|
82
|
+
readonly type?: string;
|
|
83
|
+
}
|
|
84
|
+
/** The list of Advisor recommendations. */
|
|
85
|
+
export interface ResourceRecommendationBaseListResult {
|
|
86
|
+
/** The link used to get the next page of recommendations. */
|
|
87
|
+
nextLink?: string;
|
|
88
|
+
/** The list of recommendations. */
|
|
89
|
+
value?: ResourceRecommendationBase[];
|
|
90
|
+
}
|
|
91
|
+
/** A summary of the recommendation. */
|
|
92
|
+
export interface ShortDescription {
|
|
93
|
+
/** The issue or opportunity identified by the recommendation. */
|
|
94
|
+
problem?: string;
|
|
95
|
+
/** The remediation action suggested by the recommendation. */
|
|
96
|
+
solution?: string;
|
|
97
|
+
}
|
|
98
|
+
/** Recommendation resource metadata */
|
|
99
|
+
export interface ResourceMetadata {
|
|
100
|
+
/** Azure resource Id of the assessed resource */
|
|
101
|
+
resourceId?: string;
|
|
102
|
+
/** Source from which recommendation is generated */
|
|
103
|
+
source?: string;
|
|
104
|
+
/** The action to view resource. */
|
|
105
|
+
action?: {
|
|
106
|
+
[propertyName: string]: Record<string, unknown>;
|
|
107
|
+
};
|
|
108
|
+
/** The singular user friendly name of resource type. eg: virtual machine */
|
|
109
|
+
singular?: string;
|
|
110
|
+
/** The plural user friendly name of resource type. eg: virtual machines */
|
|
111
|
+
plural?: string;
|
|
112
|
+
}
|
|
113
|
+
/** The list of Advisor operations. */
|
|
114
|
+
export interface OperationEntityListResult {
|
|
115
|
+
/** The link used to get the next page of operations. */
|
|
116
|
+
nextLink?: string;
|
|
117
|
+
/** The list of operations. */
|
|
118
|
+
value?: OperationEntity[];
|
|
119
|
+
}
|
|
120
|
+
/** The operation supported by Advisor. */
|
|
121
|
+
export interface OperationEntity {
|
|
122
|
+
/** Operation name: {provider}/{resource}/{operation}. */
|
|
123
|
+
name?: string;
|
|
124
|
+
/** The operation supported by Advisor. */
|
|
125
|
+
display?: OperationDisplayInfo;
|
|
126
|
+
}
|
|
127
|
+
/** The operation supported by Advisor. */
|
|
128
|
+
export interface OperationDisplayInfo {
|
|
129
|
+
/** The description of the operation. */
|
|
130
|
+
description?: string;
|
|
131
|
+
/** The action that users can perform, based on their permission level. */
|
|
132
|
+
operation?: string;
|
|
133
|
+
/** Service provider: Microsoft Advisor. */
|
|
134
|
+
provider?: string;
|
|
135
|
+
/** Resource on which the operation is performed. */
|
|
136
|
+
resource?: string;
|
|
137
|
+
}
|
|
138
|
+
/** The list of Advisor suppressions. */
|
|
139
|
+
export interface SuppressionContractListResult {
|
|
140
|
+
/** The link used to get the next page of suppressions. */
|
|
141
|
+
nextLink?: string;
|
|
142
|
+
/** The list of suppressions. */
|
|
143
|
+
value?: SuppressionContract[];
|
|
144
|
+
}
|
|
145
|
+
/** The Advisor configuration data structure. */
|
|
146
|
+
export interface ConfigData extends Resource {
|
|
147
|
+
/** Exclude the resource from Advisor evaluations. Valid values: False (default) or True. */
|
|
148
|
+
exclude?: boolean;
|
|
149
|
+
/** Minimum percentage threshold for Advisor low CPU utilization evaluation. Valid only for subscriptions. Valid values: 5 (default), 10, 15 or 20. */
|
|
150
|
+
lowCpuThreshold?: CpuThreshold;
|
|
151
|
+
/** Advisor digest configuration. Valid only for subscriptions */
|
|
152
|
+
digests?: DigestConfig[];
|
|
153
|
+
}
|
|
154
|
+
/** Advisor Recommendation. */
|
|
155
|
+
export interface ResourceRecommendationBase extends Resource {
|
|
156
|
+
/** The category of the recommendation. */
|
|
157
|
+
category?: Category;
|
|
158
|
+
/** The business impact of the recommendation. */
|
|
159
|
+
impact?: Impact;
|
|
160
|
+
/** The resource type identified by Advisor. */
|
|
161
|
+
impactedField?: string;
|
|
162
|
+
/** The resource identified by Advisor. */
|
|
163
|
+
impactedValue?: string;
|
|
164
|
+
/** The most recent time that Advisor checked the validity of the recommendation. */
|
|
165
|
+
lastUpdated?: Date;
|
|
166
|
+
/** The recommendation metadata. */
|
|
167
|
+
metadata?: {
|
|
168
|
+
[propertyName: string]: Record<string, unknown>;
|
|
169
|
+
};
|
|
170
|
+
/** The recommendation-type GUID. */
|
|
171
|
+
recommendationTypeId?: string;
|
|
172
|
+
/** The potential risk of not implementing the recommendation. */
|
|
173
|
+
risk?: Risk;
|
|
174
|
+
/** A summary of the recommendation. */
|
|
175
|
+
shortDescription?: ShortDescription;
|
|
176
|
+
/** The list of snoozed and dismissed rules for the recommendation. */
|
|
177
|
+
suppressionIds?: string[];
|
|
178
|
+
/** Extended properties */
|
|
179
|
+
extendedProperties?: {
|
|
180
|
+
[propertyName: string]: string;
|
|
181
|
+
};
|
|
182
|
+
/** Metadata of resource that was assessed */
|
|
183
|
+
resourceMetadata?: ResourceMetadata;
|
|
184
|
+
/** The detailed description of recommendation. */
|
|
185
|
+
description?: string;
|
|
186
|
+
/** The label of recommendation. */
|
|
187
|
+
label?: string;
|
|
188
|
+
/** The link to learn more about recommendation and generation logic. */
|
|
189
|
+
learnMoreLink?: string;
|
|
190
|
+
/** The potential benefit of implementing recommendation. */
|
|
191
|
+
potentialBenefits?: string;
|
|
192
|
+
/** The list of recommended actions to implement recommendation. */
|
|
193
|
+
actions?: {
|
|
194
|
+
[propertyName: string]: Record<string, unknown>;
|
|
195
|
+
}[];
|
|
196
|
+
/** The automated way to apply recommendation. */
|
|
197
|
+
remediation?: {
|
|
198
|
+
[propertyName: string]: Record<string, unknown>;
|
|
199
|
+
};
|
|
200
|
+
/** The recommendation metadata properties exposed to customer to provide additional information. */
|
|
201
|
+
exposedMetadataProperties?: {
|
|
202
|
+
[propertyName: string]: Record<string, unknown>;
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
/** The details of the snoozed or dismissed rule; for example, the duration, name, and GUID associated with the rule. */
|
|
206
|
+
export interface SuppressionContract extends Resource {
|
|
207
|
+
/** The GUID of the suppression. */
|
|
208
|
+
suppressionId?: string;
|
|
209
|
+
/** The duration for which the suppression is valid. */
|
|
210
|
+
ttl?: string;
|
|
211
|
+
/**
|
|
212
|
+
* Gets or sets the expiration time stamp.
|
|
213
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
214
|
+
*/
|
|
215
|
+
readonly expirationTimeStamp?: Date;
|
|
216
|
+
}
|
|
217
|
+
/** Defines headers for Recommendations_generate operation. */
|
|
218
|
+
export interface RecommendationsGenerateHeaders {
|
|
219
|
+
/** The URL where the status of the asynchronous operation can be checked. */
|
|
220
|
+
location?: string;
|
|
221
|
+
/** The amount of delay to use while the status of the operation is checked. The value is expressed in seconds. */
|
|
222
|
+
retryAfter?: string;
|
|
223
|
+
}
|
|
224
|
+
/** Known values of {@link Scenario} that the service accepts. */
|
|
225
|
+
export declare enum KnownScenario {
|
|
226
|
+
/** Alerts */
|
|
227
|
+
Alerts = "Alerts"
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* Defines values for Scenario. \
|
|
231
|
+
* {@link KnownScenario} can be used interchangeably with Scenario,
|
|
232
|
+
* this enum contains the known values that the service supports.
|
|
233
|
+
* ### Known values supported by the service
|
|
234
|
+
* **Alerts**
|
|
235
|
+
*/
|
|
236
|
+
export type Scenario = string;
|
|
237
|
+
/** Known values of {@link CpuThreshold} that the service accepts. */
|
|
238
|
+
export declare enum KnownCpuThreshold {
|
|
239
|
+
/** Five */
|
|
240
|
+
Five = "5",
|
|
241
|
+
/** Ten */
|
|
242
|
+
Ten = "10",
|
|
243
|
+
/** Fifteen */
|
|
244
|
+
Fifteen = "15",
|
|
245
|
+
/** Twenty */
|
|
246
|
+
Twenty = "20"
|
|
247
|
+
}
|
|
248
|
+
/**
|
|
249
|
+
* Defines values for CpuThreshold. \
|
|
250
|
+
* {@link KnownCpuThreshold} can be used interchangeably with CpuThreshold,
|
|
251
|
+
* this enum contains the known values that the service supports.
|
|
252
|
+
* ### Known values supported by the service
|
|
253
|
+
* **5** \
|
|
254
|
+
* **10** \
|
|
255
|
+
* **15** \
|
|
256
|
+
* **20**
|
|
257
|
+
*/
|
|
258
|
+
export type CpuThreshold = string;
|
|
259
|
+
/** Known values of {@link Category} that the service accepts. */
|
|
260
|
+
export declare enum KnownCategory {
|
|
261
|
+
/** HighAvailability */
|
|
262
|
+
HighAvailability = "HighAvailability",
|
|
263
|
+
/** Security */
|
|
264
|
+
Security = "Security",
|
|
265
|
+
/** Performance */
|
|
266
|
+
Performance = "Performance",
|
|
267
|
+
/** Cost */
|
|
268
|
+
Cost = "Cost",
|
|
269
|
+
/** OperationalExcellence */
|
|
270
|
+
OperationalExcellence = "OperationalExcellence"
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* Defines values for Category. \
|
|
274
|
+
* {@link KnownCategory} can be used interchangeably with Category,
|
|
275
|
+
* this enum contains the known values that the service supports.
|
|
276
|
+
* ### Known values supported by the service
|
|
277
|
+
* **HighAvailability** \
|
|
278
|
+
* **Security** \
|
|
279
|
+
* **Performance** \
|
|
280
|
+
* **Cost** \
|
|
281
|
+
* **OperationalExcellence**
|
|
282
|
+
*/
|
|
283
|
+
export type Category = string;
|
|
284
|
+
/** Known values of {@link DigestConfigState} that the service accepts. */
|
|
285
|
+
export declare enum KnownDigestConfigState {
|
|
286
|
+
/** Active */
|
|
287
|
+
Active = "Active",
|
|
288
|
+
/** Disabled */
|
|
289
|
+
Disabled = "Disabled"
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* Defines values for DigestConfigState. \
|
|
293
|
+
* {@link KnownDigestConfigState} can be used interchangeably with DigestConfigState,
|
|
294
|
+
* this enum contains the known values that the service supports.
|
|
295
|
+
* ### Known values supported by the service
|
|
296
|
+
* **Active** \
|
|
297
|
+
* **Disabled**
|
|
298
|
+
*/
|
|
299
|
+
export type DigestConfigState = string;
|
|
300
|
+
/** Known values of {@link ConfigurationName} that the service accepts. */
|
|
301
|
+
export declare enum KnownConfigurationName {
|
|
302
|
+
/** Default */
|
|
303
|
+
Default = "default"
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* Defines values for ConfigurationName. \
|
|
307
|
+
* {@link KnownConfigurationName} can be used interchangeably with ConfigurationName,
|
|
308
|
+
* this enum contains the known values that the service supports.
|
|
309
|
+
* ### Known values supported by the service
|
|
310
|
+
* **default**
|
|
311
|
+
*/
|
|
312
|
+
export type ConfigurationName = string;
|
|
313
|
+
/** Known values of {@link Impact} that the service accepts. */
|
|
314
|
+
export declare enum KnownImpact {
|
|
315
|
+
/** High */
|
|
316
|
+
High = "High",
|
|
317
|
+
/** Medium */
|
|
318
|
+
Medium = "Medium",
|
|
319
|
+
/** Low */
|
|
320
|
+
Low = "Low"
|
|
321
|
+
}
|
|
322
|
+
/**
|
|
323
|
+
* Defines values for Impact. \
|
|
324
|
+
* {@link KnownImpact} can be used interchangeably with Impact,
|
|
325
|
+
* this enum contains the known values that the service supports.
|
|
326
|
+
* ### Known values supported by the service
|
|
327
|
+
* **High** \
|
|
328
|
+
* **Medium** \
|
|
329
|
+
* **Low**
|
|
330
|
+
*/
|
|
331
|
+
export type Impact = string;
|
|
332
|
+
/** Known values of {@link Risk} that the service accepts. */
|
|
333
|
+
export declare enum KnownRisk {
|
|
334
|
+
/** Error */
|
|
335
|
+
Error = "Error",
|
|
336
|
+
/** Warning */
|
|
337
|
+
Warning = "Warning",
|
|
338
|
+
/** None */
|
|
339
|
+
None = "None"
|
|
340
|
+
}
|
|
341
|
+
/**
|
|
342
|
+
* Defines values for Risk. \
|
|
343
|
+
* {@link KnownRisk} can be used interchangeably with Risk,
|
|
344
|
+
* this enum contains the known values that the service supports.
|
|
345
|
+
* ### Known values supported by the service
|
|
346
|
+
* **Error** \
|
|
347
|
+
* **Warning** \
|
|
348
|
+
* **None**
|
|
349
|
+
*/
|
|
350
|
+
export type Risk = string;
|
|
351
|
+
/** Optional parameters. */
|
|
352
|
+
export interface RecommendationMetadataGetOptionalParams extends coreClient.OperationOptions {
|
|
353
|
+
}
|
|
354
|
+
/** Contains response data for the get operation. */
|
|
355
|
+
export type RecommendationMetadataGetResponse = MetadataEntity;
|
|
356
|
+
/** Optional parameters. */
|
|
357
|
+
export interface RecommendationMetadataListOptionalParams extends coreClient.OperationOptions {
|
|
358
|
+
}
|
|
359
|
+
/** Contains response data for the list operation. */
|
|
360
|
+
export type RecommendationMetadataListResponse = MetadataEntityListResult;
|
|
361
|
+
/** Optional parameters. */
|
|
362
|
+
export interface RecommendationMetadataListNextOptionalParams extends coreClient.OperationOptions {
|
|
363
|
+
}
|
|
364
|
+
/** Contains response data for the listNext operation. */
|
|
365
|
+
export type RecommendationMetadataListNextResponse = MetadataEntityListResult;
|
|
366
|
+
/** Optional parameters. */
|
|
367
|
+
export interface ConfigurationsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
368
|
+
}
|
|
369
|
+
/** Contains response data for the listBySubscription operation. */
|
|
370
|
+
export type ConfigurationsListBySubscriptionResponse = ConfigurationListResult;
|
|
371
|
+
/** Optional parameters. */
|
|
372
|
+
export interface ConfigurationsCreateInSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
373
|
+
}
|
|
374
|
+
/** Contains response data for the createInSubscription operation. */
|
|
375
|
+
export type ConfigurationsCreateInSubscriptionResponse = ConfigData;
|
|
376
|
+
/** Optional parameters. */
|
|
377
|
+
export interface ConfigurationsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
378
|
+
}
|
|
379
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
380
|
+
export type ConfigurationsListByResourceGroupResponse = ConfigurationListResult;
|
|
381
|
+
/** Optional parameters. */
|
|
382
|
+
export interface ConfigurationsCreateInResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
383
|
+
}
|
|
384
|
+
/** Contains response data for the createInResourceGroup operation. */
|
|
385
|
+
export type ConfigurationsCreateInResourceGroupResponse = ConfigData;
|
|
386
|
+
/** Optional parameters. */
|
|
387
|
+
export interface ConfigurationsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
388
|
+
}
|
|
389
|
+
/** Contains response data for the listBySubscriptionNext operation. */
|
|
390
|
+
export type ConfigurationsListBySubscriptionNextResponse = ConfigurationListResult;
|
|
391
|
+
/** Optional parameters. */
|
|
392
|
+
export interface RecommendationsGenerateOptionalParams extends coreClient.OperationOptions {
|
|
393
|
+
}
|
|
394
|
+
/** Contains response data for the generate operation. */
|
|
395
|
+
export type RecommendationsGenerateResponse = RecommendationsGenerateHeaders;
|
|
396
|
+
/** Optional parameters. */
|
|
397
|
+
export interface RecommendationsGetGenerateStatusOptionalParams extends coreClient.OperationOptions {
|
|
398
|
+
}
|
|
399
|
+
/** Optional parameters. */
|
|
400
|
+
export interface RecommendationsListOptionalParams extends coreClient.OperationOptions {
|
|
401
|
+
/** The filter to apply to the recommendations.<br>Filter can be applied to properties ['ResourceId', 'ResourceGroup', 'RecommendationTypeGuid', '[Category](#category)'] with operators ['eq', 'and', 'or'].<br>Example:<br>- $filter=Category eq 'Cost' and ResourceGroup eq 'MyResourceGroup' */
|
|
402
|
+
filter?: string;
|
|
403
|
+
/** The number of recommendations per page if a paged version of this API is being used. */
|
|
404
|
+
top?: number;
|
|
405
|
+
/** The page-continuation token to use with a paged version of this API. */
|
|
406
|
+
skipToken?: string;
|
|
407
|
+
}
|
|
408
|
+
/** Contains response data for the list operation. */
|
|
409
|
+
export type RecommendationsListResponse = ResourceRecommendationBaseListResult;
|
|
410
|
+
/** Optional parameters. */
|
|
411
|
+
export interface RecommendationsGetOptionalParams extends coreClient.OperationOptions {
|
|
412
|
+
}
|
|
413
|
+
/** Contains response data for the get operation. */
|
|
414
|
+
export type RecommendationsGetResponse = ResourceRecommendationBase;
|
|
415
|
+
/** Optional parameters. */
|
|
416
|
+
export interface RecommendationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
417
|
+
}
|
|
418
|
+
/** Contains response data for the listNext operation. */
|
|
419
|
+
export type RecommendationsListNextResponse = ResourceRecommendationBaseListResult;
|
|
420
|
+
/** Optional parameters. */
|
|
421
|
+
export interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
422
|
+
}
|
|
423
|
+
/** Contains response data for the list operation. */
|
|
424
|
+
export type OperationsListResponse = OperationEntityListResult;
|
|
425
|
+
/** Optional parameters. */
|
|
426
|
+
export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
427
|
+
}
|
|
428
|
+
/** Contains response data for the listNext operation. */
|
|
429
|
+
export type OperationsListNextResponse = OperationEntityListResult;
|
|
430
|
+
/** Optional parameters. */
|
|
431
|
+
export interface SuppressionsGetOptionalParams extends coreClient.OperationOptions {
|
|
432
|
+
}
|
|
433
|
+
/** Contains response data for the get operation. */
|
|
434
|
+
export type SuppressionsGetResponse = SuppressionContract;
|
|
435
|
+
/** Optional parameters. */
|
|
436
|
+
export interface SuppressionsCreateOptionalParams extends coreClient.OperationOptions {
|
|
437
|
+
}
|
|
438
|
+
/** Contains response data for the create operation. */
|
|
439
|
+
export type SuppressionsCreateResponse = SuppressionContract;
|
|
440
|
+
/** Optional parameters. */
|
|
441
|
+
export interface SuppressionsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
442
|
+
}
|
|
443
|
+
/** Optional parameters. */
|
|
444
|
+
export interface SuppressionsListOptionalParams extends coreClient.OperationOptions {
|
|
445
|
+
/** The number of suppressions per page if a paged version of this API is being used. */
|
|
446
|
+
top?: number;
|
|
447
|
+
/** The page-continuation token to use with a paged version of this API. */
|
|
448
|
+
skipToken?: string;
|
|
449
|
+
}
|
|
450
|
+
/** Contains response data for the list operation. */
|
|
451
|
+
export type SuppressionsListResponse = SuppressionContractListResult;
|
|
452
|
+
/** Optional parameters. */
|
|
453
|
+
export interface SuppressionsListNextOptionalParams extends coreClient.OperationOptions {
|
|
454
|
+
}
|
|
455
|
+
/** Contains response data for the listNext operation. */
|
|
456
|
+
export type SuppressionsListNextResponse = SuppressionContractListResult;
|
|
457
|
+
/** Optional parameters. */
|
|
458
|
+
export interface AdvisorManagementClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
459
|
+
/** server parameter */
|
|
460
|
+
$host?: string;
|
|
461
|
+
/** Api Version */
|
|
462
|
+
apiVersion?: string;
|
|
463
|
+
/** Overrides client endpoint. */
|
|
464
|
+
endpoint?: string;
|
|
465
|
+
}
|
|
466
|
+
//# sourceMappingURL=index.d.ts.map
|