@azure/arm-cloudhealth 1.0.0-alpha.20250620.1 → 1.0.0-alpha.20250718.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (19) hide show
  1. package/dist/browser/static-helpers/urlTemplate.js +1 -1
  2. package/dist/browser/static-helpers/urlTemplate.js.map +1 -1
  3. package/dist/commonjs/static-helpers/urlTemplate.js +1 -1
  4. package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -1
  5. package/dist/esm/static-helpers/urlTemplate.js +1 -1
  6. package/dist/esm/static-helpers/urlTemplate.js.map +1 -1
  7. package/dist/react-native/static-helpers/urlTemplate.js +1 -1
  8. package/dist/react-native/static-helpers/urlTemplate.js.map +1 -1
  9. package/package.json +3 -3
  10. package/review/{arm-cloudhealth-api-authenticationSettings.api.md → arm-cloudhealth-api-authenticationSettings-node.api.md} +40 -40
  11. package/review/{arm-cloudhealth-api-discoveryRules.api.md → arm-cloudhealth-api-discoveryRules-node.api.md} +41 -41
  12. package/review/{arm-cloudhealth-api-entities.api.md → arm-cloudhealth-api-entities-node.api.md} +41 -41
  13. package/review/{arm-cloudhealth-api-healthModels.api.md → arm-cloudhealth-api-healthModels-node.api.md} +59 -59
  14. package/review/{arm-cloudhealth-api.api.md → arm-cloudhealth-api-node.api.md} +27 -27
  15. package/review/{arm-cloudhealth-api-operations.api.md → arm-cloudhealth-api-operations-node.api.md} +19 -19
  16. package/review/{arm-cloudhealth-api-relationships.api.md → arm-cloudhealth-api-relationships-node.api.md} +41 -41
  17. package/review/{arm-cloudhealth-api-signalDefinitions.api.md → arm-cloudhealth-api-signalDefinitions-node.api.md} +41 -41
  18. package/review/{arm-cloudhealth-models.api.md → arm-cloudhealth-models-node.api.md} +535 -535
  19. package/review/{arm-cloudhealth.api.md → arm-cloudhealth-node.api.md} +759 -759
