@azure/arm-timeseriesinsights 2.0.0-alpha.20220413.1 → 2.1.0-alpha.20220506.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 (175) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/README.md +12 -1
  3. package/dist/index.js +650 -62
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/accessPoliciesCreateOrUpdateSample.d.ts +2 -0
  8. package/dist-esm/samples-dev/accessPoliciesCreateOrUpdateSample.d.ts.map +1 -0
  9. package/dist-esm/samples-dev/accessPoliciesCreateOrUpdateSample.js +37 -0
  10. package/dist-esm/samples-dev/accessPoliciesCreateOrUpdateSample.js.map +1 -0
  11. package/dist-esm/samples-dev/accessPoliciesDeleteSample.d.ts +2 -0
  12. package/dist-esm/samples-dev/accessPoliciesDeleteSample.d.ts.map +1 -0
  13. package/dist-esm/samples-dev/accessPoliciesDeleteSample.js +32 -0
  14. package/dist-esm/samples-dev/accessPoliciesDeleteSample.js.map +1 -0
  15. package/dist-esm/samples-dev/accessPoliciesGetSample.d.ts +2 -0
  16. package/dist-esm/samples-dev/accessPoliciesGetSample.d.ts.map +1 -0
  17. package/dist-esm/samples-dev/accessPoliciesGetSample.js +32 -0
  18. package/dist-esm/samples-dev/accessPoliciesGetSample.js.map +1 -0
  19. package/dist-esm/samples-dev/accessPoliciesListByEnvironmentSample.d.ts +2 -0
  20. package/dist-esm/samples-dev/accessPoliciesListByEnvironmentSample.d.ts.map +1 -0
  21. package/dist-esm/samples-dev/accessPoliciesListByEnvironmentSample.js +31 -0
  22. package/dist-esm/samples-dev/accessPoliciesListByEnvironmentSample.js.map +1 -0
  23. package/dist-esm/samples-dev/accessPoliciesUpdateSample.d.ts +2 -0
  24. package/dist-esm/samples-dev/accessPoliciesUpdateSample.d.ts.map +1 -0
  25. package/dist-esm/samples-dev/accessPoliciesUpdateSample.js +35 -0
  26. package/dist-esm/samples-dev/accessPoliciesUpdateSample.js.map +1 -0
  27. package/dist-esm/samples-dev/environmentsCreateOrUpdateSample.d.ts +2 -0
  28. package/dist-esm/samples-dev/environmentsCreateOrUpdateSample.d.ts.map +1 -0
  29. package/dist-esm/samples-dev/environmentsCreateOrUpdateSample.js +38 -0
  30. package/dist-esm/samples-dev/environmentsCreateOrUpdateSample.js.map +1 -0
  31. package/dist-esm/samples-dev/environmentsDeleteSample.d.ts +2 -0
  32. package/dist-esm/samples-dev/environmentsDeleteSample.d.ts.map +1 -0
  33. package/dist-esm/samples-dev/environmentsDeleteSample.js +31 -0
  34. package/dist-esm/samples-dev/environmentsDeleteSample.js.map +1 -0
  35. package/dist-esm/samples-dev/environmentsGetSample.d.ts +2 -0
  36. package/dist-esm/samples-dev/environmentsGetSample.d.ts.map +1 -0
  37. package/dist-esm/samples-dev/environmentsGetSample.js +31 -0
  38. package/dist-esm/samples-dev/environmentsGetSample.js.map +1 -0
  39. package/dist-esm/samples-dev/environmentsListByResourceGroupSample.d.ts +2 -0
  40. package/dist-esm/samples-dev/environmentsListByResourceGroupSample.d.ts.map +1 -0
  41. package/dist-esm/samples-dev/environmentsListByResourceGroupSample.js +30 -0
  42. package/dist-esm/samples-dev/environmentsListByResourceGroupSample.js.map +1 -0
  43. package/dist-esm/samples-dev/environmentsListBySubscriptionSample.d.ts +2 -0
  44. package/dist-esm/samples-dev/environmentsListBySubscriptionSample.d.ts.map +1 -0
  45. package/dist-esm/samples-dev/environmentsListBySubscriptionSample.js +29 -0
  46. package/dist-esm/samples-dev/environmentsListBySubscriptionSample.js.map +1 -0
  47. package/dist-esm/samples-dev/environmentsUpdateSample.d.ts +2 -0
  48. package/dist-esm/samples-dev/environmentsUpdateSample.d.ts.map +1 -0
  49. package/dist-esm/samples-dev/environmentsUpdateSample.js +35 -0
  50. package/dist-esm/samples-dev/environmentsUpdateSample.js.map +1 -0
  51. package/dist-esm/samples-dev/eventSourcesCreateOrUpdateSample.d.ts +2 -0
  52. package/dist-esm/samples-dev/eventSourcesCreateOrUpdateSample.d.ts.map +1 -0
  53. package/dist-esm/samples-dev/eventSourcesCreateOrUpdateSample.js +80 -0
  54. package/dist-esm/samples-dev/eventSourcesCreateOrUpdateSample.js.map +1 -0
  55. package/dist-esm/samples-dev/eventSourcesDeleteSample.d.ts +2 -0
  56. package/dist-esm/samples-dev/eventSourcesDeleteSample.d.ts.map +1 -0
  57. package/dist-esm/samples-dev/eventSourcesDeleteSample.js +32 -0
  58. package/dist-esm/samples-dev/eventSourcesDeleteSample.js.map +1 -0
  59. package/dist-esm/samples-dev/eventSourcesGetSample.d.ts +2 -0
  60. package/dist-esm/samples-dev/eventSourcesGetSample.d.ts.map +1 -0
  61. package/dist-esm/samples-dev/eventSourcesGetSample.js +32 -0
  62. package/dist-esm/samples-dev/eventSourcesGetSample.js.map +1 -0
  63. package/dist-esm/samples-dev/eventSourcesListByEnvironmentSample.d.ts +2 -0
  64. package/dist-esm/samples-dev/eventSourcesListByEnvironmentSample.d.ts.map +1 -0
  65. package/dist-esm/samples-dev/eventSourcesListByEnvironmentSample.js +31 -0
  66. package/dist-esm/samples-dev/eventSourcesListByEnvironmentSample.js.map +1 -0
  67. package/dist-esm/samples-dev/eventSourcesUpdateSample.d.ts +2 -0
  68. package/dist-esm/samples-dev/eventSourcesUpdateSample.d.ts.map +1 -0
  69. package/dist-esm/samples-dev/eventSourcesUpdateSample.js +36 -0
  70. package/dist-esm/samples-dev/eventSourcesUpdateSample.js.map +1 -0
  71. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  72. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  73. package/dist-esm/samples-dev/operationsListSample.js +43 -0
  74. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  75. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts +2 -0
  76. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts.map +1 -0
  77. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +38 -0
  78. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +1 -0
  79. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +2 -0
  80. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +1 -0
  81. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +32 -0
  82. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -0
  83. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +2 -0
  84. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +1 -0
  85. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +32 -0
  86. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -0
  87. package/dist-esm/samples-dev/privateEndpointConnectionsListByEnvironmentSample.d.ts +2 -0
  88. package/dist-esm/samples-dev/privateEndpointConnectionsListByEnvironmentSample.d.ts.map +1 -0
  89. package/dist-esm/samples-dev/privateEndpointConnectionsListByEnvironmentSample.js +31 -0
  90. package/dist-esm/samples-dev/privateEndpointConnectionsListByEnvironmentSample.js.map +1 -0
  91. package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.d.ts +2 -0
  92. package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.d.ts.map +1 -0
  93. package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.js +45 -0
  94. package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.js.map +1 -0
  95. package/dist-esm/samples-dev/referenceDataSetsCreateOrUpdateSample.d.ts +2 -0
  96. package/dist-esm/samples-dev/referenceDataSetsCreateOrUpdateSample.d.ts.map +1 -0
  97. package/dist-esm/samples-dev/referenceDataSetsCreateOrUpdateSample.js +39 -0
  98. package/dist-esm/samples-dev/referenceDataSetsCreateOrUpdateSample.js.map +1 -0
  99. package/dist-esm/samples-dev/referenceDataSetsDeleteSample.d.ts +2 -0
  100. package/dist-esm/samples-dev/referenceDataSetsDeleteSample.d.ts.map +1 -0
  101. package/dist-esm/samples-dev/referenceDataSetsDeleteSample.js +32 -0
  102. package/dist-esm/samples-dev/referenceDataSetsDeleteSample.js.map +1 -0
  103. package/dist-esm/samples-dev/referenceDataSetsGetSample.d.ts +2 -0
  104. package/dist-esm/samples-dev/referenceDataSetsGetSample.d.ts.map +1 -0
  105. package/dist-esm/samples-dev/referenceDataSetsGetSample.js +32 -0
  106. package/dist-esm/samples-dev/referenceDataSetsGetSample.js.map +1 -0
  107. package/dist-esm/samples-dev/referenceDataSetsListByEnvironmentSample.d.ts +2 -0
  108. package/dist-esm/samples-dev/referenceDataSetsListByEnvironmentSample.d.ts.map +1 -0
  109. package/dist-esm/samples-dev/referenceDataSetsListByEnvironmentSample.js +31 -0
  110. package/dist-esm/samples-dev/referenceDataSetsListByEnvironmentSample.js.map +1 -0
  111. package/dist-esm/samples-dev/referenceDataSetsUpdateSample.d.ts +2 -0
  112. package/dist-esm/samples-dev/referenceDataSetsUpdateSample.d.ts.map +1 -0
  113. package/dist-esm/samples-dev/referenceDataSetsUpdateSample.js +35 -0
  114. package/dist-esm/samples-dev/referenceDataSetsUpdateSample.js.map +1 -0
  115. package/dist-esm/src/models/index.d.ts +152 -4
  116. package/dist-esm/src/models/index.d.ts.map +1 -1
  117. package/dist-esm/src/models/index.js +21 -0
  118. package/dist-esm/src/models/index.js.map +1 -1
  119. package/dist-esm/src/models/mappers.d.ts +6 -0
  120. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  121. package/dist-esm/src/models/mappers.js +201 -0
  122. package/dist-esm/src/models/mappers.js.map +1 -1
  123. package/dist-esm/src/models/parameters.d.ts +2 -0
  124. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  125. package/dist-esm/src/models/parameters.js +16 -2
  126. package/dist-esm/src/models/parameters.js.map +1 -1
  127. package/dist-esm/src/operations/environments.d.ts.map +1 -1
  128. package/dist-esm/src/operations/environments.js +6 -2
  129. package/dist-esm/src/operations/environments.js.map +1 -1
  130. package/dist-esm/src/operations/index.d.ts +2 -0
  131. package/dist-esm/src/operations/index.d.ts.map +1 -1
  132. package/dist-esm/src/operations/index.js +2 -0
  133. package/dist-esm/src/operations/index.js.map +1 -1
  134. package/dist-esm/src/operations/privateEndpointConnections.d.ts +52 -0
  135. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  136. package/dist-esm/src/operations/privateEndpointConnections.js +177 -0
  137. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  138. package/dist-esm/src/operations/privateLinkResources.d.ts +32 -0
  139. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  140. package/dist-esm/src/operations/privateLinkResources.js +101 -0
  141. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  142. package/dist-esm/src/operationsInterfaces/index.d.ts +2 -0
  143. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  144. package/dist-esm/src/operationsInterfaces/index.js +2 -0
  145. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  146. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +44 -0
  147. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  148. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  149. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  150. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +14 -0
  151. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  152. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  153. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  154. package/dist-esm/src/timeSeriesInsightsClient.d.ts +3 -1
  155. package/dist-esm/src/timeSeriesInsightsClient.d.ts.map +1 -1
  156. package/dist-esm/src/timeSeriesInsightsClient.js +24 -4
  157. package/dist-esm/src/timeSeriesInsightsClient.js.map +1 -1
  158. package/package.json +20 -12
  159. package/review/arm-timeseriesinsights.api.md +131 -0
  160. package/rollup.config.js +6 -72
  161. package/src/models/index.ts +173 -4
  162. package/src/models/mappers.ts +224 -0
  163. package/src/models/parameters.ts +19 -2
  164. package/src/operations/environments.ts +6 -2
  165. package/src/operations/index.ts +2 -0
  166. package/src/operations/privateEndpointConnections.ts +234 -0
  167. package/src/operations/privateLinkResources.ts +137 -0
  168. package/src/operationsInterfaces/index.ts +2 -0
  169. package/src/operationsInterfaces/privateEndpointConnections.ts +81 -0
  170. package/src/operationsInterfaces/privateLinkResources.ts +30 -0
  171. package/src/timeSeriesInsightsClient.ts +38 -5
  172. package/tsconfig.json +19 -5
  173. package/types/arm-timeseriesinsights.d.ts +230 -4
  174. package/types/tsdoc-metadata.json +1 -1
  175. package/LICENSE.txt +0 -21
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for TimeSeriesInsightsClient.",
6
- "version": "2.0.0-alpha.20220413.1",
6
+ "version": "2.1.0-alpha.20220506.1",
7
7
  "engines": {
8
8
  "node": ">=12.0.0"
9
9
  },
