@azure/arm-resourcehealth 3.2.1-alpha.20230522.1 → 4.0.1-alpha.20230524.2

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 +114 -1
  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 +4 -4
  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
@@ -23,12 +23,20 @@ export interface AvailabilityStatus {
23
23
  export interface AvailabilityStatusProperties {
24
24
  /** Availability status of the resource. When it is null, this availabilityStatus object represents an availability impacting event */
25
25
  availabilityState?: AvailabilityStateValues;
26
+ /** Title description of the availability status. */
27
+ title?: string;
26
28
  /** Summary description of the availability status. */
27
29
  summary?: string;
28
30
  /** Details of the availability status. */
29
31
  detailedStatus?: string;
30
32
  /** 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. */
31
33
  reasonType?: string;
34
+ /** 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. */
35
+ context?: string;
36
+ /** 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. */
37
+ category?: string;
38
+ /** The Article Id */
39
+ articleId?: string;
32
40
  /** When the resource's availabilityState is Unavailable, it provides the Timestamp for when the health impacting event was received. */
33
41
  rootCauseAttributionTime?: Date;
34
42
  /** In case of an availability impacting event, it describes when the health impacting event was originated. Examples are Lifecycle, Downtime, Fault Analysis etc. */
@@ -48,20 +56,20 @@ export interface AvailabilityStatusProperties {
48
56
  /** Timestamp for when the health was last checked. */
49
57
  reportedTime?: Date;
50
58
  /** An annotation describing a change in the availabilityState to Available from Unavailable with a reasonType of type Unplanned */
51
- recentlyResolvedState?: AvailabilityStatusPropertiesRecentlyResolvedState;
59
+ recentlyResolved?: AvailabilityStatusPropertiesRecentlyResolved;
52
60
  /** Lists actions the user can take based on the current availabilityState of the resource. */
53
61
  recommendedActions?: RecommendedAction[];
54
62
  /** Lists the service impacting events that may be affecting the health of the resource. */
55
63
  serviceImpactingEvents?: ServiceImpactingEvent[];
56
64
  }
57
65
  /** An annotation describing a change in the availabilityState to Available from Unavailable with a reasonType of type Unplanned */
58
- export interface AvailabilityStatusPropertiesRecentlyResolvedState {
66
+ export interface AvailabilityStatusPropertiesRecentlyResolved {
59
67
  /** Timestamp for when the availabilityState changed to Unavailable */
60
- unavailableOccurredTime?: Date;
68
+ unavailableOccuredTime?: Date;
61
69
  /** Timestamp when the availabilityState changes to Available. */
62
70
  resolvedTime?: Date;
63
71
  /** Brief description of cause of the resource becoming unavailable. */
64
- unavailabilitySummary?: string;
72
+ unavailableSummary?: string;
65
73
  }
66
74
  /** Lists actions the user can take based on the current availabilityState of the resource. */
67
75
  export interface RecommendedAction {
@@ -69,7 +77,9 @@ export interface RecommendedAction {
69
77
  action?: string;
70
78
  /** Link to the action */
71
79
  actionUrl?: string;
72
- /** Substring of action, it describes which text should host the action url. */
80
+ /** the comment for the Action */
81
+ actionUrlComment?: string;
82
+ /** Substring of action, it describes which text should host the action URL. */
73
83
  actionUrlText?: string;
74
84
  }
75
85
  /** Lists the service impacting events that may be affecting the health of the resource. */
@@ -121,10 +131,10 @@ export interface ErrorResponse {
121
131
  }
122
132
  /** Lists the operations response. */
123
133
  export interface OperationListResult {
124
- /** List of operations available in the resourcehealth resource provider. */
134
+ /** List of operations available in the Microsoft.ResourceHealth resource provider. */
125
135
  value: Operation[];
126
136
  }
127
- /** Operation available in the resourcehealth resource provider. */
137
+ /** Operation available in the Microsoft.ResourceHealth resource provider. */
128
138
  export interface Operation {
129
139
  /** Name of the operation. */
130
140
  name?: string;
@@ -142,6 +152,182 @@ export interface OperationDisplay {
142
152
  /** Description of the operation. */
143
153
  description?: string;
144
154
  }
155
+ /** The list of metadata entities */
156
+ export interface MetadataEntityListResult {
157
+ /** The list of metadata entities. */
158
+ value?: MetadataEntity[];
159
+ /** The link used to get the next page of metadata. */
160
+ nextLink?: string;
161
+ }
162
+ /** The metadata supported value detail. */
163
+ export interface MetadataSupportedValueDetail {
164
+ /** The id. */
165
+ id?: string;
166
+ /** The display name. */
167
+ displayName?: string;
168
+ /** The list of associated resource types. */
169
+ resourceTypes?: string[];
170
+ }
171
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
172
+ export interface Resource {
173
+ /**
174
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
175
+ * NOTE: This property will not be serialized. It can only be populated by the server.
176
+ */
177
+ readonly id?: string;
178
+ /**
179
+ * The name of the resource
180
+ * NOTE: This property will not be serialized. It can only be populated by the server.
181
+ */
182
+ readonly name?: string;
183
+ /**
184
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
185
+ * NOTE: This property will not be serialized. It can only be populated by the server.
186
+ */
187
+ readonly type?: string;
188
+ /**
189
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
190
+ * NOTE: This property will not be serialized. It can only be populated by the server.
191
+ */
192
+ readonly systemData?: SystemData;
193
+ }
194
+ /** Metadata pertaining to creation and last modification of the resource. */
195
+ export interface SystemData {
196
+ /** The identity that created the resource. */
197
+ createdBy?: string;
198
+ /** The type of identity that created the resource. */
199
+ createdByType?: CreatedByType;
200
+ /** The timestamp of resource creation (UTC). */
201
+ createdAt?: Date;
202
+ /** The identity that last modified the resource. */
203
+ lastModifiedBy?: string;
204
+ /** The type of identity that last modified the resource. */
205
+ lastModifiedByType?: CreatedByType;
206
+ /** The timestamp of resource last modification (UTC) */
207
+ lastModifiedAt?: Date;
208
+ }
209
+ /** The List of eventImpactedResources operation response. */
210
+ export interface EventImpactedResourceListResult {
211
+ /** The list of eventImpactedResources. */
212
+ value: EventImpactedResource[];
213
+ /** The URI to fetch the next page of events. Call ListNext() with this URI to fetch the next page of impacted resource. */
214
+ nextLink?: string;
215
+ }
216
+ /** Key value tuple. */
217
+ export interface KeyValueItem {
218
+ /**
219
+ * Key of tuple.
220
+ * NOTE: This property will not be serialized. It can only be populated by the server.
221
+ */
222
+ readonly key?: string;
223
+ /**
224
+ * Value of tuple.
225
+ * NOTE: This property will not be serialized. It can only be populated by the server.
226
+ */
227
+ readonly value?: string;
228
+ }
229
+ /** The List events operation response. */
230
+ export interface Events {
231
+ /** The list of event. */
232
+ value: Event[];
233
+ /** The URI to fetch the next page of events. Call ListNext() with this URI to fetch the next page of events. */
234
+ nextLink?: string;
235
+ }
236
+ /** Article of event. */
237
+ export interface EventPropertiesArticle {
238
+ /** Article content of event. */
239
+ articleContent?: string;
240
+ /** Article Id */
241
+ articleId?: string;
242
+ /** It provides a map of parameter name and value */
243
+ parameters?: Record<string, unknown>;
244
+ }
245
+ /** Useful links for service health event. */
246
+ export interface Link {
247
+ /** Type of link. */
248
+ type?: LinkTypeValues;
249
+ /** Display text of link. */
250
+ displayText?: LinkDisplayText;
251
+ /** It provides the name of portal extension to produce link for given service health event. */
252
+ extensionName?: string;
253
+ /** It provides the name of portal extension blade to produce link for given service health event. */
254
+ bladeName?: string;
255
+ /** It provides a map of parameter name and value for portal extension blade to produce lik for given service health event. */
256
+ parameters?: Record<string, unknown>;
257
+ }
258
+ /** Display text of link. */
259
+ export interface LinkDisplayText {
260
+ /** Display text of link. */
261
+ value?: string;
262
+ /** Localized display text of link. */
263
+ localizedValue?: string;
264
+ }
265
+ /** Azure service impacted by the service health event. */
266
+ export interface Impact {
267
+ /** Impacted service name. */
268
+ impactedService?: string;
269
+ /** List regions impacted by the service health event. */
270
+ impactedRegions?: ImpactedServiceRegion[];
271
+ }
272
+ /** Azure region impacted by the service health event. */
273
+ export interface ImpactedServiceRegion {
274
+ /** Impacted region name. */
275
+ impactedRegion?: string;
276
+ /** Current status of event in the region. */
277
+ status?: EventStatusValues;
278
+ /** List subscription impacted by the service health event. */
279
+ impactedSubscriptions?: string[];
280
+ /** List tenant impacted by the service health event. */
281
+ impactedTenants?: string[];
282
+ /** It provides the Timestamp for when the last update for the service health event. */
283
+ lastUpdateTime?: Date;
284
+ /** List of updates for given service health event. */
285
+ updates?: Update[];
286
+ }
287
+ /** Update for service health event. */
288
+ export interface Update {
289
+ /** Summary text for the given update for the service health event. */
290
+ summary?: string;
291
+ /** It provides the Timestamp for the given update for the service health event. */
292
+ updateDateTime?: Date;
293
+ }
294
+ /** Recommended actions of event. */
295
+ export interface EventPropertiesRecommendedActions {
296
+ /** Recommended action title for the service health event. */
297
+ message?: string;
298
+ /** Recommended actions for the service health event. */
299
+ actions?: EventPropertiesRecommendedActionsItem[];
300
+ /** Recommended action locale for the service health event. */
301
+ localeCode?: string;
302
+ }
303
+ /** Recommended action for the service health event. */
304
+ export interface EventPropertiesRecommendedActionsItem {
305
+ /** Recommended action group Id for the service health event. */
306
+ groupId?: number;
307
+ /** Recommended action text */
308
+ actionText?: string;
309
+ }
310
+ /** Frequently asked question for the service health event */
311
+ export interface Faq {
312
+ /** FAQ question for the service health event. */
313
+ question?: string;
314
+ /** FAQ answer for the service health event. */
315
+ answer?: string;
316
+ /** FAQ locale for the service health event. */
317
+ localeCode?: string;
318
+ }
319
+ /** Additional information */
320
+ export interface EventPropertiesAdditionalInformation {
321
+ /** Additional information Message */
322
+ message?: string;
323
+ }
324
+ /** The list of emerging issues. */
325
+ export interface EmergingIssueListResult {
326
+ /** The list of emerging issues. */
327
+ value?: EmergingIssuesGetResult[];
328
+ /** The link used to get the next page of emerging issues. */
329
+ nextLink?: string;
330
+ }
145
331
  /** Banner type of emerging issue. */
146
332
  export interface StatusBanner {
147
333
  /** The banner title. */
@@ -192,33 +378,101 @@ export interface ImpactedRegion {
192
378
  /** The impacted region name. */
193
379
  name?: string;
194
380
  }
195
- /** Common fields that are returned in the response for all Azure Resource Manager resources */
196
- export interface Resource {
381
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
382
+ export interface ProxyResource extends Resource {
383
+ }
384
+ /** The metadata entity contract. */
385
+ export interface MetadataEntity extends ProxyResource {
386
+ /** The display name. */
387
+ displayName?: string;
388
+ /** The list of keys on which this entity depends on. */
389
+ dependsOn?: string[];
390
+ /** The list of scenarios applicable to this metadata entity. */
391
+ applicableScenarios?: Scenario[];
392
+ /** The list of supported values. */
393
+ supportedValues?: MetadataSupportedValueDetail[];
394
+ }
395
+ /** Impacted resource for an event. */
396
+ export interface EventImpactedResource extends ProxyResource {
197
397
  /**
198
- * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
398
+ * Resource type within Microsoft cloud.
199
399
  * NOTE: This property will not be serialized. It can only be populated by the server.
200
400
  */
201
- readonly id?: string;
401
+ readonly targetResourceType?: string;
202
402
  /**
203
- * The name of the resource
403
+ * Identity for resource within Microsoft cloud.
204
404
  * NOTE: This property will not be serialized. It can only be populated by the server.
205
405
  */
206
- readonly name?: string;
406
+ readonly targetResourceId?: string;
207
407
  /**
208
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
408
+ * Impacted resource region name.
209
409
  * NOTE: This property will not be serialized. It can only be populated by the server.
210
410
  */
211
- readonly type?: string;
212
- }
213
- /** The list of emerging issues. */
214
- export interface EmergingIssueListResult {
215
- /** The list of emerging issues. */
216
- value?: EmergingIssuesGetResult[];
217
- /** The link used to get the next page of emerging issues. */
218
- nextLink?: string;
411
+ readonly targetRegion?: string;
412
+ /** Additional information. */
413
+ info?: KeyValueItem[];
414
+ }
415
+ /** Service health event */
416
+ export interface Event extends ProxyResource {
417
+ /** Type of event. */
418
+ eventType?: EventTypeValues;
419
+ /** Source of event. */
420
+ eventSource?: EventSourceValues;
421
+ /** Current status of event. */
422
+ status?: EventStatusValues;
423
+ /** Title text of event. */
424
+ title?: string;
425
+ /** Summary text of event. */
426
+ summary?: string;
427
+ /** Header text of event. */
428
+ header?: string;
429
+ /** Level of insight. */
430
+ level?: LevelValues;
431
+ /** Level of event. */
432
+ eventLevel?: EventLevelValues;
433
+ /** The id of the Incident */
434
+ externalIncidentId?: string;
435
+ /** The reason for the Incident */
436
+ reason?: string;
437
+ /** Article of event. */
438
+ article?: EventPropertiesArticle;
439
+ /** Useful links of event. */
440
+ links?: Link[];
441
+ /** It provides the Timestamp for when the health impacting event started. */
442
+ impactStartTime?: Date;
443
+ /** It provides the Timestamp for when the health impacting event resolved. */
444
+ impactMitigationTime?: Date;
445
+ /** List services impacted by the service health event. */
446
+ impact?: Impact[];
447
+ /** Recommended actions of event. */
448
+ recommendedActions?: EventPropertiesRecommendedActions;
449
+ /** Frequently asked questions for the service health event. */
450
+ faqs?: Faq[];
451
+ /** It provides information if the event is High incident rate event or not. */
452
+ isHIR?: boolean;
453
+ /** Tells if we want to enable or disable Microsoft Support for this event. */
454
+ enableMicrosoftSupport?: boolean;
455
+ /** Contains the communication message for the event, that could include summary, root cause and other details. */
456
+ description?: string;
457
+ /** Is true if the event is platform initiated. */
458
+ platformInitiated?: boolean;
459
+ /** Tells if we want to enable or disable Microsoft Support for this event. */
460
+ enableChatWithUs?: boolean;
461
+ /** 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. */
462
+ priority?: number;
463
+ /** It provides the Timestamp for when the health impacting event was last updated. */
464
+ lastUpdateTime?: Date;
465
+ /** Stage for HIR Document */
466
+ hirStage?: string;
467
+ /** Additional information */
468
+ additionalInformation?: EventPropertiesAdditionalInformation;
469
+ /** duration in seconds */
470
+ duration?: number;
471
+ /** The type of the impact */
472
+ impactType?: string;
219
473
  }
220
474
  /** The Get EmergingIssues operation response. */
221
- export interface EmergingIssuesGetResult extends Resource {
475
+ export interface EmergingIssuesGetResult extends ProxyResource {
222
476
  /** Timestamp for when last time refreshed for ongoing emerging issue. */
223
477
  refreshTimestamp?: Date;
224
478
  /** The list of emerging issues of banner type. */
@@ -226,6 +480,206 @@ export interface EmergingIssuesGetResult extends Resource {
226
480
  /** The list of emerging issues of active event type. */
227
481
  statusActiveEvents?: StatusActiveEvent[];
228
482
  }
483
+ /** impactedResource with health status */
484
+ export interface ImpactedResourceStatus extends ProxyResource {
485
+ /** Impacted resource status of the resource. */
486
+ availabilityState?: AvailabilityStateValues;
487
+ /** Title description of the impacted resource status. */
488
+ title?: string;
489
+ /** Summary description of the impacted resource status. */
490
+ summary?: string;
491
+ /** When the resource's availabilityState is Unavailable, it describes where the health impacting event was originated. */
492
+ reasonType?: ReasonTypeValues;
493
+ /** Timestamp for when last change in health status occurred. */
494
+ occurredTime?: Date;
495
+ }
496
+ /** Known values of {@link AvailabilityStateValues} that the service accepts. */
497
+ export declare enum KnownAvailabilityStateValues {
498
+ /** Available */
499
+ Available = "Available",
500
+ /** Unavailable */
501
+ Unavailable = "Unavailable",
502
+ /** Degraded */
503
+ Degraded = "Degraded",
504
+ /** Unknown */
505
+ Unknown = "Unknown"
506
+ }
507
+ /**
508
+ * Defines values for AvailabilityStateValues. \
509
+ * {@link KnownAvailabilityStateValues} can be used interchangeably with AvailabilityStateValues,
510
+ * this enum contains the known values that the service supports.
511
+ * ### Known values supported by the service
512
+ * **Available** \
513
+ * **Unavailable** \
514
+ * **Degraded** \
515
+ * **Unknown**
516
+ */
517
+ export type AvailabilityStateValues = string;
518
+ /** Known values of {@link ReasonChronicityTypes} that the service accepts. */
519
+ export declare enum KnownReasonChronicityTypes {
520
+ /** Transient */
521
+ Transient = "Transient",
522
+ /** Persistent */
523
+ Persistent = "Persistent"
524
+ }
525
+ /**
526
+ * Defines values for ReasonChronicityTypes. \
527
+ * {@link KnownReasonChronicityTypes} can be used interchangeably with ReasonChronicityTypes,
528
+ * this enum contains the known values that the service supports.
529
+ * ### Known values supported by the service
530
+ * **Transient** \
531
+ * **Persistent**
532
+ */
533
+ export type ReasonChronicityTypes = string;
534
+ /** Known values of {@link Scenario} that the service accepts. */
535
+ export declare enum KnownScenario {
536
+ /** Alerts */
537
+ Alerts = "Alerts"
538
+ }
539
+ /**
540
+ * Defines values for Scenario. \
541
+ * {@link KnownScenario} can be used interchangeably with Scenario,
542
+ * this enum contains the known values that the service supports.
543
+ * ### Known values supported by the service
544
+ * **Alerts**
545
+ */
546
+ export type Scenario = string;
547
+ /** Known values of {@link CreatedByType} that the service accepts. */
548
+ export declare enum KnownCreatedByType {
549
+ /** User */
550
+ User = "User",
551
+ /** Application */
552
+ Application = "Application",
553
+ /** ManagedIdentity */
554
+ ManagedIdentity = "ManagedIdentity",
555
+ /** Key */
556
+ Key = "Key"
557
+ }
558
+ /**
559
+ * Defines values for CreatedByType. \
560
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
561
+ * this enum contains the known values that the service supports.
562
+ * ### Known values supported by the service
563
+ * **User** \
564
+ * **Application** \
565
+ * **ManagedIdentity** \
566
+ * **Key**
567
+ */
568
+ export type CreatedByType = string;
569
+ /** Known values of {@link EventTypeValues} that the service accepts. */
570
+ export declare enum KnownEventTypeValues {
571
+ /** ServiceIssue */
572
+ ServiceIssue = "ServiceIssue",
573
+ /** PlannedMaintenance */
574
+ PlannedMaintenance = "PlannedMaintenance",
575
+ /** HealthAdvisory */
576
+ HealthAdvisory = "HealthAdvisory",
577
+ /** RCA */
578
+ RCA = "RCA",
579
+ /** EmergingIssues */
580
+ EmergingIssues = "EmergingIssues",
581
+ /** SecurityAdvisory */
582
+ SecurityAdvisory = "SecurityAdvisory"
583
+ }
584
+ /**
585
+ * Defines values for EventTypeValues. \
586
+ * {@link KnownEventTypeValues} can be used interchangeably with EventTypeValues,
587
+ * this enum contains the known values that the service supports.
588
+ * ### Known values supported by the service
589
+ * **ServiceIssue** \
590
+ * **PlannedMaintenance** \
591
+ * **HealthAdvisory** \
592
+ * **RCA** \
593
+ * **EmergingIssues** \
594
+ * **SecurityAdvisory**
595
+ */
596
+ export type EventTypeValues = string;
597
+ /** Known values of {@link EventSourceValues} that the service accepts. */
598
+ export declare enum KnownEventSourceValues {
599
+ /** ResourceHealth */
600
+ ResourceHealth = "ResourceHealth",
601
+ /** ServiceHealth */
602
+ ServiceHealth = "ServiceHealth"
603
+ }
604
+ /**
605
+ * Defines values for EventSourceValues. \
606
+ * {@link KnownEventSourceValues} can be used interchangeably with EventSourceValues,
607
+ * this enum contains the known values that the service supports.
608
+ * ### Known values supported by the service
609
+ * **ResourceHealth** \
610
+ * **ServiceHealth**
611
+ */
612
+ export type EventSourceValues = string;
613
+ /** Known values of {@link EventStatusValues} that the service accepts. */
614
+ export declare enum KnownEventStatusValues {
615
+ /** Active */
616
+ Active = "Active",
617
+ /** Resolved */
618
+ Resolved = "Resolved"
619
+ }
620
+ /**
621
+ * Defines values for EventStatusValues. \
622
+ * {@link KnownEventStatusValues} can be used interchangeably with EventStatusValues,
623
+ * this enum contains the known values that the service supports.
624
+ * ### Known values supported by the service
625
+ * **Active** \
626
+ * **Resolved**
627
+ */
628
+ export type EventStatusValues = string;
629
+ /** Known values of {@link LevelValues} that the service accepts. */
630
+ export declare enum KnownLevelValues {
631
+ /** Critical */
632
+ Critical = "Critical",
633
+ /** Warning */
634
+ Warning = "Warning"
635
+ }
636
+ /**
637
+ * Defines values for LevelValues. \
638
+ * {@link KnownLevelValues} can be used interchangeably with LevelValues,
639
+ * this enum contains the known values that the service supports.
640
+ * ### Known values supported by the service
641
+ * **Critical** \
642
+ * **Warning**
643
+ */
644
+ export type LevelValues = string;
645
+ /** Known values of {@link EventLevelValues} that the service accepts. */
646
+ export declare enum KnownEventLevelValues {
647
+ /** Critical */
648
+ Critical = "Critical",
649
+ /** Error */
650
+ Error = "Error",
651
+ /** Warning */
652
+ Warning = "Warning",
653
+ /** Informational */
654
+ Informational = "Informational"
655
+ }
656
+ /**
657
+ * Defines values for EventLevelValues. \
658
+ * {@link KnownEventLevelValues} can be used interchangeably with EventLevelValues,
659
+ * this enum contains the known values that the service supports.
660
+ * ### Known values supported by the service
661
+ * **Critical** \
662
+ * **Error** \
663
+ * **Warning** \
664
+ * **Informational**
665
+ */
666
+ export type EventLevelValues = string;
667
+ /** Known values of {@link LinkTypeValues} that the service accepts. */
668
+ export declare enum KnownLinkTypeValues {
669
+ /** Button */
670
+ Button = "Button",
671
+ /** Hyperlink */
672
+ Hyperlink = "Hyperlink"
673
+ }
674
+ /**
675
+ * Defines values for LinkTypeValues. \
676
+ * {@link KnownLinkTypeValues} can be used interchangeably with LinkTypeValues,
677
+ * this enum contains the known values that the service supports.
678
+ * ### Known values supported by the service
679
+ * **Button** \
680
+ * **Hyperlink**
681
+ */
682
+ export type LinkTypeValues = string;
229
683
  /** Known values of {@link SeverityValues} that the service accepts. */
230
684
  export declare enum KnownSeverityValues {
231
685
  /** Information */
@@ -264,10 +718,38 @@ export declare enum KnownStageValues {
264
718
  * **Archived**
265
719
  */
266
720
  export type StageValues = string;
267
- /** Defines values for AvailabilityStateValues. */
268
- export type AvailabilityStateValues = "Available" | "Unavailable" | "Unknown";
269
- /** Defines values for ReasonChronicityTypes. */
270
- export type ReasonChronicityTypes = "Transient" | "Persistent";
721
+ /** Known values of {@link IssueNameParameter} that the service accepts. */
722
+ export declare enum KnownIssueNameParameter {
723
+ /** Default */
724
+ Default = "default"
725
+ }
726
+ /**
727
+ * Defines values for IssueNameParameter. \
728
+ * {@link KnownIssueNameParameter} can be used interchangeably with IssueNameParameter,
729
+ * this enum contains the known values that the service supports.
730
+ * ### Known values supported by the service
731
+ * **default**
732
+ */
733
+ export type IssueNameParameter = string;
734
+ /** Known values of {@link ReasonTypeValues} that the service accepts. */
735
+ export declare enum KnownReasonTypeValues {
736
+ /** Unplanned */
737
+ Unplanned = "Unplanned",
738
+ /** Planned */
739
+ Planned = "Planned",
740
+ /** UserInitiated */
741
+ UserInitiated = "UserInitiated"
742
+ }
743
+ /**
744
+ * Defines values for ReasonTypeValues. \
745
+ * {@link KnownReasonTypeValues} can be used interchangeably with ReasonTypeValues,
746
+ * this enum contains the known values that the service supports.
747
+ * ### Known values supported by the service
748
+ * **Unplanned** \
749
+ * **Planned** \
750
+ * **UserInitiated**
751
+ */
752
+ export type ReasonTypeValues = string;
271
753
  /** Optional parameters. */
272
754
  export interface AvailabilityStatusesListBySubscriptionIdOptionalParams extends coreClient.OperationOptions {
273
755
  /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
@@ -320,6 +802,152 @@ export interface AvailabilityStatusesListNextOptionalParams extends coreClient.O
320
802
  /** Contains response data for the listNext operation. */
321
803
  export type AvailabilityStatusesListNextResponse = AvailabilityStatusListResult;
322
804
  /** Optional parameters. */
805
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
806
+ }
807
+ /** Contains response data for the list operation. */
808
+ export type OperationsListResponse = OperationListResult;
809
+ /** Optional parameters. */
810
+ export interface MetadataListOptionalParams extends coreClient.OperationOptions {
811
+ }
812
+ /** Contains response data for the list operation. */
813
+ export type MetadataListResponse = MetadataEntityListResult;
814
+ /** Optional parameters. */
815
+ export interface MetadataGetEntityOptionalParams extends coreClient.OperationOptions {
816
+ }
817
+ /** Contains response data for the getEntity operation. */
818
+ export type MetadataGetEntityResponse = MetadataEntity;
819
+ /** Optional parameters. */
820
+ export interface MetadataListNextOptionalParams extends coreClient.OperationOptions {
821
+ }
822
+ /** Contains response data for the listNext operation. */
823
+ export type MetadataListNextResponse = MetadataEntityListResult;
824
+ /** Optional parameters. */
825
+ export interface ImpactedResourcesListBySubscriptionIdAndEventIdOptionalParams extends coreClient.OperationOptions {
826
+ /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
827
+ filter?: string;
828
+ }
829
+ /** Contains response data for the listBySubscriptionIdAndEventId operation. */
830
+ export type ImpactedResourcesListBySubscriptionIdAndEventIdResponse = EventImpactedResourceListResult;
831
+ /** Optional parameters. */
832
+ export interface ImpactedResourcesGetOptionalParams extends coreClient.OperationOptions {
833
+ }
834
+ /** Contains response data for the get operation. */
835
+ export type ImpactedResourcesGetResponse = EventImpactedResource;
836
+ /** Optional parameters. */
837
+ export interface ImpactedResourcesListByTenantIdAndEventIdOptionalParams extends coreClient.OperationOptions {
838
+ /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
839
+ filter?: string;
840
+ }
841
+ /** Contains response data for the listByTenantIdAndEventId operation. */
842
+ export type ImpactedResourcesListByTenantIdAndEventIdResponse = EventImpactedResourceListResult;
843
+ /** Optional parameters. */
844
+ export interface ImpactedResourcesGetByTenantIdOptionalParams extends coreClient.OperationOptions {
845
+ }
846
+ /** Contains response data for the getByTenantId operation. */
847
+ export type ImpactedResourcesGetByTenantIdResponse = EventImpactedResource;
848
+ /** Optional parameters. */
849
+ export interface ImpactedResourcesListBySubscriptionIdAndEventIdNextOptionalParams extends coreClient.OperationOptions {
850
+ }
851
+ /** Contains response data for the listBySubscriptionIdAndEventIdNext operation. */
852
+ export type ImpactedResourcesListBySubscriptionIdAndEventIdNextResponse = EventImpactedResourceListResult;
853
+ /** Optional parameters. */
854
+ export interface ImpactedResourcesListByTenantIdAndEventIdNextOptionalParams extends coreClient.OperationOptions {
855
+ }
856
+ /** Contains response data for the listByTenantIdAndEventIdNext operation. */
857
+ export type ImpactedResourcesListByTenantIdAndEventIdNextResponse = EventImpactedResourceListResult;
858
+ /** Optional parameters. */
859
+ export interface SecurityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdOptionalParams extends coreClient.OperationOptions {
860
+ /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
861
+ filter?: string;
862
+ }
863
+ /** Contains response data for the listBySubscriptionIdAndEventId operation. */
864
+ export type SecurityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdResponse = EventImpactedResourceListResult;
865
+ /** Optional parameters. */
866
+ export interface SecurityAdvisoryImpactedResourcesListByTenantIdAndEventIdOptionalParams extends coreClient.OperationOptions {
867
+ /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
868
+ filter?: string;
869
+ }
870
+ /** Contains response data for the listByTenantIdAndEventId operation. */
871
+ export type SecurityAdvisoryImpactedResourcesListByTenantIdAndEventIdResponse = EventImpactedResourceListResult;
872
+ /** Optional parameters. */
873
+ export interface SecurityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdNextOptionalParams extends coreClient.OperationOptions {
874
+ }
875
+ /** Contains response data for the listBySubscriptionIdAndEventIdNext operation. */
876
+ export type SecurityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdNextResponse = EventImpactedResourceListResult;
877
+ /** Optional parameters. */
878
+ export interface SecurityAdvisoryImpactedResourcesListByTenantIdAndEventIdNextOptionalParams extends coreClient.OperationOptions {
879
+ }
880
+ /** Contains response data for the listByTenantIdAndEventIdNext operation. */
881
+ export type SecurityAdvisoryImpactedResourcesListByTenantIdAndEventIdNextResponse = EventImpactedResourceListResult;
882
+ /** Optional parameters. */
883
+ export interface EventsListBySubscriptionIdOptionalParams extends coreClient.OperationOptions {
884
+ /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
885
+ filter?: string;
886
+ /** Specifies from when to return events, based on the lastUpdateTime property. For example, queryStartTime = 7/24/2020 OR queryStartTime=7%2F24%2F2020 */
887
+ queryStartTime?: string;
888
+ }
889
+ /** Contains response data for the listBySubscriptionId operation. */
890
+ export type EventsListBySubscriptionIdResponse = Events;
891
+ /** Optional parameters. */
892
+ export interface EventsListByTenantIdOptionalParams extends coreClient.OperationOptions {
893
+ /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
894
+ filter?: string;
895
+ /** Specifies from when to return events, based on the lastUpdateTime property. For example, queryStartTime = 7/24/2020 OR queryStartTime=7%2F24%2F2020 */
896
+ queryStartTime?: string;
897
+ }
898
+ /** Contains response data for the listByTenantId operation. */
899
+ export type EventsListByTenantIdResponse = Events;
900
+ /** Optional parameters. */
901
+ export interface EventsListBySingleResourceOptionalParams extends coreClient.OperationOptions {
902
+ /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
903
+ filter?: string;
904
+ }
905
+ /** Contains response data for the listBySingleResource operation. */
906
+ export type EventsListBySingleResourceResponse = Events;
907
+ /** Optional parameters. */
908
+ export interface EventsListBySubscriptionIdNextOptionalParams extends coreClient.OperationOptions {
909
+ }
910
+ /** Contains response data for the listBySubscriptionIdNext operation. */
911
+ export type EventsListBySubscriptionIdNextResponse = Events;
912
+ /** Optional parameters. */
913
+ export interface EventsListByTenantIdNextOptionalParams extends coreClient.OperationOptions {
914
+ }
915
+ /** Contains response data for the listByTenantIdNext operation. */
916
+ export type EventsListByTenantIdNextResponse = Events;
917
+ /** Optional parameters. */
918
+ export interface EventsListBySingleResourceNextOptionalParams extends coreClient.OperationOptions {
919
+ }
920
+ /** Contains response data for the listBySingleResourceNext operation. */
921
+ export type EventsListBySingleResourceNextResponse = Events;
922
+ /** Optional parameters. */
923
+ export interface EventGetBySubscriptionIdAndTrackingIdOptionalParams extends coreClient.OperationOptions {
924
+ /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
925
+ filter?: string;
926
+ /** Specifies from when to return events, based on the lastUpdateTime property. For example, queryStartTime = 7/24/2020 OR queryStartTime=7%2F24%2F2020 */
927
+ queryStartTime?: string;
928
+ }
929
+ /** Contains response data for the getBySubscriptionIdAndTrackingId operation. */
930
+ export type EventGetBySubscriptionIdAndTrackingIdResponse = Event;
931
+ /** Optional parameters. */
932
+ export interface EventFetchDetailsBySubscriptionIdAndTrackingIdOptionalParams extends coreClient.OperationOptions {
933
+ }
934
+ /** Contains response data for the fetchDetailsBySubscriptionIdAndTrackingId operation. */
935
+ export type EventFetchDetailsBySubscriptionIdAndTrackingIdResponse = Event;
936
+ /** Optional parameters. */
937
+ export interface EventGetByTenantIdAndTrackingIdOptionalParams extends coreClient.OperationOptions {
938
+ /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
939
+ filter?: string;
940
+ /** Specifies from when to return events, based on the lastUpdateTime property. For example, queryStartTime = 7/24/2020 OR queryStartTime=7%2F24%2F2020 */
941
+ queryStartTime?: string;
942
+ }
943
+ /** Contains response data for the getByTenantIdAndTrackingId operation. */
944
+ export type EventGetByTenantIdAndTrackingIdResponse = Event;
945
+ /** Optional parameters. */
946
+ export interface EventFetchDetailsByTenantIdAndTrackingIdOptionalParams extends coreClient.OperationOptions {
947
+ }
948
+ /** Contains response data for the fetchDetailsByTenantIdAndTrackingId operation. */
949
+ export type EventFetchDetailsByTenantIdAndTrackingIdResponse = Event;
950
+ /** Optional parameters. */
323
951
  export interface ChildAvailabilityStatusesGetByResourceOptionalParams extends coreClient.OperationOptions {
324
952
  /** The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN */
325
953
  filter?: string;
@@ -357,21 +985,16 @@ export interface ChildResourcesListNextOptionalParams extends coreClient.Operati
357
985
  /** Contains response data for the listNext operation. */
358
986
  export type ChildResourcesListNextResponse = AvailabilityStatusListResult;
359
987
  /** Optional parameters. */
360
- export interface OperationsListOptionalParams extends coreClient.OperationOptions {
988
+ export interface EmergingIssuesListOptionalParams extends coreClient.OperationOptions {
361
989
  }
362
990
  /** Contains response data for the list operation. */
363
- export type OperationsListResponse = OperationListResult;
991
+ export type EmergingIssuesListResponse = EmergingIssueListResult;
364
992
  /** Optional parameters. */
365
993
  export interface EmergingIssuesGetOptionalParams extends coreClient.OperationOptions {
366
994
  }
367
995
  /** Contains response data for the get operation. */
368
996
  export type EmergingIssuesGetResponse = EmergingIssuesGetResult;
369
997
  /** Optional parameters. */
370
- export interface EmergingIssuesListOptionalParams extends coreClient.OperationOptions {
371
- }
372
- /** Contains response data for the list operation. */
373
- export type EmergingIssuesListResponse = EmergingIssueListResult;
374
- /** Optional parameters. */
375
998
  export interface EmergingIssuesListNextOptionalParams extends coreClient.OperationOptions {
376
999
  }
377
1000
  /** Contains response data for the listNext operation. */