@azure/arm-resourcehealth 3.2.1-alpha.20230522.1 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (189) hide show
  1. package/CHANGELOG.md +111 -8
  2. package/dist/index.js +2621 -386
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/availabilityStatusesGetByResourceSample.js +1 -1
  7. package/dist-esm/samples-dev/availabilityStatusesListByResourceGroupSample.js +3 -3
  8. package/dist-esm/samples-dev/availabilityStatusesListBySubscriptionIdSample.js +3 -3
  9. package/dist-esm/samples-dev/availabilityStatusesListSample.js +3 -3
  10. package/dist-esm/samples-dev/childAvailabilityStatusesGetByResourceSample.js +4 -4
  11. package/dist-esm/samples-dev/childAvailabilityStatusesGetByResourceSample.js.map +1 -1
  12. package/dist-esm/samples-dev/childAvailabilityStatusesListSample.js +4 -4
  13. package/dist-esm/samples-dev/childAvailabilityStatusesListSample.js.map +1 -1
  14. package/dist-esm/samples-dev/childResourcesListSample.js +3 -3
  15. package/dist-esm/samples-dev/childResourcesListSample.js.map +1 -1
  16. package/dist-esm/samples-dev/emergingIssuesGetSample.js +3 -2
  17. package/dist-esm/samples-dev/emergingIssuesGetSample.js.map +1 -1
  18. package/dist-esm/samples-dev/emergingIssuesListSample.js +1 -1
  19. package/dist-esm/samples-dev/eventFetchDetailsBySubscriptionIdAndTrackingIdSample.d.ts +2 -0
  20. package/dist-esm/samples-dev/eventFetchDetailsBySubscriptionIdAndTrackingIdSample.d.ts.map +1 -0
  21. package/dist-esm/samples-dev/eventFetchDetailsBySubscriptionIdAndTrackingIdSample.js +37 -0
  22. package/dist-esm/samples-dev/eventFetchDetailsBySubscriptionIdAndTrackingIdSample.js.map +1 -0
  23. package/dist-esm/samples-dev/eventFetchDetailsByTenantIdAndTrackingIdSample.d.ts +2 -0
  24. package/dist-esm/samples-dev/eventFetchDetailsByTenantIdAndTrackingIdSample.d.ts.map +1 -0
  25. package/dist-esm/samples-dev/eventFetchDetailsByTenantIdAndTrackingIdSample.js +38 -0
  26. package/dist-esm/samples-dev/eventFetchDetailsByTenantIdAndTrackingIdSample.js.map +1 -0
  27. package/dist-esm/samples-dev/eventGetBySubscriptionIdAndTrackingIdSample.d.ts +2 -0
  28. package/dist-esm/samples-dev/eventGetBySubscriptionIdAndTrackingIdSample.d.ts.map +1 -0
  29. package/dist-esm/samples-dev/eventGetBySubscriptionIdAndTrackingIdSample.js +43 -0
  30. package/dist-esm/samples-dev/eventGetBySubscriptionIdAndTrackingIdSample.js.map +1 -0
  31. package/dist-esm/samples-dev/eventGetByTenantIdAndTrackingIdSample.d.ts +2 -0
  32. package/dist-esm/samples-dev/eventGetByTenantIdAndTrackingIdSample.d.ts.map +1 -0
  33. package/dist-esm/samples-dev/eventGetByTenantIdAndTrackingIdSample.js +44 -0
  34. package/dist-esm/samples-dev/eventGetByTenantIdAndTrackingIdSample.js.map +1 -0
  35. package/dist-esm/samples-dev/eventsListBySingleResourceSample.d.ts +2 -0
  36. package/dist-esm/samples-dev/eventsListBySingleResourceSample.d.ts.map +1 -0
  37. package/dist-esm/samples-dev/eventsListBySingleResourceSample.js +59 -0
  38. package/dist-esm/samples-dev/eventsListBySingleResourceSample.js.map +1 -0
  39. package/dist-esm/samples-dev/eventsListBySubscriptionIdSample.d.ts +2 -0
  40. package/dist-esm/samples-dev/eventsListBySubscriptionIdSample.d.ts.map +1 -0
  41. package/dist-esm/samples-dev/eventsListBySubscriptionIdSample.js +63 -0
  42. package/dist-esm/samples-dev/eventsListBySubscriptionIdSample.js.map +1 -0
  43. package/dist-esm/samples-dev/eventsListByTenantIdSample.d.ts +2 -0
  44. package/dist-esm/samples-dev/eventsListByTenantIdSample.d.ts.map +1 -0
  45. package/dist-esm/samples-dev/eventsListByTenantIdSample.js +64 -0
  46. package/dist-esm/samples-dev/eventsListByTenantIdSample.js.map +1 -0
  47. package/dist-esm/samples-dev/impactedResourcesGetByTenantIdSample.d.ts +2 -0
  48. package/dist-esm/samples-dev/impactedResourcesGetByTenantIdSample.d.ts.map +1 -0
  49. package/dist-esm/samples-dev/impactedResourcesGetByTenantIdSample.js +39 -0
  50. package/dist-esm/samples-dev/impactedResourcesGetByTenantIdSample.js.map +1 -0
  51. package/dist-esm/samples-dev/impactedResourcesGetSample.d.ts +2 -0
  52. package/dist-esm/samples-dev/impactedResourcesGetSample.d.ts.map +1 -0
  53. package/dist-esm/samples-dev/impactedResourcesGetSample.js +38 -0
  54. package/dist-esm/samples-dev/impactedResourcesGetSample.js.map +1 -0
  55. package/dist-esm/samples-dev/impactedResourcesListBySubscriptionIdAndEventIdSample.d.ts +2 -0
  56. package/dist-esm/samples-dev/impactedResourcesListBySubscriptionIdAndEventIdSample.d.ts.map +1 -0
  57. package/dist-esm/samples-dev/impactedResourcesListBySubscriptionIdAndEventIdSample.js +62 -0
  58. package/dist-esm/samples-dev/impactedResourcesListBySubscriptionIdAndEventIdSample.js.map +1 -0
  59. package/dist-esm/samples-dev/impactedResourcesListByTenantIdAndEventIdSample.d.ts +2 -0
  60. package/dist-esm/samples-dev/impactedResourcesListByTenantIdAndEventIdSample.d.ts.map +1 -0
  61. package/dist-esm/samples-dev/impactedResourcesListByTenantIdAndEventIdSample.js +63 -0
  62. package/dist-esm/samples-dev/impactedResourcesListByTenantIdAndEventIdSample.js.map +1 -0
  63. package/dist-esm/samples-dev/metadataGetEntitySample.d.ts +2 -0
  64. package/dist-esm/samples-dev/metadataGetEntitySample.d.ts.map +1 -0
  65. package/dist-esm/samples-dev/metadataGetEntitySample.js +38 -0
  66. package/dist-esm/samples-dev/metadataGetEntitySample.js.map +1 -0
  67. package/dist-esm/samples-dev/metadataListSample.d.ts +2 -0
  68. package/dist-esm/samples-dev/metadataListSample.d.ts.map +1 -0
  69. package/dist-esm/samples-dev/metadataListSample.js +58 -0
  70. package/dist-esm/samples-dev/metadataListSample.js.map +1 -0
  71. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  72. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  73. package/dist-esm/samples-dev/operationsListSample.js +37 -0
  74. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  75. package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdSample.d.ts +2 -0
  76. package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdSample.d.ts.map +1 -0
  77. package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdSample.js +58 -0
  78. package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdSample.js.map +1 -0
  79. package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListByTenantIdAndEventIdSample.d.ts +2 -0
  80. package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListByTenantIdAndEventIdSample.d.ts.map +1 -0
  81. package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListByTenantIdAndEventIdSample.js +59 -0
  82. package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListByTenantIdAndEventIdSample.js.map +1 -0
  83. package/dist-esm/src/microsoftResourceHealth.d.ts +8 -4
  84. package/dist-esm/src/microsoftResourceHealth.d.ts.map +1 -1
  85. package/dist-esm/src/microsoftResourceHealth.js +10 -6
  86. package/dist-esm/src/microsoftResourceHealth.js.map +1 -1
  87. package/dist-esm/src/models/index.d.ts +657 -34
  88. package/dist-esm/src/models/index.d.ts.map +1 -1
  89. package/dist-esm/src/models/index.js +114 -0
  90. package/dist-esm/src/models/index.js.map +1 -1
  91. package/dist-esm/src/models/mappers.d.ts +24 -3
  92. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  93. package/dist-esm/src/models/mappers.js +883 -100
  94. package/dist-esm/src/models/mappers.js.map +1 -1
  95. package/dist-esm/src/models/parameters.d.ts +4 -0
  96. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  97. package/dist-esm/src/models/parameters.js +51 -3
  98. package/dist-esm/src/models/parameters.js.map +1 -1
  99. package/dist-esm/src/operations/availabilityStatuses.d.ts +9 -15
  100. package/dist-esm/src/operations/availabilityStatuses.d.ts.map +1 -1
  101. package/dist-esm/src/operations/availabilityStatuses.js +9 -15
  102. package/dist-esm/src/operations/availabilityStatuses.js.map +1 -1
  103. package/dist-esm/src/operations/emergingIssues.d.ts +6 -5
  104. package/dist-esm/src/operations/emergingIssues.d.ts.map +1 -1
  105. package/dist-esm/src/operations/emergingIssues.js +15 -14
  106. package/dist-esm/src/operations/emergingIssues.js.map +1 -1
  107. package/dist-esm/src/operations/eventOperations.d.ts +39 -0
  108. package/dist-esm/src/operations/eventOperations.d.ts.map +1 -0
  109. package/dist-esm/src/operations/eventOperations.js +137 -0
  110. package/dist-esm/src/operations/eventOperations.js.map +1 -0
  111. package/dist-esm/src/operations/eventsOperations.d.ts +83 -0
  112. package/dist-esm/src/operations/eventsOperations.d.ts.map +1 -0
  113. package/dist-esm/src/operations/eventsOperations.js +393 -0
  114. package/dist-esm/src/operations/eventsOperations.js.map +1 -0
  115. package/dist-esm/src/operations/impactedResources.d.ts +72 -0
  116. package/dist-esm/src/operations/impactedResources.d.ts.map +1 -0
  117. package/dist-esm/src/operations/impactedResources.js +330 -0
  118. package/dist-esm/src/operations/impactedResources.js.map +1 -0
  119. package/dist-esm/src/operations/index.d.ts +6 -1
  120. package/dist-esm/src/operations/index.d.ts.map +1 -1
  121. package/dist-esm/src/operations/index.js +6 -1
  122. package/dist-esm/src/operations/index.js.map +1 -1
  123. package/dist-esm/src/operations/metadata.d.ts +38 -0
  124. package/dist-esm/src/operations/metadata.d.ts.map +1 -0
  125. package/dist-esm/src/operations/metadata.js +162 -0
  126. package/dist-esm/src/operations/metadata.js.map +1 -0
  127. package/dist-esm/src/operations/securityAdvisoryImpactedResources.d.ts +58 -0
  128. package/dist-esm/src/operations/securityAdvisoryImpactedResources.d.ts.map +1 -0
  129. package/dist-esm/src/operations/securityAdvisoryImpactedResources.js +271 -0
  130. package/dist-esm/src/operations/securityAdvisoryImpactedResources.js.map +1 -0
  131. package/dist-esm/src/operationsInterfaces/availabilityStatuses.d.ts +4 -7
  132. package/dist-esm/src/operationsInterfaces/availabilityStatuses.d.ts.map +1 -1
  133. package/dist-esm/src/operationsInterfaces/emergingIssues.d.ts +3 -2
  134. package/dist-esm/src/operationsInterfaces/emergingIssues.d.ts.map +1 -1
  135. package/dist-esm/src/operationsInterfaces/eventOperations.d.ts +31 -0
  136. package/dist-esm/src/operationsInterfaces/eventOperations.d.ts.map +1 -0
  137. package/dist-esm/src/operationsInterfaces/eventOperations.js +9 -0
  138. package/dist-esm/src/operationsInterfaces/eventOperations.js.map +1 -0
  139. package/dist-esm/src/operationsInterfaces/eventsOperations.d.ts +26 -0
  140. package/dist-esm/src/operationsInterfaces/eventsOperations.d.ts.map +1 -0
  141. package/dist-esm/src/operationsInterfaces/eventsOperations.js +9 -0
  142. package/dist-esm/src/operationsInterfaces/eventsOperations.js.map +1 -0
  143. package/dist-esm/src/operationsInterfaces/impactedResources.d.ts +32 -0
  144. package/dist-esm/src/operationsInterfaces/impactedResources.d.ts.map +1 -0
  145. package/dist-esm/src/operationsInterfaces/impactedResources.js +9 -0
  146. package/dist-esm/src/operationsInterfaces/impactedResources.js.map +1 -0
  147. package/dist-esm/src/operationsInterfaces/index.d.ts +6 -1
  148. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  149. package/dist-esm/src/operationsInterfaces/index.js +6 -1
  150. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  151. package/dist-esm/src/operationsInterfaces/metadata.d.ts +17 -0
  152. package/dist-esm/src/operationsInterfaces/metadata.d.ts.map +1 -0
  153. package/dist-esm/src/operationsInterfaces/metadata.js +9 -0
  154. package/dist-esm/src/operationsInterfaces/metadata.js.map +1 -0
  155. package/dist-esm/src/operationsInterfaces/securityAdvisoryImpactedResources.d.ts +18 -0
  156. package/dist-esm/src/operationsInterfaces/securityAdvisoryImpactedResources.d.ts.map +1 -0
  157. package/dist-esm/src/operationsInterfaces/securityAdvisoryImpactedResources.js +9 -0
  158. package/dist-esm/src/operationsInterfaces/securityAdvisoryImpactedResources.js.map +1 -0
  159. package/dist-esm/test/resourcehealth_operations_test.spec.d.ts +4 -0
  160. package/dist-esm/test/resourcehealth_operations_test.spec.d.ts.map +1 -0
  161. package/dist-esm/test/resourcehealth_operations_test.spec.js +56 -0
  162. package/dist-esm/test/resourcehealth_operations_test.spec.js.map +1 -0
  163. package/package.json +6 -6
  164. package/review/arm-resourcehealth.api.md +516 -8
  165. package/src/microsoftResourceHealth.ts +29 -8
  166. package/src/models/index.ts +757 -35
  167. package/src/models/mappers.ts +956 -101
  168. package/src/models/parameters.ts +55 -3
  169. package/src/operations/availabilityStatuses.ts +9 -15
  170. package/src/operations/emergingIssues.ts +24 -18
  171. package/src/operations/eventOperations.ts +184 -0
  172. package/src/operations/eventsOperations.ts +434 -0
  173. package/src/operations/impactedResources.ts +414 -0
  174. package/src/operations/index.ts +6 -1
  175. package/src/operations/metadata.ts +182 -0
  176. package/src/operations/securityAdvisoryImpactedResources.ts +342 -0
  177. package/src/operationsInterfaces/availabilityStatuses.ts +4 -7
  178. package/src/operationsInterfaces/emergingIssues.ts +3 -0
  179. package/src/operationsInterfaces/eventOperations.ts +60 -0
  180. package/src/operationsInterfaces/eventsOperations.ts +47 -0
  181. package/src/operationsInterfaces/impactedResources.ts +63 -0
  182. package/src/operationsInterfaces/index.ts +6 -1
  183. package/src/operationsInterfaces/metadata.ts +36 -0
  184. package/src/operationsInterfaces/securityAdvisoryImpactedResources.ts +37 -0
  185. package/types/arm-resourcehealth.d.ts +853 -23
  186. package/dist-esm/test/sampleTest.d.ts +0 -2
  187. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  188. package/dist-esm/test/sampleTest.js +0 -38
  189. package/dist-esm/test/sampleTest.js.map +0 -1