@@ -11,9 +11,9 @@
11
11
  "@azure/core-lro": "^2.2.0",
12
12
  "@azure/abort-controller": "^1.0.0",
13
13
  "@azure/core-paging": "^1.2.0",
14
- "@azure/core-client": "^1.0.0",
14
+ "@azure/core-client": "^1.5.0",
15
15
  "@azure/core-auth": "^1.3.0",
16
- "@azure/core-rest-pipeline": "^1.1.0",
16
+ "@azure/core-rest-pipeline": "^1.8.0",
17
17
  "tslib": "^2.2.0"
18
18
  },
19
19
  "keywords": [
@@ -28,14 +28,14 @@
28
28
  "module": "./dist-esm/src/index.js",
29
29
  "types": "./types/arm-timeseriesinsights.d.ts",
30
30
  "devDependencies": {
31
- "@microsoft/api-extractor": "^7.18.11",
32
- "@rollup/plugin-commonjs": "11.0.2",
33
- "@rollup/plugin-json": "^4.0.0",
34
- "@rollup/plugin-multi-entry": "^3.0.0",
35
- "@rollup/plugin-node-resolve": "^8.0.0",
31
+ "@microsoft/api-extractor": "7.18.11",
32
+ "@rollup/plugin-commonjs": "^21.0.1",
33
+ "@rollup/plugin-json": "^4.1.0",
34
+ "@rollup/plugin-multi-entry": "^4.1.0",
35
+ "@rollup/plugin-node-resolve": "^13.1.3",
36
36
  "mkdirp": "^1.0.4",
37
- "rollup": "^1.16.3",
38
- "rollup-plugin-sourcemaps": "^0.4.2",
37
+ "rollup": "^2.66.1",
38
+ "rollup-plugin-sourcemaps": "^0.6.3",
39
39
  "typescript": "~4.2.0",
40
40
  "uglify-js": "^3.4.9",
41
41
  "rimraf": "^3.0.0",
@@ -101,10 +101,18 @@
101
101
  "//metadata": {
102
102
  "constantPaths": [
103
103
  {
104
- "path": "src/TimeSeriesInsightsClient.ts",
104
+ "path": "src/timeSeriesInsightsClient.ts",
105
105
  "prefix": "packageDetails"
106
106
  }
107
107
  ]
108
108
  },
109
- "autoPublish": true
109
+ "autoPublish": true,
110
+ "//sampleConfiguration": {
111
+ "productName": "",
112
+ "productSlugs": [
113
+ "azure"
114
+ ],
115
+ "disableDocsMs": true,
116
+ "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-timeseriesinsights?view=azure-node-preview"
117
+ }
110
118
  }
@@ -423,6 +423,8 @@ export type Gen2EnvironmentCreateOrUpdateParameters = EnvironmentCreateOrUpdateP
423
423
  timeSeriesIdProperties: TimeSeriesIdProperty[];
424
424
  storageConfiguration: Gen2StorageConfigurationInput;
425
425
  warmStoreConfiguration?: WarmStoreConfigurationProperties;
426
+ publicNetworkAccess?: PublicNetworkAccess;
427
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
426
428
  };
