@azure/arm-trafficmanager 6.1.1-alpha.20250717.1 → 6.1.1-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 (67) hide show
  1. package/dist/browser/models/mappers.js +81 -37
  2. package/dist/browser/models/mappers.js.map +1 -1
  3. package/dist/browser/operations/endpoints.js +1 -0
  4. package/dist/browser/operations/endpoints.js.map +1 -1
  5. package/dist/browser/operations/geographicHierarchies.js +1 -0
  6. package/dist/browser/operations/geographicHierarchies.js.map +1 -1
  7. package/dist/browser/operations/heatMap.js +1 -0
  8. package/dist/browser/operations/heatMap.js.map +1 -1
  9. package/dist/browser/operations/profiles.js +19 -53
  10. package/dist/browser/operations/profiles.js.map +1 -1
  11. package/dist/browser/operations/trafficManagerUserMetricsKeys.js +1 -0
  12. package/dist/browser/operations/trafficManagerUserMetricsKeys.js.map +1 -1
  13. package/dist/browser/pagingHelper.js +2 -4
  14. package/dist/browser/pagingHelper.js.map +1 -1
  15. package/dist/browser/trafficManagerManagementClient.js +18 -5
  16. package/dist/browser/trafficManagerManagementClient.js.map +1 -1
  17. package/dist/commonjs/models/mappers.js +81 -37
  18. package/dist/commonjs/models/mappers.js.map +1 -1
  19. package/dist/commonjs/operations/endpoints.js +1 -0
  20. package/dist/commonjs/operations/endpoints.js.map +1 -1
  21. package/dist/commonjs/operations/geographicHierarchies.js +1 -0
  22. package/dist/commonjs/operations/geographicHierarchies.js.map +1 -1
  23. package/dist/commonjs/operations/heatMap.js +1 -0
  24. package/dist/commonjs/operations/heatMap.js.map +1 -1
  25. package/dist/commonjs/operations/profiles.js +19 -52
  26. package/dist/commonjs/operations/profiles.js.map +1 -1
  27. package/dist/commonjs/operations/trafficManagerUserMetricsKeys.js +1 -0
  28. package/dist/commonjs/operations/trafficManagerUserMetricsKeys.js.map +1 -1
  29. package/dist/commonjs/pagingHelper.js +2 -4
  30. package/dist/commonjs/pagingHelper.js.map +1 -1
  31. package/dist/commonjs/trafficManagerManagementClient.js +18 -5
  32. package/dist/commonjs/trafficManagerManagementClient.js.map +1 -1
  33. package/dist/commonjs/tsdoc-metadata.json +11 -11
  34. package/dist/esm/models/mappers.js +81 -37
  35. package/dist/esm/models/mappers.js.map +1 -1
  36. package/dist/esm/operations/endpoints.js +1 -0
  37. package/dist/esm/operations/endpoints.js.map +1 -1
  38. package/dist/esm/operations/geographicHierarchies.js +1 -0
  39. package/dist/esm/operations/geographicHierarchies.js.map +1 -1
  40. package/dist/esm/operations/heatMap.js +1 -0
  41. package/dist/esm/operations/heatMap.js.map +1 -1
  42. package/dist/esm/operations/profiles.js +19 -53
  43. package/dist/esm/operations/profiles.js.map +1 -1
  44. package/dist/esm/operations/trafficManagerUserMetricsKeys.js +1 -0
  45. package/dist/esm/operations/trafficManagerUserMetricsKeys.js.map +1 -1
  46. package/dist/esm/pagingHelper.js +2 -4
  47. package/dist/esm/pagingHelper.js.map +1 -1
  48. package/dist/esm/trafficManagerManagementClient.js +18 -5
  49. package/dist/esm/trafficManagerManagementClient.js.map +1 -1
  50. package/dist/react-native/models/mappers.js +81 -37
  51. package/dist/react-native/models/mappers.js.map +1 -1
  52. package/dist/react-native/operations/endpoints.js +1 -0
  53. package/dist/react-native/operations/endpoints.js.map +1 -1
  54. package/dist/react-native/operations/geographicHierarchies.js +1 -0
  55. package/dist/react-native/operations/geographicHierarchies.js.map +1 -1
  56. package/dist/react-native/operations/heatMap.js +1 -0
  57. package/dist/react-native/operations/heatMap.js.map +1 -1
  58. package/dist/react-native/operations/profiles.js +19 -53
  59. package/dist/react-native/operations/profiles.js.map +1 -1
  60. package/dist/react-native/operations/trafficManagerUserMetricsKeys.js +1 -0
  61. package/dist/react-native/operations/trafficManagerUserMetricsKeys.js.map +1 -1
  62. package/dist/react-native/pagingHelper.js +2 -4
  63. package/dist/react-native/pagingHelper.js.map +1 -1
  64. package/dist/react-native/trafficManagerManagementClient.js +18 -5
  65. package/dist/react-native/trafficManagerManagementClient.js.map +1 -1
  66. package/package.json +2 -2
  67. package/review/arm-trafficmanager-node.api.md +479 -479
