@azure/arm-resourcehealth 1.2.0 → 3.0.0-alpha.20211215.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
@@ -0,0 +1,43 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { ChildResources } from "../operationsInterfaces";
3
+ import { MicrosoftResourceHealthContext } from "../microsoftResourceHealthContext";
4
+ import { AvailabilityStatus, ChildResourcesListOptionalParams } from "../models";
5
+ /** Class containing ChildResources operations. */
6
+ export declare class ChildResourcesImpl implements ChildResources {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class ChildResources class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: MicrosoftResourceHealthContext);
13
+ /**
14
+ * Lists the all the children and its current health status for a parent resource. Use the nextLink
15
+ * property in the response to get the next page of children current health
16
+ * @param resourceUri The fully qualified ID of the resource, including the resource name and resource
17
+ * type. Currently the API only support not nested parent resource type:
18
+ * /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
19
+ * @param options The options parameters.
20
+ */
21
+ list(resourceUri: string, options?: ChildResourcesListOptionalParams): PagedAsyncIterableIterator<AvailabilityStatus>;
22
+ private listPagingPage;
23
+ private listPagingAll;
24
+ /**
25
+ * Lists the all the children and its current health status for a parent resource. Use the nextLink
26
+ * property in the response to get the next page of children current health
27
+ * @param resourceUri The fully qualified ID of the resource, including the resource name and resource
28
+ * type. Currently the API only support not nested parent resource type:
29
+ * /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
30
+ * @param options The options parameters.
31
+ */
32
+ private _list;
33
+ /**
34
+ * ListNext
35
+ * @param resourceUri The fully qualified ID of the resource, including the resource name and resource
36
+ * type. Currently the API only support not nested parent resource type:
37
+ * /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
38
+ * @param nextLink The nextLink from the previous successful call to the List method.
39
+ * @param options The options parameters.
40
+ */
41
+ private _listNext;
42
+ }
43
+ //# sourceMappingURL=childResources.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"childResources.d.ts","sourceRoot":"","sources":["../../../src/operations/childResources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAIzD,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AACnF,OAAO,EACL,kBAAkB,EAElB,gCAAgC,EAGjC,MAAM,WAAW,CAAC;AAGnB,kDAAkD;AAClD,qBAAa,kBAAmB,YAAW,cAAc;IACvD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiC;IAExD;;;OAGG;gBACS,MAAM,EAAE,8BAA8B;IAIlD;;;;;;;OAOG;IACI,IAAI,CACT,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,gCAAgC,GACzC,0BAA0B,CAAC,kBAAkB,CAAC;YAelC,cAAc;YAcd,aAAa;IAS5B;;;;;;;OAOG;IACH,OAAO,CAAC,KAAK;IAUb;;;;;;;OAOG;IACH,OAAO,CAAC,SAAS;CAUlB"}
@@ -0,0 +1,143 @@
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
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing ChildResources operations. */
14
+ export class ChildResourcesImpl {
15
+ /**
16
+ * Initialize a new instance of the class ChildResources class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * Lists the all the children and its current health status for a parent resource. Use the nextLink
24
+ * property in the response to get the next page of children current health
25
+ * @param resourceUri The fully qualified ID of the resource, including the resource name and resource
26
+ * type. Currently the API only support not nested parent resource type:
27
+ * /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
28
+ * @param options The options parameters.
29
+ */
30
+ list(resourceUri, options) {
31
+ const iter = this.listPagingAll(resourceUri, options);
32
+ return {
33
+ next() {
34
+ return iter.next();
35
+ },
36
+ [Symbol.asyncIterator]() {
37
+ return this;
38
+ },
39
+ byPage: () => {
40
+ return this.listPagingPage(resourceUri, options);
41
+ }
42
+ };
43
+ }
44
+ listPagingPage(resourceUri, options) {
45
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
46
+ let result = yield __await(this._list(resourceUri, options));
47
+ yield yield __await(result.value || []);
48
+ let continuationToken = result.nextLink;
49
+ while (continuationToken) {
50
+ result = yield __await(this._listNext(resourceUri, continuationToken, options));
51
+ continuationToken = result.nextLink;
52
+ yield yield __await(result.value || []);
53
+ }
54
+ });
55
+ }
56
+ listPagingAll(resourceUri, options) {
57
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
58
+ var e_1, _a;
59
+ try {
60
+ for (var _b = __asyncValues(this.listPagingPage(resourceUri, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
61
+ const page = _c.value;
62
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
63
+ }
64
+ }
65
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
66
+ finally {
67
+ try {
68
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
69
+ }
70
+ finally { if (e_1) throw e_1.error; }
71
+ }
72
+ });
73
+ }
74
+ /**
75
+ * Lists the all the children and its current health status for a parent resource. Use the nextLink
76
+ * property in the response to get the next page of children current health
77
+ * @param resourceUri The fully qualified ID of the resource, including the resource name and resource
78
+ * type. Currently the API only support not nested parent resource type:
79
+ * /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
80
+ * @param options The options parameters.
81
+ */
82
+ _list(resourceUri, options) {
83
+ return this.client.sendOperationRequest({ resourceUri, options }, listOperationSpec);
84
+ }
85
+ /**
86
+ * ListNext
87
+ * @param resourceUri The fully qualified ID of the resource, including the resource name and resource
88
+ * type. Currently the API only support not nested parent resource type:
89
+ * /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
90
+ * @param nextLink The nextLink from the previous successful call to the List method.
91
+ * @param options The options parameters.
92
+ */
93
+ _listNext(resourceUri, nextLink, options) {
94
+ return this.client.sendOperationRequest({ resourceUri, nextLink, options }, listNextOperationSpec);
95
+ }
96
+ }
97
+ // Operation Specifications
98
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
99
+ const listOperationSpec = {
100
+ path: "/{resourceUri}/providers/Microsoft.ResourceHealth/childResources",
101
+ httpMethod: "GET",
102
+ responses: {
103
+ 200: {
104
+ bodyMapper: Mappers.AvailabilityStatusListResult
105
+ },
106
+ default: {
107
+ bodyMapper: Mappers.ErrorResponse
108
+ }
109
+ },
110
+ queryParameters: [
111
+ Parameters.apiVersion,
112
+ Parameters.filter,
113
+ Parameters.expand
114
+ ],
115
+ urlParameters: [Parameters.$host, Parameters.resourceUri],
116
+ headerParameters: [Parameters.accept],
117
+ serializer
118
+ };
119
+ const listNextOperationSpec = {
120
+ path: "{nextLink}",
121
+ httpMethod: "GET",
122
+ responses: {
123
+ 200: {
124
+ bodyMapper: Mappers.AvailabilityStatusListResult
125
+ },
126
+ default: {
127
+ bodyMapper: Mappers.ErrorResponse
128
+ }
129
+ },
130
+ queryParameters: [
131
+ Parameters.apiVersion,
132
+ Parameters.filter,
133
+ Parameters.expand
134
+ ],
135
+ urlParameters: [
136
+ Parameters.$host,
137
+ Parameters.resourceUri,
138
+ Parameters.nextLink
139
+ ],
140
+ headerParameters: [Parameters.accept],
141
+ serializer
142
+ };
143
+ //# sourceMappingURL=childResources.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"childResources.js","sourceRoot":"","sources":["../../../src/operations/childResources.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,37 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { EmergingIssues } from "../operationsInterfaces";
3
+ import { MicrosoftResourceHealthContext } from "../microsoftResourceHealthContext";
4
+ import { EmergingIssuesGetResult, EmergingIssuesListOptionalParams, EmergingIssuesGetOptionalParams, EmergingIssuesGetResponse } from "../models";
5
+ /** Class containing EmergingIssues operations. */
6
+ export declare class EmergingIssuesImpl implements EmergingIssues {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class EmergingIssues class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: MicrosoftResourceHealthContext);
13
+ /**
14
+ * Lists Azure services' emerging issues.
15
+ * @param options The options parameters.
16
+ */
17
+ list(options?: EmergingIssuesListOptionalParams): PagedAsyncIterableIterator<EmergingIssuesGetResult>;
18
+ private listPagingPage;
19
+ private listPagingAll;
20
+ /**
21
+ * Gets Azure services' emerging issues.
22
+ * @param options The options parameters.
23
+ */
24
+ get(options?: EmergingIssuesGetOptionalParams): Promise<EmergingIssuesGetResponse>;
25
+ /**
26
+ * Lists Azure services' emerging issues.
27
+ * @param options The options parameters.
28
+ */
29
+ private _list;
30
+ /**
31
+ * ListNext
32
+ * @param nextLink The nextLink from the previous successful call to the List method.
33
+ * @param options The options parameters.
34
+ */
35
+ private _listNext;
36
+ }
37
+ //# sourceMappingURL=emergingIssues.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"emergingIssues.d.ts","sourceRoot":"","sources":["../../../src/operations/emergingIssues.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAIzD,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AACnF,OAAO,EACL,uBAAuB,EAEvB,gCAAgC,EAChC,+BAA+B,EAC/B,yBAAyB,EAG1B,MAAM,WAAW,CAAC;AAGnB,kDAAkD;AAClD,qBAAa,kBAAmB,YAAW,cAAc;IACvD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiC;IAExD;;;OAGG;gBACS,MAAM,EAAE,8BAA8B;IAIlD;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,gCAAgC,GACzC,0BAA0B,CAAC,uBAAuB,CAAC;YAevC,cAAc;YAad,aAAa;IAQ5B;;;OAGG;IACH,GAAG,CACD,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC;IAIrC;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
@@ -0,0 +1,143 @@
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
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing EmergingIssues operations. */
14
+ export class EmergingIssuesImpl {
15
+ /**
16
+ * Initialize a new instance of the class EmergingIssues class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * Lists Azure services' emerging issues.
24
+ * @param options The options parameters.
25
+ */
26
+ list(options) {
27
+ const iter = this.listPagingAll(options);
28
+ return {
29
+ next() {
30
+ return iter.next();
31
+ },
32
+ [Symbol.asyncIterator]() {
33
+ return this;
34
+ },
35
+ byPage: () => {
36
+ return this.listPagingPage(options);
37
+ }
38
+ };
39
+ }
40
+ listPagingPage(options) {
41
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
42
+ let result = yield __await(this._list(options));
43
+ yield yield __await(result.value || []);
44
+ let continuationToken = result.nextLink;
45
+ while (continuationToken) {
46
+ result = yield __await(this._listNext(continuationToken, options));
47
+ continuationToken = result.nextLink;
48
+ yield yield __await(result.value || []);
49
+ }
50
+ });
51
+ }
52
+ listPagingAll(options) {
53
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
54
+ var e_1, _a;
55
+ try {
56
+ for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
57
+ const page = _c.value;
58
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
59
+ }
60
+ }
61
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
62
+ finally {
63
+ try {
64
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
65
+ }
66
+ finally { if (e_1) throw e_1.error; }
67
+ }
68
+ });
69
+ }
70
+ /**
71
+ * Gets Azure services' emerging issues.
72
+ * @param options The options parameters.
73
+ */
74
+ get(options) {
75
+ return this.client.sendOperationRequest({ options }, getOperationSpec);
76
+ }
77
+ /**
78
+ * Lists Azure services' emerging issues.
79
+ * @param options The options parameters.
80
+ */
81
+ _list(options) {
82
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
83
+ }
84
+ /**
85
+ * ListNext
86
+ * @param nextLink The nextLink from the previous successful call to the List method.
87
+ * @param options The options parameters.
88
+ */
89
+ _listNext(nextLink, options) {
90
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
91
+ }
92
+ }
93
+ // Operation Specifications
94
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
95
+ const getOperationSpec = {
96
+ path: "/providers/Microsoft.ResourceHealth/emergingIssues/{issueName}",
97
+ httpMethod: "GET",
98
+ responses: {
99
+ 200: {
100
+ bodyMapper: Mappers.EmergingIssuesGetResult
101
+ },
102
+ default: {
103
+ bodyMapper: Mappers.ErrorResponse
104
+ }
105
+ },
106
+ queryParameters: [Parameters.apiVersion],
107
+ urlParameters: [Parameters.$host, Parameters.issueName],
108
+ headerParameters: [Parameters.accept],
109
+ serializer
110
+ };
111
+ const listOperationSpec = {
112
+ path: "/providers/Microsoft.ResourceHealth/emergingIssues",
113
+ httpMethod: "GET",
114
+ responses: {
115
+ 200: {
116
+ bodyMapper: Mappers.EmergingIssueListResult
117
+ },
118
+ default: {
119
+ bodyMapper: Mappers.ErrorResponse
120
+ }
121
+ },
122
+ queryParameters: [Parameters.apiVersion],
123
+ urlParameters: [Parameters.$host],
124
+ headerParameters: [Parameters.accept],
125
+ serializer
126
+ };
127
+ const listNextOperationSpec = {
128
+ path: "{nextLink}",
129
+ httpMethod: "GET",
130
+ responses: {
131
+ 200: {
132
+ bodyMapper: Mappers.EmergingIssueListResult
133
+ },
134
+ default: {
135
+ bodyMapper: Mappers.ErrorResponse
136
+ }
137
+ },
138
+ queryParameters: [Parameters.apiVersion],
139
+ urlParameters: [Parameters.$host, Parameters.nextLink],
140
+ headerParameters: [Parameters.accept],
141
+ serializer
142
+ };
143
+ //# sourceMappingURL=emergingIssues.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"emergingIssues.js","sourceRoot":"","sources":["../../../src/operations/emergingIssues.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,6 @@
1
+ export * from "./availabilityStatuses";
2
+ export * from "./childAvailabilityStatuses";
3
+ export * from "./childResources";
4
+ export * from "./operations";
5
+ export * from "./emergingIssues";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,13 @@
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
+ export * from "./availabilityStatuses";
9
+ export * from "./childAvailabilityStatuses";
10
+ export * from "./childResources";
11
+ export * from "./operations";
12
+ export * from "./emergingIssues";
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { Operations } from "../operationsInterfaces";
2
+ import { MicrosoftResourceHealthContext } from "../microsoftResourceHealthContext";
3
+ import { OperationsListOptionalParams, OperationsListResponse } from "../models";
4
+ /** Class containing Operations operations. */
5
+ export declare class OperationsImpl implements Operations {
6
+ private readonly client;
7
+ /**
8
+ * Initialize a new instance of the class Operations class.
9
+ * @param 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 options parameters.
15
+ */
16
+ list(options?: OperationsListOptionalParams): Promise<OperationsListResponse>;
17
+ }
18
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAIrD,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AACnF,OAAO,EACL,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,WAAW,CAAC;AAEnB,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiC;IAExD;;;OAGG;gBACS,MAAM,EAAE,8BAA8B;IAIlD;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;CAGnC"}
@@ -0,0 +1,46 @@
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
+ import * as coreClient from "@azure/core-client";
9
+ import * as Mappers from "../models/mappers";
10
+ import * as Parameters from "../models/parameters";
11
+ /** Class containing Operations operations. */
12
+ export class OperationsImpl {
13
+ /**
14
+ * Initialize a new instance of the class Operations class.
15
+ * @param client Reference to the service client
16
+ */
17
+ constructor(client) {
18
+ this.client = client;
19
+ }
20
+ /**
21
+ * Lists available operations for the resourcehealth resource provider
22
+ * @param options The options parameters.
23
+ */
24
+ list(options) {
25
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
26
+ }
27
+ }
28
+ // Operation Specifications
29
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
30
+ const listOperationSpec = {
31
+ path: "/providers/Microsoft.ResourceHealth/operations",
32
+ httpMethod: "GET",
33
+ responses: {
34
+ 200: {
35
+ bodyMapper: Mappers.OperationListResult
36
+ },
37
+ default: {
38
+ bodyMapper: Mappers.ErrorResponse
39
+ }
40
+ },
41
+ queryParameters: [Parameters.apiVersion],
42
+ urlParameters: [Parameters.$host],
43
+ headerParameters: [Parameters.accept],
44
+ serializer
45
+ };
46
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAOnD,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACH,IAAI,CACF,OAAsC;QAEtC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB,CAAC,CAAC;IAC1E,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,gDAAgD;IACtD,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,40 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { AvailabilityStatus, AvailabilityStatusesListBySubscriptionIdOptionalParams, AvailabilityStatusesListByResourceGroupOptionalParams, AvailabilityStatusesListOptionalParams, AvailabilityStatusesGetByResourceOptionalParams, AvailabilityStatusesGetByResourceResponse } from "../models";
3
+ /** Interface representing a AvailabilityStatuses. */
4
+ export interface AvailabilityStatuses {
5
+ /**
6
+ * Lists the current availability status for all the resources in the subscription. Use the nextLink
7
+ * property in the response to get the next page of availability statuses.
8
+ * @param options The options parameters.
9
+ */
10
+ listBySubscriptionId(options?: AvailabilityStatusesListBySubscriptionIdOptionalParams): PagedAsyncIterableIterator<AvailabilityStatus>;
11
+ /**
12
+ * Lists the current availability status for all the resources in the resource group. Use the nextLink
13
+ * property in the response to get the next page of availability statuses.
14
+ * @param resourceGroupName The name of the resource group.
15
+ * @param options The options parameters.
16
+ */
17
+ listByResourceGroup(resourceGroupName: string, options?: AvailabilityStatusesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AvailabilityStatus>;
18
+ /**
19
+ * Lists all historical availability transitions and impacting events for a single resource. Use the
20
+ * nextLink property in the response to get the next page of availability status
21
+ * @param resourceUri The fully qualified ID of the resource, including the resource name and resource
22
+ * type. Currently the API support not nested and one nesting level resource types :
23
+ * /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
24
+ * and
25
+ * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}
26
+ * @param options The options parameters.
27
+ */
28
+ list(resourceUri: string, options?: AvailabilityStatusesListOptionalParams): PagedAsyncIterableIterator<AvailabilityStatus>;
29
+ /**
30
+ * Gets current availability status for a single resource
31
+ * @param resourceUri The fully qualified ID of the resource, including the resource name and resource
32
+ * type. Currently the API support not nested and one nesting level resource types :
33
+ * /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
34
+ * and
35
+ * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}
36
+ * @param options The options parameters.
37
+ */
38
+ getByResource(resourceUri: string, options?: AvailabilityStatusesGetByResourceOptionalParams): Promise<AvailabilityStatusesGetByResourceResponse>;
39
+ }
40
+ //# sourceMappingURL=availabilityStatuses.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"availabilityStatuses.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/availabilityStatuses.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,kBAAkB,EAClB,sDAAsD,EACtD,qDAAqD,EACrD,sCAAsC,EACtC,+CAA+C,EAC/C,yCAAyC,EAC1C,MAAM,WAAW,CAAC;AAGnB,qDAAqD;AACrD,MAAM,WAAW,oBAAoB;IACnC;;;;OAIG;IACH,oBAAoB,CAClB,OAAO,CAAC,EAAE,sDAAsD,GAC/D,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;IAClD;;;;;OAKG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,qDAAqD,GAC9D,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;IAClD;;;;;;;;;OASG;IACH,IAAI,CACF,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;IAClD;;;;;;;;OAQG;IACH,aAAa,CACX,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC,CAAC;CACvD"}
@@ -0,0 +1,9 @@
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
+ export {};
9
+ //# sourceMappingURL=availabilityStatuses.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"availabilityStatuses.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/availabilityStatuses.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,23 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { AvailabilityStatus, ChildAvailabilityStatusesListOptionalParams, ChildAvailabilityStatusesGetByResourceOptionalParams, ChildAvailabilityStatusesGetByResourceResponse } from "../models";
3
+ /** Interface representing a ChildAvailabilityStatuses. */
4
+ export interface ChildAvailabilityStatuses {
5
+ /**
6
+ * Lists the historical availability statuses for a single child resource. Use the nextLink property in
7
+ * the response to get the next page of availability status
8
+ * @param resourceUri The fully qualified ID of the resource, including the resource name and resource
9
+ * type. Currently the API only support one nesting level resource types :
10
+ * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}
11
+ * @param options The options parameters.
12
+ */
13
+ list(resourceUri: string, options?: ChildAvailabilityStatusesListOptionalParams): PagedAsyncIterableIterator<AvailabilityStatus>;
14
+ /**
15
+ * Gets current availability status for a single resource
16
+ * @param resourceUri The fully qualified ID of the resource, including the resource name and resource
17
+ * type. Currently the API only support one nesting level resource types :
18
+ * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}
19
+ * @param options The options parameters.
20
+ */
21
+ getByResource(resourceUri: string, options?: ChildAvailabilityStatusesGetByResourceOptionalParams): Promise<ChildAvailabilityStatusesGetByResourceResponse>;
22
+ }
23
+ //# sourceMappingURL=childAvailabilityStatuses.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"childAvailabilityStatuses.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/childAvailabilityStatuses.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,kBAAkB,EAClB,2CAA2C,EAC3C,oDAAoD,EACpD,8CAA8C,EAC/C,MAAM,WAAW,CAAC;AAGnB,0DAA0D;AAC1D,MAAM,WAAW,yBAAyB;IACxC;;;;;;;OAOG;IACH,IAAI,CACF,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,2CAA2C,GACpD,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;IAClD;;;;;;OAMG;IACH,aAAa,CACX,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,oDAAoD,GAC7D,OAAO,CAAC,8CAA8C,CAAC,CAAC;CAC5D"}
@@ -0,0 +1,9 @@
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
+ export {};
9
+ //# sourceMappingURL=childAvailabilityStatuses.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"childAvailabilityStatuses.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/childAvailabilityStatuses.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,15 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { AvailabilityStatus, ChildResourcesListOptionalParams } from "../models";
3
+ /** Interface representing a ChildResources. */
4
+ export interface ChildResources {
5
+ /**
6
+ * Lists the all the children and its current health status for a parent resource. Use the nextLink
7
+ * property in the response to get the next page of children current health
8
+ * @param resourceUri The fully qualified ID of the resource, including the resource name and resource
9
+ * type. Currently the API only support not nested parent resource type:
10
+ * /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name}
11
+ * @param options The options parameters.
12
+ */
13
+ list(resourceUri: string, options?: ChildResourcesListOptionalParams): PagedAsyncIterableIterator<AvailabilityStatus>;
14
+ }
15
+ //# sourceMappingURL=childResources.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"childResources.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/childResources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,kBAAkB,EAClB,gCAAgC,EACjC,MAAM,WAAW,CAAC;AAGnB,+CAA+C;AAC/C,MAAM,WAAW,cAAc;IAC7B;;;;;;;OAOG;IACH,IAAI,CACF,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,gCAAgC,GACzC,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;CACnD"}
@@ -0,0 +1,9 @@
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
+ export {};
9
+ //# sourceMappingURL=childResources.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"childResources.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/childResources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}