427
429
 
428
430
  // @public
@@ -435,6 +437,8 @@ export type Gen2EnvironmentResource = EnvironmentResource & {
435
437
  timeSeriesIdProperties: TimeSeriesIdProperty[];
436
438
  storageConfiguration: Gen2StorageConfigurationOutput;
437
439
  warmStoreConfiguration?: WarmStoreConfigurationProperties;
440
+ publicNetworkAccess?: PublicNetworkAccess;
441
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
438
442
  };
439
443
 
440
444
  // @public
@@ -442,6 +446,8 @@ export type Gen2EnvironmentResourceProperties = EnvironmentResourceProperties &
442
446
  timeSeriesIdProperties: TimeSeriesIdProperty[];
443
447
  storageConfiguration: Gen2StorageConfigurationOutput;
444
448
  warmStoreConfiguration?: WarmStoreConfigurationProperties;
449
+ publicNetworkAccess?: PublicNetworkAccess;
450
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
445
451
  };
446
452
 
447
453
  // @public
@@ -613,6 +619,28 @@ export enum KnownLocalTimestampFormat {
613
619
  Embedded = "Embedded"
614
620
  }
615
621
 
622
+ // @public
623
+ export enum KnownPrivateEndpointConnectionProvisioningState {
624
+ // (undocumented)
625
+ Creating = "Creating",
626
+ // (undocumented)
627
+ Deleting = "Deleting",
628
+ // (undocumented)
629
+ Failed = "Failed",
630
+ // (undocumented)
631
+ Succeeded = "Succeeded"
632
+ }
633
+
634
+ // @public
635
+ export enum KnownPrivateEndpointServiceConnectionStatus {
636
+ // (undocumented)
637
+ Approved = "Approved",
638
+ // (undocumented)
639
+ Pending = "Pending",
640
+ // (undocumented)
641
+ Rejected = "Rejected"
642
+ }
643
+
616
644
  // @public
