@azure/arm-resourcehealth 1.2.1 → 3.0.0-alpha.20211221.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/{LICENSE.txt → LICENSE} +2 -2
  3. package/README.md +69 -83
  4. package/dist/index.js +1811 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/index.d.ts +6 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +13 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/microsoftResourceHealth.d.ts +20 -0
  13. package/dist-esm/src/microsoftResourceHealth.d.ts.map +1 -0
  14. package/dist-esm/src/microsoftResourceHealth.js +27 -0
  15. package/dist-esm/src/microsoftResourceHealth.js.map +1 -0
  16. package/dist-esm/src/microsoftResourceHealthContext.d.ts +17 -0
  17. package/dist-esm/src/microsoftResourceHealthContext.d.ts.map +1 -0
  18. package/dist-esm/src/microsoftResourceHealthContext.js +50 -0
  19. package/dist-esm/src/microsoftResourceHealthContext.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +402 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +22 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +21 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/mappers.js +393 -170
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +12 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/{esm → dist-esm/src}/models/parameters.js +52 -36
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/dist-esm/src/operations/availabilityStatuses.d.ts +102 -0
  33. package/dist-esm/src/operations/availabilityStatuses.d.ts.map +1 -0
  34. package/dist-esm/src/operations/availabilityStatuses.js +407 -0
  35. package/dist-esm/src/operations/availabilityStatuses.js.map +1 -0
  36. package/dist-esm/src/operations/childAvailabilityStatuses.d.ts +51 -0
  37. package/dist-esm/src/operations/childAvailabilityStatuses.d.ts.map +1 -0
  38. package/dist-esm/src/operations/childAvailabilityStatuses.js +173 -0
  39. package/dist-esm/src/operations/childAvailabilityStatuses.js.map +1 -0
  40. package/dist-esm/src/operations/childResources.d.ts +43 -0
  41. package/dist-esm/src/operations/childResources.d.ts.map +1 -0
  42. package/dist-esm/src/operations/childResources.js +143 -0
  43. package/dist-esm/src/operations/childResources.js.map +1 -0
  44. package/dist-esm/src/operations/emergingIssues.d.ts +37 -0
  45. package/dist-esm/src/operations/emergingIssues.d.ts.map +1 -0
  46. package/dist-esm/src/operations/emergingIssues.js +143 -0
  47. package/dist-esm/src/operations/emergingIssues.js.map +1 -0
  48. package/dist-esm/src/operations/index.d.ts +6 -0
  49. package/dist-esm/src/operations/index.d.ts.map +1 -0
  50. package/dist-esm/src/operations/index.js +13 -0
  51. package/dist-esm/src/operations/index.js.map +1 -0
  52. package/dist-esm/src/operations/operations.d.ts +18 -0
  53. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  54. package/dist-esm/src/operations/operations.js +46 -0
  55. package/dist-esm/src/operations/operations.js.map +1 -0
  56. package/dist-esm/src/operationsInterfaces/availabilityStatuses.d.ts +40 -0
  57. package/dist-esm/src/operationsInterfaces/availabilityStatuses.d.ts.map +1 -0
  58. package/dist-esm/src/operationsInterfaces/availabilityStatuses.js +9 -0
  59. package/dist-esm/src/operationsInterfaces/availabilityStatuses.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/childAvailabilityStatuses.d.ts +23 -0
  61. package/dist-esm/src/operationsInterfaces/childAvailabilityStatuses.d.ts.map +1 -0
  62. package/dist-esm/src/operationsInterfaces/childAvailabilityStatuses.js +9 -0
  63. package/dist-esm/src/operationsInterfaces/childAvailabilityStatuses.js.map +1 -0
  64. package/dist-esm/src/operationsInterfaces/childResources.d.ts +15 -0
  65. package/dist-esm/src/operationsInterfaces/childResources.d.ts.map +1 -0
  66. package/dist-esm/src/operationsInterfaces/childResources.js +9 -0
  67. package/dist-esm/src/operationsInterfaces/childResources.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/emergingIssues.d.ts +16 -0
  69. package/dist-esm/src/operationsInterfaces/emergingIssues.d.ts.map +1 -0
  70. package/dist-esm/src/operationsInterfaces/emergingIssues.js +9 -0
  71. package/dist-esm/src/operationsInterfaces/emergingIssues.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
  73. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  74. package/dist-esm/src/operationsInterfaces/index.js +13 -0
  75. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/operations.d.ts +10 -0
  77. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  79. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  80. package/dist-esm/test/sampleTest.d.ts +2 -0
  81. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  82. package/dist-esm/test/sampleTest.js +40 -0
  83. package/dist-esm/test/sampleTest.js.map +1 -0
  84. package/package.json +67 -24
  85. package/review/arm-resourcehealth.api.md +396 -0
  86. package/rollup.config.js +184 -27
  87. package/src/index.ts +13 -0
  88. package/src/microsoftResourceHealth.ts +40 -38
  89. package/src/microsoftResourceHealthContext.ts +49 -47
  90. package/src/models/index.ts +382 -532
  91. package/src/models/mappers.ts +409 -175
  92. package/src/models/parameters.ts +66 -37
  93. package/src/operations/availabilityStatuses.ts +335 -272
  94. package/src/operations/childAvailabilityStatuses.ts +210 -0
  95. package/src/operations/childResources.ts +168 -0
  96. package/src/operations/emergingIssues.ts +165 -0
  97. package/src/operations/index.ts +6 -5
  98. package/src/operations/operations.ts +26 -41
  99. package/src/operationsInterfaces/availabilityStatuses.ts +67 -0
  100. package/src/operationsInterfaces/childAvailabilityStatuses.ts +43 -0
  101. package/src/operationsInterfaces/childResources.ts +30 -0
  102. package/src/operationsInterfaces/emergingIssues.ts +34 -0
  103. package/src/operationsInterfaces/index.ts +13 -0
  104. package/src/operationsInterfaces/operations.ts +21 -0
  105. package/tsconfig.json +4 -4
  106. package/types/arm-resourcehealth.d.ts +588 -0
  107. package/types/tsdoc-metadata.json +11 -0
  108. package/dist/arm-resourcehealth.js +0 -1047
  109. package/dist/arm-resourcehealth.js.map +0 -1
  110. package/dist/arm-resourcehealth.min.js +0 -1
  111. package/dist/arm-resourcehealth.min.js.map +0 -1
  112. package/esm/microsoftResourceHealth.d.ts +0 -26
  113. package/esm/microsoftResourceHealth.d.ts.map +0 -1
  114. package/esm/microsoftResourceHealth.js +0 -40
  115. package/esm/microsoftResourceHealth.js.map +0 -1
  116. package/esm/microsoftResourceHealthContext.d.ts +0 -23
  117. package/esm/microsoftResourceHealthContext.d.ts.map +0 -1
  118. package/esm/microsoftResourceHealthContext.js +0 -62
  119. package/esm/microsoftResourceHealthContext.js.map +0 -1
  120. package/esm/models/availabilityStatusesMappers.d.ts +0 -2
  121. package/esm/models/availabilityStatusesMappers.d.ts.map +0 -1
  122. package/esm/models/availabilityStatusesMappers.js +0 -11
  123. package/esm/models/availabilityStatusesMappers.js.map +0 -1
  124. package/esm/models/index.d.ts +0 -589
  125. package/esm/models/index.d.ts.map +0 -1
  126. package/esm/models/index.js +0 -10
  127. package/esm/models/index.js.map +0 -1
  128. package/esm/models/mappers.d.ts +0 -16
  129. package/esm/models/mappers.d.ts.map +0 -1
  130. package/esm/models/mappers.js.map +0 -1
  131. package/esm/models/operationsMappers.d.ts +0 -2
  132. package/esm/models/operationsMappers.d.ts.map +0 -1
  133. package/esm/models/operationsMappers.js +0 -11
  134. package/esm/models/operationsMappers.js.map +0 -1
  135. package/esm/models/parameters.d.ts +0 -10
  136. package/esm/models/parameters.d.ts.map +0 -1
  137. package/esm/models/parameters.js.map +0 -1
  138. package/esm/operations/availabilityStatuses.d.ts +0 -166
  139. package/esm/operations/availabilityStatuses.d.ts.map +0 -1
  140. package/esm/operations/availabilityStatuses.js +0 -225
  141. package/esm/operations/availabilityStatuses.js.map +0 -1
  142. package/esm/operations/index.d.ts +0 -3
  143. package/esm/operations/index.d.ts.map +0 -1
  144. package/esm/operations/index.js +0 -12
  145. package/esm/operations/index.js.map +0 -1
  146. package/esm/operations/operations.d.ts +0 -28
  147. package/esm/operations/operations.d.ts.map +0 -1
  148. package/esm/operations/operations.js +0 -51
  149. package/esm/operations/operations.js.map +0 -1
  150. package/src/models/availabilityStatusesMappers.ts +0 -22
  151. package/src/models/operationsMappers.ts +0 -17
