@azure/arm-resourcehealth 2.0.0 → 3.0.0-beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (173) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/{LICENSE.txt → LICENSE} +1 -1
  3. package/README.md +70 -82
  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 +233 -309
  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 +44 -39
  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/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  49. package/dist-esm/src/operations/index.d.ts.map +1 -0
  50. package/{esm → dist-esm/src}/operations/index.js +1 -2
  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/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/availabilityStatuses.js} +2 -7
  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/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/childAvailabilityStatuses.js} +2 -2
  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/{esm/models/index.js → dist-esm/src/operationsInterfaces/operations.js} +2 -1
  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 +63 -32
  85. package/review/arm-resourcehealth.api.md +396 -0
  86. package/rollup.config.js +181 -30
  87. package/src/index.ts +13 -0
  88. package/src/microsoftResourceHealth.ts +38 -41
  89. package/src/microsoftResourceHealthContext.ts +47 -44
  90. package/src/models/index.ts +322 -878
  91. package/src/models/mappers.ts +232 -320
  92. package/src/models/parameters.ts +58 -40
  93. package/src/operations/availabilityStatuses.ts +325 -276
  94. package/src/operations/childAvailabilityStatuses.ts +137 -130
  95. package/src/operations/childResources.ts +109 -85
  96. package/src/operations/emergingIssues.ts +96 -103
  97. package/src/operations/index.ts +1 -2
  98. package/src/operations/operations.ts +24 -38
  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 +3 -3
  106. package/types/arm-resourcehealth.d.ts +588 -0
  107. package/types/tsdoc-metadata.json +11 -0
  108. package/dist/arm-resourcehealth.js +0 -1743
  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 -29
  113. package/esm/microsoftResourceHealth.d.ts.map +0 -1
  114. package/esm/microsoftResourceHealth.js +0 -42
  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 -61
  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 -9
  123. package/esm/models/availabilityStatusesMappers.js.map +0 -1
  124. package/esm/models/childAvailabilityStatusesMappers.d.ts +0 -2
  125. package/esm/models/childAvailabilityStatusesMappers.d.ts.map +0 -1
  126. package/esm/models/childAvailabilityStatusesMappers.js +0 -9
  127. package/esm/models/childAvailabilityStatusesMappers.js.map +0 -1
  128. package/esm/models/childResourcesMappers.d.ts +0 -2
  129. package/esm/models/childResourcesMappers.d.ts.map +0 -1
  130. package/esm/models/childResourcesMappers.js +0 -9
  131. package/esm/models/childResourcesMappers.js.map +0 -1
  132. package/esm/models/emergingIssuesMappers.d.ts +0 -2
  133. package/esm/models/emergingIssuesMappers.d.ts.map +0 -1
  134. package/esm/models/emergingIssuesMappers.js +0 -9
  135. package/esm/models/emergingIssuesMappers.js.map +0 -1
  136. package/esm/models/index.d.ts +0 -957
  137. package/esm/models/index.d.ts.map +0 -1
  138. package/esm/models/index.js.map +0 -1
  139. package/esm/models/mappers.d.ts +0 -26
  140. package/esm/models/mappers.d.ts.map +0 -1
  141. package/esm/models/mappers.js.map +0 -1
  142. package/esm/models/operationsMappers.d.ts +0 -2
  143. package/esm/models/operationsMappers.d.ts.map +0 -1
  144. package/esm/models/operationsMappers.js.map +0 -1
  145. package/esm/models/parameters.d.ts +0 -11
  146. package/esm/models/parameters.d.ts.map +0 -1
  147. package/esm/models/parameters.js.map +0 -1
  148. package/esm/operations/availabilityStatuses.d.ts +0 -166
  149. package/esm/operations/availabilityStatuses.d.ts.map +0 -1
  150. package/esm/operations/availabilityStatuses.js +0 -239
  151. package/esm/operations/availabilityStatuses.js.map +0 -1
  152. package/esm/operations/childAvailabilityStatuses.d.ts +0 -81
  153. package/esm/operations/childAvailabilityStatuses.d.ts.map +0 -1
  154. package/esm/operations/childAvailabilityStatuses.js +0 -117
  155. package/esm/operations/childAvailabilityStatuses.js.map +0 -1
  156. package/esm/operations/childResources.d.ts +0 -57
  157. package/esm/operations/childResources.d.ts.map +0 -1
  158. package/esm/operations/childResources.js +0 -87
  159. package/esm/operations/childResources.js.map +0 -1
  160. package/esm/operations/emergingIssues.d.ts +0 -61
  161. package/esm/operations/emergingIssues.d.ts.map +0 -1
  162. package/esm/operations/emergingIssues.js +0 -106
  163. package/esm/operations/emergingIssues.js.map +0 -1
  164. package/esm/operations/index.d.ts.map +0 -1
  165. package/esm/operations/index.js.map +0 -1
  166. package/esm/operations/operations.d.ts +0 -28
  167. package/esm/operations/operations.d.ts.map +0 -1
  168. package/esm/operations/operations.js +0 -50
  169. package/esm/operations/operations.js.map +0 -1
  170. package/src/models/availabilityStatusesMappers.ts +0 -19
  171. package/src/models/childAvailabilityStatusesMappers.ts +0 -19
  172. package/src/models/childResourcesMappers.ts +0 -19
  173. package/src/models/emergingIssuesMappers.ts +0 -22