@@ -34,12 +34,20 @@ export interface AvailabilityStatus {
34
34
  export interface AvailabilityStatusProperties {
35
35
  /** Availability status of the resource. When it is null, this availabilityStatus object represents an availability impacting event */
36
36
  availabilityState?: AvailabilityStateValues;
37
+ /** Title description of the availability status. */
38
+ title?: string;
37
39
  /** Summary description of the availability status. */
38
40
  summary?: string;
39
41
  /** Details of the availability status. */
40
42
  detailedStatus?: string;
41
43
  /** When the resource's availabilityState is Unavailable, it describes where the health impacting event was originated. Examples are planned, unplanned, user initiated or an outage etc. */
42
44
  reasonType?: string;
45
+ /** When an event is created, it can either be triggered by a customer or the platform of the resource and this field will illustrate that. This field is connected to the category field in this object. */
46
+ context?: string;
47
+ /** When a context field is set to Platform, this field will reflect if the event was planned or unplanned. If the context field does not have a value of Platform, then this field will be ignored. */
48
+ category?: string;
49
+ /** The Article Id */
50
+ articleId?: string;
43
51
  /** When the resource's availabilityState is Unavailable, it provides the Timestamp for when the health impacting event was received. */
44
52
  rootCauseAttributionTime?: Date;
45
53
  /** In case of an availability impacting event, it describes when the health impacting event was originated. Examples are Lifecycle, Downtime, Fault Analysis etc. */
@@ -59,7 +67,7 @@ export interface AvailabilityStatusProperties {
59
67
  /** Timestamp for when the health was last checked. */
60
68
  reportedTime?: Date;
61
69
  /** An annotation describing a change in the availabilityState to Available from Unavailable with a reasonType of type Unplanned */
62
- recentlyResolvedState?: AvailabilityStatusPropertiesRecentlyResolvedState;
70
+ recentlyResolved?: AvailabilityStatusPropertiesRecentlyResolved;
63
71
  /** Lists actions the user can take based on the current availabilityState of the resource. */
64
72
  recommendedActions?: RecommendedAction[];
65
73
  /** Lists the service impacting events that may be affecting the health of the resource. */
@@ -67,13 +75,13 @@ export interface AvailabilityStatusProperties {
67
75
  }
68
76
 
69
77
  /** An annotation describing a change in the availabilityState to Available from Unavailable with a reasonType of type Unplanned */
70
- export interface AvailabilityStatusPropertiesRecentlyResolvedState {
78
+ export interface AvailabilityStatusPropertiesRecentlyResolved {
71
79
  /** Timestamp for when the availabilityState changed to Unavailable */
72
- unavailableOccurredTime?: Date;
80
+ unavailableOccuredTime?: Date;
73
81
  /** Timestamp when the availabilityState changes to Available. */
74
82
  resolvedTime?: Date;
75
83
  /** Brief description of cause of the resource becoming unavailable. */
76
- unavailabilitySummary?: string;
84
+ unavailableSummary?: string;
77
85
  }
78
86
 
79
87
  /** Lists actions the user can take based on the current availabilityState of the resource. */
@@ -82,7 +90,9 @@ export interface RecommendedAction {
82
90
  action?: string;
83
91
  /** Link to the action */
84
92
  actionUrl?: string;
85
- /** Substring of action, it describes which text should host the action url. */
93
+ /** the comment for the Action */
94
+ actionUrlComment?: string;
95
+ /** Substring of action, it describes which text should host the action URL. */
86
96
  actionUrlText?: string;
87
97
  }
88
98
 
@@ -139,11 +149,11 @@ export interface ErrorResponse {
139
149
 
140
150
  /** Lists the operations response. */
141
151
  export interface OperationListResult {
142
- /** List of operations available in the resourcehealth resource provider. */
152
+ /** List of operations available in the Microsoft.ResourceHealth resource provider. */
143
153
  value: Operation[];
144
154
  }
145
155
 
146
- /** Operation available in the resourcehealth resource provider. */
156
+ /** Operation available in the Microsoft.ResourceHealth resource provider. */
147
157
  export interface Operation {
148
158
  /** Name of the operation. */
149
159
  name?: string;
@@ -163,6 +173,200 @@ export interface OperationDisplay {
163
173
  description?: string;
164
174
  }
165
175
 
176
+ /** The list of metadata entities */
177
+ export interface MetadataEntityListResult {
178
+ /** The list of metadata entities. */
179
+ value?: MetadataEntity[];
180
+ /** The link used to get the next page of metadata. */
181
+ nextLink?: string;
182
+ }
183
+
184
+ /** The metadata supported value detail. */
185
+ export interface MetadataSupportedValueDetail {
186
+ /** The id. */
187
+ id?: string;
188
+ /** The display name. */
189
+ displayName?: string;
190
+ /** The list of associated resource types. */
191
+ resourceTypes?: string[];
192
+ }
193
+
194
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
195
+ export interface Resource {
196
+ /**
197
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
198
+ * NOTE: This property will not be serialized. It can only be populated by the server.
199
+ */
200
+ readonly id?: string;
201
+ /**
202
+ * The name of the resource
203
+ * NOTE: This property will not be serialized. It can only be populated by the server.
204
+ */
205
+ readonly name?: string;
206
+ /**
207
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
208
+ * NOTE: This property will not be serialized. It can only be populated by the server.
209
+ */
210
+ readonly type?: string;
211
+ /**
212
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
213
+ * NOTE: This property will not be serialized. It can only be populated by the server.
214
+ */
215
+ readonly systemData?: SystemData;
216
+ }
217
+
218
+ /** Metadata pertaining to creation and last modification of the resource. */
219
+ export interface SystemData {
220
+ /** The identity that created the resource. */
221
+ createdBy?: string;
222
+ /** The type of identity that created the resource. */
223
+ createdByType?: CreatedByType;
224
+ /** The timestamp of resource creation (UTC). */
225
+ createdAt?: Date;
226
+ /** The identity that last modified the resource. */
227
+ lastModifiedBy?: string;
228
+ /** The type of identity that last modified the resource. */
229
+ lastModifiedByType?: CreatedByType;
230
+ /** The timestamp of resource last modification (UTC) */
231
+ lastModifiedAt?: Date;
232
+ }
233
+
234
+ /** The List of eventImpactedResources operation response. */
235
+ export interface EventImpactedResourceListResult {
236
+ /** The list of eventImpactedResources. */
237
+ value: EventImpactedResource[];
238
+ /** The URI to fetch the next page of events. Call ListNext() with this URI to fetch the next page of impacted resource. */
239
+ nextLink?: string;
240
+ }
241
+
242
+ /** Key value tuple. */
243
+ export interface KeyValueItem {
244
+ /**
245
+ * Key of tuple.
246
+ * NOTE: This property will not be serialized. It can only be populated by the server.
247
+ */
248
+ readonly key?: string;
249
+ /**
250
+ * Value of tuple.
251
+ * NOTE: This property will not be serialized. It can only be populated by the server.
252
+ */
253
+ readonly value?: string;
254
+ }
255
+
256
+ /** The List events operation response. */
257
+ export interface Events {
258
+ /** The list of event. */
259
+ value: Event[];
260
+ /** The URI to fetch the next page of events. Call ListNext() with this URI to fetch the next page of events. */
261
+ nextLink?: string;
262
+ }
263
+
264
+ /** Article of event. */
265
+ export interface EventPropertiesArticle {
266
+ /** Article content of event. */
267
+ articleContent?: string;
268
+ /** Article Id */
269
+ articleId?: string;
270
+ /** It provides a map of parameter name and value */
271
+ parameters?: Record<string, unknown>;
272
+ }
273
+
274
+ /** Useful links for service health event. */
275
+ export interface Link {
276
+ /** Type of link. */
277
+ type?: LinkTypeValues;
278
+ /** Display text of link. */
279
+ displayText?: LinkDisplayText;
280
+ /** It provides the name of portal extension to produce link for given service health event. */
281
+ extensionName?: string;
282
+ /** It provides the name of portal extension blade to produce link for given service health event. */
283
+ bladeName?: string;
284
+ /** It provides a map of parameter name and value for portal extension blade to produce lik for given service health event. */
285
+ parameters?: Record<string, unknown>;
286
+ }
287
+
288
+ /** Display text of link. */
289
+ export interface LinkDisplayText {
290
+ /** Display text of link. */
291
+ value?: string;
292
+ /** Localized display text of link. */
293
+ localizedValue?: string;
294
+ }
295
+
296
+ /** Azure service impacted by the service health event. */
297
+ export interface Impact {
298
+ /** Impacted service name. */
299
+ impactedService?: string;
300
+ /** List regions impacted by the service health event. */
301
+ impactedRegions?: ImpactedServiceRegion[];
302
+ }
303
+
304
+ /** Azure region impacted by the service health event. */
305
+ export interface ImpactedServiceRegion {
306
+ /** Impacted region name. */
307
+ impactedRegion?: string;
308
+ /** Current status of event in the region. */
309
+ status?: EventStatusValues;
310
+ /** List subscription impacted by the service health event. */
311
+ impactedSubscriptions?: string[];
312
+ /** List tenant impacted by the service health event. */
313
+ impactedTenants?: string[];
314
+ /** It provides the Timestamp for when the last update for the service health event. */
315
+ lastUpdateTime?: Date;
316
+ /** List of updates for given service health event. */
317
+ updates?: Update[];
318
+ }
319
+
320
+ /** Update for service health event. */
321
+ export interface Update {
322
+ /** Summary text for the given update for the service health event. */
323
+ summary?: string;
324
+ /** It provides the Timestamp for the given update for the service health event. */
325
+ updateDateTime?: Date;
326
+ }
327
+
328
+ /** Recommended actions of event. */
329
+ export interface EventPropertiesRecommendedActions {
330
+ /** Recommended action title for the service health event. */
331
+ message?: string;
332
+ /** Recommended actions for the service health event. */
333
+ actions?: EventPropertiesRecommendedActionsItem[];
334
+ /** Recommended action locale for the service health event. */
335
+ localeCode?: string;
336
+ }
337
+
338
+ /** Recommended action for the service health event. */
339
+ export interface EventPropertiesRecommendedActionsItem {
340
+ /** Recommended action group Id for the service health event. */
341
+ groupId?: number;
342
+ /** Recommended action text */
343
+ actionText?: string;
344
+ }
345
+
346
+ /** Frequently asked question for the service health event */
347
+ export interface Faq {
348
+ /** FAQ question for the service health event. */
349
+ question?: string;
350
+ /** FAQ answer for the service health event. */
351
+ answer?: string;
352
+ /** FAQ locale for the service health event. */
353
+ localeCode?: string;
354
+ }
355
+
356
+ /** Additional information */
357
+ export interface EventPropertiesAdditionalInformation {
358
+ /** Additional information Message */
359
+ message?: string;
360
+ }
361
+
362
+ /** The list of emerging issues. */
363
+ export interface EmergingIssueListResult {
364
+ /** The list of emerging issues. */
365
+ value?: EmergingIssuesGetResult[];
366
+ /** The link used to get the next page of emerging issues. */
367
+ nextLink?: string;
368
+ }
369
+
166
370
  /** Banner type of emerging issue. */
167
371
  export interface StatusBanner {
168
372
  /** The banner title. */
@@ -217,35 +421,104 @@ export interface ImpactedRegion {
217
421
  name?: string;
218
422
  }
219
423
 
220
- /** Common fields that are returned in the response for all Azure Resource Manager resources */
221
- export interface Resource {
424
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
425
+ export interface ProxyResource extends Resource {}
426
+
427
+ /** The metadata entity contract. */
428
+ export interface MetadataEntity extends ProxyResource {
429
+ /** The display name. */
430
+ displayName?: string;
431
+ /** The list of keys on which this entity depends on. */
432
+ dependsOn?: string[];
433
+ /** The list of scenarios applicable to this metadata entity. */
434
+ applicableScenarios?: Scenario[];
435
+ /** The list of supported values. */
436
+ supportedValues?: MetadataSupportedValueDetail[];
437
+ }
438
+
439
+ /** Impacted resource for an event. */
440
+ export interface EventImpactedResource extends ProxyResource {
222
441
  /**
223
- * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
442
+ * Resource type within Microsoft cloud.
224
443
  * NOTE: This property will not be serialized. It can only be populated by the server.
225
444
  */
226
- readonly id?: string;
445
+ readonly targetResourceType?: string;
227
446
  /**
228
- * The name of the resource
447
+ * Identity for resource within Microsoft cloud.
229
448
  * NOTE: This property will not be serialized. It can only be populated by the server.
230
449
  */
231
- readonly name?: string;
450
+ readonly targetResourceId?: string;
232
451
  /**
233
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
452
+ * Impacted resource region name.
234
453
  * NOTE: This property will not be serialized. It can only be populated by the server.
235
454
  */
236
- readonly type?: string;
455
+ readonly targetRegion?: string;
456
+ /** Additional information. */
457
+ info?: KeyValueItem[];
237
458
  }
238
459
 
239
- /** The list of emerging issues. */
240
- export interface EmergingIssueListResult {
241
- /** The list of emerging issues. */
242
- value?: EmergingIssuesGetResult[];
243
- /** The link used to get the next page of emerging issues. */
244
- nextLink?: string;
460
+ /** Service health event */
461
+ export interface Event extends ProxyResource {
462
+ /** Type of event. */
463
+ eventType?: EventTypeValues;
464
+ /** Source of event. */
465
+ eventSource?: EventSourceValues;
466
+ /** Current status of event. */
467
+ status?: EventStatusValues;
468
+ /** Title text of event. */
469
+ title?: string;
470
+ /** Summary text of event. */
471
+ summary?: string;
472
+ /** Header text of event. */
473
+ header?: string;
474
+ /** Level of insight. */
475
+ level?: LevelValues;
476
+ /** Level of event. */
477
+ eventLevel?: EventLevelValues;
478
+ /** The id of the Incident */
479
+ externalIncidentId?: string;
480
+ /** The reason for the Incident */
481
+ reason?: string;
482
+ /** Article of event. */
483
+ article?: EventPropertiesArticle;
484
+ /** Useful links of event. */
485
+ links?: Link[];
486
+ /** It provides the Timestamp for when the health impacting event started. */
487
+ impactStartTime?: Date;
488
+ /** It provides the Timestamp for when the health impacting event resolved. */
489
+ impactMitigationTime?: Date;
490
+ /** List services impacted by the service health event. */
491
+ impact?: Impact[];
492
+ /** Recommended actions of event. */
493
+ recommendedActions?: EventPropertiesRecommendedActions;
494
+ /** Frequently asked questions for the service health event. */
495
+ faqs?: Faq[];
496
+ /** It provides information if the event is High incident rate event or not. */
497
+ isHIR?: boolean;
498
+ /** Tells if we want to enable or disable Microsoft Support for this event. */
499
+ enableMicrosoftSupport?: boolean;
500
+ /** Contains the communication message for the event, that could include summary, root cause and other details. */
501
+ description?: string;
502
+ /** Is true if the event is platform initiated. */
503
+ platformInitiated?: boolean;
504
+ /** Tells if we want to enable or disable Microsoft Support for this event. */
505
+ enableChatWithUs?: boolean;
506
+ /** Priority level of the event. Has value from 0 to 23. 0 is the highest priority. Service issue events have higher priority followed by planned maintenance and health advisory. Critical events have higher priority followed by error, warning and informational. Furthermore, active events have higher priority than resolved. */
507
+ priority?: number;
508
+ /** It provides the Timestamp for when the health impacting event was last updated. */
509
+ lastUpdateTime?: Date;
510
+ /** Stage for HIR Document */
511
+ hirStage?: string;
512
+ /** Additional information */
513
+ additionalInformation?: EventPropertiesAdditionalInformation;
514
+ /** duration in seconds */
515
+ duration?: number;
516
+ /** The type of the impact */
517
+ impactType?: string;
245
518
  }
246
519
 
247
520
  /** The Get EmergingIssues operation response. */
248
- export interface EmergingIssuesGetResult extends Resource {
521
+ export interface EmergingIssuesGetResult extends ProxyResource {
249
522
  /** Timestamp for when last time refreshed for ongoing emerging issue. */
250
523
  refreshTimestamp?: Date;
251
524
  /** The list of emerging issues of banner type. */
@@ -254,6 +527,227 @@ export interface EmergingIssuesGetResult extends Resource {
254
527
  statusActiveEvents?: StatusActiveEvent[];
255
528
  }
256
529
 
530
+ /** impactedResource with health status */
531
+ export interface ImpactedResourceStatus extends ProxyResource {
532
+ /** Impacted resource status of the resource. */
533
+ availabilityState?: AvailabilityStateValues;
534
+ /** Title description of the impacted resource status. */
535
+ title?: string;
536
+ /** Summary description of the impacted resource status. */
537
+ summary?: string;
538
+ /** When the resource's availabilityState is Unavailable, it describes where the health impacting event was originated. */
539
+ reasonType?: ReasonTypeValues;
540
+ /** Timestamp for when last change in health status occurred. */
541
+ occurredTime?: Date;
542
+ }
543
+
544
+ /** Known values of {@link AvailabilityStateValues} that the service accepts. */
545
+ export enum KnownAvailabilityStateValues {
546
+ /** Available */
547
+ Available = "Available",
548
+ /** Unavailable */
549
+ Unavailable = "Unavailable",
550
+ /** Degraded */
551
+ Degraded = "Degraded",
552
+ /** Unknown */
553
+ Unknown = "Unknown"
554
+ }
555
+
556
+ /**
557
+ * Defines values for AvailabilityStateValues. \
558
+ * {@link KnownAvailabilityStateValues} can be used interchangeably with AvailabilityStateValues,
559
+ * this enum contains the known values that the service supports.
560
+ * ### Known values supported by the service
561
+ * **Available** \
562
+ * **Unavailable** \
563
+ * **Degraded** \
564
+ * **Unknown**
565
+ */
566
+ export type AvailabilityStateValues = string;
567
+
568
+ /** Known values of {@link ReasonChronicityTypes} that the service accepts. */
569
+ export enum KnownReasonChronicityTypes {
570
+ /** Transient */
571
+ Transient = "Transient",
572
+ /** Persistent */
573
+ Persistent = "Persistent"
574
+ }
575
+
576
+ /**
577
+ * Defines values for ReasonChronicityTypes. \
578
+ * {@link KnownReasonChronicityTypes} can be used interchangeably with ReasonChronicityTypes,
579
+ * this enum contains the known values that the service supports.
580
+ * ### Known values supported by the service
581
+ * **Transient** \
582
+ * **Persistent**
583
+ */
584
+ export type ReasonChronicityTypes = string;
585
+
586
+ /** Known values of {@link Scenario} that the service accepts. */
587
+ export enum KnownScenario {
588
+ /** Alerts */
589
+ Alerts = "Alerts"
590
+ }
591
+
592
+ /**
593
+ * Defines values for Scenario. \
594
+ * {@link KnownScenario} can be used interchangeably with Scenario,
595
+ * this enum contains the known values that the service supports.
596
+ * ### Known values supported by the service
597
+ * **Alerts**
598
+ */
599
+ export type Scenario = string;
600
+
601
+ /** Known values of {@link CreatedByType} that the service accepts. */
602
+ export enum KnownCreatedByType {
603
+ /** User */
604
+ User = "User",
605
+ /** Application */
606
+ Application = "Application",
607
+ /** ManagedIdentity */
608
+ ManagedIdentity = "ManagedIdentity",
609
+ /** Key */
610
+ Key = "Key"
611
+ }
612
+
613
+ /**
614
+ * Defines values for CreatedByType. \
615
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
616
+ * this enum contains the known values that the service supports.
617
+ * ### Known values supported by the service
618
+ * **User** \
619
+ * **Application** \
620
+ * **ManagedIdentity** \
621
+ * **Key**
622
+ */
623
+ export type CreatedByType = string;
624
+
625
+ /** Known values of {@link EventTypeValues} that the service accepts. */
626
+ export enum KnownEventTypeValues {
627
+ /** ServiceIssue */
628
+ ServiceIssue = "ServiceIssue",
629
+ /** PlannedMaintenance */
630
+ PlannedMaintenance = "PlannedMaintenance",
631
+ /** HealthAdvisory */
632
+ HealthAdvisory = "HealthAdvisory",
633
+ /** RCA */
634
+ RCA = "RCA",
635
+ /** EmergingIssues */
636
+ EmergingIssues = "EmergingIssues",
637
+ /** SecurityAdvisory */
638
+ SecurityAdvisory = "SecurityAdvisory"
639
+ }
640
+
641
+ /**
642
+ * Defines values for EventTypeValues. \
643
+ * {@link KnownEventTypeValues} can be used interchangeably with EventTypeValues,
644
+ * this enum contains the known values that the service supports.
645
+ * ### Known values supported by the service
646
+ * **ServiceIssue** \
647
+ * **PlannedMaintenance** \
648
+ * **HealthAdvisory** \
649
+ * **RCA** \
650
+ * **EmergingIssues** \
651
+ * **SecurityAdvisory**
652
+ */
653
+ export type EventTypeValues = string;
654
+
655
+ /** Known values of {@link EventSourceValues} that the service accepts. */
656
+ export enum KnownEventSourceValues {
657
+ /** ResourceHealth */
658
+ ResourceHealth = "ResourceHealth",
659
+ /** ServiceHealth */
660
+ ServiceHealth = "ServiceHealth"
661
+ }
662
+
663
+ /**
664
+ * Defines values for EventSourceValues. \
665
+ * {@link KnownEventSourceValues} can be used interchangeably with EventSourceValues,
666
+ * this enum contains the known values that the service supports.
667
+ * ### Known values supported by the service
668
+ * **ResourceHealth** \
669
+ * **ServiceHealth**
670
+ */
671
+ export type EventSourceValues = string;
672
+
673
+ /** Known values of {@link EventStatusValues} that the service accepts. */
674
+ export enum KnownEventStatusValues {
675
+ /** Active */
676
+ Active = "Active",
677
+ /** Resolved */
678
+ Resolved = "Resolved"
679
+ }
680
+
681
+ /**
682
+ * Defines values for EventStatusValues. \
683
+ * {@link KnownEventStatusValues} can be used interchangeably with EventStatusValues,
684
+ * this enum contains the known values that the service supports.
685
+ * ### Known values supported by the service
686
+ * **Active** \
687
+ * **Resolved**
688
+ */
689
+ export type EventStatusValues = string;
690
+
691
+ /** Known values of {@link LevelValues} that the service accepts. */
692
+ export enum KnownLevelValues {
693
+ /** Critical */
694
+ Critical = "Critical",
695
+ /** Warning */
696
+ Warning = "Warning"
697
+ }
698
+
699
+ /**
700
+ * Defines values for LevelValues. \
701
+ * {@link KnownLevelValues} can be used interchangeably with LevelValues,
702
+ * this enum contains the known values that the service supports.
703
+ * ### Known values supported by the service
704
+ * **Critical** \
705
+ * **Warning**
706
+ */
707
+ export type LevelValues = string;
708
+
709
+ /** Known values of {@link EventLevelValues} that the service accepts. */
710
+ export enum KnownEventLevelValues {
711
+ /** Critical */
712
+ Critical = "Critical",
713
+ /** Error */
714
+ Error = "Error",
715
+ /** Warning */
716
+ Warning = "Warning",
717
+ /** Informational */
718
+ Informational = "Informational"
719
+ }
720
+
721
+ /**
722
+ * Defines values for EventLevelValues. \
723
+ * {@link KnownEventLevelValues} can be used interchangeably with EventLevelValues,
724
+ * this enum contains the known values that the service supports.
725
+ * ### Known values supported by the service
726
+ * **Critical** \
727
+ * **Error** \
728
+ * **Warning** \
729
+ * **Informational**
730
+ */
731
+ export type EventLevelValues = string;
732
+
733
+ /** Known values of {@link LinkTypeValues} that the service accepts. */
734
+ export enum KnownLinkTypeValues {
735
+ /** Button */
736
+ Button = "Button",
737
+ /** Hyperlink */
738
+ Hyperlink = "Hyperlink"
739
+ }
740
+
741
+ /**
742
+ * Defines values for LinkTypeValues. \
743
+ * {@link KnownLinkTypeValues} can be used interchangeably with LinkTypeValues,
744
+ * this enum contains the known values that the service supports.
745
+ * ### Known values supported by the service
746
+ * **Button** \
747
+ * **Hyperlink**
748
+ */
749
+ export type LinkTypeValues = string;
750
+
257
751
  /** Known values of {@link SeverityValues} that the service accepts. */
258
752
  export enum KnownSeverityValues {
259
753
  /** Information */
@@ -295,10 +789,42 @@ export enum KnownStageValues {
295
789
  * **Archived**
296
790
  */
297
791
  export type StageValues = string;
298
- /** Defines values for AvailabilityStateValues. */
299
- export type AvailabilityStateValues = "Available" | "Unavailable" | "Unknown";
300
- /** Defines values for ReasonChronicityTypes. */
301
- export type ReasonChronicityTypes = "Transient" | "Persistent";
792
+
793
+ /** Known values of {@link IssueNameParameter} that the service accepts. */
794
+ export enum KnownIssueNameParameter {
795
+ /** Default */
796
+ Default = "default"
797
+ }
798
+
799
+ /**
800
+ * Defines values for IssueNameParameter. \
801
+ * {@link KnownIssueNameParameter} can be used interchangeably with IssueNameParameter,
802
+ * this enum contains the known values that the service supports.
803
+ * ### Known values supported by the service
804
+ * **default**
805
+ */
806
+ export type IssueNameParameter = string;
807
+
808
+ /** Known values of {@link ReasonTypeValues} that the service accepts. */
809
+ export enum KnownReasonTypeValues {
810
+ /** Unplanned */
811
+ Unplanned = "Unplanned",
812
+ /** Planned */
813
+ Planned = "Planned",
814
+ /** UserInitiated */
815
+ UserInitiated = "UserInitiated"
816
+ }
817
+
818
+ /**
819
+ * Defines values for ReasonTypeValues. \
820
+ * {@link KnownReasonTypeValues} can be used interchangeably with ReasonTypeValues,
821
+ * this enum contains the known values that the service supports.
822
+ * ### Known values supported by the service
823
+ * **Unplanned** \
824
+ * **Planned** \
825
+ * **UserInitiated**
826
+ */
827
+ export type ReasonTypeValues = string;
302
828
 
303
829
  /** Optional parameters. */
304
830
  export interface AvailabilityStatusesListBySubscriptionIdOptionalParams
@@ -369,6 +895,209 @@ export interface AvailabilityStatusesListNextOptionalParams
369
895
  /** Contains response data for the listNext operation. */
370
896
  export type AvailabilityStatusesListNextResponse = AvailabilityStatusListResult;
371
897
 
898
+ /** Optional parameters. */
899
+ export interface OperationsListOptionalParams
900
+ extends coreClient.OperationOptions {}
901
+
902
+ /** Contains response data for the list operation. */
903
+ export type OperationsListResponse = OperationListResult;
904
+
905
+ /** Optional parameters. */
906
+ export interface MetadataListOptionalParams
907
+ extends coreClient.OperationOptions {}
908
+
909
+ /** Contains response data for the list operation. */
910
+ export type MetadataListResponse = MetadataEntityListResult;
911
+
912
+ /** Optional parameters. */
913
+ export interface MetadataGetEntityOptionalParams
914
+ extends coreClient.OperationOptions {}
915
+
916
+ /** Contains response data for the getEntity operation. */
917
+ export type MetadataGetEntityResponse = MetadataEntity;
918
+
919
+ /** Optional parameters. */
920
+ export interface MetadataListNextOptionalParams
921
+ extends coreClient.OperationOptions {}
922
+
923
+ /** Contains response data for the listNext operation. */
924
+ export type MetadataListNextResponse = MetadataEntityListResult;
925
+
926
+ /** Optional parameters. */
927
+ export interface ImpactedResourcesListBySubscriptionIdAndEventIdOptionalParams
928
+ extends coreClient.OperationOptions {
929
+ /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
930
+ filter?: string;
931
+ }
932
+
933
+ /** Contains response data for the listBySubscriptionIdAndEventId operation. */
934
+ export type ImpactedResourcesListBySubscriptionIdAndEventIdResponse = EventImpactedResourceListResult;
935
+
936
+ /** Optional parameters. */
937
+ export interface ImpactedResourcesGetOptionalParams
938
+ extends coreClient.OperationOptions {}
939
+
940
+ /** Contains response data for the get operation. */
941
+ export type ImpactedResourcesGetResponse = EventImpactedResource;
942
+
943
+ /** Optional parameters. */
944
+ export interface ImpactedResourcesListByTenantIdAndEventIdOptionalParams
945
+ extends coreClient.OperationOptions {
946
+ /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
947
+ filter?: string;
948
+ }
949
+
950
+ /** Contains response data for the listByTenantIdAndEventId operation. */
951
+ export type ImpactedResourcesListByTenantIdAndEventIdResponse = EventImpactedResourceListResult;
952
+
953
+ /** Optional parameters. */
954
+ export interface ImpactedResourcesGetByTenantIdOptionalParams
955
+ extends coreClient.OperationOptions {}
956
+
957
+ /** Contains response data for the getByTenantId operation. */
958
+ export type ImpactedResourcesGetByTenantIdResponse = EventImpactedResource;
959
+
960
+ /** Optional parameters. */
961
+ export interface ImpactedResourcesListBySubscriptionIdAndEventIdNextOptionalParams
962
+ extends coreClient.OperationOptions {}
963
+
964
+ /** Contains response data for the listBySubscriptionIdAndEventIdNext operation. */
965
+ export type ImpactedResourcesListBySubscriptionIdAndEventIdNextResponse = EventImpactedResourceListResult;
966
+
967
+ /** Optional parameters. */
968
+ export interface ImpactedResourcesListByTenantIdAndEventIdNextOptionalParams
969
+ extends coreClient.OperationOptions {}
970
+
971
+ /** Contains response data for the listByTenantIdAndEventIdNext operation. */
972
+ export type ImpactedResourcesListByTenantIdAndEventIdNextResponse = EventImpactedResourceListResult;
973
+
974
+ /** Optional parameters. */
975
+ export interface SecurityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdOptionalParams
976
+ extends coreClient.OperationOptions {
977
+ /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
978
+ filter?: string;
979
+ }
980
+
981
+ /** Contains response data for the listBySubscriptionIdAndEventId operation. */
982
+ export type SecurityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdResponse = EventImpactedResourceListResult;
983
+
984
+ /** Optional parameters. */
985
+ export interface SecurityAdvisoryImpactedResourcesListByTenantIdAndEventIdOptionalParams
986
+ extends coreClient.OperationOptions {
987
+ /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
988
+ filter?: string;
989
+ }
990
+
991
+ /** Contains response data for the listByTenantIdAndEventId operation. */
992
+ export type SecurityAdvisoryImpactedResourcesListByTenantIdAndEventIdResponse = EventImpactedResourceListResult;
993
+
994
+ /** Optional parameters. */
995
+ export interface SecurityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdNextOptionalParams
996
+ extends coreClient.OperationOptions {}
997
+
998
+ /** Contains response data for the listBySubscriptionIdAndEventIdNext operation. */
999
+ export type SecurityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdNextResponse = EventImpactedResourceListResult;
1000
+
1001
+ /** Optional parameters. */
1002
+ export interface SecurityAdvisoryImpactedResourcesListByTenantIdAndEventIdNextOptionalParams
1003
+ extends coreClient.OperationOptions {}
1004
+
1005
+ /** Contains response data for the listByTenantIdAndEventIdNext operation. */
1006
+ export type SecurityAdvisoryImpactedResourcesListByTenantIdAndEventIdNextResponse = EventImpactedResourceListResult;
1007
+
1008
+ /** Optional parameters. */
1009
+ export interface EventsListBySubscriptionIdOptionalParams
1010
+ extends coreClient.OperationOptions {
1011
+ /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
1012
+ filter?: string;
1013
+ /** Specifies from when to return events, based on the lastUpdateTime property. For example, queryStartTime = 7/24/2020 OR queryStartTime=7%2F24%2F2020 */
1014
+ queryStartTime?: string;
1015
+ }
1016
+
1017
+ /** Contains response data for the listBySubscriptionId operation. */
1018
+ export type EventsListBySubscriptionIdResponse = Events;
1019
+
1020
+ /** Optional parameters. */
1021
+ export interface EventsListByTenantIdOptionalParams
1022
+ extends coreClient.OperationOptions {
1023
+ /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
1024
+ filter?: string;
1025
+ /** Specifies from when to return events, based on the lastUpdateTime property. For example, queryStartTime = 7/24/2020 OR queryStartTime=7%2F24%2F2020 */
1026
+ queryStartTime?: string;
1027
+ }
1028
+
1029
+ /** Contains response data for the listByTenantId operation. */
1030
+ export type EventsListByTenantIdResponse = Events;
1031
+
1032
+ /** Optional parameters. */
1033
+ export interface EventsListBySingleResourceOptionalParams
1034
+ extends coreClient.OperationOptions {
1035
+ /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
1036
+ filter?: string;
1037
+ }
1038
+
1039
+ /** Contains response data for the listBySingleResource operation. */
1040
+ export type EventsListBySingleResourceResponse = Events;
1041
+
1042
+ /** Optional parameters. */
1043
+ export interface EventsListBySubscriptionIdNextOptionalParams
1044
+ extends coreClient.OperationOptions {}
1045
+
1046
+ /** Contains response data for the listBySubscriptionIdNext operation. */
1047
+ export type EventsListBySubscriptionIdNextResponse = Events;
1048
+
1049
+ /** Optional parameters. */
1050
+ export interface EventsListByTenantIdNextOptionalParams
1051
+ extends coreClient.OperationOptions {}
1052
+
1053
+ /** Contains response data for the listByTenantIdNext operation. */
1054
+ export type EventsListByTenantIdNextResponse = Events;
1055
+
1056
+ /** Optional parameters. */
1057
+ export interface EventsListBySingleResourceNextOptionalParams
1058
+ extends coreClient.OperationOptions {}
1059
+
1060
+ /** Contains response data for the listBySingleResourceNext operation. */
1061
+ export type EventsListBySingleResourceNextResponse = Events;
1062
+
1063
+ /** Optional parameters. */
1064
+ export interface EventGetBySubscriptionIdAndTrackingIdOptionalParams
1065
+ extends coreClient.OperationOptions {
1066
+ /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
1067
+ filter?: string;
1068
+ /** Specifies from when to return events, based on the lastUpdateTime property. For example, queryStartTime = 7/24/2020 OR queryStartTime=7%2F24%2F2020 */
1069
+ queryStartTime?: string;
1070
+ }
1071
+
1072
+ /** Contains response data for the getBySubscriptionIdAndTrackingId operation. */
1073
+ export type EventGetBySubscriptionIdAndTrackingIdResponse = Event;
1074
+
1075
+ /** Optional parameters. */
1076
+ export interface EventFetchDetailsBySubscriptionIdAndTrackingIdOptionalParams
1077
+ extends coreClient.OperationOptions {}
1078
+
1079
+ /** Contains response data for the fetchDetailsBySubscriptionIdAndTrackingId operation. */
1080
+ export type EventFetchDetailsBySubscriptionIdAndTrackingIdResponse = Event;
1081
+
1082
+ /** Optional parameters. */
1083
+ export interface EventGetByTenantIdAndTrackingIdOptionalParams
1084
+ extends coreClient.OperationOptions {
1085
+ /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
1086
+ filter?: string;
1087
+ /** Specifies from when to return events, based on the lastUpdateTime property. For example, queryStartTime = 7/24/2020 OR queryStartTime=7%2F24%2F2020 */
1088
+ queryStartTime?: string;
1089
+ }
1090
+
1091
+ /** Contains response data for the getByTenantIdAndTrackingId operation. */
1092
+ export type EventGetByTenantIdAndTrackingIdResponse = Event;
1093
+
1094
+ /** Optional parameters. */
1095
+ export interface EventFetchDetailsByTenantIdAndTrackingIdOptionalParams
1096
+ extends coreClient.OperationOptions {}
1097
+
1098
+ /** Contains response data for the fetchDetailsByTenantIdAndTrackingId operation. */
1099
+ export type EventFetchDetailsByTenantIdAndTrackingIdResponse = Event;
1100
+
372
1101
  /** Optional parameters. */
373
1102
  export interface ChildAvailabilityStatusesGetByResourceOptionalParams
374
1103
  extends coreClient.OperationOptions {
@@ -420,11 +1149,11 @@ export interface ChildResourcesListNextOptionalParams
420
1149
  export type ChildResourcesListNextResponse = AvailabilityStatusListResult;
421
1150
 
422
1151
  /** Optional parameters. */
423
- export interface OperationsListOptionalParams
1152
+ export interface EmergingIssuesListOptionalParams
424
1153
  extends coreClient.OperationOptions {}
425
1154
 
426
1155
  /** Contains response data for the list operation. */
427
- export type OperationsListResponse = OperationListResult;
1156
+ export type EmergingIssuesListResponse = EmergingIssueListResult;
428
1157
 
429
1158
  /** Optional parameters. */
430
1159
  export interface EmergingIssuesGetOptionalParams
@@ -433,13 +1162,6 @@ export interface EmergingIssuesGetOptionalParams
433
1162
  /** Contains response data for the get operation. */
434
1163
  export type EmergingIssuesGetResponse = EmergingIssuesGetResult;
435
1164
 
436
- /** Optional parameters. */
437
- export interface EmergingIssuesListOptionalParams
438
- extends coreClient.OperationOptions {}
439
-
440
- /** Contains response data for the list operation. */
441
- export type EmergingIssuesListResponse = EmergingIssueListResult;
442
-
443
1165
  /** Optional parameters. */
444
1166
  export interface EmergingIssuesListNextOptionalParams
445
1167
  extends coreClient.OperationOptions {}