@@ -1,52 +1,55 @@
1
1
  /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
5
4
  *
6
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
9
7
  */
10
8
 
11
- import * as msRest from "@azure/ms-rest-js";
9
+ import {
10
+ OperationParameter,
11
+ OperationURLParameter,
12
+ OperationQueryParameter
13
+ } from "@azure/core-client";
12
14
 
13
- export const acceptLanguage: msRest.OperationParameter = {
14
- parameterPath: "acceptLanguage",
15
+ export const accept: OperationParameter = {
16
+ parameterPath: "accept",
15
17
  mapper: {
16
- serializedName: "accept-language",
17
- defaultValue: 'en-US',
18
+ defaultValue: "application/json",
19
+ isConstant: true,
20
+ serializedName: "Accept",
18
21
  type: {
19
22
  name: "String"
20
23
  }
21
24
  }
22
25
  };
23
- export const apiVersion: msRest.OperationQueryParameter = {
24
- parameterPath: "apiVersion",
26
+
27
+ export const $host: OperationURLParameter = {
28
+ parameterPath: "$host",
25
29
  mapper: {
30
+ serializedName: "$host",
26
31
  required: true,
27
- serializedName: "api-version",
28
32
  type: {
29
33
  name: "String"
30
34
  }
31
- }
35
+ },
36
+ skipEncoding: true
32
37
  };
33
- export const expand: msRest.OperationQueryParameter = {
34
- parameterPath: [
35
- "options",
36
- "expand"
37
- ],
38
+
39
+ export const apiVersion: OperationQueryParameter = {
40
+ parameterPath: "apiVersion",
38
41
  mapper: {
39
- serializedName: "$expand",
42
+ defaultValue: "2017-07-01",
43
+ isConstant: true,
44
+ serializedName: "api-version",
40
45
  type: {
41
46
  name: "String"
42
47
  }
43
48
  }
44
49
  };
45
- export const filter: msRest.OperationQueryParameter = {
46
- parameterPath: [
47
- "options",
48
- "filter"
49
- ],
50
+
51
+ export const filter: OperationQueryParameter = {
52
+ parameterPath: ["options", "filter"],
50
53
  mapper: {
51
54
  serializedName: "$filter",
52
55
  type: {
@@ -54,43 +57,69 @@ export const filter: msRest.OperationQueryParameter = {
54
57
  }
55
58
  }
56
59
  };
57
- export const nextPageLink: msRest.OperationURLParameter = {
58
- parameterPath: "nextPageLink",
60
+
61
+ export const subscriptionId: OperationURLParameter = {
62
+ parameterPath: "subscriptionId",
59
63
  mapper: {
64
+ serializedName: "subscriptionId",
60
65
  required: true,
61
- serializedName: "nextLink",
62
66
  type: {
63
67
  name: "String"
64
68
  }
65
- },
66
- skipEncoding: true
69
+ }
70
+ };
71
+
72
+ export const expand: OperationQueryParameter = {
73
+ parameterPath: ["options", "expand"],
74
+ mapper: {
75
+ serializedName: "$expand",
76
+ type: {
77
+ name: "String"
78
+ }
79
+ }
67
80
  };
68
- export const resourceGroupName: msRest.OperationURLParameter = {
81
+
82
+ export const resourceGroupName: OperationURLParameter = {
69
83
  parameterPath: "resourceGroupName",
70
84
  mapper: {
71
- required: true,
72
85
  serializedName: "resourceGroupName",
86
+ required: true,
73
87
  type: {
74
88
  name: "String"
75
89
  }
76
90
  }
77
91
  };
78
- export const resourceUri: msRest.OperationURLParameter = {
92
+
93
+ export const resourceUri: OperationURLParameter = {
79
94
  parameterPath: "resourceUri",
80
95
  mapper: {
81
- required: true,
82
96
  serializedName: "resourceUri",
97
+ required: true,
83
98
  type: {
84
99
  name: "String"
85
100
  }
86
101
  },
87
102
  skipEncoding: true
88
103
  };
89
- export const subscriptionId: msRest.OperationURLParameter = {
90
- parameterPath: "subscriptionId",
104
+
105
+ export const nextLink: OperationURLParameter = {
106
+ parameterPath: "nextLink",
91
107
  mapper: {
108
+ serializedName: "nextLink",
92
109
  required: true,
93
- serializedName: "subscriptionId",
110
+ type: {
111
+ name: "String"
112
+ }
113
+ },
114
+ skipEncoding: true
115
+ };
116
+
117
+ export const issueName: OperationURLParameter = {
118
+ parameterPath: "issueName",
119
+ mapper: {
120
+ defaultValue: "default",
121
+ isConstant: true,
122
+ serializedName: "issueName",
94
123
  type: {
95
124
  name: "String"
96
125
  }