@@ -1,117 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is
7
- * regenerated.
8
- */
9
- import * as msRest from "@azure/ms-rest-js";
10
- import * as Mappers from "../models/childAvailabilityStatusesMappers";
11
- import * as Parameters from "../models/parameters";
12
- /** Class representing a ChildAvailabilityStatuses. */
13
- var ChildAvailabilityStatuses = /** @class */ (function () {
14
- /**
15
- * Create a ChildAvailabilityStatuses.
16
- * @param {MicrosoftResourceHealthContext} client Reference to the service client.
17
- */
18
- function ChildAvailabilityStatuses(client) {
19
- this.client = client;
20
- }
21
- ChildAvailabilityStatuses.prototype.getByResource = function (resourceUri, options, callback) {
22
- return this.client.sendOperationRequest({
23
- resourceUri: resourceUri,
24
- options: options
25
- }, getByResourceOperationSpec, callback);
26
- };
27
- ChildAvailabilityStatuses.prototype.list = function (resourceUri, options, callback) {
28
- return this.client.sendOperationRequest({
29
- resourceUri: resourceUri,
30
- options: options
31
- }, listOperationSpec, callback);
32
- };
33
- ChildAvailabilityStatuses.prototype.listNext = function (nextPageLink, options, callback) {
34
- return this.client.sendOperationRequest({
35
- nextPageLink: nextPageLink,
36
- options: options
37
- }, listNextOperationSpec, callback);
38
- };
39
- return ChildAvailabilityStatuses;
40
- }());
41
- export { ChildAvailabilityStatuses };
42
- // Operation Specifications
43
- var serializer = new msRest.Serializer(Mappers);
44
- var getByResourceOperationSpec = {
45
- httpMethod: "GET",
46
- path: "{resourceUri}/providers/Microsoft.ResourceHealth/childAvailabilityStatuses/current",
47
- urlParameters: [
48
- Parameters.resourceUri
49
- ],
50
- queryParameters: [
51
- Parameters.apiVersion,
52
- Parameters.filter,
53
- Parameters.expand
54
- ],
55
- headerParameters: [
56
- Parameters.acceptLanguage
57
- ],
58
- responses: {
59
- 200: {
60
- bodyMapper: Mappers.AvailabilityStatus
61
- },
62
- default: {
63
- bodyMapper: Mappers.ErrorResponse
64
- }
65
- },
66
- serializer: serializer
67
- };
68
- var listOperationSpec = {
69
- httpMethod: "GET",
70
- path: "{resourceUri}/providers/Microsoft.ResourceHealth/childAvailabilityStatuses",
71
- urlParameters: [
72
- Parameters.resourceUri
73
- ],
74
- queryParameters: [
75
- Parameters.apiVersion,
76
- Parameters.filter,
77
- Parameters.expand
78
- ],
79
- headerParameters: [
80
- Parameters.acceptLanguage
81
- ],
82
- responses: {
83
- 200: {
84
- bodyMapper: Mappers.AvailabilityStatusListResult
85
- },
86
- default: {
87
- bodyMapper: Mappers.ErrorResponse
88
- }
89
- },
90
- serializer: serializer
91
- };
92
- var listNextOperationSpec = {
93
- httpMethod: "GET",
94
- baseUrl: "https://management.azure.com",
95
- path: "{nextLink}",
96
- urlParameters: [
97
- Parameters.nextPageLink
98
- ],
99
- queryParameters: [
100
- Parameters.apiVersion,
101
- Parameters.filter,
102
- Parameters.expand
103
- ],
104
- headerParameters: [
105
- Parameters.acceptLanguage
106
- ],
107
- responses: {
108
- 200: {
109
- bodyMapper: Mappers.AvailabilityStatusListResult
110
- },
111
- default: {
112
- bodyMapper: Mappers.ErrorResponse
113
- }
114
- },
115
- serializer: serializer
116
- };
117
- //# sourceMappingURL=childAvailabilityStatuses.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"childAvailabilityStatuses.js","sourceRoot":"","sources":["../../src/operations/childAvailabilityStatuses.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,4CAA4C,CAAC;AACtE,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,sDAAsD;AACtD;IAGE;;;OAGG;IACH,mCAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;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,KAAK;IACjB,IAAI,EAAE,4EAA4E;IAClF,aAAa,EAAE;QACb,UAAU,CAAC,WAAW;KACvB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,MAAM;KAClB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,4BAA4B;SACjD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,qBAAqB,GAAyB;IAClD,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,MAAM;KAClB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,4BAA4B;SACjD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,57 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as Models from "../models";
3
- import { MicrosoftResourceHealthContext } from "../microsoftResourceHealthContext";
4
- /** Class representing a ChildResources. */
5
- export declare class ChildResources {
6
- private readonly client;
7
- /**
8
- * Create a ChildResources.
9
- * @param {MicrosoftResourceHealthContext} client Reference to the service client.
10
- */
11
- constructor(client: MicrosoftResourceHealthContext);
12
- /**
13
- * Lists the all the children and its current health status for a parent resource. Use the nextLink
14
- * property in the response to get the next page of children current health
15
- * @param resourceUri The fully qualified ID of the resource, including the resource name and
16
- * resource type. Currently the API only support not nested parent resource type:
17
- * /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
18
- * @param [options] The optional parameters
19
- * @returns Promise<Models.ChildResourcesListResponse>
20
- */
21
- list(resourceUri: string, options?: Models.ChildResourcesListOptionalParams): Promise<Models.ChildResourcesListResponse>;
22
- /**
23
- * @param resourceUri The fully qualified ID of the resource, including the resource name and
24
- * resource type. Currently the API only support not nested parent resource type:
25
- * /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
26
- * @param callback The callback
27
- */
28
- list(resourceUri: string, callback: msRest.ServiceCallback<Models.AvailabilityStatusListResult>): void;
29
- /**
30
- * @param resourceUri The fully qualified ID of the resource, including the resource name and
31
- * resource type. Currently the API only support not nested parent resource type:
32
- * /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
33
- * @param options The optional parameters
34
- * @param callback The callback
35
- */
36
- list(resourceUri: string, options: Models.ChildResourcesListOptionalParams, callback: msRest.ServiceCallback<Models.AvailabilityStatusListResult>): void;
37
- /**
38
- * Lists the all the children and its current health status for a parent resource. Use the nextLink
39
- * property in the response to get the next page of children current health
40
- * @param nextPageLink The NextLink from the previous successful call to List operation.
41
- * @param [options] The optional parameters
42
- * @returns Promise<Models.ChildResourcesListNextResponse>
43
- */
44
- listNext(nextPageLink: string, options?: Models.ChildResourcesListNextOptionalParams): Promise<Models.ChildResourcesListNextResponse>;
45
- /**
46
- * @param nextPageLink The NextLink from the previous successful call to List operation.
47
- * @param callback The callback
48
- */
49
- listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.AvailabilityStatusListResult>): void;
50
- /**
51
- * @param nextPageLink The NextLink from the previous successful call to List operation.
52
- * @param options The optional parameters
53
- * @param callback The callback
54
- */
55
- listNext(nextPageLink: string, options: Models.ChildResourcesListNextOptionalParams, callback: msRest.ServiceCallback<Models.AvailabilityStatusListResult>): void;
56
- }
57
- //# sourceMappingURL=childResources.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"childResources.d.ts","sourceRoot":"","sources":["../../src/operations/childResources.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AAEnF,2CAA2C;AAC3C,qBAAa,cAAc;IACzB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiC;IAExD;;;OAGG;gBACS,MAAM,EAAE,8BAA8B;IAIlD;;;;;;;;OAQG;IACH,IAAI,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,gCAAgC,GAAG,OAAO,CAAC,MAAM,CAAC,0BAA0B,CAAC;IACxH;;;;;OAKG;IACH,IAAI,CAAC,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,4BAA4B,CAAC,GAAG,IAAI;IACtG;;;;;;OAMG;IACH,IAAI,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,gCAAgC,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,4BAA4B,CAAC,GAAG,IAAI;IAWxJ;;;;;;OAMG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,oCAAoC,GAAG,OAAO,CAAC,MAAM,CAAC,8BAA8B,CAAC;IACrI;;;OAGG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,4BAA4B,CAAC,GAAG,IAAI;IAC3G;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,oCAAoC,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,4BAA4B,CAAC,GAAG,IAAI;CAUlK"}
@@ -1,87 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is
7
- * regenerated.
8
- */
9
- import * as msRest from "@azure/ms-rest-js";
10
- import * as Mappers from "../models/childResourcesMappers";
11
- import * as Parameters from "../models/parameters";
12
- /** Class representing a ChildResources. */
13
- var ChildResources = /** @class */ (function () {
14
- /**
15
- * Create a ChildResources.
16
- * @param {MicrosoftResourceHealthContext} client Reference to the service client.
17
- */
18
- function ChildResources(client) {
19
- this.client = client;
20
- }
21
- ChildResources.prototype.list = function (resourceUri, options, callback) {
22
- return this.client.sendOperationRequest({
23
- resourceUri: resourceUri,
24
- options: options
25
- }, listOperationSpec, callback);
26
- };
27
- ChildResources.prototype.listNext = function (nextPageLink, options, callback) {
28
- return this.client.sendOperationRequest({
29
- nextPageLink: nextPageLink,
30
- options: options
31
- }, listNextOperationSpec, callback);
32
- };
33
- return ChildResources;
34
- }());
35
- export { ChildResources };
36
- // Operation Specifications
37
- var serializer = new msRest.Serializer(Mappers);
38
- var listOperationSpec = {
39
- httpMethod: "GET",
40
- path: "{resourceUri}/providers/Microsoft.ResourceHealth/childResources",
41
- urlParameters: [
42
- Parameters.resourceUri
43
- ],
44
- queryParameters: [
45
- Parameters.apiVersion,
46
- Parameters.filter,
47
- Parameters.expand
48
- ],
49
- headerParameters: [
50
- Parameters.acceptLanguage
51
- ],
52
- responses: {
53
- 200: {
54
- bodyMapper: Mappers.AvailabilityStatusListResult
55
- },
56
- default: {
57
- bodyMapper: Mappers.ErrorResponse
58
- }
59
- },
60
- serializer: serializer
61
- };
62
- var listNextOperationSpec = {
63
- httpMethod: "GET",
64
- baseUrl: "https://management.azure.com",
65
- path: "{nextLink}",
66
- urlParameters: [
67
- Parameters.nextPageLink
68
- ],
69
- queryParameters: [
70
- Parameters.apiVersion,
71
- Parameters.filter,
72
- Parameters.expand
73
- ],
74
- headerParameters: [
75
- Parameters.acceptLanguage
76
- ],
77
- responses: {
78
- 200: {
79
- bodyMapper: Mappers.AvailabilityStatusListResult
80
- },
81
- default: {
82
- bodyMapper: Mappers.ErrorResponse
83
- }
84
- },
85
- serializer: serializer
86
- };
87
- //# sourceMappingURL=childResources.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"childResources.js","sourceRoot":"","sources":["../../src/operations/childResources.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,iCAAiC,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,2CAA2C;AAC3C;IAGE;;;OAGG;IACH,wBAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IA2BD,6BAAI,GAAJ,UAAK,WAAmB,EAAE,OAA+G,EAAE,QAAsE;QAC/M,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,WAAW,aAAA;YACX,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CAA+C,CAAC;IAC5D,CAAC;IAqBD,iCAAQ,GAAR,UAAS,YAAoB,EAAE,OAAmH,EAAE,QAAsE;QACxN,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,YAAY,cAAA;YACZ,OAAO,SAAA;SACR,EACD,qBAAqB,EACrB,QAAQ,CAAmD,CAAC;IAChE,CAAC;IACH,qBAAC;AAAD,CAAC,AA1ED,IA0EC;;AAED,2BAA2B;AAC3B,IAAM,UAAU,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;AAClD,IAAM,iBAAiB,GAAyB;IAC9C,UAAU,EAAE,KAAK;IACjB,IAAI,EAAE,iEAAiE;IACvE,aAAa,EAAE;QACb,UAAU,CAAC,WAAW;KACvB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,MAAM;KAClB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,4BAA4B;SACjD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,qBAAqB,GAAyB;IAClD,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,MAAM;KAClB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,4BAA4B;SACjD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,61 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as Models from "../models";
3
- import { MicrosoftResourceHealthContext } from "../microsoftResourceHealthContext";
4
- /** Class representing a EmergingIssues. */
5
- export declare class EmergingIssues {
6
- private readonly client;
7
- /**
8
- * Create a EmergingIssues.
9
- * @param {MicrosoftResourceHealthContext} client Reference to the service client.
10
- */
11
- constructor(client: MicrosoftResourceHealthContext);
12
- /**
13
- * Gets Azure services' emerging issues.
14
- * @param [options] The optional parameters
15
- * @returns Promise<Models.EmergingIssuesGetResponse>
16
- */
17
- get(options?: msRest.RequestOptionsBase): Promise<Models.EmergingIssuesGetResponse>;
18
- /**
19
- * @param callback The callback
20
- */
21
- get(callback: msRest.ServiceCallback<Models.EmergingIssuesGetResult>): void;
22
- /**
23
- * @param options The optional parameters
24
- * @param callback The callback
25
- */
26
- get(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.EmergingIssuesGetResult>): void;
27
- /**
28
- * Lists Azure services' emerging issues.
29
- * @param [options] The optional parameters
30
- * @returns Promise<Models.EmergingIssuesListResponse>
31
- */
32
- list(options?: msRest.RequestOptionsBase): Promise<Models.EmergingIssuesListResponse>;
33
- /**
34
- * @param callback The callback
35
- */
36
- list(callback: msRest.ServiceCallback<Models.EmergingIssueListResult>): void;
37
- /**
38
- * @param options The optional parameters
39
- * @param callback The callback
40
- */
41
- list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.EmergingIssueListResult>): void;
42
- /**
43
- * Lists Azure services' emerging issues.
44
- * @param nextPageLink The NextLink from the previous successful call to List operation.
45
- * @param [options] The optional parameters
46
- * @returns Promise<Models.EmergingIssuesListNextResponse>
47
- */
48
- listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.EmergingIssuesListNextResponse>;
49
- /**
50
- * @param nextPageLink The NextLink from the previous successful call to List operation.
51
- * @param callback The callback
52
- */
53
- listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.EmergingIssueListResult>): void;
54
- /**
55
- * @param nextPageLink The NextLink from the previous successful call to List operation.
56
- * @param options The optional parameters
57
- * @param callback The callback
58
- */
59
- listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.EmergingIssueListResult>): void;
60
- }
61
- //# sourceMappingURL=emergingIssues.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"emergingIssues.d.ts","sourceRoot":"","sources":["../../src/operations/emergingIssues.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC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AM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,uBAAuB,CAAC,GAAG,IAAI;CAU3I"}
@@ -1,106 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is
7
- * regenerated.
8
- */
9
- import * as msRest from "@azure/ms-rest-js";
10
- import * as Mappers from "../models/emergingIssuesMappers";
11
- import * as Parameters from "../models/parameters";
12
- /** Class representing a EmergingIssues. */
13
- var EmergingIssues = /** @class */ (function () {
14
- /**
15
- * Create a EmergingIssues.
16
- * @param {MicrosoftResourceHealthContext} client Reference to the service client.
17
- */
18
- function EmergingIssues(client) {
19
- this.client = client;
20
- }
21
- EmergingIssues.prototype.get = function (options, callback) {
22
- return this.client.sendOperationRequest({
23
- options: options
24
- }, getOperationSpec, callback);
25
- };
26
- EmergingIssues.prototype.list = function (options, callback) {
27
- return this.client.sendOperationRequest({
28
- options: options
29
- }, listOperationSpec, callback);
30
- };
31
- EmergingIssues.prototype.listNext = function (nextPageLink, options, callback) {
32
- return this.client.sendOperationRequest({
33
- nextPageLink: nextPageLink,
34
- options: options
35
- }, listNextOperationSpec, callback);
36
- };
37
- return EmergingIssues;
38
- }());
39
- export { EmergingIssues };
40
- // Operation Specifications
41
- var serializer = new msRest.Serializer(Mappers);
42
- var getOperationSpec = {
43
- httpMethod: "GET",
44
- path: "providers/Microsoft.ResourceHealth/emergingIssues/{issueName}",
45
- urlParameters: [
46
- Parameters.issueName
47
- ],
48
- queryParameters: [
49
- Parameters.apiVersion
50
- ],
51
- headerParameters: [
52
- Parameters.acceptLanguage
53
- ],
54
- responses: {
55
- 200: {
56
- bodyMapper: Mappers.EmergingIssuesGetResult
57
- },
58
- default: {
59
- bodyMapper: Mappers.ErrorResponse
60
- }
61
- },
62
- serializer: serializer
63
- };
64
- var listOperationSpec = {
65
- httpMethod: "GET",
66
- path: "providers/Microsoft.ResourceHealth/emergingIssues",
67
- queryParameters: [
68
- Parameters.apiVersion
69
- ],
70
- headerParameters: [
71
- Parameters.acceptLanguage
72
- ],
73
- responses: {
74
- 200: {
75
- bodyMapper: Mappers.EmergingIssueListResult
76
- },
77
- default: {
78
- bodyMapper: Mappers.ErrorResponse
79
- }
80
- },
81
- serializer: serializer
82
- };
83
- var listNextOperationSpec = {
84
- httpMethod: "GET",
85
- baseUrl: "https://management.azure.com",
86
- path: "{nextLink}",
87
- urlParameters: [
88
- Parameters.nextPageLink
89
- ],
90
- queryParameters: [
91
- Parameters.apiVersion
92
- ],
93
- headerParameters: [
94
- Parameters.acceptLanguage
95
- ],
96
- responses: {
97
- 200: {
98
- bodyMapper: Mappers.EmergingIssueListResult
99
- },
100
- default: {
101
- bodyMapper: Mappers.ErrorResponse
102
- }
103
- },
104
- serializer: serializer
105
- };
106
- //# sourceMappingURL=emergingIssues.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"emergingIssues.js","sourceRoot":"","sources":["../../src/operations/emergingIssues.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,iCAAiC,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,2CAA2C;AAC3C;IAGE;;;OAGG;IACH,wBAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAiBD,4BAAG,GAAH,UAAI,OAA4F,EAAE,QAAiE;QACjK,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,OAAO,SAAA;SACR,EACD,gBAAgB,EAChB,QAAQ,CAA8C,CAAC;IAC3D,CAAC;IAiBD,6BAAI,GAAJ,UAAK,OAA4F,EAAE,QAAiE;QAClK,OAAO,IAAI,CAAC,M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AAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AASA,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC"}
@@ -1,28 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as Models from "../models";
3
- import { MicrosoftResourceHealthContext } from "../microsoftResourceHealthContext";
4
- /** Class representing a Operations. */
5
- export declare class Operations {
6
- private readonly client;
7
- /**
8
- * Create a Operations.
9
- * @param {MicrosoftResourceHealthContext} client Reference to the service client.
10
- */
11
- constructor(client: MicrosoftResourceHealthContext);
12
- /**
13
- * Lists available operations for the resourcehealth resource provider
14
- * @param [options] The optional parameters
15
- * @returns Promise<Models.OperationsListResponse>
16
- */
17
- list(options?: msRest.RequestOptionsBase): Promise<Models.OperationsListResponse>;
18
- /**
19
- * @param callback The callback
20
- */
21
- list(callback: msRest.ServiceCallback<Models.OperationListResult>): void;
22
- /**
23
- * @param options The optional parameters
24
- * @param callback The callback
25
- */
26
- list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OperationListResult>): void;
27
- }
28
- //# sourceMappingURL=operations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../src/operations/operations.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AAEnF,uCAAuC;AACvC,qBAAa,UAAU;IACrB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiC;IAExD;;;OAGG;gBACS,MAAM,EAAE,8BAA8B;IAIlD;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,sBAAsB,CAAC;IACjF;;OAEG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;IACxE;;;OAGG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI;CAS7G"}
@@ -1,50 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is
7
- * regenerated.
8
- */
9
- import * as msRest from "@azure/ms-rest-js";
10
- import * as Mappers from "../models/operationsMappers";
11
- import * as Parameters from "../models/parameters";
12
- /** Class representing a Operations. */
13
- var Operations = /** @class */ (function () {
14
- /**
15
- * Create a Operations.
16
- * @param {MicrosoftResourceHealthContext} client Reference to the service client.
17
- */
18
- function Operations(client) {
19
- this.client = client;
20
- }
21
- Operations.prototype.list = function (options, callback) {
22
- return this.client.sendOperationRequest({
23
- options: options
24
- }, listOperationSpec, callback);
25
- };
26
- return Operations;
27
- }());
28
- export { Operations };
29
- // Operation Specifications
30
- var serializer = new msRest.Serializer(Mappers);
31
- var listOperationSpec = {
32
- httpMethod: "GET",
33
- path: "providers/Microsoft.ResourceHealth/operations",
34
- queryParameters: [
35
- Parameters.apiVersion
36
- ],
37
- headerParameters: [
38
- Parameters.acceptLanguage
39
- ],
40
- responses: {
41
- 200: {
42
- bodyMapper: Mappers.OperationListResult
43
- },
44
- default: {
45
- bodyMapper: Mappers.ErrorResponse
46
- }
47
- },
48
- serializer: serializer
49
- };
50
- //# sourceMappingURL=operations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,uCAAuC;AACvC;IAGE;;;OAGG;IACH,oBAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAiBD,yBAAI,GAAJ,UAAK,OAAwF,EAAE,QAA6D;QAC1J,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CAA2C,CAAC;IACxD,CAAC;IACH,iBAAC;AAAD,CAAC,AAlCD,IAkCC;;AAED,2BAA2B;AAC3B,IAAM,UAAU,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;AAClD,IAAM,iBAAiB,GAAyB;IAC9C,UAAU,EAAE,KAAK;IACjB,IAAI,EAAE,+CAA+C;IACrD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,19 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- export {
10
- AvailabilityStatus,
11
- AvailabilityStatusListResult,
12
- AvailabilityStatusProperties,
13
- AvailabilityStatusPropertiesRecentlyResolvedState,
14
- ErrorResponse,
15
- RecommendedAction,
16
- ServiceImpactingEvent,
17
- ServiceImpactingEventIncidentProperties,
18
- ServiceImpactingEventStatus
19
- } from "../models/mappers";
@@ -1,19 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- export {
10
- AvailabilityStatus,
11
- AvailabilityStatusListResult,
12
- AvailabilityStatusProperties,
13
- AvailabilityStatusPropertiesRecentlyResolvedState,
14
- ErrorResponse,
15
- RecommendedAction,
16
- ServiceImpactingEvent,
17
- ServiceImpactingEventIncidentProperties,
18
- ServiceImpactingEventStatus
19
- } from "../models/mappers";
@@ -1,19 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- export {
10
- AvailabilityStatus,
11
- AvailabilityStatusListResult,
12
- AvailabilityStatusProperties,
13
- AvailabilityStatusPropertiesRecentlyResolvedState,
14
- ErrorResponse,
15
- RecommendedAction,
16
- ServiceImpactingEvent,
17
- ServiceImpactingEventIncidentProperties,
18
- ServiceImpactingEventStatus
19
- } from "../models/mappers";
@@ -1,22 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- export {
10
- AzureEntityResource,
11
- BaseResource,
12
- EmergingIssueImpact,
13
- EmergingIssueListResult,
14
- EmergingIssuesGetResult,
15
- ErrorResponse,
16
- ImpactedRegion,
17
- ProxyResource,
18
- Resource,
19
- StatusActiveEvent,
20
- StatusBanner,
21
- TrackedResource
22
- } from "../models/mappers";