617
645
  export enum KnownPropertyType {
618
646
  // (undocumented)
@@ -635,6 +663,14 @@ export enum KnownProvisioningState {
635
663
  Updating = "Updating"
636
664
  }
637
665
 
666
+ // @public
667
+ export enum KnownPublicNetworkAccess {
668
+ // (undocumented)
669
+ Disabled = "disabled",
670
+ // (undocumented)
671
+ Enabled = "enabled"
672
+ }
673
+
638
674
  // @public
639
675
  export enum KnownReferenceDataKeyPropertyType {
640
676
  // (undocumented)
@@ -759,12 +795,103 @@ export interface OperationsListOptionalParams extends coreClient.OperationOption
759
795
  // @public
760
796
  export type OperationsListResponse = OperationListResult;
761
797
 
798
+ // @public
799
+ export interface PrivateEndpoint {
800
+ readonly id?: string;
801
+ }
802
+
803
+ // @public
804
+ export type PrivateEndpointConnection = Resource & {
805
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
806
+ privateEndpoint?: PrivateEndpoint;
807
+ groupIds?: string[];
808
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
809
+ };
810
+
811
+ // @public
812
+ export interface PrivateEndpointConnectionListResult {
813
+ value?: PrivateEndpointConnection[];
814
+ }
815
+
816
+ // @public
817
+ export type PrivateEndpointConnectionProvisioningState = string;
818
+
819
+ // @public
820
+ export interface PrivateEndpointConnections {
821
+ createOrUpdate(resourceGroupName: string, environmentName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
822
+ delete(resourceGroupName: string, environmentName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
823
+ get(resourceGroupName: string, environmentName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
824
+ listByEnvironment(resourceGroupName: string, environmentName: string, options?: PrivateEndpointConnectionsListByEnvironmentOptionalParams): Promise<PrivateEndpointConnectionsListByEnvironmentResponse>;
825
+ }
826
+
827
+ // @public
828
+ export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
829
+ }
830
+
831
+ // @public
832
+ export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection;
833
+
834
+ // @public
835
+ export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
836
+ }
837
+
838
+ // @public
839
+ export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
840
+ }
841
+
842
+ // @public
843
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
844
+
845
+ // @public
846
+ export interface PrivateEndpointConnectionsListByEnvironmentOptionalParams extends coreClient.OperationOptions {
847
+ }
848
+
849
+ // @public
850
+ export type PrivateEndpointConnectionsListByEnvironmentResponse = PrivateEndpointConnectionListResult;
851
+
852
+ // @public
853
+ export type PrivateEndpointServiceConnectionStatus = string;
854
+
855
+ // @public
856
+ export type PrivateLinkResource = Resource & {
857
+ readonly groupId?: string;
858
+ readonly requiredMembers?: string[];
859
+ requiredZoneNames?: string[];
860
+ };
861
+
862
+ // @public
863
+ export interface PrivateLinkResourceListResult {
864
+ value?: PrivateLinkResource[];
865
+ }
866
+
867
+ // @public
868
+ export interface PrivateLinkResources {
869
+ listSupported(resourceGroupName: string, environmentName: string, options?: PrivateLinkResourcesListSupportedOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
870
+ }
871
+
872
+ // @public
873
+ export interface PrivateLinkResourcesListSupportedOptionalParams extends coreClient.OperationOptions {
874
+ }
875
+
876
+ // @public
877
+ export type PrivateLinkResourcesListSupportedResponse = PrivateLinkResourceListResult;
878
+
879
+ // @public
880
+ export interface PrivateLinkServiceConnectionState {
881
+ actionsRequired?: string;
882
+ description?: string;
883
+ status?: PrivateEndpointServiceConnectionStatus;
884
+ }
885
+
762
886
  // @public
763
887
  export type PropertyType = string;
764
888
 
765
889
  // @public
766
890
  export type ProvisioningState = string;
767
891
 
892
+ // @public
893
+ export type PublicNetworkAccess = string;
894
+
768
895
  // @public
769
896
  export type ReferenceDataKeyPropertyType = string;
770
897
 
@@ -903,6 +1030,10 @@ export class TimeSeriesInsightsClient extends coreClient.ServiceClient {
903
1030
  // (undocumented)
904
1031
  operations: Operations;
905
1032
  // (undocumented)
1033
+ privateEndpointConnections: PrivateEndpointConnections;
1034
+ // (undocumented)
1035
+ privateLinkResources: PrivateLinkResources;
1036
+ // (undocumented)
906
1037
  referenceDataSets: ReferenceDataSets;
907
1038
  // (undocumented)
908
1039
  subscriptionId: string;
package/rollup.config.js CHANGED
@@ -14,62 +14,14 @@ import json from "@rollup/plugin-json";
14
14
 
15
15
  import nodeBuiltins from "builtin-modules";
16
16
 
17
- /**
18
- * Gets the proper configuration needed for rollup's commonJS plugin for @opentelemetry/api.
19
- *
20
- * NOTE: this manual configuration is only needed because OpenTelemetry uses an
21
- * __exportStar downleveled helper function to declare its exports which confuses
22
- * rollup's automatic discovery mechanism.
23
- *
24
- * @returns an object reference that can be `...`'d into your cjs() configuration.
25
- */
26
- export function openTelemetryCommonJs() {
27
- const namedExports = {};
28
-
29
- for (const key of [
30
- "@opentelemetry/api",
31
- "@azure/core-tracing/node_modules/@opentelemetry/api"
32
- ]) {
33
- namedExports[key] = [
34
- "SpanKind",
35
- "TraceFlags",
36
- "getSpan",
37
- "setSpan",
38
- "SpanStatusCode",
39
- "getSpanContext",
40
- "setSpanContext"
41
- ];
42
- }
43
-
44
- const releasedOpenTelemetryVersions = ["0.10.2", "1.0.0-rc.0"];
45
-
46
- for (const version of releasedOpenTelemetryVersions) {
47
- namedExports[
48
- // working around a limitation in the rollup common.js plugin - it's not able to resolve these modules so the named exports listed above will not get applied. We have to drill down to the actual path.
49
- `../../../common/temp/node_modules/.pnpm/@opentelemetry/api@${version}/node_modules/@opentelemetry/api/build/src/index.js`
50
- ] = [
51
- "SpanKind",
52
- "TraceFlags",
53
- "getSpan",
54
- "setSpan",
55
- "StatusCode",
56
- "CanonicalCode",
57
- "getSpanContext",
58
- "setSpanContext"
59
- ];
60
- }
61
-
62
- return namedExports;
63
- }
64
-
65
17
  // #region Warning Handler
66
18
 
67
19
  /**
68
- * A function that can determine whether a rollupwarning should be ignored. If
20
+ * A function that can determine whether a rollup warning should be ignored. If
69
21
  * the function returns `true`, then the warning will not be displayed.
70
22
  */
71
23
 
72
- function ignoreNiseSinonEvalWarnings(warning) {
24
+ function ignoreNiseSinonEval(warning) {
73
25
  return (
74
26
  warning.code === "EVAL" &&
75
27
  warning.id &&
@@ -78,17 +30,14 @@ function ignoreNiseSinonEvalWarnings(warning) {
78
30
  );
79
31
  }
80
32
 
81
- function ignoreChaiCircularDependencyWarnings(warning) {
33
+ function ignoreChaiCircularDependency(warning) {
82
34
  return (
83
35
  warning.code === "CIRCULAR_DEPENDENCY" &&
84
36
  warning.importer && warning.importer.includes("node_modules/chai") === true
85
37
  );
86
38
  }
87
39
 
88
- const warningInhibitors = [
89
- ignoreChaiCircularDependencyWarnings,
90
- ignoreNiseSinonEvalWarnings
91
- ];
40
+ const warningInhibitors = [ignoreChaiCircularDependency, ignoreNiseSinonEval];
92
41
 
93
42
  /**
94
43
  * Construct a warning handler for the shared rollup configuration
@@ -122,22 +71,7 @@ function makeBrowserTestConfig() {
122
71
  nodeResolve({
123
72
  mainFields: ["module", "browser"]
124
73
  }),
125
- cjs({
126
- namedExports: {
127
- // Chai's strange internal architecture makes it impossible to statically
128
- // analyze its exports.
129
- chai: [
130
- "version",
131
- "use",
132
- "util",
133
- "config",
134
- "expect",
135
- "should",
136
- "assert"
137
- ],
138
- ...openTelemetryCommonJs()
139
- }
140
- }),
74
+ cjs(),
141
75
  json(),
142
76
  sourcemaps()
143
77
  //viz({ filename: "dist-test/browser-stats.html", sourcemap: true })
@@ -173,7 +107,7 @@ export function makeConfig(pkg, options) {
173
107
  ],
174
108
  output: { file: "dist/index.js", format: "cjs", sourcemap: true },
175
109
  preserveSymlinks: false,
176
- plugins: [sourcemaps(), nodeResolve(), cjs()]
110
+ plugins: [sourcemaps(), nodeResolve()]
177
111
  };
178
112
 
179
113
  const config = [baseConfig];
@@ -175,20 +175,20 @@ export interface CreateOrUpdateTrackedResourceProperties {
175
175
  tags?: { [propertyName: string]: string };
176
176
  }
177
177
 
178
- /** Time Series Insights resource */
178
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
179
179
  export interface Resource {
180
180
  /**
181
- * Resource Id
181
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
182
182
  * NOTE: This property will not be serialized. It can only be populated by the server.
183
183
  */
184
184
  readonly id?: string;
185
185
  /**
186
- * Resource name
186
+ * The name of the resource
187
187
  * NOTE: This property will not be serialized. It can only be populated by the server.
188
188
  */
189
189
  readonly name?: string;
190
190
  /**
191
- * Resource type
191
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
192
192
  * NOTE: This property will not be serialized. It can only be populated by the server.
193
193
  */
194
194
  readonly type?: string;
@@ -300,6 +300,37 @@ export interface AccessPolicyListResponse {
300
300
  value?: AccessPolicyResource[];
301
301
  }
302
302
 
303
+ /** The Private Endpoint resource. */
304
+ export interface PrivateEndpoint {
305
+ /**
306
+ * The ARM identifier for Private Endpoint
307
+ * NOTE: This property will not be serialized. It can only be populated by the server.
308
+ */
309
+ readonly id?: string;
310
+ }
311
+
312
+ /** A collection of information about the state of the connection between service consumer and provider. */
313
+ export interface PrivateLinkServiceConnectionState {
314
+ /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
315
+ status?: PrivateEndpointServiceConnectionStatus;
316
+ /** The reason for approval/rejection of the connection. */
317
+ description?: string;
318
+ /** A message indicating if changes on the service provider require any updates on the consumer. */
319
+ actionsRequired?: string;
320
+ }
321
+
322
+ /** List of private endpoint connection associated with the specified storage account */
323
+ export interface PrivateEndpointConnectionListResult {
324
+ /** Array of private endpoint connections */
325
+ value?: PrivateEndpointConnection[];
326
+ }
327
+
328
+ /** A list of private link resources */
329
+ export interface PrivateLinkResourceListResult {
330
+ /** Array of private link resources */
331
+ value?: PrivateLinkResource[];
332
+ }
333
+
303
334
  /** 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. */
304
335
  export interface WarmStoreConfigurationProperties {
305
336
  /** ISO8601 timespan specifying the number of days the environment's events will be available for query from the warm store. */
@@ -434,6 +465,37 @@ export type AccessPolicyResource = Resource & {
434
465
  roles?: AccessPolicyRole[];
435
466
  };
436
467
 
468
+ /** The Private Endpoint Connection resource. */
469
+ export type PrivateEndpointConnection = Resource & {
470
+ /**
471
+ * Provisioning state of the private endpoint connection.
472
+ * NOTE: This property will not be serialized. It can only be populated by the server.
473
+ */
474
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
475
+ /** The resource of private end point. */
476
+ privateEndpoint?: PrivateEndpoint;
477
+ /** The provisioning state of the private endpoint connection resource. */
478
+ groupIds?: string[];
479
+ /** A collection of information about the state of the connection between service consumer and provider. */
480
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
481
+ };
482
+
483
+ /** A private link resource */
484
+ export type PrivateLinkResource = Resource & {
485
+ /**
486
+ * The private link resource group id.
487
+ * NOTE: This property will not be serialized. It can only be populated by the server.
488
+ */
489
+ readonly groupId?: string;
490
+ /**
491
+ * The private link resource required member names.
492
+ * NOTE: This property will not be serialized. It can only be populated by the server.
493
+ */
494
+ readonly requiredMembers?: string[];
495
+ /** The private link resource Private link DNS zone name. */
496
+ requiredZoneNames?: string[];
497
+ };
498
+
437
499
  /** Parameters supplied to the Update Environment operation to update a Gen1 environment. */
438
500
  export type Gen1EnvironmentUpdateParameters = EnvironmentUpdateParameters & {
439
501
  /** Polymorphic discriminator, which specifies the different types this object can be */
@@ -545,6 +607,13 @@ export type Gen2EnvironmentCreateOrUpdateParameters = EnvironmentCreateOrUpdateP
545
607
  storageConfiguration: Gen2StorageConfigurationInput;
546
608
  /** 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. */
547
609
  warmStoreConfiguration?: WarmStoreConfigurationProperties;
610
+ /** This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. */
611
+ publicNetworkAccess?: PublicNetworkAccess;
612
+ /**
613
+ * The list of private endpoint connections to the environment.
614
+ * NOTE: This property will not be serialized. It can only be populated by the server.
615
+ */
616
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
548
617
  };
549
618
 
550
619
  /** Parameters supplied to the Create or Update Event Source operation for an EventHub event source. */
@@ -653,6 +722,13 @@ export type Gen2EnvironmentResourceProperties = EnvironmentResourceProperties &
653
722
  storageConfiguration: Gen2StorageConfigurationOutput;
654
723
  /** 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. */
655
724
  warmStoreConfiguration?: WarmStoreConfigurationProperties;
725
+ /** If 'enabled', public network access is allowed. If 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. */
726
+ publicNetworkAccess?: PublicNetworkAccess;
727
+ /**
728
+ * The list of private endpoint connections to the environment.
729
+ * NOTE: This property will not be serialized. It can only be populated by the server.
730
+ */
731
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
656
732
  };
657
733
 
658
734
  /** Properties of an event source that reads events from an event broker in Azure. */
@@ -729,6 +805,13 @@ export type Gen2EnvironmentResource = EnvironmentResource & {
729
805
  storageConfiguration: Gen2StorageConfigurationOutput;
730
806
  /** 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. */
731
807
  warmStoreConfiguration?: WarmStoreConfigurationProperties;
808
+ /** If 'enabled', public network access is allowed. If 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. */
809
+ publicNetworkAccess?: PublicNetworkAccess;
810
+ /**
811
+ * The list of private endpoint connections to the environment.
812
+ * NOTE: This property will not be serialized. It can only be populated by the server.
813
+ */
814
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
732
815
  };
733
816
 
734
817
  /** An event source that receives its data from an Azure EventHub. */
@@ -1007,6 +1090,44 @@ export enum KnownAccessPolicyRole {
1007
1090
  */
1008
1091
  export type AccessPolicyRole = string;
1009
1092
 
1093
+ /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
1094
+ export enum KnownPrivateEndpointConnectionProvisioningState {
1095
+ Succeeded = "Succeeded",
1096
+ Creating = "Creating",
1097
+ Deleting = "Deleting",
1098
+ Failed = "Failed"
1099
+ }
1100
+
1101
+ /**
1102
+ * Defines values for PrivateEndpointConnectionProvisioningState. \
1103
+ * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
1104
+ * this enum contains the known values that the service supports.
1105
+ * ### Known values supported by the service
1106
+ * **Succeeded** \
1107
+ * **Creating** \
1108
+ * **Deleting** \
1109
+ * **Failed**
1110
+ */
1111
+ export type PrivateEndpointConnectionProvisioningState = string;
1112
+
1113
+ /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
1114
+ export enum KnownPrivateEndpointServiceConnectionStatus {
1115
+ Pending = "Pending",
1116
+ Approved = "Approved",
1117
+ Rejected = "Rejected"
1118
+ }
1119
+
1120
+ /**
1121
+ * Defines values for PrivateEndpointServiceConnectionStatus. \
1122
+ * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
1123
+ * this enum contains the known values that the service supports.
1124
+ * ### Known values supported by the service
1125
+ * **Pending** \
1126
+ * **Approved** \
1127
+ * **Rejected**
1128
+ */
1129
+ export type PrivateEndpointServiceConnectionStatus = string;
1130
+
1010
1131
  /** Known values of {@link StorageLimitExceededBehavior} that the service accepts. */
1011
1132
  export enum KnownStorageLimitExceededBehavior {
1012
1133
  PurgeOldData = "PurgeOldData",
@@ -1037,6 +1158,22 @@ export enum KnownPropertyType {
1037
1158
  */
1038
1159
  export type PropertyType = string;
1039
1160
 
1161
+ /** Known values of {@link PublicNetworkAccess} that the service accepts. */
1162
+ export enum KnownPublicNetworkAccess {
1163
+ Enabled = "enabled",
1164
+ Disabled = "disabled"
1165
+ }
1166
+
1167
+ /**
1168
+ * Defines values for PublicNetworkAccess. \
1169
+ * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,
1170
+ * this enum contains the known values that the service supports.
1171
+ * ### Known values supported by the service
1172
+ * **enabled** \
1173
+ * **disabled**
1174
+ */
1175
+ export type PublicNetworkAccess = string;
1176
+
1040
1177
  /** Known values of {@link IngressState} that the service accepts. */
1041
1178
  export enum KnownIngressState {
1042
1179
  Disabled = "Disabled",
@@ -1257,6 +1394,38 @@ export interface AccessPoliciesListByEnvironmentOptionalParams
1257
1394
  /** Contains response data for the listByEnvironment operation. */
1258
1395
  export type AccessPoliciesListByEnvironmentResponse = AccessPolicyListResponse;
1259
1396
 
1397
+ /** Optional parameters. */
1398
+ export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams
1399
+ extends coreClient.OperationOptions {}
1400
+
1401
+ /** Contains response data for the createOrUpdate operation. */
1402
+ export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection;
1403
+
1404
+ /** Optional parameters. */
1405
+ export interface PrivateEndpointConnectionsGetOptionalParams
1406
+ extends coreClient.OperationOptions {}
1407
+
1408
+ /** Contains response data for the get operation. */
1409
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
1410
+
1411
+ /** Optional parameters. */
1412
+ export interface PrivateEndpointConnectionsDeleteOptionalParams
1413
+ extends coreClient.OperationOptions {}
1414
+
1415
+ /** Optional parameters. */
1416
+ export interface PrivateEndpointConnectionsListByEnvironmentOptionalParams
1417
+ extends coreClient.OperationOptions {}
1418
+
1419
+ /** Contains response data for the listByEnvironment operation. */
1420
+ export type PrivateEndpointConnectionsListByEnvironmentResponse = PrivateEndpointConnectionListResult;
1421
+
1422
+ /** Optional parameters. */
1423
+ export interface PrivateLinkResourcesListSupportedOptionalParams
1424
+ extends coreClient.OperationOptions {}
1425
+
1426
+ /** Contains response data for the listSupported operation. */
1427
+ export type PrivateLinkResourcesListSupportedResponse = PrivateLinkResourceListResult;
1428
+
1260
1429
  /** Optional parameters. */
1261
1430
  export interface TimeSeriesInsightsClientOptionalParams
1262
1431
  extends coreClient.ServiceClientOptions {