@@ -1,479 +1,479 @@
1
- ## API Report File for "@azure/arm-trafficmanager"
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 * as coreAuth from '@azure/core-auth';
8
- import * as coreClient from '@azure/core-client';
9
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
10
-
11
- // @public
12
- export type AllowedEndpointRecordType = string;
13
-
14
- // @public
15
- export type AlwaysServe = string;
16
-
17
- // @public
18
- export interface CheckTrafficManagerRelativeDnsNameAvailabilityParameters {
19
- name?: string;
20
- type?: string;
21
- }
22
-
23
- // @public
24
- export interface CloudError {
25
- error?: CloudErrorBody;
26
- }
27
-
28
- // @public
29
- export interface CloudErrorBody {
30
- code?: string;
31
- details?: CloudErrorBody[];
32
- message?: string;
33
- target?: string;
34
- }
35
-
36
- // @public
37
- export interface DeleteOperationResult {
38
- readonly operationResult?: boolean;
39
- }
40
-
41
- // @public
42
- export interface DnsConfig {
43
- readonly fqdn?: string;
44
- relativeName?: string;
45
- ttl?: number;
46
- }
47
-
48
- // @public
49
- export interface Endpoint extends ProxyResource {
50
- alwaysServe?: AlwaysServe;
51
- customHeaders?: EndpointPropertiesCustomHeadersItem[];
52
- endpointLocation?: string;
53
- endpointMonitorStatus?: EndpointMonitorStatus;
54
- endpointStatus?: EndpointStatus;
55
- geoMapping?: string[];
56
- minChildEndpoints?: number;
57
- minChildEndpointsIPv4?: number;
58
- minChildEndpointsIPv6?: number;
59
- priority?: number;
60
- subnets?: EndpointPropertiesSubnetsItem[];
61
- target?: string;
62
- targetResourceId?: string;
63
- weight?: number;
64
- }
65
-
66
- // @public
67
- export type EndpointMonitorStatus = string;
68
-
69
- // @public
70
- export interface EndpointPropertiesCustomHeadersItem {
71
- name?: string;
72
- value?: string;
73
- }
74
-
75
- // @public
76
- export interface EndpointPropertiesSubnetsItem {
77
- first?: string;
78
- last?: string;
79
- scope?: number;
80
- }
81
-
82
- // @public
83
- export interface Endpoints {
84
- createOrUpdate(resourceGroupName: string, profileName: string, endpointType: EndpointType, endpointName: string, parameters: Endpoint, options?: EndpointsCreateOrUpdateOptionalParams): Promise<EndpointsCreateOrUpdateResponse>;
85
- delete(resourceGroupName: string, profileName: string, endpointType: EndpointType, endpointName: string, options?: EndpointsDeleteOptionalParams): Promise<EndpointsDeleteResponse>;
86
- get(resourceGroupName: string, profileName: string, endpointType: EndpointType, endpointName: string, options?: EndpointsGetOptionalParams): Promise<EndpointsGetResponse>;
87
- update(resourceGroupName: string, profileName: string, endpointType: EndpointType, endpointName: string, parameters: Endpoint, options?: EndpointsUpdateOptionalParams): Promise<EndpointsUpdateResponse>;
88
- }
89
-
90
- // @public
91
- export interface EndpointsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
92
- }
93
-
94
- // @public
95
- export type EndpointsCreateOrUpdateResponse = Endpoint;
96
-
97
- // @public
98
- export interface EndpointsDeleteOptionalParams extends coreClient.OperationOptions {
99
- }
100
-
101
- // @public
102
- export type EndpointsDeleteResponse = DeleteOperationResult;
103
-
104
- // @public
105
- export interface EndpointsGetOptionalParams extends coreClient.OperationOptions {
106
- }
107
-
108
- // @public
109
- export type EndpointsGetResponse = Endpoint;
110
-
111
- // @public
112
- export type EndpointStatus = string;
113
-
114
- // @public
115
- export interface EndpointsUpdateOptionalParams extends coreClient.OperationOptions {
116
- }
117
-
118
- // @public
119
- export type EndpointsUpdateResponse = Endpoint;
120
-
121
- // @public
122
- export type EndpointType = "AzureEndpoints" | "ExternalEndpoints" | "NestedEndpoints";
123
-
124
- // @public
125
- export interface GeographicHierarchies {
126
- getDefault(options?: GeographicHierarchiesGetDefaultOptionalParams): Promise<GeographicHierarchiesGetDefaultResponse>;
127
- }
128
-
129
- // @public
130
- export interface GeographicHierarchiesGetDefaultOptionalParams extends coreClient.OperationOptions {
131
- }
132
-
133
- // @public
134
- export type GeographicHierarchiesGetDefaultResponse = TrafficManagerGeographicHierarchy;
135
-
136
- // @public
137
- export function getContinuationToken(page: unknown): string | undefined;
138
-
139
- // @public
140
- export interface HeatMap {
141
- get(resourceGroupName: string, profileName: string, options?: HeatMapGetOptionalParams): Promise<HeatMapGetResponse>;
142
- }
143
-
144
- // @public
145
- export interface HeatMapEndpoint {
146
- endpointId?: number;
147
- resourceId?: string;
148
- }
149
-
150
- // @public
151
- export interface HeatMapGetOptionalParams extends coreClient.OperationOptions {
152
- botRight?: number[];
153
- topLeft?: number[];
154
- }
155
-
156
- // @public
157
- export type HeatMapGetResponse = HeatMapModel;
158
-
159
- // @public
160
- export interface HeatMapModel extends ProxyResource {
161
- endpoints?: HeatMapEndpoint[];
162
- endTime?: Date;
163
- startTime?: Date;
164
- trafficFlows?: TrafficFlow[];
165
- }
166
-
167
- // @public
168
- export enum KnownAllowedEndpointRecordType {
169
- Any = "Any",
170
- DomainName = "DomainName",
171
- IPv4Address = "IPv4Address",
172
- IPv6Address = "IPv6Address"
173
- }
174
-
175
- // @public
176
- export enum KnownAlwaysServe {
177
- Disabled = "Disabled",
178
- Enabled = "Enabled"
179
- }
180
-
181
- // @public
182
- export enum KnownEndpointMonitorStatus {
183
- CheckingEndpoint = "CheckingEndpoint",
184
- Degraded = "Degraded",
185
- Disabled = "Disabled",
186
- Inactive = "Inactive",
187
- Online = "Online",
188
- Stopped = "Stopped",
189
- Unmonitored = "Unmonitored"
190
- }
191
-
192
- // @public
193
- export enum KnownEndpointStatus {
194
- Disabled = "Disabled",
195
- Enabled = "Enabled"
196
- }
197
-
198
- // @public
199
- export enum KnownMonitorProtocol {
200
- Http = "HTTP",
201
- Https = "HTTPS",
202
- TCP = "TCP"
203
- }
204
-
205
- // @public
206
- export enum KnownProfileMonitorStatus {
207
- CheckingEndpoints = "CheckingEndpoints",
208
- Degraded = "Degraded",
209
- Disabled = "Disabled",
210
- Inactive = "Inactive",
211
- Online = "Online"
212
- }
213
-
214
- // @public
215
- export enum KnownProfileStatus {
216
- Disabled = "Disabled",
217
- Enabled = "Enabled"
218
- }
219
-
220
- // @public
221
- export enum KnownTrafficRoutingMethod {
222
- Geographic = "Geographic",
223
- MultiValue = "MultiValue",
224
- Performance = "Performance",
225
- Priority = "Priority",
226
- Subnet = "Subnet",
227
- Weighted = "Weighted"
228
- }
229
-
230
- // @public
231
- export enum KnownTrafficViewEnrollmentStatus {
232
- Disabled = "Disabled",
233
- Enabled = "Enabled"
234
- }
235
-
236
- // @public
237
- export interface MonitorConfig {
238
- customHeaders?: MonitorConfigCustomHeadersItem[];
239
- expectedStatusCodeRanges?: MonitorConfigExpectedStatusCodeRangesItem[];
240
- intervalInSeconds?: number;
241
- path?: string;
242
- port?: number;
243
- profileMonitorStatus?: ProfileMonitorStatus;
244
- protocol?: MonitorProtocol;
245
- timeoutInSeconds?: number;
246
- toleratedNumberOfFailures?: number;
247
- }
248
-
249
- // @public
250
- export interface MonitorConfigCustomHeadersItem {
251
- name?: string;
252
- value?: string;
253
- }
254
-
255
- // @public
256
- export interface MonitorConfigExpectedStatusCodeRangesItem {
257
- max?: number;
258
- min?: number;
259
- }
260
-
261
- // @public
262
- export type MonitorProtocol = string;
263
-
264
- // @public
265
- export interface Profile extends TrackedResource {
266
- allowedEndpointRecordTypes?: AllowedEndpointRecordType[];
267
- dnsConfig?: DnsConfig;
268
- endpoints?: Endpoint[];
269
- maxReturn?: number;
270
- monitorConfig?: MonitorConfig;
271
- profileStatus?: ProfileStatus;
272
- trafficRoutingMethod?: TrafficRoutingMethod;
273
- trafficViewEnrollmentStatus?: TrafficViewEnrollmentStatus;
274
- }
275
-
276
- // @public
277
- export interface ProfileListResult {
278
- value?: Profile[];
279
- }
280
-
281
- // @public
282
- export type ProfileMonitorStatus = string;
283
-
284
- // @public
285
- export interface Profiles {
286
- checkTrafficManagerNameAvailabilityV2(parameters: CheckTrafficManagerRelativeDnsNameAvailabilityParameters, options?: ProfilesCheckTrafficManagerNameAvailabilityV2OptionalParams): Promise<ProfilesCheckTrafficManagerNameAvailabilityV2Response>;
287
- checkTrafficManagerRelativeDnsNameAvailability(parameters: CheckTrafficManagerRelativeDnsNameAvailabilityParameters, options?: ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityOptionalParams): Promise<ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityResponse>;
288
- createOrUpdate(resourceGroupName: string, profileName: string, parameters: Profile, options?: ProfilesCreateOrUpdateOptionalParams): Promise<ProfilesCreateOrUpdateResponse>;
289
- delete(resourceGroupName: string, profileName: string, options?: ProfilesDeleteOptionalParams): Promise<ProfilesDeleteResponse>;
290
- get(resourceGroupName: string, profileName: string, options?: ProfilesGetOptionalParams): Promise<ProfilesGetResponse>;
291
- listByResourceGroup(resourceGroupName: string, options?: ProfilesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Profile>;
292
- listBySubscription(options?: ProfilesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Profile>;
293
- update(resourceGroupName: string, profileName: string, parameters: Profile, options?: ProfilesUpdateOptionalParams): Promise<ProfilesUpdateResponse>;
294
- }
295
-
296
- // @public
297
- export interface ProfilesCheckTrafficManagerNameAvailabilityV2OptionalParams extends coreClient.OperationOptions {
298
- }
299
-
300
- // @public
301
- export type ProfilesCheckTrafficManagerNameAvailabilityV2Response = TrafficManagerNameAvailability;
302
-
303
- // @public
304
- export interface ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityOptionalParams extends coreClient.OperationOptions {
305
- }
306
-
307
- // @public
308
- export type ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityResponse = TrafficManagerNameAvailability;
309
-
310
- // @public
311
- export interface ProfilesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
312
- }
313
-
314
- // @public
315
- export type ProfilesCreateOrUpdateResponse = Profile;
316
-
317
- // @public
318
- export interface ProfilesDeleteOptionalParams extends coreClient.OperationOptions {
319
- }
320
-
321
- // @public
322
- export type ProfilesDeleteResponse = DeleteOperationResult;
323
-
324
- // @public
325
- export interface ProfilesGetOptionalParams extends coreClient.OperationOptions {
326
- }
327
-
328
- // @public
329
- export type ProfilesGetResponse = Profile;
330
-
331
- // @public
332
- export interface ProfilesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
333
- }
334
-
335
- // @public
336
- export type ProfilesListByResourceGroupResponse = ProfileListResult;
337
-
338
- // @public
339
- export interface ProfilesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
340
- }
341
-
342
- // @public
343
- export type ProfilesListBySubscriptionResponse = ProfileListResult;
344
-
345
- // @public
346
- export type ProfileStatus = string;
347
-
348
- // @public
349
- export interface ProfilesUpdateOptionalParams extends coreClient.OperationOptions {
350
- }
351
-
352
- // @public
353
- export type ProfilesUpdateResponse = Profile;
354
-
355
- // @public
356
- export interface ProxyResource extends Resource {
357
- }
358
-
359
- // @public
360
- export interface QueryExperience {
361
- endpointId: number;
362
- latency?: number;
363
- queryCount: number;
364
- }
365
-
366
- // @public
367
- export interface Region {
368
- code?: string;
369
- name?: string;
370
- regions?: Region[];
371
- }
372
-
373
- // @public
374
- export interface Resource {
375
- id?: string;
376
- name?: string;
377
- type?: string;
378
- }
379
-
380
- // @public
381
- export interface TrackedResource extends Resource {
382
- location?: string;
383
- tags?: {
384
- [propertyName: string]: string;
385
- };
386
- }
387
-
388
- // @public
389
- export interface TrafficFlow {
390
- latitude?: number;
391
- longitude?: number;
392
- queryExperiences?: QueryExperience[];
393
- sourceIp?: string;
394
- }
395
-
396
- // @public
397
- export interface TrafficManagerGeographicHierarchy extends ProxyResource {
398
- geographicHierarchy?: Region;
399
- }
400
-
401
- // @public (undocumented)
402
- export class TrafficManagerManagementClient extends coreClient.ServiceClient {
403
- // (undocumented)
404
- $host: string;
405
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: TrafficManagerManagementClientOptionalParams);
406
- // (undocumented)
407
- apiVersion: string;
408
- // (undocumented)
409
- endpoints: Endpoints;
410
- // (undocumented)
411
- geographicHierarchies: GeographicHierarchies;
412
- // (undocumented)
413
- heatMap: HeatMap;
414
- // (undocumented)
415
- profiles: Profiles;
416
- // (undocumented)
417
- subscriptionId: string;
418
- // (undocumented)
419
- trafficManagerUserMetricsKeys: TrafficManagerUserMetricsKeys;
420
- }
421
-
422
- // @public
423
- export interface TrafficManagerManagementClientOptionalParams extends coreClient.ServiceClientOptions {
424
- $host?: string;
425
- apiVersion?: string;
426
- endpoint?: string;
427
- }
428
-
429
- // @public
430
- export interface TrafficManagerNameAvailability {
431
- message?: string;
432
- name?: string;
433
- nameAvailable?: boolean;
434
- reason?: string;
435
- type?: string;
436
- }
437
-
438
- // @public
439
- export interface TrafficManagerUserMetricsKeys {
440
- createOrUpdate(options?: TrafficManagerUserMetricsKeysCreateOrUpdateOptionalParams): Promise<TrafficManagerUserMetricsKeysCreateOrUpdateResponse>;
441
- delete(options?: TrafficManagerUserMetricsKeysDeleteOptionalParams): Promise<TrafficManagerUserMetricsKeysDeleteResponse>;
442
- get(options?: TrafficManagerUserMetricsKeysGetOptionalParams): Promise<TrafficManagerUserMetricsKeysGetResponse>;
443
- }
444
-
445
- // @public
446
- export interface TrafficManagerUserMetricsKeysCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
447
- }
448
-
449
- // @public
450
- export type TrafficManagerUserMetricsKeysCreateOrUpdateResponse = UserMetricsModel;
451
-
452
- // @public
453
- export interface TrafficManagerUserMetricsKeysDeleteOptionalParams extends coreClient.OperationOptions {
454
- }
455
-
456
- // @public
457
- export type TrafficManagerUserMetricsKeysDeleteResponse = DeleteOperationResult;
458
-
459
- // @public
460
- export interface TrafficManagerUserMetricsKeysGetOptionalParams extends coreClient.OperationOptions {
461
- }
462
-
463
- // @public
464
- export type TrafficManagerUserMetricsKeysGetResponse = UserMetricsModel;
465
-
466
- // @public
467
- export type TrafficRoutingMethod = string;
468
-
469
- // @public
470
- export type TrafficViewEnrollmentStatus = string;
471
-
472
- // @public
473
- export interface UserMetricsModel extends ProxyResource {
474
- key?: string;
475
- }
476
-
477
- // (No @packageDocumentation comment for this package)
478
-
479
- ```
1
+ ## API Report File for "@azure/arm-trafficmanager"
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 * as coreAuth from '@azure/core-auth';
8
+ import * as coreClient from '@azure/core-client';
9
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
10
+
11
+ // @public
12
+ export type AllowedEndpointRecordType = string;
13
+
14
+ // @public
15
+ export type AlwaysServe = string;
16
+
17
+ // @public
18
+ export interface CheckTrafficManagerRelativeDnsNameAvailabilityParameters {
19
+ name?: string;
20
+ type?: string;
21
+ }
22
+
23
+ // @public
24
+ export interface CloudError {
25
+ error?: CloudErrorBody;
26
+ }
27
+
28
+ // @public
29
+ export interface CloudErrorBody {
30
+ code?: string;
31
+ details?: CloudErrorBody[];
32
+ message?: string;
33
+ target?: string;
34
+ }
35
+
36
+ // @public
37
+ export interface DeleteOperationResult {
38
+ readonly operationResult?: boolean;
39
+ }
40
+
41
+ // @public
42
+ export interface DnsConfig {
43
+ readonly fqdn?: string;
44
+ relativeName?: string;
45
+ ttl?: number;
46
+ }
47
+
48
+ // @public
49
+ export interface Endpoint extends ProxyResource {
50
+ alwaysServe?: AlwaysServe;
51
+ customHeaders?: EndpointPropertiesCustomHeadersItem[];
52
+ endpointLocation?: string;
53
+ endpointMonitorStatus?: EndpointMonitorStatus;
54
+ endpointStatus?: EndpointStatus;
55
+ geoMapping?: string[];
56
+ minChildEndpoints?: number;
57
+ minChildEndpointsIPv4?: number;
58
+ minChildEndpointsIPv6?: number;
59
+ priority?: number;
60
+ subnets?: EndpointPropertiesSubnetsItem[];
61
+ target?: string;
62
+ targetResourceId?: string;
63
+ weight?: number;
64
+ }
65
+
66
+ // @public
67
+ export type EndpointMonitorStatus = string;
68
+
69
+ // @public
70
+ export interface EndpointPropertiesCustomHeadersItem {
71
+ name?: string;
72
+ value?: string;
73
+ }
74
+
75
+ // @public
76
+ export interface EndpointPropertiesSubnetsItem {
77
+ first?: string;
78
+ last?: string;
79
+ scope?: number;
80
+ }
81
+
82
+ // @public
83
+ export interface Endpoints {
84
+ createOrUpdate(resourceGroupName: string, profileName: string, endpointType: EndpointType, endpointName: string, parameters: Endpoint, options?: EndpointsCreateOrUpdateOptionalParams): Promise<EndpointsCreateOrUpdateResponse>;
85
+ delete(resourceGroupName: string, profileName: string, endpointType: EndpointType, endpointName: string, options?: EndpointsDeleteOptionalParams): Promise<EndpointsDeleteResponse>;
86
+ get(resourceGroupName: string, profileName: string, endpointType: EndpointType, endpointName: string, options?: EndpointsGetOptionalParams): Promise<EndpointsGetResponse>;
87
+ update(resourceGroupName: string, profileName: string, endpointType: EndpointType, endpointName: string, parameters: Endpoint, options?: EndpointsUpdateOptionalParams): Promise<EndpointsUpdateResponse>;
88
+ }
89
+
90
+ // @public
91
+ export interface EndpointsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
92
+ }
93
+
94
+ // @public
95
+ export type EndpointsCreateOrUpdateResponse = Endpoint;
96
+
97
+ // @public
98
+ export interface EndpointsDeleteOptionalParams extends coreClient.OperationOptions {
99
+ }
100
+
101
+ // @public
102
+ export type EndpointsDeleteResponse = DeleteOperationResult;
103
+
104
+ // @public
105
+ export interface EndpointsGetOptionalParams extends coreClient.OperationOptions {
106
+ }
107
+
108
+ // @public
109
+ export type EndpointsGetResponse = Endpoint;
110
+
111
+ // @public
112
+ export type EndpointStatus = string;
113
+
114
+ // @public
115
+ export interface EndpointsUpdateOptionalParams extends coreClient.OperationOptions {
116
+ }
117
+
118
+ // @public
119
+ export type EndpointsUpdateResponse = Endpoint;
120
+
121
+ // @public
122
+ export type EndpointType = "AzureEndpoints" | "ExternalEndpoints" | "NestedEndpoints";
123
+
124
+ // @public
125
+ export interface GeographicHierarchies {
126
+ getDefault(options?: GeographicHierarchiesGetDefaultOptionalParams): Promise<GeographicHierarchiesGetDefaultResponse>;
127
+ }
128
+
129
+ // @public
130
+ export interface GeographicHierarchiesGetDefaultOptionalParams extends coreClient.OperationOptions {
131
+ }
132
+
133
+ // @public
134
+ export type GeographicHierarchiesGetDefaultResponse = TrafficManagerGeographicHierarchy;
135
+
136
+ // @public
137
+ export function getContinuationToken(page: unknown): string | undefined;
138
+
139
+ // @public
140
+ export interface HeatMap {
141
+ get(resourceGroupName: string, profileName: string, options?: HeatMapGetOptionalParams): Promise<HeatMapGetResponse>;
142
+ }
143
+
144
+ // @public
145
+ export interface HeatMapEndpoint {
146
+ endpointId?: number;
147
+ resourceId?: string;
148
+ }
149
+
150
+ // @public
151
+ export interface HeatMapGetOptionalParams extends coreClient.OperationOptions {
152
+ botRight?: number[];
153
+ topLeft?: number[];
154
+ }
155
+
156
+ // @public
157
+ export type HeatMapGetResponse = HeatMapModel;
158
+
159
+ // @public
160
+ export interface HeatMapModel extends ProxyResource {
161
+ endpoints?: HeatMapEndpoint[];
162
+ endTime?: Date;
163
+ startTime?: Date;
164
+ trafficFlows?: TrafficFlow[];
165
+ }
166
+
167
+ // @public
168
+ export enum KnownAllowedEndpointRecordType {
169
+ Any = "Any",
170
+ DomainName = "DomainName",
171
+ IPv4Address = "IPv4Address",
172
+ IPv6Address = "IPv6Address"
173
+ }
174
+
175
+ // @public
176
+ export enum KnownAlwaysServe {
177
+ Disabled = "Disabled",
178
+ Enabled = "Enabled"
179
+ }
180
+
181
+ // @public
182
+ export enum KnownEndpointMonitorStatus {
183
+ CheckingEndpoint = "CheckingEndpoint",
184
+ Degraded = "Degraded",
185
+ Disabled = "Disabled",
186
+ Inactive = "Inactive",
187
+ Online = "Online",
188
+ Stopped = "Stopped",
189
+ Unmonitored = "Unmonitored"
190
+ }
191
+
192
+ // @public
193
+ export enum KnownEndpointStatus {
194
+ Disabled = "Disabled",
195
+ Enabled = "Enabled"
196
+ }
197
+
198
+ // @public
199
+ export enum KnownMonitorProtocol {
200
+ Http = "HTTP",
201
+ Https = "HTTPS",
202
+ TCP = "TCP"
203
+ }
204
+
205
+ // @public
206
+ export enum KnownProfileMonitorStatus {
207
+ CheckingEndpoints = "CheckingEndpoints",
208
+ Degraded = "Degraded",
209
+ Disabled = "Disabled",
210
+ Inactive = "Inactive",
211
+ Online = "Online"
212
+ }
213
+
214
+ // @public
215
+ export enum KnownProfileStatus {
216
+ Disabled = "Disabled",
217
+ Enabled = "Enabled"
218
+ }
219
+
220
+ // @public
221
+ export enum KnownTrafficRoutingMethod {
222
+ Geographic = "Geographic",
223
+ MultiValue = "MultiValue",
224
+ Performance = "Performance",
225
+ Priority = "Priority",
226
+ Subnet = "Subnet",
227
+ Weighted = "Weighted"
228
+ }
229
+
230
+ // @public
231
+ export enum KnownTrafficViewEnrollmentStatus {
232
+ Disabled = "Disabled",
233
+ Enabled = "Enabled"
234
+ }
235
+
236
+ // @public
237
+ export interface MonitorConfig {
238
+ customHeaders?: MonitorConfigCustomHeadersItem[];
239
+ expectedStatusCodeRanges?: MonitorConfigExpectedStatusCodeRangesItem[];
240
+ intervalInSeconds?: number;
241
+ path?: string;
242
+ port?: number;
243
+ profileMonitorStatus?: ProfileMonitorStatus;
244
+ protocol?: MonitorProtocol;
245
+ timeoutInSeconds?: number;
246
+ toleratedNumberOfFailures?: number;
247
+ }
248
+
249
+ // @public
250
+ export interface MonitorConfigCustomHeadersItem {
251
+ name?: string;
252
+ value?: string;
253
+ }
254
+
255
+ // @public
256
+ export interface MonitorConfigExpectedStatusCodeRangesItem {
257
+ max?: number;
258
+ min?: number;
259
+ }
260
+
261
+ // @public
262
+ export type MonitorProtocol = string;
263
+
264
+ // @public
265
+ export interface Profile extends TrackedResource {
266
+ allowedEndpointRecordTypes?: AllowedEndpointRecordType[];
267
+ dnsConfig?: DnsConfig;
268
+ endpoints?: Endpoint[];
269
+ maxReturn?: number;
270
+ monitorConfig?: MonitorConfig;
271
+ profileStatus?: ProfileStatus;
272
+ trafficRoutingMethod?: TrafficRoutingMethod;
273
+ trafficViewEnrollmentStatus?: TrafficViewEnrollmentStatus;
274
+ }
275
+
276
+ // @public
277
+ export interface ProfileListResult {
278
+ value?: Profile[];
279
+ }
280
+
281
+ // @public
282
+ export type ProfileMonitorStatus = string;
283
+
284
+ // @public
285
+ export interface Profiles {
286
+ checkTrafficManagerNameAvailabilityV2(parameters: CheckTrafficManagerRelativeDnsNameAvailabilityParameters, options?: ProfilesCheckTrafficManagerNameAvailabilityV2OptionalParams): Promise<ProfilesCheckTrafficManagerNameAvailabilityV2Response>;
287
+ checkTrafficManagerRelativeDnsNameAvailability(parameters: CheckTrafficManagerRelativeDnsNameAvailabilityParameters, options?: ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityOptionalParams): Promise<ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityResponse>;
288
+ createOrUpdate(resourceGroupName: string, profileName: string, parameters: Profile, options?: ProfilesCreateOrUpdateOptionalParams): Promise<ProfilesCreateOrUpdateResponse>;
289
+ delete(resourceGroupName: string, profileName: string, options?: ProfilesDeleteOptionalParams): Promise<ProfilesDeleteResponse>;
290
+ get(resourceGroupName: string, profileName: string, options?: ProfilesGetOptionalParams): Promise<ProfilesGetResponse>;
291
+ listByResourceGroup(resourceGroupName: string, options?: ProfilesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Profile>;
292
+ listBySubscription(options?: ProfilesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Profile>;
293
+ update(resourceGroupName: string, profileName: string, parameters: Profile, options?: ProfilesUpdateOptionalParams): Promise<ProfilesUpdateResponse>;
294
+ }
295
+
296
+ // @public
297
+ export interface ProfilesCheckTrafficManagerNameAvailabilityV2OptionalParams extends coreClient.OperationOptions {
298
+ }
299
+
300
+ // @public
301
+ export type ProfilesCheckTrafficManagerNameAvailabilityV2Response = TrafficManagerNameAvailability;
302
+
303
+ // @public
304
+ export interface ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityOptionalParams extends coreClient.OperationOptions {
305
+ }
306
+
307
+ // @public
308
+ export type ProfilesCheckTrafficManagerRelativeDnsNameAvailabilityResponse = TrafficManagerNameAvailability;
309
+
310
+ // @public
311
+ export interface ProfilesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
312
+ }
313
+
314
+ // @public
315
+ export type ProfilesCreateOrUpdateResponse = Profile;
316
+
317
+ // @public
318
+ export interface ProfilesDeleteOptionalParams extends coreClient.OperationOptions {
319
+ }
320
+
321
+ // @public
322
+ export type ProfilesDeleteResponse = DeleteOperationResult;
323
+
324
+ // @public
325
+ export interface ProfilesGetOptionalParams extends coreClient.OperationOptions {
326
+ }
327
+
328
+ // @public
329
+ export type ProfilesGetResponse = Profile;
330
+
331
+ // @public
332
+ export interface ProfilesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
333
+ }
334
+
335
+ // @public
336
+ export type ProfilesListByResourceGroupResponse = ProfileListResult;
337
+
338
+ // @public
339
+ export interface ProfilesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
340
+ }
341
+
342
+ // @public
343
+ export type ProfilesListBySubscriptionResponse = ProfileListResult;
344
+
345
+ // @public
346
+ export type ProfileStatus = string;
347
+
348
+ // @public
349
+ export interface ProfilesUpdateOptionalParams extends coreClient.OperationOptions {
350
+ }
351
+
352
+ // @public
353
+ export type ProfilesUpdateResponse = Profile;
354
+
355
+ // @public
356
+ export interface ProxyResource extends Resource {
357
+ }
358
+
359
+ // @public
360
+ export interface QueryExperience {
361
+ endpointId: number;
362
+ latency?: number;
363
+ queryCount: number;
364
+ }
365
+
366
+ // @public
367
+ export interface Region {
368
+ code?: string;
369
+ name?: string;
370
+ regions?: Region[];
371
+ }
372
+
373
+ // @public
374
+ export interface Resource {
375
+ id?: string;
376
+ name?: string;
377
+ type?: string;
378
+ }
379
+
380
+ // @public
381
+ export interface TrackedResource extends Resource {
382
+ location?: string;
383
+ tags?: {
384
+ [propertyName: string]: string;
385
+ };
386
+ }
387
+
388
+ // @public
389
+ export interface TrafficFlow {
390
+ latitude?: number;
391
+ longitude?: number;
392
+ queryExperiences?: QueryExperience[];
393
+ sourceIp?: string;
394
+ }
395
+
396
+ // @public
397
+ export interface TrafficManagerGeographicHierarchy extends ProxyResource {
398
+ geographicHierarchy?: Region;
399
+ }
400
+
401
+ // @public (undocumented)
402
+ export class TrafficManagerManagementClient extends coreClient.ServiceClient {
403
+ // (undocumented)
404
+ $host: string;
405
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: TrafficManagerManagementClientOptionalParams);
406
+ // (undocumented)
407
+ apiVersion: string;
408
+ // (undocumented)
409
+ endpoints: Endpoints;
410
+ // (undocumented)
411
+ geographicHierarchies: GeographicHierarchies;
412
+ // (undocumented)
413
+ heatMap: HeatMap;
414
+ // (undocumented)
415
+ profiles: Profiles;
416
+ // (undocumented)
417
+ subscriptionId: string;
418
+ // (undocumented)
419
+ trafficManagerUserMetricsKeys: TrafficManagerUserMetricsKeys;
420
+ }
421
+
422
+ // @public
423
+ export interface TrafficManagerManagementClientOptionalParams extends coreClient.ServiceClientOptions {
424
+ $host?: string;
425
+ apiVersion?: string;
426
+ endpoint?: string;
427
+ }
428
+
429
+ // @public
430
+ export interface TrafficManagerNameAvailability {
431
+ message?: string;
432
+ name?: string;
433
+ nameAvailable?: boolean;
434
+ reason?: string;
435
+ type?: string;
436
+ }
437
+
438
+ // @public
439
+ export interface TrafficManagerUserMetricsKeys {
440
+ createOrUpdate(options?: TrafficManagerUserMetricsKeysCreateOrUpdateOptionalParams): Promise<TrafficManagerUserMetricsKeysCreateOrUpdateResponse>;
441
+ delete(options?: TrafficManagerUserMetricsKeysDeleteOptionalParams): Promise<TrafficManagerUserMetricsKeysDeleteResponse>;
442
+ get(options?: TrafficManagerUserMetricsKeysGetOptionalParams): Promise<TrafficManagerUserMetricsKeysGetResponse>;
443
+ }
444
+
445
+ // @public
446
+ export interface TrafficManagerUserMetricsKeysCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
447
+ }
448
+
449
+ // @public
450
+ export type TrafficManagerUserMetricsKeysCreateOrUpdateResponse = UserMetricsModel;
451
+
452
+ // @public
453
+ export interface TrafficManagerUserMetricsKeysDeleteOptionalParams extends coreClient.OperationOptions {
454
+ }
455
+
456
+ // @public
457
+ export type TrafficManagerUserMetricsKeysDeleteResponse = DeleteOperationResult;
458
+
459
+ // @public
460
+ export interface TrafficManagerUserMetricsKeysGetOptionalParams extends coreClient.OperationOptions {
461
+ }
462
+
463
+ // @public
464
+ export type TrafficManagerUserMetricsKeysGetResponse = UserMetricsModel;
465
+
466
+ // @public
467
+ export type TrafficRoutingMethod = string;
468
+
469
+ // @public
470
+ export type TrafficViewEnrollmentStatus = string;
471
+
472
+ // @public
473
+ export interface UserMetricsModel extends ProxyResource {
474
+ key?: string;
475
+ }
476
+
477
+ // (No @packageDocumentation comment for this package)
478
+
479
+ ```