@azure/arm-timeseriesinsights 2.1.0-beta.1 → 2.1.0-beta.2
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.
- package/CHANGELOG.md +38 -11
- package/README.md +1 -1
- package/dist/index.js +186 -59
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/accessPoliciesCreateOrUpdateSample.js +10 -3
- package/dist-esm/samples-dev/accessPoliciesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/accessPoliciesDeleteSample.js +10 -3
- package/dist-esm/samples-dev/accessPoliciesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/accessPoliciesGetSample.js +10 -3
- package/dist-esm/samples-dev/accessPoliciesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/accessPoliciesListByEnvironmentSample.js +10 -3
- package/dist-esm/samples-dev/accessPoliciesListByEnvironmentSample.js.map +1 -1
- package/dist-esm/samples-dev/accessPoliciesUpdateSample.js +10 -3
- package/dist-esm/samples-dev/accessPoliciesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/environmentsCreateOrUpdateSample.js +10 -3
- package/dist-esm/samples-dev/environmentsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/environmentsDeleteSample.js +10 -3
- package/dist-esm/samples-dev/environmentsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/environmentsGetSample.js +10 -3
- package/dist-esm/samples-dev/environmentsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/environmentsListByResourceGroupSample.js +10 -3
- package/dist-esm/samples-dev/environmentsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/environmentsListBySubscriptionSample.js +9 -2
- package/dist-esm/samples-dev/environmentsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/environmentsUpdateSample.js +10 -3
- package/dist-esm/samples-dev/environmentsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSourcesCreateOrUpdateSample.js +13 -6
- package/dist-esm/samples-dev/eventSourcesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSourcesDeleteSample.js +10 -3
- package/dist-esm/samples-dev/eventSourcesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSourcesGetSample.js +10 -3
- package/dist-esm/samples-dev/eventSourcesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSourcesListByEnvironmentSample.js +10 -3
- package/dist-esm/samples-dev/eventSourcesListByEnvironmentSample.js.map +1 -1
- package/dist-esm/samples-dev/eventSourcesUpdateSample.js +10 -3
- package/dist-esm/samples-dev/eventSourcesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +10 -2
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +10 -3
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +10 -3
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +10 -3
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByEnvironmentSample.js +10 -3
- package/dist-esm/samples-dev/privateEndpointConnectionsListByEnvironmentSample.js.map +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.js +10 -3
- package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.js.map +1 -1
- package/dist-esm/samples-dev/referenceDataSetsCreateOrUpdateSample.js +10 -3
- package/dist-esm/samples-dev/referenceDataSetsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/referenceDataSetsDeleteSample.js +10 -3
- package/dist-esm/samples-dev/referenceDataSetsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/referenceDataSetsGetSample.js +10 -3
- package/dist-esm/samples-dev/referenceDataSetsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/referenceDataSetsListByEnvironmentSample.js +10 -3
- package/dist-esm/samples-dev/referenceDataSetsListByEnvironmentSample.js.map +1 -1
- package/dist-esm/samples-dev/referenceDataSetsUpdateSample.js +10 -3
- package/dist-esm/samples-dev/referenceDataSetsUpdateSample.js.map +1 -1
- package/dist-esm/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +138 -68
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +50 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +10 -10
- package/dist-esm/src/models/mappers.js +28 -28
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js +19 -8
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -1
- package/dist-esm/src/operations/privateLinkResources.js +8 -4
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/src/timeSeriesInsightsClient.d.ts +2 -0
- package/dist-esm/src/timeSeriesInsightsClient.d.ts.map +1 -1
- package/dist-esm/src/timeSeriesInsightsClient.js +49 -18
- package/dist-esm/src/timeSeriesInsightsClient.js.map +1 -1
- package/dist-esm/test/sampleTest.js +11 -13
- package/dist-esm/test/sampleTest.js.map +1 -1
- package/package.json +15 -10
- package/review/arm-timeseriesinsights.api.md +143 -178
- package/src/index.ts +1 -0
- package/src/models/index.ts +159 -70
- package/src/models/mappers.ts +28 -28
- package/src/operations/operations.ts +21 -9
- package/src/operations/privateLinkResources.ts +11 -5
- package/src/pagingHelper.ts +39 -0
- package/src/timeSeriesInsightsClient.ts +60 -20
- package/types/arm-timeseriesinsights.d.ts +149 -68
- package/types/tsdoc-metadata.json +1 -1
@@ -363,45 +363,45 @@ export interface EventSourceMutableProperties {
|
|
363
363
|
timestampPropertyName?: string;
|
364
364
|
}
|
365
365
|
/** Parameters supplied to the CreateOrUpdate Environment operation. */
|
366
|
-
export
|
366
|
+
export interface EnvironmentCreateOrUpdateParameters extends CreateOrUpdateTrackedResourceProperties {
|
367
367
|
/** The kind of the environment. */
|
368
368
|
kind: EnvironmentKind;
|
369
369
|
/** The sku determines the type of environment, either Gen1 (S1 or S2) or Gen2 (L1). For Gen1 environments the sku determines the capacity of the environment, the ingress rate, and the billing rate. */
|
370
370
|
sku: Sku;
|
371
|
-
}
|
371
|
+
}
|
372
372
|
/** Parameters supplied to the Create or Update Event Source operation. */
|
373
|
-
export
|
373
|
+
export interface EventSourceCreateOrUpdateParameters extends CreateOrUpdateTrackedResourceProperties {
|
374
374
|
/** The kind of the event source. */
|
375
375
|
kind: EventSourceKind;
|
376
376
|
/** An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events. */
|
377
377
|
localTimestamp?: LocalTimestamp;
|
378
|
-
}
|
379
|
-
export
|
378
|
+
}
|
379
|
+
export interface ReferenceDataSetCreateOrUpdateParameters extends CreateOrUpdateTrackedResourceProperties {
|
380
380
|
/** The list of key properties for the reference data set. */
|
381
381
|
keyProperties: ReferenceDataSetKeyProperty[];
|
382
382
|
/** The reference data set key comparison behavior can be set using this property. By default, the value is 'Ordinal' - which means case sensitive key comparison will be performed while joining reference data with events or while adding new reference data. When 'OrdinalIgnoreCase' is set, case insensitive comparison will be used. */
|
383
383
|
dataStringComparisonBehavior?: DataStringComparisonBehavior;
|
384
|
-
}
|
384
|
+
}
|
385
385
|
/** Time Series Insights resource that is tracked by Azure Resource Manager. */
|
386
|
-
export
|
386
|
+
export interface TrackedResource extends Resource {
|
387
387
|
/** Resource location */
|
388
388
|
location: string;
|
389
389
|
/** Resource tags */
|
390
390
|
tags?: {
|
391
391
|
[propertyName: string]: string;
|
392
392
|
};
|
393
|
-
}
|
393
|
+
}
|
394
394
|
/** An access policy is used to grant users and applications access to the environment. Roles are assigned to service principals in Azure Active Directory. These roles define the actions the principal can perform through the Time Series Insights data plane APIs. */
|
395
|
-
export
|
395
|
+
export interface AccessPolicyResource extends Resource {
|
396
396
|
/** The objectId of the principal in Azure Active Directory. */
|
397
397
|
principalObjectId?: string;
|
398
398
|
/** An description of the access policy. */
|
399
399
|
description?: string;
|
400
400
|
/** The list of roles the principal is assigned on the environment. */
|
401
401
|
roles?: AccessPolicyRole[];
|
402
|
-
}
|
402
|
+
}
|
403
403
|
/** The Private Endpoint Connection resource. */
|
404
|
-
export
|
404
|
+
export interface PrivateEndpointConnection extends Resource {
|
405
405
|
/**
|
406
406
|
* Provisioning state of the private endpoint connection.
|
407
407
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
@@ -413,9 +413,9 @@ export declare type PrivateEndpointConnection = Resource & {
|
|
413
413
|
groupIds?: string[];
|
414
414
|
/** A collection of information about the state of the connection between service consumer and provider. */
|
415
415
|
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
|
416
|
-
}
|
416
|
+
}
|
417
417
|
/** A private link resource */
|
418
|
-
export
|
418
|
+
export interface PrivateLinkResource extends Resource {
|
419
419
|
/**
|
420
420
|
* The private link resource group id.
|
421
421
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
@@ -428,9 +428,9 @@ export declare type PrivateLinkResource = Resource & {
|
|
428
428
|
readonly requiredMembers?: string[];
|
429
429
|
/** The private link resource Private link DNS zone name. */
|
430
430
|
requiredZoneNames?: string[];
|
431
|
-
}
|
431
|
+
}
|
432
432
|
/** Parameters supplied to the Update Environment operation to update a Gen1 environment. */
|
433
|
-
export
|
433
|
+
export interface Gen1EnvironmentUpdateParameters extends EnvironmentUpdateParameters {
|
434
434
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
435
435
|
kind: "Gen1";
|
436
436
|
/** The sku of the environment. */
|
@@ -439,38 +439,39 @@ export declare type Gen1EnvironmentUpdateParameters = EnvironmentUpdateParameter
|
|
439
439
|
dataRetentionTime?: string;
|
440
440
|
/** The behavior the Time Series Insights service should take when the environment's capacity has been exceeded. If "PauseIngress" is specified, new events will not be read from the event source. If "PurgeOldData" is specified, new events will continue to be read and old events will be deleted from the environment. The default behavior is PurgeOldData. */
|
441
441
|
storageLimitExceededBehavior?: StorageLimitExceededBehavior;
|
442
|
-
}
|
442
|
+
}
|
443
443
|
/** Parameters supplied to the Update Environment operation to update a Gen2 environment. */
|
444
|
-
export
|
444
|
+
export interface Gen2EnvironmentUpdateParameters extends EnvironmentUpdateParameters {
|
445
445
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
446
446
|
kind: "Gen2";
|
447
447
|
/** The storage configuration provides the connection details that allows the Time Series Insights service to connect to the customer storage account that is used to store the environment's data. */
|
448
448
|
storageConfiguration?: Gen2StorageConfigurationMutableProperties;
|
449
449
|
/** The warm store configuration provides the details to create a warm store cache that will retain a copy of the environment's data available for faster query. */
|
450
450
|
warmStoreConfiguration?: WarmStoreConfigurationProperties;
|
451
|
-
}
|
451
|
+
}
|
452
452
|
/** Parameters supplied to the Update Event Source operation to update an EventHub event source. */
|
453
|
-
export
|
453
|
+
export interface EventHubEventSourceUpdateParameters extends EventSourceUpdateParameters {
|
454
454
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
455
455
|
kind: "Microsoft.EventHub";
|
456
456
|
/** The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used. */
|
457
457
|
timestampPropertyName?: string;
|
458
458
|
/** The value of the shared access key that grants the Time Series Insights service read access to the event hub. This property is not shown in event source responses. */
|
459
459
|
sharedAccessKey?: string;
|
460
|
-
}
|
460
|
+
}
|
461
461
|
/** Parameters supplied to the Update Event Source operation to update an IoTHub event source. */
|
462
|
-
export
|
462
|
+
export interface IoTHubEventSourceUpdateParameters extends EventSourceUpdateParameters {
|
463
463
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
464
464
|
kind: "Microsoft.IoTHub";
|
465
465
|
/** The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used. */
|
466
466
|
timestampPropertyName?: string;
|
467
467
|
/** The value of the shared access key that grants the Time Series Insights service read access to the iot hub. This property is not shown in event source responses. */
|
468
468
|
sharedAccessKey?: string;
|
469
|
-
}
|
469
|
+
}
|
470
470
|
/** Properties of the reference data set. */
|
471
|
-
export
|
471
|
+
export interface ReferenceDataSetResourceProperties extends ReferenceDataSetCreationProperties, ResourceProperties {
|
472
|
+
}
|
472
473
|
/** Properties of the environment. */
|
473
|
-
export
|
474
|
+
export interface EnvironmentResourceProperties extends ResourceProperties {
|
474
475
|
/**
|
475
476
|
* An id used to access the environment data, e.g. to query the environment's events or upload reference data for the environment.
|
476
477
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
@@ -486,9 +487,9 @@ export declare type EnvironmentResourceProperties = ResourceProperties & {
|
|
486
487
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
487
488
|
*/
|
488
489
|
readonly status?: EnvironmentStatus;
|
489
|
-
}
|
490
|
+
}
|
490
491
|
/** Properties of the event source. */
|
491
|
-
export
|
492
|
+
export interface EventSourceCommonProperties extends ResourceProperties {
|
492
493
|
/** The event property that will be used as the event source's timestamp. If a value isn't specified for timestampPropertyName, or if null or empty-string is specified, the event creation time will be used. */
|
493
494
|
timestampPropertyName?: string;
|
494
495
|
/** An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events. */
|
@@ -497,30 +498,35 @@ export declare type EventSourceCommonProperties = ResourceProperties & {
|
|
497
498
|
type?: IngressStartAtType;
|
498
499
|
/** ISO8601 UTC datetime with seconds precision (milliseconds are optional), specifying the date and time that will be the starting point for Events to be consumed. */
|
499
500
|
time?: string;
|
500
|
-
}
|
501
|
+
}
|
501
502
|
/** Properties of the Gen1 environment. */
|
502
|
-
export
|
503
|
+
export interface Gen1EnvironmentResourceProperties extends Gen1EnvironmentCreationProperties, EnvironmentResourceProperties {
|
504
|
+
}
|
503
505
|
/** An object that represents a set of mutable EventHub event source resource properties. */
|
504
|
-
export
|
506
|
+
export interface EventHubEventSourceMutableProperties extends EventSourceMutableProperties {
|
505
507
|
/** The value of the shared access key that grants the Time Series Insights service read access to the event hub. This property is not shown in event source responses. */
|
506
508
|
sharedAccessKey?: string;
|
507
|
-
}
|
509
|
+
}
|
508
510
|
/** An object that represents a set of mutable IoTHub event source resource properties. */
|
509
|
-
export
|
511
|
+
export interface IoTHubEventSourceMutableProperties extends EventSourceMutableProperties {
|
510
512
|
/** The value of the shared access key that grants the Time Series Insights service read access to the iot hub. This property is not shown in event source responses. */
|
511
513
|
sharedAccessKey?: string;
|
512
|
-
}
|
514
|
+
}
|
513
515
|
/** Parameters supplied to the Create or Update Environment operation for a Gen1 environment. */
|
514
|
-
export
|
516
|
+
export interface Gen1EnvironmentCreateOrUpdateParameters extends EnvironmentCreateOrUpdateParameters {
|
517
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
518
|
+
kind: "Gen1";
|
515
519
|
/** ISO8601 timespan specifying the minimum number of days the environment's events will be available for query. */
|
516
520
|
dataRetentionTime: string;
|
517
521
|
/** The behavior the Time Series Insights service should take when the environment's capacity has been exceeded. If "PauseIngress" is specified, new events will not be read from the event source. If "PurgeOldData" is specified, new events will continue to be read and old events will be deleted from the environment. The default behavior is PurgeOldData. */
|
518
522
|
storageLimitExceededBehavior?: StorageLimitExceededBehavior;
|
519
523
|
/** The list of event properties which will be used to partition data in the environment. Currently, only a single partition key property is supported. */
|
520
524
|
partitionKeyProperties?: TimeSeriesIdProperty[];
|
521
|
-
}
|
525
|
+
}
|
522
526
|
/** Parameters supplied to the Create or Update Environment operation for a Gen2 environment. */
|
523
|
-
export
|
527
|
+
export interface Gen2EnvironmentCreateOrUpdateParameters extends EnvironmentCreateOrUpdateParameters {
|
528
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
529
|
+
kind: "Gen2";
|
524
530
|
/** The list of event properties which will be used to define the environment's time series id. */
|
525
531
|
timeSeriesIdProperties: TimeSeriesIdProperty[];
|
526
532
|
/** The storage configuration provides the connection details that allows the Time Series Insights service to connect to the customer storage account that is used to store the environment's data. */
|
@@ -534,9 +540,11 @@ export declare type Gen2EnvironmentCreateOrUpdateParameters = EnvironmentCreateO
|
|
534
540
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
535
541
|
*/
|
536
542
|
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
537
|
-
}
|
543
|
+
}
|
538
544
|
/** Parameters supplied to the Create or Update Event Source operation for an EventHub event source. */
|
539
|
-
export
|
545
|
+
export interface EventHubEventSourceCreateOrUpdateParameters extends EventSourceCreateOrUpdateParameters {
|
546
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
547
|
+
kind: "Microsoft.EventHub";
|
540
548
|
/**
|
541
549
|
* Provisioning state of the resource.
|
542
550
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
@@ -567,9 +575,11 @@ export declare type EventHubEventSourceCreateOrUpdateParameters = EventSourceCre
|
|
567
575
|
keyName: string;
|
568
576
|
/** The value of the shared access key that grants the Time Series Insights service read access to the event hub. This property is not shown in event source responses. */
|
569
577
|
sharedAccessKey: string;
|
570
|
-
}
|
578
|
+
}
|
571
579
|
/** Parameters supplied to the Create or Update Event Source operation for an IoTHub event source. */
|
572
|
-
export
|
580
|
+
export interface IoTHubEventSourceCreateOrUpdateParameters extends EventSourceCreateOrUpdateParameters {
|
581
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
582
|
+
kind: "Microsoft.IoTHub";
|
573
583
|
/**
|
574
584
|
* Provisioning state of the resource.
|
575
585
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
@@ -598,21 +608,21 @@ export declare type IoTHubEventSourceCreateOrUpdateParameters = EventSourceCreat
|
|
598
608
|
keyName: string;
|
599
609
|
/** The value of the Shared Access Policy key that grants the Time Series Insights service read access to the iot hub. This property is not shown in event source responses. */
|
600
610
|
sharedAccessKey: string;
|
601
|
-
}
|
611
|
+
}
|
602
612
|
/** An environment is a set of time-series data available for query, and is the top level Azure Time Series Insights resource. */
|
603
|
-
export
|
613
|
+
export interface EnvironmentResource extends TrackedResource {
|
604
614
|
/** The sku determines the type of environment, either Gen1 (S1 or S2) or Gen2 (L1). For Gen1 environments the sku determines the capacity of the environment, the ingress rate, and the billing rate. */
|
605
615
|
sku: Sku;
|
606
616
|
/** The kind of the environment. */
|
607
617
|
kind: EnvironmentResourceKind;
|
608
|
-
}
|
618
|
+
}
|
609
619
|
/** An environment receives data from one or more event sources. Each event source has associated connection info that allows the Time Series Insights ingress pipeline to connect to and pull data from the event source */
|
610
|
-
export
|
620
|
+
export interface EventSourceResource extends TrackedResource {
|
611
621
|
/** The kind of the event source. */
|
612
622
|
kind: EventSourceResourceKind;
|
613
|
-
}
|
623
|
+
}
|
614
624
|
/** A reference data set provides metadata about the events in an environment. Metadata in the reference data set will be joined with events as they are read from event sources. The metadata that makes up the reference data set is uploaded or modified through the Time Series Insights data plane APIs. */
|
615
|
-
export
|
625
|
+
export interface ReferenceDataSetResource extends TrackedResource {
|
616
626
|
/** The list of key properties for the reference data set. */
|
617
627
|
keyProperties?: ReferenceDataSetKeyProperty[];
|
618
628
|
/** The reference data set key comparison behavior can be set using this property. By default, the value is 'Ordinal' - which means case sensitive key comparison will be performed while joining reference data with events or while adding new reference data. When 'OrdinalIgnoreCase' is set, case insensitive comparison will be used. */
|
@@ -627,9 +637,9 @@ export declare type ReferenceDataSetResource = TrackedResource & {
|
|
627
637
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
628
638
|
*/
|
629
639
|
readonly creationTime?: Date;
|
630
|
-
}
|
640
|
+
}
|
631
641
|
/** Properties of the Gen2 environment. */
|
632
|
-
export
|
642
|
+
export interface Gen2EnvironmentResourceProperties extends EnvironmentResourceProperties {
|
633
643
|
/** The list of event properties which will be used to define the environment's time series id. */
|
634
644
|
timeSeriesIdProperties: TimeSeriesIdProperty[];
|
635
645
|
/** The storage configuration provides the connection details that allows the Time Series Insights service to connect to the customer storage account that is used to store the environment's data. */
|
@@ -643,14 +653,16 @@ export declare type Gen2EnvironmentResourceProperties = EnvironmentResourcePrope
|
|
643
653
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
644
654
|
*/
|
645
655
|
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
646
|
-
}
|
656
|
+
}
|
647
657
|
/** Properties of an event source that reads events from an event broker in Azure. */
|
648
|
-
export
|
658
|
+
export interface AzureEventSourceProperties extends EventSourceCommonProperties {
|
649
659
|
/** The resource id of the event source in Azure Resource Manager. */
|
650
660
|
eventSourceResourceId: string;
|
651
|
-
}
|
661
|
+
}
|
652
662
|
/** An environment is a set of time-series data available for query, and is the top level Azure Time Series Insights resource. Gen1 environments have data retention limits. */
|
653
|
-
export
|
663
|
+
export interface Gen1EnvironmentResource extends EnvironmentResource {
|
664
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
665
|
+
kind: "Gen1";
|
654
666
|
/** ISO8601 timespan specifying the minimum number of days the environment's events will be available for query. */
|
655
667
|
dataRetentionTime: string;
|
656
668
|
/** The behavior the Time Series Insights service should take when the environment's capacity has been exceeded. If "PauseIngress" is specified, new events will not be read from the event source. If "PurgeOldData" is specified, new events will continue to be read and old events will be deleted from the environment. The default behavior is PurgeOldData. */
|
@@ -682,9 +694,11 @@ export declare type Gen1EnvironmentResource = EnvironmentResource & {
|
|
682
694
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
683
695
|
*/
|
684
696
|
readonly status?: EnvironmentStatus;
|
685
|
-
}
|
697
|
+
}
|
686
698
|
/** An environment is a set of time-series data available for query, and is the top level Azure Time Series Insights resource. Gen2 environments do not have set data retention limits. */
|
687
|
-
export
|
699
|
+
export interface Gen2EnvironmentResource extends EnvironmentResource {
|
700
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
701
|
+
kind: "Gen2";
|
688
702
|
/**
|
689
703
|
* Provisioning state of the resource.
|
690
704
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
@@ -723,9 +737,11 @@ export declare type Gen2EnvironmentResource = EnvironmentResource & {
|
|
723
737
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
724
738
|
*/
|
725
739
|
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
726
|
-
}
|
740
|
+
}
|
727
741
|
/** An event source that receives its data from an Azure EventHub. */
|
728
|
-
export
|
742
|
+
export interface EventHubEventSourceResource extends EventSourceResource {
|
743
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
744
|
+
kind: "Microsoft.EventHub";
|
729
745
|
/**
|
730
746
|
* Provisioning state of the resource.
|
731
747
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
@@ -754,9 +770,11 @@ export declare type EventHubEventSourceResource = EventSourceResource & {
|
|
754
770
|
consumerGroupName: string;
|
755
771
|
/** The name of the SAS key that grants the Time Series Insights service access to the event hub. The shared access policies for this key must grant 'Listen' permissions to the event hub. */
|
756
772
|
keyName: string;
|
757
|
-
}
|
773
|
+
}
|
758
774
|
/** An event source that receives its data from an Azure IoTHub. */
|
759
|
-
export
|
775
|
+
export interface IoTHubEventSourceResource extends EventSourceResource {
|
776
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
777
|
+
kind: "Microsoft.IoTHub";
|
760
778
|
/**
|
761
779
|
* Provisioning state of the resource.
|
762
780
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
@@ -783,9 +801,9 @@ export declare type IoTHubEventSourceResource = EventSourceResource & {
|
|
783
801
|
consumerGroupName: string;
|
784
802
|
/** The name of the Shared Access Policy key that grants the Time Series Insights service access to the iot hub. This shared access policy key must grant 'service connect' permissions to the iot hub. */
|
785
803
|
keyName: string;
|
786
|
-
}
|
804
|
+
}
|
787
805
|
/** Properties of the EventHub event source. */
|
788
|
-
export
|
806
|
+
export interface EventHubEventSourceCommonProperties extends AzureEventSourceProperties {
|
789
807
|
/** The name of the service bus that contains the event hub. */
|
790
808
|
serviceBusNamespace: string;
|
791
809
|
/** The name of the event hub. */
|
@@ -794,33 +812,37 @@ export declare type EventHubEventSourceCommonProperties = AzureEventSourceProper
|
|
794
812
|
consumerGroupName: string;
|
795
813
|
/** The name of the SAS key that grants the Time Series Insights service access to the event hub. The shared access policies for this key must grant 'Listen' permissions to the event hub. */
|
796
814
|
keyName: string;
|
797
|
-
}
|
815
|
+
}
|
798
816
|
/** Properties of the IoTHub event source. */
|
799
|
-
export
|
817
|
+
export interface IoTHubEventSourceCommonProperties extends AzureEventSourceProperties {
|
800
818
|
/** The name of the iot hub. */
|
801
819
|
iotHubName: string;
|
802
820
|
/** The name of the iot hub's consumer group that holds the partitions from which events will be read. */
|
803
821
|
consumerGroupName: string;
|
804
822
|
/** The name of the Shared Access Policy key that grants the Time Series Insights service access to the iot hub. This shared access policy key must grant 'service connect' permissions to the iot hub. */
|
805
823
|
keyName: string;
|
806
|
-
}
|
824
|
+
}
|
807
825
|
/** Properties of the EventHub event source that are required on create or update requests. */
|
808
|
-
export
|
826
|
+
export interface EventHubEventSourceCreationProperties extends EventHubEventSourceCommonProperties {
|
809
827
|
/** The value of the shared access key that grants the Time Series Insights service read access to the event hub. This property is not shown in event source responses. */
|
810
828
|
sharedAccessKey: string;
|
811
|
-
}
|
829
|
+
}
|
812
830
|
/** Properties of the EventHub event source resource. */
|
813
|
-
export
|
831
|
+
export interface EventHubEventSourceResourceProperties extends EventHubEventSourceCommonProperties {
|
832
|
+
}
|
814
833
|
/** Properties of the IoTHub event source that are required on create or update requests. */
|
815
|
-
export
|
834
|
+
export interface IoTHubEventSourceCreationProperties extends IoTHubEventSourceCommonProperties {
|
816
835
|
/** The value of the Shared Access Policy key that grants the Time Series Insights service read access to the iot hub. This property is not shown in event source responses. */
|
817
836
|
sharedAccessKey: string;
|
818
|
-
}
|
837
|
+
}
|
819
838
|
/** Properties of the IoTHub event source resource. */
|
820
|
-
export
|
839
|
+
export interface IoTHubEventSourceResourceProperties extends IoTHubEventSourceCommonProperties {
|
840
|
+
}
|
821
841
|
/** Known values of {@link EnvironmentKind} that the service accepts. */
|
822
842
|
export declare enum KnownEnvironmentKind {
|
843
|
+
/** Gen1 */
|
823
844
|
Gen1 = "Gen1",
|
845
|
+
/** Gen2 */
|
824
846
|
Gen2 = "Gen2"
|
825
847
|
}
|
826
848
|
/**
|
@@ -834,9 +856,13 @@ export declare enum KnownEnvironmentKind {
|
|
834
856
|
export declare type EnvironmentKind = string;
|
835
857
|
/** Known values of {@link SkuName} that the service accepts. */
|
836
858
|
export declare enum KnownSkuName {
|
859
|
+
/** S1 */
|
837
860
|
S1 = "S1",
|
861
|
+
/** S2 */
|
838
862
|
S2 = "S2",
|
863
|
+
/** P1 */
|
839
864
|
P1 = "P1",
|
865
|
+
/** L1 */
|
840
866
|
L1 = "L1"
|
841
867
|
}
|
842
868
|
/**
|
@@ -852,7 +878,9 @@ export declare enum KnownSkuName {
|
|
852
878
|
export declare type SkuName = string;
|
853
879
|
/** Known values of {@link EnvironmentResourceKind} that the service accepts. */
|
854
880
|
export declare enum KnownEnvironmentResourceKind {
|
881
|
+
/** Gen1 */
|
855
882
|
Gen1 = "Gen1",
|
883
|
+
/** Gen2 */
|
856
884
|
Gen2 = "Gen2"
|
857
885
|
}
|
858
886
|
/**
|
@@ -866,7 +894,9 @@ export declare enum KnownEnvironmentResourceKind {
|
|
866
894
|
export declare type EnvironmentResourceKind = string;
|
867
895
|
/** Known values of {@link EventSourceKind} that the service accepts. */
|
868
896
|
export declare enum KnownEventSourceKind {
|
897
|
+
/** MicrosoftEventHub */
|
869
898
|
MicrosoftEventHub = "Microsoft.EventHub",
|
899
|
+
/** MicrosoftIoTHub */
|
870
900
|
MicrosoftIoTHub = "Microsoft.IoTHub"
|
871
901
|
}
|
872
902
|
/**
|
@@ -880,6 +910,7 @@ export declare enum KnownEventSourceKind {
|
|
880
910
|
export declare type EventSourceKind = string;
|
881
911
|
/** Known values of {@link LocalTimestampFormat} that the service accepts. */
|
882
912
|
export declare enum KnownLocalTimestampFormat {
|
913
|
+
/** Embedded */
|
883
914
|
Embedded = "Embedded"
|
884
915
|
}
|
885
916
|
/**
|
@@ -892,7 +923,9 @@ export declare enum KnownLocalTimestampFormat {
|
|
892
923
|
export declare type LocalTimestampFormat = string;
|
893
924
|
/** Known values of {@link EventSourceResourceKind} that the service accepts. */
|
894
925
|
export declare enum KnownEventSourceResourceKind {
|
926
|
+
/** MicrosoftEventHub */
|
895
927
|
MicrosoftEventHub = "Microsoft.EventHub",
|
928
|
+
/** MicrosoftIoTHub */
|
896
929
|
MicrosoftIoTHub = "Microsoft.IoTHub"
|
897
930
|
}
|
898
931
|
/**
|
@@ -906,9 +939,13 @@ export declare enum KnownEventSourceResourceKind {
|
|
906
939
|
export declare type EventSourceResourceKind = string;
|
907
940
|
/** Known values of {@link ReferenceDataKeyPropertyType} that the service accepts. */
|
908
941
|
export declare enum KnownReferenceDataKeyPropertyType {
|
942
|
+
/** String */
|
909
943
|
String = "String",
|
944
|
+
/** Double */
|
910
945
|
Double = "Double",
|
946
|
+
/** Bool */
|
911
947
|
Bool = "Bool",
|
948
|
+
/** DateTime */
|
912
949
|
DateTime = "DateTime"
|
913
950
|
}
|
914
951
|
/**
|
@@ -924,7 +961,9 @@ export declare enum KnownReferenceDataKeyPropertyType {
|
|
924
961
|
export declare type ReferenceDataKeyPropertyType = string;
|
925
962
|
/** Known values of {@link DataStringComparisonBehavior} that the service accepts. */
|
926
963
|
export declare enum KnownDataStringComparisonBehavior {
|
964
|
+
/** Ordinal */
|
927
965
|
Ordinal = "Ordinal",
|
966
|
+
/** OrdinalIgnoreCase */
|
928
967
|
OrdinalIgnoreCase = "OrdinalIgnoreCase"
|
929
968
|
}
|
930
969
|
/**
|
@@ -938,11 +977,17 @@ export declare enum KnownDataStringComparisonBehavior {
|
|
938
977
|
export declare type DataStringComparisonBehavior = string;
|
939
978
|
/** Known values of {@link ProvisioningState} that the service accepts. */
|
940
979
|
export declare enum KnownProvisioningState {
|
980
|
+
/** Accepted */
|
941
981
|
Accepted = "Accepted",
|
982
|
+
/** Creating */
|
942
983
|
Creating = "Creating",
|
984
|
+
/** Updating */
|
943
985
|
Updating = "Updating",
|
986
|
+
/** Succeeded */
|
944
987
|
Succeeded = "Succeeded",
|
988
|
+
/** Failed */
|
945
989
|
Failed = "Failed",
|
990
|
+
/** Deleting */
|
946
991
|
Deleting = "Deleting"
|
947
992
|
}
|
948
993
|
/**
|
@@ -960,7 +1005,9 @@ export declare enum KnownProvisioningState {
|
|
960
1005
|
export declare type ProvisioningState = string;
|
961
1006
|
/** Known values of {@link AccessPolicyRole} that the service accepts. */
|
962
1007
|
export declare enum KnownAccessPolicyRole {
|
1008
|
+
/** Reader */
|
963
1009
|
Reader = "Reader",
|
1010
|
+
/** Contributor */
|
964
1011
|
Contributor = "Contributor"
|
965
1012
|
}
|
966
1013
|
/**
|
@@ -974,9 +1021,13 @@ export declare enum KnownAccessPolicyRole {
|
|
974
1021
|
export declare type AccessPolicyRole = string;
|
975
1022
|
/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
|
976
1023
|
export declare enum KnownPrivateEndpointConnectionProvisioningState {
|
1024
|
+
/** Succeeded */
|
977
1025
|
Succeeded = "Succeeded",
|
1026
|
+
/** Creating */
|
978
1027
|
Creating = "Creating",
|
1028
|
+
/** Deleting */
|
979
1029
|
Deleting = "Deleting",
|
1030
|
+
/** Failed */
|
980
1031
|
Failed = "Failed"
|
981
1032
|
}
|
982
1033
|
/**
|
@@ -992,8 +1043,11 @@ export declare enum KnownPrivateEndpointConnectionProvisioningState {
|
|
992
1043
|
export declare type PrivateEndpointConnectionProvisioningState = string;
|
993
1044
|
/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
|
994
1045
|
export declare enum KnownPrivateEndpointServiceConnectionStatus {
|
1046
|
+
/** Pending */
|
995
1047
|
Pending = "Pending",
|
1048
|
+
/** Approved */
|
996
1049
|
Approved = "Approved",
|
1050
|
+
/** Rejected */
|
997
1051
|
Rejected = "Rejected"
|
998
1052
|
}
|
999
1053
|
/**
|
@@ -1008,7 +1062,9 @@ export declare enum KnownPrivateEndpointServiceConnectionStatus {
|
|
1008
1062
|
export declare type PrivateEndpointServiceConnectionStatus = string;
|
1009
1063
|
/** Known values of {@link StorageLimitExceededBehavior} that the service accepts. */
|
1010
1064
|
export declare enum KnownStorageLimitExceededBehavior {
|
1065
|
+
/** PurgeOldData */
|
1011
1066
|
PurgeOldData = "PurgeOldData",
|
1067
|
+
/** PauseIngress */
|
1012
1068
|
PauseIngress = "PauseIngress"
|
1013
1069
|
}
|
1014
1070
|
/**
|
@@ -1022,6 +1078,7 @@ export declare enum KnownStorageLimitExceededBehavior {
|
|
1022
1078
|
export declare type StorageLimitExceededBehavior = string;
|
1023
1079
|
/** Known values of {@link PropertyType} that the service accepts. */
|
1024
1080
|
export declare enum KnownPropertyType {
|
1081
|
+
/** String */
|
1025
1082
|
String = "String"
|
1026
1083
|
}
|
1027
1084
|
/**
|
@@ -1034,7 +1091,9 @@ export declare enum KnownPropertyType {
|
|
1034
1091
|
export declare type PropertyType = string;
|
1035
1092
|
/** Known values of {@link PublicNetworkAccess} that the service accepts. */
|
1036
1093
|
export declare enum KnownPublicNetworkAccess {
|
1094
|
+
/** Enabled */
|
1037
1095
|
Enabled = "enabled",
|
1096
|
+
/** Disabled */
|
1038
1097
|
Disabled = "disabled"
|
1039
1098
|
}
|
1040
1099
|
/**
|
@@ -1048,10 +1107,15 @@ export declare enum KnownPublicNetworkAccess {
|
|
1048
1107
|
export declare type PublicNetworkAccess = string;
|
1049
1108
|
/** Known values of {@link IngressState} that the service accepts. */
|
1050
1109
|
export declare enum KnownIngressState {
|
1110
|
+
/** Disabled */
|
1051
1111
|
Disabled = "Disabled",
|
1112
|
+
/** Ready */
|
1052
1113
|
Ready = "Ready",
|
1114
|
+
/** Running */
|
1053
1115
|
Running = "Running",
|
1116
|
+
/** Paused */
|
1054
1117
|
Paused = "Paused",
|
1118
|
+
/** Unknown */
|
1055
1119
|
Unknown = "Unknown"
|
1056
1120
|
}
|
1057
1121
|
/**
|
@@ -1068,8 +1132,11 @@ export declare enum KnownIngressState {
|
|
1068
1132
|
export declare type IngressState = string;
|
1069
1133
|
/** Known values of {@link WarmStoragePropertiesState} that the service accepts. */
|
1070
1134
|
export declare enum KnownWarmStoragePropertiesState {
|
1135
|
+
/** Ok */
|
1071
1136
|
Ok = "Ok",
|
1137
|
+
/** Error */
|
1072
1138
|
Error = "Error",
|
1139
|
+
/** Unknown */
|
1073
1140
|
Unknown = "Unknown"
|
1074
1141
|
}
|
1075
1142
|
/**
|
@@ -1084,8 +1151,11 @@ export declare enum KnownWarmStoragePropertiesState {
|
|
1084
1151
|
export declare type WarmStoragePropertiesState = string;
|
1085
1152
|
/** Known values of {@link IngressStartAtType} that the service accepts. */
|
1086
1153
|
export declare enum KnownIngressStartAtType {
|
1154
|
+
/** EarliestAvailable */
|
1087
1155
|
EarliestAvailable = "EarliestAvailable",
|
1156
|
+
/** EventSourceCreationTime */
|
1088
1157
|
EventSourceCreationTime = "EventSourceCreationTime",
|
1158
|
+
/** CustomEnqueuedTime */
|
1089
1159
|
CustomEnqueuedTime = "CustomEnqueuedTime"
|
1090
1160
|
}
|
1091
1161
|
/**
|