@@ -1,759 +1,759 @@
1
- ## API Report File for "@azure/arm-cloudhealth"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import { AbortSignalLike } from '@azure/abort-controller';
8
- import { ClientOptions } from '@azure-rest/core-client';
9
- import { OperationOptions } from '@azure-rest/core-client';
10
- import { OperationState } from '@azure/core-lro';
11
- import { PathUncheckedResponse } from '@azure-rest/core-client';
12
- import { Pipeline } from '@azure/core-rest-pipeline';
13
- import { PollerLike } from '@azure/core-lro';
14
- import { TokenCredential } from '@azure/core-auth';
15
-
16
- // @public
17
- export type ActionType = string;
18
-
19
- // @public
20
- export interface AlertConfiguration {
21
- actionGroupIds?: string[];
22
- description?: string;
23
- severity: AlertSeverity;
24
- }
25
-
26
- // @public
27
- export type AlertSeverity = string;
28
-
29
- // @public
30
- export type AuthenticationKind = string;
31
-
32
- // @public
33
- export interface AuthenticationSetting extends ProxyResource {
34
- properties?: AuthenticationSettingPropertiesUnion;
35
- }
36
-
37
- // @public
38
- export interface AuthenticationSettingProperties {
39
- authenticationKind: AuthenticationKind;
40
- displayName?: string;
41
- readonly provisioningState?: HealthModelProvisioningState;
42
- }
43
-
44
- // @public
45
- export type AuthenticationSettingPropertiesUnion = ManagedIdentityAuthenticationSettingProperties | AuthenticationSettingProperties;
46
-
47
- // @public
48
- export interface AuthenticationSettingsCreateOrUpdateOptionalParams extends OperationOptions {
49
- }
50
-
51
- // @public
52
- export interface AuthenticationSettingsDeleteOptionalParams extends OperationOptions {
53
- }
54
-
55
- // @public
56
- export interface AuthenticationSettingsGetOptionalParams extends OperationOptions {
57
- }
58
-
59
- // @public
60
- export interface AuthenticationSettingsListByHealthModelOptionalParams extends OperationOptions {
61
- }
62
-
63
- // @public
64
- export interface AuthenticationSettingsOperations {
65
- createOrUpdate: (resourceGroupName: string, healthModelName: string, authenticationSettingName: string, resource: AuthenticationSetting, options?: AuthenticationSettingsCreateOrUpdateOptionalParams) => Promise<AuthenticationSetting>;
66
- delete: (resourceGroupName: string, healthModelName: string, authenticationSettingName: string, options?: AuthenticationSettingsDeleteOptionalParams) => Promise<void>;
67
- get: (resourceGroupName: string, healthModelName: string, authenticationSettingName: string, options?: AuthenticationSettingsGetOptionalParams) => Promise<AuthenticationSetting>;
68
- listByHealthModel: (resourceGroupName: string, healthModelName: string, options?: AuthenticationSettingsListByHealthModelOptionalParams) => PagedAsyncIterableIterator<AuthenticationSetting>;
69
- }
70
-
71
- // @public
72
- export interface AzureMonitorWorkspaceSignalGroup {
73
- authenticationSetting: string;
74
- azureMonitorWorkspaceResourceId: string;
75
- signalAssignments?: SignalAssignment[];
76
- }
77
-
78
- // @public
79
- export interface AzureResourceSignalGroup {
80
- authenticationSetting: string;
81
- azureResourceId: string;
82
- signalAssignments?: SignalAssignment[];
83
- }
84
-
85
- // @public (undocumented)
86
- export class CloudHealthClient {
87
- constructor(credential: TokenCredential, subscriptionId: string, options?: CloudHealthClientOptionalParams);
88
- readonly authenticationSettings: AuthenticationSettingsOperations;
89
- readonly discoveryRules: DiscoveryRulesOperations;
90
- readonly entities: EntitiesOperations;
91
- readonly healthModels: HealthModelsOperations;
92
- readonly operations: OperationsOperations;
93
- readonly pipeline: Pipeline;
94
- readonly relationships: RelationshipsOperations;
95
- readonly signalDefinitions: SignalDefinitionsOperations;
96
- }
97
-
98
- // @public
99
- export interface CloudHealthClientOptionalParams extends ClientOptions {
100
- apiVersion?: string;
101
- }
102
-
103
- // @public
104
- export type ContinuablePage<TElement, TPage = TElement[]> = TPage & {
105
- continuationToken?: string;
106
- };
107
-
108
- // @public
109
- export type CreatedByType = string;
110
-
111
- // @public
112
- export type DependenciesAggregationType = string;
113
-
114
- // @public
115
- export interface DependenciesSignalGroup {
116
- aggregationType: DependenciesAggregationType;
117
- degradedThreshold?: string;
118
- unhealthyThreshold?: string;
119
- }
120
-
121
- // @public
122
- export interface DiscoveryRule extends ProxyResource {
123
- properties?: DiscoveryRuleProperties;
124
- }
125
-
126
- // @public
127
- export interface DiscoveryRuleProperties {
128
- addRecommendedSignals: DiscoveryRuleRecommendedSignalsBehavior;
129
- authenticationSetting: string;
130
- readonly deletionDate?: Date;
131
- discoverRelationships: DiscoveryRuleRelationshipDiscoveryBehavior;
132
- displayName?: string;
133
- readonly entityName: string;
134
- readonly errorMessage?: string;
135
- readonly numberOfDiscoveredEntities?: number;
136
- readonly provisioningState?: HealthModelProvisioningState;
137
- resourceGraphQuery: string;
138
- }
139
-
140
- // @public
141
- export type DiscoveryRuleRecommendedSignalsBehavior = string;
142
-
143
- // @public
144
- export type DiscoveryRuleRelationshipDiscoveryBehavior = string;
145
-
146
- // @public
147
- export interface DiscoveryRulesCreateOrUpdateOptionalParams extends OperationOptions {
148
- }
149
-
150
- // @public
151
- export interface DiscoveryRulesDeleteOptionalParams extends OperationOptions {
152
- }
153
-
154
- // @public
155
- export interface DiscoveryRulesGetOptionalParams extends OperationOptions {
156
- }
157
-
158
- // @public
159
- export interface DiscoveryRulesListByHealthModelOptionalParams extends OperationOptions {
160
- timestamp?: Date;
161
- }
162
-
163
- // @public
164
- export interface DiscoveryRulesOperations {
165
- createOrUpdate: (resourceGroupName: string, healthModelName: string, discoveryRuleName: string, resource: DiscoveryRule, options?: DiscoveryRulesCreateOrUpdateOptionalParams) => Promise<DiscoveryRule>;
166
- delete: (resourceGroupName: string, healthModelName: string, discoveryRuleName: string, options?: DiscoveryRulesDeleteOptionalParams) => Promise<void>;
167
- get: (resourceGroupName: string, healthModelName: string, discoveryRuleName: string, options?: DiscoveryRulesGetOptionalParams) => Promise<DiscoveryRule>;
168
- listByHealthModel: (resourceGroupName: string, healthModelName: string, options?: DiscoveryRulesListByHealthModelOptionalParams) => PagedAsyncIterableIterator<DiscoveryRule>;
169
- }
170
-
171
- // @public
172
- export interface DynamicDetectionRule {
173
- dynamicThresholdDirection: DynamicThresholdDirection;
174
- dynamicThresholdModel: DynamicThresholdModel;
175
- modelSensitivity: number;
176
- trainingStartTime?: Date;
177
- }
178
-
179
- // @public
180
- export type DynamicThresholdDirection = string;
181
-
182
- // @public
183
- export type DynamicThresholdModel = string;
184
-
185
- // @public
186
- export interface EntitiesCreateOrUpdateOptionalParams extends OperationOptions {
187
- }
188
-
189
- // @public
190
- export interface EntitiesDeleteOptionalParams extends OperationOptions {
191
- }
192
-
193
- // @public
194
- export interface EntitiesGetOptionalParams extends OperationOptions {
195
- }
196
-
197
- // @public
198
- export interface EntitiesListByHealthModelOptionalParams extends OperationOptions {
199
- timestamp?: Date;
200
- }
201
-
202
- // @public
203
- export interface EntitiesOperations {
204
- createOrUpdate: (resourceGroupName: string, healthModelName: string, entityName: string, resource: Entity, options?: EntitiesCreateOrUpdateOptionalParams) => Promise<Entity>;
205
- delete: (resourceGroupName: string, healthModelName: string, entityName: string, options?: EntitiesDeleteOptionalParams) => Promise<void>;
206
- get: (resourceGroupName: string, healthModelName: string, entityName: string, options?: EntitiesGetOptionalParams) => Promise<Entity>;
207
- listByHealthModel: (resourceGroupName: string, healthModelName: string, options?: EntitiesListByHealthModelOptionalParams) => PagedAsyncIterableIterator<Entity>;
208
- }
209
-
210
- // @public
211
- export interface Entity extends ProxyResource {
212
- properties?: EntityProperties;
213
- }
214
-
215
- // @public
216
- export interface EntityAlerts {
217
- degraded?: AlertConfiguration;
218
- unhealthy?: AlertConfiguration;
219
- }
220
-
221
- // @public
222
- export interface EntityCoordinates {
223
- x: number;
224
- y: number;
225
- }
226
-
227
- // @public
228
- export type EntityImpact = string;
229
-
230
- // @public
231
- export interface EntityProperties {
232
- alerts?: EntityAlerts;
233
- canvasPosition?: EntityCoordinates;
234
- readonly deletionDate?: Date;
235
- readonly discoveredBy?: string;
236
- displayName?: string;
237
- healthObjective?: number;
238
- readonly healthState?: HealthState;
239
- icon?: IconDefinition;
240
- impact?: EntityImpact;
241
- kind?: string;
242
- labels?: Record<string, string>;
243
- readonly provisioningState?: HealthModelProvisioningState;
244
- signals?: SignalGroup;
245
- }
246
-
247
- // @public
248
- export interface ErrorAdditionalInfo {
249
- readonly info?: any;
250
- readonly type?: string;
251
- }
252
-
253
- // @public
254
- export interface ErrorDetail {
255
- readonly additionalInfo?: ErrorAdditionalInfo[];
256
- readonly code?: string;
257
- readonly details?: ErrorDetail[];
258
- readonly message?: string;
259
- readonly target?: string;
260
- }
261
-
262
- // @public
263
- export interface ErrorResponse {
264
- error?: ErrorDetail;
265
- }
266
-
267
- // @public
268
- export interface EvaluationRule {
269
- degradedRule?: ThresholdRule;
270
- dynamicDetectionRule?: DynamicDetectionRule;
271
- unhealthyRule?: ThresholdRule;
272
- }
273
-
274
- // @public
275
- export interface HealthModel extends TrackedResource {
276
- identity?: ManagedServiceIdentity;
277
- properties?: HealthModelProperties;
278
- }
279
-
280
- // @public
281
- export interface HealthModelProperties {
282
- readonly dataplaneEndpoint?: string;
283
- discovery?: ModelDiscoverySettings;
284
- readonly provisioningState?: HealthModelProvisioningState;
285
- }
286
-
287
- // @public
288
- export type HealthModelProvisioningState = string;
289
-
290
- // @public
291
- export interface HealthModelsCreateOptionalParams extends OperationOptions {
292
- updateIntervalInMs?: number;
293
- }
294
-
295
- // @public
296
- export interface HealthModelsDeleteOptionalParams extends OperationOptions {
297
- updateIntervalInMs?: number;
298
- }
299
-
300
- // @public
301
- export interface HealthModelsGetOptionalParams extends OperationOptions {
302
- }
303
-
304
- // @public
305
- export interface HealthModelsListByResourceGroupOptionalParams extends OperationOptions {
306
- }
307
-
308
- // @public
309
- export interface HealthModelsListBySubscriptionOptionalParams extends OperationOptions {
310
- }
311
-
312
- // @public
313
- export interface HealthModelsOperations {
314
- create: (resourceGroupName: string, healthModelName: string, resource: HealthModel, options?: HealthModelsCreateOptionalParams) => PollerLike<OperationState<HealthModel>, HealthModel>;
315
- delete: (resourceGroupName: string, healthModelName: string, options?: HealthModelsDeleteOptionalParams) => PollerLike<OperationState<void>, void>;
316
- get: (resourceGroupName: string, healthModelName: string, options?: HealthModelsGetOptionalParams) => Promise<HealthModel>;
317
- listByResourceGroup: (resourceGroupName: string, options?: HealthModelsListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<HealthModel>;
318
- listBySubscription: (options?: HealthModelsListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<HealthModel>;
319
- update: (resourceGroupName: string, healthModelName: string, properties: HealthModelUpdate, options?: HealthModelsUpdateOptionalParams) => PollerLike<OperationState<HealthModel>, HealthModel>;
320
- }
321
-
322
- // @public
323
- export interface HealthModelsUpdateOptionalParams extends OperationOptions {
324
- updateIntervalInMs?: number;
325
- }
326
-
327
- // @public
328
- export interface HealthModelUpdate {
329
- identity?: ManagedServiceIdentity;
330
- properties?: HealthModelUpdateProperties;
331
- tags?: Record<string, string>;
332
- }
333
-
334
- // @public
335
- export interface HealthModelUpdateProperties {
336
- discovery?: ModelDiscoverySettings;
337
- }
338
-
339
- // @public
340
- export type HealthState = string;
341
-
342
- // @public
343
- export interface IconDefinition {
344
- customData?: string;
345
- iconName: string;
346
- }
347
-
348
- // @public
349
- export enum KnownActionType {
350
- Internal = "Internal"
351
- }
352
-
353
- // @public
354
- export enum KnownAlertSeverity {
355
- Sev0 = "Sev0",
356
- Sev1 = "Sev1",
357
- Sev2 = "Sev2",
358
- Sev3 = "Sev3",
359
- Sev4 = "Sev4"
360
- }
361
-
362
- // @public
363
- export enum KnownAuthenticationKind {
364
- // (undocumented)
365
- ManagedIdentity = "ManagedIdentity"
366
- }
367
-
368
- // @public
369
- export enum KnownCreatedByType {
370
- Application = "Application",
371
- Key = "Key",
372
- ManagedIdentity = "ManagedIdentity",
373
- User = "User"
374
- }
375
-
376
- // @public
377
- export enum KnownDependenciesAggregationType {
378
- Thresholds = "Thresholds",
379
- WorstOf = "WorstOf"
380
- }
381
-
382
- // @public
383
- export enum KnownDiscoveryRuleRecommendedSignalsBehavior {
384
- Disabled = "Disabled",
385
- Enabled = "Enabled"
386
- }
387
-
388
- // @public
389
- export enum KnownDiscoveryRuleRelationshipDiscoveryBehavior {
390
- Disabled = "Disabled",
391
- Enabled = "Enabled"
392
- }
393
-
394
- // @public
395
- export enum KnownDynamicThresholdDirection {
396
- GreaterOrLowerThan = "GreaterOrLowerThan",
397
- GreaterThan = "GreaterThan",
398
- LowerThan = "LowerThan"
399
- }
400
-
401
- // @public
402
- export enum KnownDynamicThresholdModel {
403
- AnomalyDetection = "AnomalyDetection"
404
- }
405
-
406
- // @public
407
- export enum KnownEntityImpact {
408
- Limited = "Limited",
409
- Standard = "Standard",
410
- Suppressed = "Suppressed"
411
- }
412
-
413
- // @public
414
- export enum KnownHealthModelProvisioningState {
415
- Canceled = "Canceled",
416
- // (undocumented)
417
- Creating = "Creating",
418
- // (undocumented)
419
- Deleting = "Deleting",
420
- Failed = "Failed",
421
- Succeeded = "Succeeded"
422
- }
423
-
424
- // @public
425
- export enum KnownHealthState {
426
- Degraded = "Degraded",
427
- Deleted = "Deleted",
428
- Error = "Error",
429
- Healthy = "Healthy",
430
- Unknown = "Unknown"
431
- }
432
-
433
- // @public
434
- export enum KnownManagedServiceIdentityType {
435
- None = "None",
436
- SystemAssigned = "SystemAssigned",
437
- SystemAssignedUserAssigned = "SystemAssigned,UserAssigned",
438
- UserAssigned = "UserAssigned"
439
- }
440
-
441
- // @public
442
- export enum KnownMetricAggregationType {
443
- // (undocumented)
444
- Average = "Average",
445
- // (undocumented)
446
- Count = "Count",
447
- // (undocumented)
448
- Maximum = "Maximum",
449
- // (undocumented)
450
- Minimum = "Minimum",
451
- // (undocumented)
452
- None = "None",
453
- // (undocumented)
454
- Total = "Total"
455
- }
456
-
457
- // @public
458
- export enum KnownOrigin {
459
- System = "system",
460
- User = "user",
461
- UserSystem = "user,system"
462
- }
463
-
464
- // @public
465
- export enum KnownRefreshInterval {
466
- PT10M = "PT10M",
467
- PT1H = "PT1H",
468
- PT1M = "PT1M",
469
- PT2H = "PT2H",
470
- PT30M = "PT30M",
471
- PT5M = "PT5M"
472
- }
473
-
474
- // @public
475
- export enum KnownSignalKind {
476
- // (undocumented)
477
- AzureResourceMetric = "AzureResourceMetric",
478
- // (undocumented)
479
- LogAnalyticsQuery = "LogAnalyticsQuery",
480
- // (undocumented)
481
- PrometheusMetricsQuery = "PrometheusMetricsQuery"
482
- }
483
-
484
- // @public
485
- export enum KnownSignalOperator {
486
- Equals = "Equals",
487
- GreaterOrEquals = "GreaterOrEquals",
488
- GreaterThan = "GreaterThan",
489
- LowerOrEquals = "LowerOrEquals",
490
- LowerThan = "LowerThan"
491
- }
492
-
493
- // @public
494
- export enum KnownVersions {
495
- V20250501Preview = "2025-05-01-preview"
496
- }
497
-
498
- // @public
499
- export interface LogAnalyticsQuerySignalDefinitionProperties extends SignalDefinitionProperties {
500
- queryText: string;
501
- signalKind: "LogAnalyticsQuery";
502
- timeGrain?: string;
503
- valueColumnName?: string;
504
- }
505
-
506
- // @public
507
- export interface LogAnalyticsSignalGroup {
508
- authenticationSetting: string;
509
- logAnalyticsWorkspaceResourceId: string;
510
- signalAssignments?: SignalAssignment[];
511
- }
512
-
513
- // @public
514
- export interface ManagedIdentityAuthenticationSettingProperties extends AuthenticationSettingProperties {
515
- authenticationKind: "ManagedIdentity";
516
- managedIdentityName: string;
517
- }
518
-
519
- // @public
520
- export interface ManagedServiceIdentity {
521
- readonly principalId?: string;
522
- readonly tenantId?: string;
523
- type: ManagedServiceIdentityType;
524
- userAssignedIdentities?: Record<string, UserAssignedIdentity | null>;
525
- }
526
-
527
- // @public
528
- export type ManagedServiceIdentityType = string;
529
-
530
- // @public
531
- export type MetricAggregationType = string;
532
-
533
- // @public
534
- export interface ModelDiscoverySettings {
535
- addRecommendedSignals: DiscoveryRuleRecommendedSignalsBehavior;
536
- identity?: string;
537
- scope: string;
538
- }
539
-
540
- // @public
541
- export interface Operation {
542
- readonly actionType?: ActionType;
543
- display?: OperationDisplay;
544
- readonly isDataAction?: boolean;
545
- readonly name?: string;
546
- readonly origin?: Origin;
547
- }
548
-
549
- // @public
550
- export interface OperationDisplay {
551
- readonly description?: string;
552
- readonly operation?: string;
553
- readonly provider?: string;
554
- readonly resource?: string;
555
- }
556
-
557
- // @public
558
- export interface OperationsListOptionalParams extends OperationOptions {
559
- }
560
-
561
- // @public
562
- export interface OperationsOperations {
563
- list: (options?: OperationsListOptionalParams) => PagedAsyncIterableIterator<Operation>;
564
- }
565
-
566
- // @public
567
- export type Origin = string;
568
-
569
- // @public
570
- export interface PagedAsyncIterableIterator<TElement, TPage = TElement[], TPageSettings extends PageSettings = PageSettings> {
571
- [Symbol.asyncIterator](): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
572
- byPage: (settings?: TPageSettings) => AsyncIterableIterator<ContinuablePage<TElement, TPage>>;
573
- next(): Promise<IteratorResult<TElement>>;
574
- }
575
-
576
- // @public
577
- export interface PageSettings {
578
- continuationToken?: string;
579
- }
580
-
581
- // @public
582
- export interface PrometheusMetricsSignalDefinitionProperties extends SignalDefinitionProperties {
583
- queryText: string;
584
- signalKind: "PrometheusMetricsQuery";
585
- timeGrain?: string;
586
- }
587
-
588
- // @public
589
- export interface ProxyResource extends Resource {
590
- }
591
-
592
- // @public
593
- export type RefreshInterval = string;
594
-
595
- // @public
596
- export interface Relationship extends ProxyResource {
597
- properties?: RelationshipProperties;
598
- }
599
-
600
- // @public
601
- export interface RelationshipProperties {
602
- childEntityName: string;
603
- readonly deletionDate?: Date;
604
- readonly discoveredBy?: string;
605
- displayName?: string;
606
- labels?: Record<string, string>;
607
- parentEntityName: string;
608
- readonly provisioningState?: HealthModelProvisioningState;
609
- }
610
-
611
- // @public
612
- export interface RelationshipsCreateOrUpdateOptionalParams extends OperationOptions {
613
- }
614
-
615
- // @public
616
- export interface RelationshipsDeleteOptionalParams extends OperationOptions {
617
- }
618
-
619
- // @public
620
- export interface RelationshipsGetOptionalParams extends OperationOptions {
621
- }
622
-
623
- // @public
624
- export interface RelationshipsListByHealthModelOptionalParams extends OperationOptions {
625
- timestamp?: Date;
626
- }
627
-
628
- // @public
629
- export interface RelationshipsOperations {
630
- createOrUpdate: (resourceGroupName: string, healthModelName: string, relationshipName: string, resource: Relationship, options?: RelationshipsCreateOrUpdateOptionalParams) => Promise<Relationship>;
631
- delete: (resourceGroupName: string, healthModelName: string, relationshipName: string, options?: RelationshipsDeleteOptionalParams) => Promise<void>;
632
- get: (resourceGroupName: string, healthModelName: string, relationshipName: string, options?: RelationshipsGetOptionalParams) => Promise<Relationship>;
633
- listByHealthModel: (resourceGroupName: string, healthModelName: string, options?: RelationshipsListByHealthModelOptionalParams) => PagedAsyncIterableIterator<Relationship>;
634
- }
635
-
636
- // @public
637
- export interface Resource {
638
- readonly id?: string;
639
- readonly name?: string;
640
- readonly systemData?: SystemData;
641
- readonly type?: string;
642
- }
643
-
644
- // @public
645
- export interface ResourceMetricSignalDefinitionProperties extends SignalDefinitionProperties {
646
- aggregationType: MetricAggregationType;
647
- dimension?: string;
648
- dimensionFilter?: string;
649
- metricName: string;
650
- metricNamespace: string;
651
- signalKind: "AzureResourceMetric";
652
- timeGrain: string;
653
- }
654
-
655
- // @public
656
- export function restorePoller<TResponse extends PathUncheckedResponse, TResult>(client: CloudHealthClient, serializedState: string, sourceOperation: (...args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult>): PollerLike<OperationState<TResult>, TResult>;
657
-
658
- // @public (undocumented)
659
- export interface RestorePollerOptions<TResult, TResponse extends PathUncheckedResponse = PathUncheckedResponse> extends OperationOptions {
660
- abortSignal?: AbortSignalLike;
661
- processResponseBody?: (result: TResponse) => Promise<TResult>;
662
- updateIntervalInMs?: number;
663
- }
664
-
665
- // @public
666
- export interface SignalAssignment {
667
- signalDefinitions: string[];
668
- }
669
-
670
- // @public
671
- export interface SignalDefinition extends ProxyResource {
672
- properties?: SignalDefinitionPropertiesUnion;
673
- }
674
-
675
- // @public
676
- export interface SignalDefinitionProperties {
677
- dataUnit?: string;
678
- readonly deletionDate?: Date;
679
- displayName?: string;
680
- evaluationRules: EvaluationRule;
681
- labels?: Record<string, string>;
682
- readonly provisioningState?: HealthModelProvisioningState;
683
- refreshInterval?: RefreshInterval;
684
- signalKind: SignalKind;
685
- }
686
-
687
- // @public
688
- export type SignalDefinitionPropertiesUnion = ResourceMetricSignalDefinitionProperties | LogAnalyticsQuerySignalDefinitionProperties | PrometheusMetricsSignalDefinitionProperties | SignalDefinitionProperties;
689
-
690
- // @public
691
- export interface SignalDefinitionsCreateOrUpdateOptionalParams extends OperationOptions {
692
- }
693
-
694
- // @public
695
- export interface SignalDefinitionsDeleteOptionalParams extends OperationOptions {
696
- }
697
-
698
- // @public
699
- export interface SignalDefinitionsGetOptionalParams extends OperationOptions {
700
- }
701
-
702
- // @public
703
- export interface SignalDefinitionsListByHealthModelOptionalParams extends OperationOptions {
704
- timestamp?: Date;
705
- }
706
-
707
- // @public
708
- export interface SignalDefinitionsOperations {
709
- createOrUpdate: (resourceGroupName: string, healthModelName: string, signalDefinitionName: string, resource: SignalDefinition, options?: SignalDefinitionsCreateOrUpdateOptionalParams) => Promise<SignalDefinition>;
710
- delete: (resourceGroupName: string, healthModelName: string, signalDefinitionName: string, options?: SignalDefinitionsDeleteOptionalParams) => Promise<void>;
711
- get: (resourceGroupName: string, healthModelName: string, signalDefinitionName: string, options?: SignalDefinitionsGetOptionalParams) => Promise<SignalDefinition>;
712
- listByHealthModel: (resourceGroupName: string, healthModelName: string, options?: SignalDefinitionsListByHealthModelOptionalParams) => PagedAsyncIterableIterator<SignalDefinition>;
713
- }
714
-
715
- // @public
716
- export interface SignalGroup {
717
- azureLogAnalytics?: LogAnalyticsSignalGroup;
718
- azureMonitorWorkspace?: AzureMonitorWorkspaceSignalGroup;
719
- azureResource?: AzureResourceSignalGroup;
720
- dependencies?: DependenciesSignalGroup;
721
- }
722
-
723
- // @public
724
- export type SignalKind = string;
725
-
726
- // @public
727
- export type SignalOperator = string;
728
-
729
- // @public
730
- export interface SystemData {
731
- createdAt?: Date;
732
- createdBy?: string;
733
- createdByType?: CreatedByType;
734
- lastModifiedAt?: Date;
735
- lastModifiedBy?: string;
736
- lastModifiedByType?: CreatedByType;
737
- }
738
-
739
- // @public
740
- export interface ThresholdRule {
741
- operator: SignalOperator;
742
- threshold: string;
743
- }
744
-
745
- // @public
746
- export interface TrackedResource extends Resource {
747
- location: string;
748
- tags?: Record<string, string>;
749
- }
750
-
751
- // @public
752
- export interface UserAssignedIdentity {
753
- readonly clientId?: string;
754
- readonly principalId?: string;
755
- }
756
-
757
- // (No @packageDocumentation comment for this package)
758
-
759
- ```
1
+ ## API Report File for "@azure/arm-cloudhealth"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import { AbortSignalLike } from '@azure/abort-controller';
8
+ import { ClientOptions } from '@azure-rest/core-client';
9
+ import { OperationOptions } from '@azure-rest/core-client';
10
+ import { OperationState } from '@azure/core-lro';
11
+ import { PathUncheckedResponse } from '@azure-rest/core-client';
12
+ import { Pipeline } from '@azure/core-rest-pipeline';
13
+ import { PollerLike } from '@azure/core-lro';
14
+ import { TokenCredential } from '@azure/core-auth';
15
+
16
+ // @public
17
+ export type ActionType = string;
18
+
19
+ // @public
20
+ export interface AlertConfiguration {
21
+ actionGroupIds?: string[];
22
+ description?: string;
23
+ severity: AlertSeverity;
24
+ }
25
+
26
+ // @public
27
+ export type AlertSeverity = string;
28
+
29
+ // @public
30
+ export type AuthenticationKind = string;
31
+
32
+ // @public
33
+ export interface AuthenticationSetting extends ProxyResource {
34
+ properties?: AuthenticationSettingPropertiesUnion;
35
+ }
36
+
37
+ // @public
38
+ export interface AuthenticationSettingProperties {
39
+ authenticationKind: AuthenticationKind;
40
+ displayName?: string;
41
+ readonly provisioningState?: HealthModelProvisioningState;
42
+ }
43
+
44
+ // @public
45
+ export type AuthenticationSettingPropertiesUnion = ManagedIdentityAuthenticationSettingProperties | AuthenticationSettingProperties;
46
+
47
+ // @public
48
+ export interface AuthenticationSettingsCreateOrUpdateOptionalParams extends OperationOptions {
49
+ }
50
+
51
+ // @public
52
+ export interface AuthenticationSettingsDeleteOptionalParams extends OperationOptions {
53
+ }
54
+
55
+ // @public
56
+ export interface AuthenticationSettingsGetOptionalParams extends OperationOptions {
57
+ }
58
+
59
+ // @public
60
+ export interface AuthenticationSettingsListByHealthModelOptionalParams extends OperationOptions {
61
+ }
62
+
63
+ // @public
64
+ export interface AuthenticationSettingsOperations {
65
+ createOrUpdate: (resourceGroupName: string, healthModelName: string, authenticationSettingName: string, resource: AuthenticationSetting, options?: AuthenticationSettingsCreateOrUpdateOptionalParams) => Promise<AuthenticationSetting>;
66
+ delete: (resourceGroupName: string, healthModelName: string, authenticationSettingName: string, options?: AuthenticationSettingsDeleteOptionalParams) => Promise<void>;
67
+ get: (resourceGroupName: string, healthModelName: string, authenticationSettingName: string, options?: AuthenticationSettingsGetOptionalParams) => Promise<AuthenticationSetting>;
68
+ listByHealthModel: (resourceGroupName: string, healthModelName: string, options?: AuthenticationSettingsListByHealthModelOptionalParams) => PagedAsyncIterableIterator<AuthenticationSetting>;
69
+ }
70
+
71
+ // @public
72
+ export interface AzureMonitorWorkspaceSignalGroup {
73
+ authenticationSetting: string;
74
+ azureMonitorWorkspaceResourceId: string;
75
+ signalAssignments?: SignalAssignment[];
76
+ }
77
+
78
+ // @public
79
+ export interface AzureResourceSignalGroup {
80
+ authenticationSetting: string;
81
+ azureResourceId: string;
82
+ signalAssignments?: SignalAssignment[];
83
+ }
84
+
85
+ // @public (undocumented)
86
+ export class CloudHealthClient {
87
+ constructor(credential: TokenCredential, subscriptionId: string, options?: CloudHealthClientOptionalParams);
88
+ readonly authenticationSettings: AuthenticationSettingsOperations;
89
+ readonly discoveryRules: DiscoveryRulesOperations;
90
+ readonly entities: EntitiesOperations;
91
+ readonly healthModels: HealthModelsOperations;
92
+ readonly operations: OperationsOperations;
93
+ readonly pipeline: Pipeline;
94
+ readonly relationships: RelationshipsOperations;
95
+ readonly signalDefinitions: SignalDefinitionsOperations;
96
+ }
97
+
98
+ // @public
99
+ export interface CloudHealthClientOptionalParams extends ClientOptions {
100
+ apiVersion?: string;
101
+ }
102
+
103
+ // @public
104
+ export type ContinuablePage<TElement, TPage = TElement[]> = TPage & {
105
+ continuationToken?: string;
106
+ };
107
+
108
+ // @public
109
+ export type CreatedByType = string;
110
+
111
+ // @public
112
+ export type DependenciesAggregationType = string;
113
+
114
+ // @public
115
+ export interface DependenciesSignalGroup {
116
+ aggregationType: DependenciesAggregationType;
117
+ degradedThreshold?: string;
118
+ unhealthyThreshold?: string;
119
+ }
120
+
121
+ // @public
122
+ export interface DiscoveryRule extends ProxyResource {
123
+ properties?: DiscoveryRuleProperties;
124
+ }
125
+
126
+ // @public
127
+ export interface DiscoveryRuleProperties {
128
+ addRecommendedSignals: DiscoveryRuleRecommendedSignalsBehavior;
129
+ authenticationSetting: string;
130
+ readonly deletionDate?: Date;
131
+ discoverRelationships: DiscoveryRuleRelationshipDiscoveryBehavior;
132
+ displayName?: string;
133
+ readonly entityName: string;
134
+ readonly errorMessage?: string;
135
+ readonly numberOfDiscoveredEntities?: number;
136
+ readonly provisioningState?: HealthModelProvisioningState;
137
+ resourceGraphQuery: string;
138
+ }
139
+
140
+ // @public
141
+ export type DiscoveryRuleRecommendedSignalsBehavior = string;
142
+
143
+ // @public
144
+ export type DiscoveryRuleRelationshipDiscoveryBehavior = string;
145
+
146
+ // @public
147
+ export interface DiscoveryRulesCreateOrUpdateOptionalParams extends OperationOptions {
148
+ }
149
+
150
+ // @public
151
+ export interface DiscoveryRulesDeleteOptionalParams extends OperationOptions {
152
+ }
153
+
154
+ // @public
155
+ export interface DiscoveryRulesGetOptionalParams extends OperationOptions {
156
+ }
157
+
158
+ // @public
159
+ export interface DiscoveryRulesListByHealthModelOptionalParams extends OperationOptions {
160
+ timestamp?: Date;
161
+ }
162
+
163
+ // @public
164
+ export interface DiscoveryRulesOperations {
165
+ createOrUpdate: (resourceGroupName: string, healthModelName: string, discoveryRuleName: string, resource: DiscoveryRule, options?: DiscoveryRulesCreateOrUpdateOptionalParams) => Promise<DiscoveryRule>;
166
+ delete: (resourceGroupName: string, healthModelName: string, discoveryRuleName: string, options?: DiscoveryRulesDeleteOptionalParams) => Promise<void>;
167
+ get: (resourceGroupName: string, healthModelName: string, discoveryRuleName: string, options?: DiscoveryRulesGetOptionalParams) => Promise<DiscoveryRule>;
168
+ listByHealthModel: (resourceGroupName: string, healthModelName: string, options?: DiscoveryRulesListByHealthModelOptionalParams) => PagedAsyncIterableIterator<DiscoveryRule>;
169
+ }
170
+
171
+ // @public
172
+ export interface DynamicDetectionRule {
173
+ dynamicThresholdDirection: DynamicThresholdDirection;
174
+ dynamicThresholdModel: DynamicThresholdModel;
175
+ modelSensitivity: number;
176
+ trainingStartTime?: Date;
177
+ }
178
+
179
+ // @public
180
+ export type DynamicThresholdDirection = string;
181
+
182
+ // @public
183
+ export type DynamicThresholdModel = string;
184
+
185
+ // @public
186
+ export interface EntitiesCreateOrUpdateOptionalParams extends OperationOptions {
187
+ }
188
+
189
+ // @public
190
+ export interface EntitiesDeleteOptionalParams extends OperationOptions {
191
+ }
192
+
193
+ // @public
194
+ export interface EntitiesGetOptionalParams extends OperationOptions {
195
+ }
196
+
197
+ // @public
198
+ export interface EntitiesListByHealthModelOptionalParams extends OperationOptions {
199
+ timestamp?: Date;
200
+ }
201
+
202
+ // @public
203
+ export interface EntitiesOperations {
204
+ createOrUpdate: (resourceGroupName: string, healthModelName: string, entityName: string, resource: Entity, options?: EntitiesCreateOrUpdateOptionalParams) => Promise<Entity>;
205
+ delete: (resourceGroupName: string, healthModelName: string, entityName: string, options?: EntitiesDeleteOptionalParams) => Promise<void>;
206
+ get: (resourceGroupName: string, healthModelName: string, entityName: string, options?: EntitiesGetOptionalParams) => Promise<Entity>;
207
+ listByHealthModel: (resourceGroupName: string, healthModelName: string, options?: EntitiesListByHealthModelOptionalParams) => PagedAsyncIterableIterator<Entity>;
208
+ }
209
+
210
+ // @public
211
+ export interface Entity extends ProxyResource {
212
+ properties?: EntityProperties;
213
+ }
214
+
215
+ // @public
216
+ export interface EntityAlerts {
217
+ degraded?: AlertConfiguration;
218
+ unhealthy?: AlertConfiguration;
219
+ }
220
+
221
+ // @public
222
+ export interface EntityCoordinates {
223
+ x: number;
224
+ y: number;
225
+ }
226
+
227
+ // @public
228
+ export type EntityImpact = string;
229
+
230
+ // @public
231
+ export interface EntityProperties {
232
+ alerts?: EntityAlerts;
233
+ canvasPosition?: EntityCoordinates;
234
+ readonly deletionDate?: Date;
235
+ readonly discoveredBy?: string;
236
+ displayName?: string;
237
+ healthObjective?: number;
238
+ readonly healthState?: HealthState;
239
+ icon?: IconDefinition;
240
+ impact?: EntityImpact;
241
+ kind?: string;
242
+ labels?: Record<string, string>;
243
+ readonly provisioningState?: HealthModelProvisioningState;
244
+ signals?: SignalGroup;
245
+ }
246
+
247
+ // @public
248
+ export interface ErrorAdditionalInfo {
249
+ readonly info?: any;
250
+ readonly type?: string;
251
+ }
252
+
253
+ // @public
254
+ export interface ErrorDetail {
255
+ readonly additionalInfo?: ErrorAdditionalInfo[];
256
+ readonly code?: string;
257
+ readonly details?: ErrorDetail[];
258
+ readonly message?: string;
259
+ readonly target?: string;
260
+ }
261
+
262
+ // @public
263
+ export interface ErrorResponse {
264
+ error?: ErrorDetail;
265
+ }
266
+
267
+ // @public
268
+ export interface EvaluationRule {
269
+ degradedRule?: ThresholdRule;
270
+ dynamicDetectionRule?: DynamicDetectionRule;
271
+ unhealthyRule?: ThresholdRule;
272
+ }
273
+
274
+ // @public
275
+ export interface HealthModel extends TrackedResource {
276
+ identity?: ManagedServiceIdentity;
277
+ properties?: HealthModelProperties;
278
+ }
279
+
280
+ // @public
281
+ export interface HealthModelProperties {
282
+ readonly dataplaneEndpoint?: string;
283
+ discovery?: ModelDiscoverySettings;
284
+ readonly provisioningState?: HealthModelProvisioningState;
285
+ }
286
+
287
+ // @public
288
+ export type HealthModelProvisioningState = string;
289
+
290
+ // @public
291
+ export interface HealthModelsCreateOptionalParams extends OperationOptions {
292
+ updateIntervalInMs?: number;
293
+ }
294
+
295
+ // @public
296
+ export interface HealthModelsDeleteOptionalParams extends OperationOptions {
297
+ updateIntervalInMs?: number;
298
+ }
299
+
300
+ // @public
301
+ export interface HealthModelsGetOptionalParams extends OperationOptions {
302
+ }
303
+
304
+ // @public
305
+ export interface HealthModelsListByResourceGroupOptionalParams extends OperationOptions {
306
+ }
307
+
308
+ // @public
309
+ export interface HealthModelsListBySubscriptionOptionalParams extends OperationOptions {
310
+ }
311
+
312
+ // @public
313
+ export interface HealthModelsOperations {
314
+ create: (resourceGroupName: string, healthModelName: string, resource: HealthModel, options?: HealthModelsCreateOptionalParams) => PollerLike<OperationState<HealthModel>, HealthModel>;
315
+ delete: (resourceGroupName: string, healthModelName: string, options?: HealthModelsDeleteOptionalParams) => PollerLike<OperationState<void>, void>;
316
+ get: (resourceGroupName: string, healthModelName: string, options?: HealthModelsGetOptionalParams) => Promise<HealthModel>;
317
+ listByResourceGroup: (resourceGroupName: string, options?: HealthModelsListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<HealthModel>;
318
+ listBySubscription: (options?: HealthModelsListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<HealthModel>;
319
+ update: (resourceGroupName: string, healthModelName: string, properties: HealthModelUpdate, options?: HealthModelsUpdateOptionalParams) => PollerLike<OperationState<HealthModel>, HealthModel>;
320
+ }
321
+
322
+ // @public
323
+ export interface HealthModelsUpdateOptionalParams extends OperationOptions {
324
+ updateIntervalInMs?: number;
325
+ }
326
+
327
+ // @public
328
+ export interface HealthModelUpdate {
329
+ identity?: ManagedServiceIdentity;
330
+ properties?: HealthModelUpdateProperties;
331
+ tags?: Record<string, string>;
332
+ }
333
+
334
+ // @public
335
+ export interface HealthModelUpdateProperties {
336
+ discovery?: ModelDiscoverySettings;
337
+ }
338
+
339
+ // @public
340
+ export type HealthState = string;
341
+
342
+ // @public
343
+ export interface IconDefinition {
344
+ customData?: string;
345
+ iconName: string;
346
+ }
347
+
348
+ // @public
349
+ export enum KnownActionType {
350
+ Internal = "Internal"
351
+ }
352
+
353
+ // @public
354
+ export enum KnownAlertSeverity {
355
+ Sev0 = "Sev0",
356
+ Sev1 = "Sev1",
357
+ Sev2 = "Sev2",
358
+ Sev3 = "Sev3",
359
+ Sev4 = "Sev4"
360
+ }
361
+
362
+ // @public
363
+ export enum KnownAuthenticationKind {
364
+ // (undocumented)
365
+ ManagedIdentity = "ManagedIdentity"
366
+ }
367
+
368
+ // @public
369
+ export enum KnownCreatedByType {
370
+ Application = "Application",
371
+ Key = "Key",
372
+ ManagedIdentity = "ManagedIdentity",
373
+ User = "User"
374
+ }
375
+
376
+ // @public
377
+ export enum KnownDependenciesAggregationType {
378
+ Thresholds = "Thresholds",
379
+ WorstOf = "WorstOf"
380
+ }
381
+
382
+ // @public
383
+ export enum KnownDiscoveryRuleRecommendedSignalsBehavior {
384
+ Disabled = "Disabled",
385
+ Enabled = "Enabled"
386
+ }
387
+
388
+ // @public
389
+ export enum KnownDiscoveryRuleRelationshipDiscoveryBehavior {
390
+ Disabled = "Disabled",
391
+ Enabled = "Enabled"
392
+ }
393
+
394
+ // @public
395
+ export enum KnownDynamicThresholdDirection {
396
+ GreaterOrLowerThan = "GreaterOrLowerThan",
397
+ GreaterThan = "GreaterThan",
398
+ LowerThan = "LowerThan"
399
+ }
400
+
401
+ // @public
402
+ export enum KnownDynamicThresholdModel {
403
+ AnomalyDetection = "AnomalyDetection"
404
+ }
405
+
406
+ // @public
407
+ export enum KnownEntityImpact {
408
+ Limited = "Limited",
409
+ Standard = "Standard",
410
+ Suppressed = "Suppressed"
411
+ }
412
+
413
+ // @public
414
+ export enum KnownHealthModelProvisioningState {
415
+ Canceled = "Canceled",
416
+ // (undocumented)
417
+ Creating = "Creating",
418
+ // (undocumented)
419
+ Deleting = "Deleting",
420
+ Failed = "Failed",
421
+ Succeeded = "Succeeded"
422
+ }
423
+
424
+ // @public
425
+ export enum KnownHealthState {
426
+ Degraded = "Degraded",
427
+ Deleted = "Deleted",
428
+ Error = "Error",
429
+ Healthy = "Healthy",
430
+ Unknown = "Unknown"
431
+ }
432
+
433
+ // @public
434
+ export enum KnownManagedServiceIdentityType {
435
+ None = "None",
436
+ SystemAssigned = "SystemAssigned",
437
+ SystemAssignedUserAssigned = "SystemAssigned,UserAssigned",
438
+ UserAssigned = "UserAssigned"
439
+ }
440
+
441
+ // @public
442
+ export enum KnownMetricAggregationType {
443
+ // (undocumented)
444
+ Average = "Average",
445
+ // (undocumented)
446
+ Count = "Count",
447
+ // (undocumented)
448
+ Maximum = "Maximum",
449
+ // (undocumented)
450
+ Minimum = "Minimum",
451
+ // (undocumented)
452
+ None = "None",
453
+ // (undocumented)
454
+ Total = "Total"
455
+ }
456
+
457
+ // @public
458
+ export enum KnownOrigin {
459
+ System = "system",
460
+ User = "user",
461
+ UserSystem = "user,system"
462
+ }
463
+
464
+ // @public
465
+ export enum KnownRefreshInterval {
466
+ PT10M = "PT10M",
467
+ PT1H = "PT1H",
468
+ PT1M = "PT1M",
469
+ PT2H = "PT2H",
470
+ PT30M = "PT30M",
471
+ PT5M = "PT5M"
472
+ }
473
+
474
+ // @public
475
+ export enum KnownSignalKind {
476
+ // (undocumented)
477
+ AzureResourceMetric = "AzureResourceMetric",
478
+ // (undocumented)
479
+ LogAnalyticsQuery = "LogAnalyticsQuery",
480
+ // (undocumented)
481
+ PrometheusMetricsQuery = "PrometheusMetricsQuery"
482
+ }
483
+
484
+ // @public
485
+ export enum KnownSignalOperator {
486
+ Equals = "Equals",
487
+ GreaterOrEquals = "GreaterOrEquals",
488
+ GreaterThan = "GreaterThan",
489
+ LowerOrEquals = "LowerOrEquals",
490
+ LowerThan = "LowerThan"
491
+ }
492
+
493
+ // @public
494
+ export enum KnownVersions {
495
+ V20250501Preview = "2025-05-01-preview"
496
+ }
497
+
498
+ // @public
499
+ export interface LogAnalyticsQuerySignalDefinitionProperties extends SignalDefinitionProperties {
500
+ queryText: string;
501
+ signalKind: "LogAnalyticsQuery";
502
+ timeGrain?: string;
503
+ valueColumnName?: string;
504
+ }
505
+
506
+ // @public
507
+ export interface LogAnalyticsSignalGroup {
508
+ authenticationSetting: string;
509
+ logAnalyticsWorkspaceResourceId: string;
510
+ signalAssignments?: SignalAssignment[];
511
+ }
512
+
513
+ // @public
514
+ export interface ManagedIdentityAuthenticationSettingProperties extends AuthenticationSettingProperties {
515
+ authenticationKind: "ManagedIdentity";
516
+ managedIdentityName: string;
517
+ }
518
+
519
+ // @public
520
+ export interface ManagedServiceIdentity {
521
+ readonly principalId?: string;
522
+ readonly tenantId?: string;
523
+ type: ManagedServiceIdentityType;
524
+ userAssignedIdentities?: Record<string, UserAssignedIdentity | null>;
525
+ }
526
+
527
+ // @public
528
+ export type ManagedServiceIdentityType = string;
529
+
530
+ // @public
531
+ export type MetricAggregationType = string;
532
+
533
+ // @public
534
+ export interface ModelDiscoverySettings {
535
+ addRecommendedSignals: DiscoveryRuleRecommendedSignalsBehavior;
536
+ identity?: string;
537
+ scope: string;
538
+ }
539
+
540
+ // @public
541
+ export interface Operation {
542
+ readonly actionType?: ActionType;
543
+ display?: OperationDisplay;
544
+ readonly isDataAction?: boolean;
545
+ readonly name?: string;
546
+ readonly origin?: Origin;
547
+ }
548
+
549
+ // @public
550
+ export interface OperationDisplay {
551
+ readonly description?: string;
552
+ readonly operation?: string;
553
+ readonly provider?: string;
554
+ readonly resource?: string;
555
+ }
556
+
557
+ // @public
558
+ export interface OperationsListOptionalParams extends OperationOptions {
559
+ }
560
+
561
+ // @public
562
+ export interface OperationsOperations {
563
+ list: (options?: OperationsListOptionalParams) => PagedAsyncIterableIterator<Operation>;
564
+ }
565
+
566
+ // @public
567
+ export type Origin = string;
568
+
569
+ // @public
570
+ export interface PagedAsyncIterableIterator<TElement, TPage = TElement[], TPageSettings extends PageSettings = PageSettings> {
571
+ [Symbol.asyncIterator](): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
572
+ byPage: (settings?: TPageSettings) => AsyncIterableIterator<ContinuablePage<TElement, TPage>>;
573
+ next(): Promise<IteratorResult<TElement>>;
574
+ }
575
+
576
+ // @public
577
+ export interface PageSettings {
578
+ continuationToken?: string;
579
+ }
580
+
581
+ // @public
582
+ export interface PrometheusMetricsSignalDefinitionProperties extends SignalDefinitionProperties {
583
+ queryText: string;
584
+ signalKind: "PrometheusMetricsQuery";
585
+ timeGrain?: string;
586
+ }
587
+
588
+ // @public
589
+ export interface ProxyResource extends Resource {
590
+ }
591
+
592
+ // @public
593
+ export type RefreshInterval = string;
594
+
595
+ // @public
596
+ export interface Relationship extends ProxyResource {
597
+ properties?: RelationshipProperties;
598
+ }
599
+
600
+ // @public
601
+ export interface RelationshipProperties {
602
+ childEntityName: string;
603
+ readonly deletionDate?: Date;
604
+ readonly discoveredBy?: string;
605
+ displayName?: string;
606
+ labels?: Record<string, string>;
607
+ parentEntityName: string;
608
+ readonly provisioningState?: HealthModelProvisioningState;
609
+ }
610
+
611
+ // @public
612
+ export interface RelationshipsCreateOrUpdateOptionalParams extends OperationOptions {
613
+ }
614
+
615
+ // @public
616
+ export interface RelationshipsDeleteOptionalParams extends OperationOptions {
617
+ }
618
+
619
+ // @public
620
+ export interface RelationshipsGetOptionalParams extends OperationOptions {
621
+ }
622
+
623
+ // @public
624
+ export interface RelationshipsListByHealthModelOptionalParams extends OperationOptions {
625
+ timestamp?: Date;
626
+ }
627
+
628
+ // @public
629
+ export interface RelationshipsOperations {
630
+ createOrUpdate: (resourceGroupName: string, healthModelName: string, relationshipName: string, resource: Relationship, options?: RelationshipsCreateOrUpdateOptionalParams) => Promise<Relationship>;
631
+ delete: (resourceGroupName: string, healthModelName: string, relationshipName: string, options?: RelationshipsDeleteOptionalParams) => Promise<void>;
632
+ get: (resourceGroupName: string, healthModelName: string, relationshipName: string, options?: RelationshipsGetOptionalParams) => Promise<Relationship>;
633
+ listByHealthModel: (resourceGroupName: string, healthModelName: string, options?: RelationshipsListByHealthModelOptionalParams) => PagedAsyncIterableIterator<Relationship>;
634
+ }
635
+
636
+ // @public
637
+ export interface Resource {
638
+ readonly id?: string;
639
+ readonly name?: string;
640
+ readonly systemData?: SystemData;
641
+ readonly type?: string;
642
+ }
643
+
644
+ // @public
645
+ export interface ResourceMetricSignalDefinitionProperties extends SignalDefinitionProperties {
646
+ aggregationType: MetricAggregationType;
647
+ dimension?: string;
648
+ dimensionFilter?: string;
649
+ metricName: string;
650
+ metricNamespace: string;
651
+ signalKind: "AzureResourceMetric";
652
+ timeGrain: string;
653
+ }
654
+
655
+ // @public
656
+ export function restorePoller<TResponse extends PathUncheckedResponse, TResult>(client: CloudHealthClient, serializedState: string, sourceOperation: (...args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult>): PollerLike<OperationState<TResult>, TResult>;
657
+
658
+ // @public (undocumented)
659
+ export interface RestorePollerOptions<TResult, TResponse extends PathUncheckedResponse = PathUncheckedResponse> extends OperationOptions {
660
+ abortSignal?: AbortSignalLike;
661
+ processResponseBody?: (result: TResponse) => Promise<TResult>;
662
+ updateIntervalInMs?: number;
663
+ }
664
+
665
+ // @public
666
+ export interface SignalAssignment {
667
+ signalDefinitions: string[];
668
+ }
669
+
670
+ // @public
671
+ export interface SignalDefinition extends ProxyResource {
672
+ properties?: SignalDefinitionPropertiesUnion;
673
+ }
674
+
675
+ // @public
676
+ export interface SignalDefinitionProperties {
677
+ dataUnit?: string;
678
+ readonly deletionDate?: Date;
679
+ displayName?: string;
680
+ evaluationRules: EvaluationRule;
681
+ labels?: Record<string, string>;
682
+ readonly provisioningState?: HealthModelProvisioningState;
683
+ refreshInterval?: RefreshInterval;
684
+ signalKind: SignalKind;
685
+ }
686
+
687
+ // @public
688
+ export type SignalDefinitionPropertiesUnion = ResourceMetricSignalDefinitionProperties | LogAnalyticsQuerySignalDefinitionProperties | PrometheusMetricsSignalDefinitionProperties | SignalDefinitionProperties;
689
+
690
+ // @public
691
+ export interface SignalDefinitionsCreateOrUpdateOptionalParams extends OperationOptions {
692
+ }
693
+
694
+ // @public
695
+ export interface SignalDefinitionsDeleteOptionalParams extends OperationOptions {
696
+ }
697
+
698
+ // @public
699
+ export interface SignalDefinitionsGetOptionalParams extends OperationOptions {
700
+ }
701
+
702
+ // @public
703
+ export interface SignalDefinitionsListByHealthModelOptionalParams extends OperationOptions {
704
+ timestamp?: Date;
705
+ }
706
+
707
+ // @public
708
+ export interface SignalDefinitionsOperations {
709
+ createOrUpdate: (resourceGroupName: string, healthModelName: string, signalDefinitionName: string, resource: SignalDefinition, options?: SignalDefinitionsCreateOrUpdateOptionalParams) => Promise<SignalDefinition>;
710
+ delete: (resourceGroupName: string, healthModelName: string, signalDefinitionName: string, options?: SignalDefinitionsDeleteOptionalParams) => Promise<void>;
711
+ get: (resourceGroupName: string, healthModelName: string, signalDefinitionName: string, options?: SignalDefinitionsGetOptionalParams) => Promise<SignalDefinition>;
712
+ listByHealthModel: (resourceGroupName: string, healthModelName: string, options?: SignalDefinitionsListByHealthModelOptionalParams) => PagedAsyncIterableIterator<SignalDefinition>;
713
+ }
714
+
715
+ // @public
716
+ export interface SignalGroup {
717
+ azureLogAnalytics?: LogAnalyticsSignalGroup;
718
+ azureMonitorWorkspace?: AzureMonitorWorkspaceSignalGroup;
719
+ azureResource?: AzureResourceSignalGroup;
720
+ dependencies?: DependenciesSignalGroup;
721
+ }
722
+
723
+ // @public
724
+ export type SignalKind = string;
725
+
726
+ // @public
727
+ export type SignalOperator = string;
728
+
729
+ // @public
730
+ export interface SystemData {
731
+ createdAt?: Date;
732
+ createdBy?: string;
733
+ createdByType?: CreatedByType;
734
+ lastModifiedAt?: Date;
735
+ lastModifiedBy?: string;
736
+ lastModifiedByType?: CreatedByType;
737
+ }
738
+
739
+ // @public
740
+ export interface ThresholdRule {
741
+ operator: SignalOperator;
742
+ threshold: string;
743
+ }
744
+
745
+ // @public
746
+ export interface TrackedResource extends Resource {
747
+ location: string;
748
+ tags?: Record<string, string>;
749
+ }
750
+
751
+ // @public
752
+ export interface UserAssignedIdentity {
753
+ readonly clientId?: string;
754
+ readonly principalId?: string;
755
+ }
756
+
757
+ // (No @packageDocumentation comment for this package)
758
+
759
+ ```