@azure/arm-timeseriesinsights 2.0.0 → 2.1.0-alpha.20220908.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.
- package/CHANGELOG.md +47 -0
- package/README.md +12 -1
- package/dist/index.js +650 -62
- 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.d.ts +2 -0
- package/dist-esm/samples-dev/accessPoliciesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessPoliciesCreateOrUpdateSample.js +37 -0
- package/dist-esm/samples-dev/accessPoliciesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/accessPoliciesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessPoliciesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessPoliciesDeleteSample.js +32 -0
- package/dist-esm/samples-dev/accessPoliciesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/accessPoliciesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessPoliciesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessPoliciesGetSample.js +32 -0
- package/dist-esm/samples-dev/accessPoliciesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/accessPoliciesListByEnvironmentSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessPoliciesListByEnvironmentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessPoliciesListByEnvironmentSample.js +31 -0
- package/dist-esm/samples-dev/accessPoliciesListByEnvironmentSample.js.map +1 -0
- package/dist-esm/samples-dev/accessPoliciesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/accessPoliciesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/accessPoliciesUpdateSample.js +35 -0
- package/dist-esm/samples-dev/accessPoliciesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/environmentsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/environmentsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/environmentsCreateOrUpdateSample.js +38 -0
- package/dist-esm/samples-dev/environmentsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/environmentsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/environmentsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/environmentsDeleteSample.js +31 -0
- package/dist-esm/samples-dev/environmentsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/environmentsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/environmentsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/environmentsGetSample.js +31 -0
- package/dist-esm/samples-dev/environmentsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/environmentsListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/environmentsListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/environmentsListByResourceGroupSample.js +30 -0
- package/dist-esm/samples-dev/environmentsListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/environmentsListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/environmentsListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/environmentsListBySubscriptionSample.js +29 -0
- package/dist-esm/samples-dev/environmentsListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/environmentsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/environmentsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/environmentsUpdateSample.js +35 -0
- package/dist-esm/samples-dev/environmentsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/eventSourcesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/eventSourcesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/eventSourcesCreateOrUpdateSample.js +80 -0
- package/dist-esm/samples-dev/eventSourcesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/eventSourcesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/eventSourcesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/eventSourcesDeleteSample.js +32 -0
- package/dist-esm/samples-dev/eventSourcesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/eventSourcesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/eventSourcesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/eventSourcesGetSample.js +32 -0
- package/dist-esm/samples-dev/eventSourcesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/eventSourcesListByEnvironmentSample.d.ts +2 -0
- package/dist-esm/samples-dev/eventSourcesListByEnvironmentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/eventSourcesListByEnvironmentSample.js +31 -0
- package/dist-esm/samples-dev/eventSourcesListByEnvironmentSample.js.map +1 -0
- package/dist-esm/samples-dev/eventSourcesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/eventSourcesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/eventSourcesUpdateSample.js +36 -0
- package/dist-esm/samples-dev/eventSourcesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +43 -0
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +38 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +32 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +32 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByEnvironmentSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByEnvironmentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByEnvironmentSample.js +31 -0
- package/dist-esm/samples-dev/privateEndpointConnectionsListByEnvironmentSample.js.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.d.ts +2 -0
- package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.js +45 -0
- package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.js.map +1 -0
- package/dist-esm/samples-dev/referenceDataSetsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/referenceDataSetsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/referenceDataSetsCreateOrUpdateSample.js +39 -0
- package/dist-esm/samples-dev/referenceDataSetsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/referenceDataSetsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/referenceDataSetsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/referenceDataSetsDeleteSample.js +32 -0
- package/dist-esm/samples-dev/referenceDataSetsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/referenceDataSetsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/referenceDataSetsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/referenceDataSetsGetSample.js +32 -0
- package/dist-esm/samples-dev/referenceDataSetsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/referenceDataSetsListByEnvironmentSample.d.ts +2 -0
- package/dist-esm/samples-dev/referenceDataSetsListByEnvironmentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/referenceDataSetsListByEnvironmentSample.js +31 -0
- package/dist-esm/samples-dev/referenceDataSetsListByEnvironmentSample.js.map +1 -0
- package/dist-esm/samples-dev/referenceDataSetsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/referenceDataSetsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/referenceDataSetsUpdateSample.js +35 -0
- package/dist-esm/samples-dev/referenceDataSetsUpdateSample.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +152 -4
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +21 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +6 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +201 -0
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +2 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +16 -2
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/environments.d.ts.map +1 -1
- package/dist-esm/src/operations/environments.js +6 -2
- package/dist-esm/src/operations/environments.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +2 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +2 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +52 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +177 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts +32 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.js +101 -0
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +2 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +2 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +44 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist-esm/src/timeSeriesInsightsClient.d.ts +3 -1
- package/dist-esm/src/timeSeriesInsightsClient.d.ts.map +1 -1
- package/dist-esm/src/timeSeriesInsightsClient.js +24 -4
- package/dist-esm/src/timeSeriesInsightsClient.js.map +1 -1
- package/package.json +36 -15
- package/review/arm-timeseriesinsights.api.md +131 -0
- package/rollup.config.js +6 -72
- package/src/models/index.ts +173 -4
- package/src/models/mappers.ts +224 -0
- package/src/models/parameters.ts +19 -2
- package/src/operations/environments.ts +6 -2
- package/src/operations/index.ts +2 -0
- package/src/operations/privateEndpointConnections.ts +234 -0
- package/src/operations/privateLinkResources.ts +137 -0
- package/src/operationsInterfaces/index.ts +2 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +81 -0
- package/src/operationsInterfaces/privateLinkResources.ts +30 -0
- package/src/timeSeriesInsightsClient.ts +38 -5
- package/tsconfig.json +19 -5
- package/types/arm-timeseriesinsights.d.ts +230 -4
- package/types/tsdoc-metadata.json +1 -1
- package/LICENSE.txt +0 -21
@@ -0,0 +1,32 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __awaiter } from "tslib";
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
10
|
+
// Licensed under the MIT License.
|
11
|
+
import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights";
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
/**
|
14
|
+
* This sample demonstrates how to Gets the details of the private endpoint connection of the environment in the given resource group.
|
15
|
+
*
|
16
|
+
* @summary Gets the details of the private endpoint connection of the environment in the given resource group.
|
17
|
+
* x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/PrivateEndpointConnectionGet.json
|
18
|
+
*/
|
19
|
+
function privateEndpointConnectionGet() {
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
21
|
+
const subscriptionId = "mySubscriptionId";
|
22
|
+
const resourceGroupName = "myResourceGroup";
|
23
|
+
const environmentName = "myEnvironment";
|
24
|
+
const privateEndpointConnectionName = "myPrivateEndpointConnectionName";
|
25
|
+
const credential = new DefaultAzureCredential();
|
26
|
+
const client = new TimeSeriesInsightsClient(credential, subscriptionId);
|
27
|
+
const result = yield client.privateEndpointConnections.get(resourceGroupName, environmentName, privateEndpointConnectionName);
|
28
|
+
console.log(result);
|
29
|
+
});
|
30
|
+
}
|
31
|
+
privateEndpointConnectionGet().catch(console.error);
|
32
|
+
//# sourceMappingURL=privateEndpointConnectionsGetSample.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"privateEndpointConnectionsGetSample.js","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,4BAA4B;;QACzC,MAAM,cAAc,GAAG,kBAAkB,CAAC;QAC1C,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,eAAe,GAAG,eAAe,CAAC;QACxC,MAAM,6BAA6B,GAAG,iCAAiC,CAAC;QACxE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,wBAAwB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACxE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,0BAA0B,CAAC,GAAG,CACxD,iBAAiB,EACjB,eAAe,EACf,6BAA6B,CAC9B,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,4BAA4B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"privateEndpointConnectionsListByEnvironmentSample.d.ts","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionsListByEnvironmentSample.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __awaiter } from "tslib";
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
10
|
+
// Licensed under the MIT License.
|
11
|
+
import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights";
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
/**
|
14
|
+
* This sample demonstrates how to Gets a list of all private endpoint connections in the given environment.
|
15
|
+
*
|
16
|
+
* @summary Gets a list of all private endpoint connections in the given environment.
|
17
|
+
* x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/PrivateEndpointConnectionsListByEnvironment.json
|
18
|
+
*/
|
19
|
+
function listPrivateEndpointConnectionsByService() {
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
21
|
+
const subscriptionId = "mySubscriptionId";
|
22
|
+
const resourceGroupName = "myResourceGroup";
|
23
|
+
const environmentName = "myEnvironment";
|
24
|
+
const credential = new DefaultAzureCredential();
|
25
|
+
const client = new TimeSeriesInsightsClient(credential, subscriptionId);
|
26
|
+
const result = yield client.privateEndpointConnections.listByEnvironment(resourceGroupName, environmentName);
|
27
|
+
console.log(result);
|
28
|
+
});
|
29
|
+
}
|
30
|
+
listPrivateEndpointConnectionsByService().catch(console.error);
|
31
|
+
//# sourceMappingURL=privateEndpointConnectionsListByEnvironmentSample.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"privateEndpointConnectionsListByEnvironmentSample.js","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionsListByEnvironmentSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,uCAAuC;;QACpD,MAAM,cAAc,GAAG,kBAAkB,CAAC;QAC1C,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,eAAe,GAAG,eAAe,CAAC;QACxC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,wBAAwB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACxE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,0BAA0B,CAAC,iBAAiB,CACtE,iBAAiB,EACjB,eAAe,CAChB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,uCAAuC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"privateLinkResourcesListSupportedSample.d.ts","sourceRoot":"","sources":["../../samples-dev/privateLinkResourcesListSupportedSample.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __asyncValues, __awaiter } from "tslib";
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
10
|
+
// Licensed under the MIT License.
|
11
|
+
import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights";
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
/**
|
14
|
+
* This sample demonstrates how to Gets a list of all supported private link resource types for the given environment.
|
15
|
+
*
|
16
|
+
* @summary Gets a list of all supported private link resource types for the given environment.
|
17
|
+
* x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/PrivateLinkResourcesGet.json
|
18
|
+
*/
|
19
|
+
function listSupportedPrivateLinkResources() {
|
20
|
+
var e_1, _a;
|
21
|
+
return __awaiter(this, void 0, void 0, function* () {
|
22
|
+
const subscriptionId = "mySubscriptionId";
|
23
|
+
const resourceGroupName = "myResourceGroup";
|
24
|
+
const environmentName = "myEnvironment";
|
25
|
+
const credential = new DefaultAzureCredential();
|
26
|
+
const client = new TimeSeriesInsightsClient(credential, subscriptionId);
|
27
|
+
const resArray = new Array();
|
28
|
+
try {
|
29
|
+
for (var _b = __asyncValues(client.privateLinkResources.listSupported(resourceGroupName, environmentName)), _c; _c = yield _b.next(), !_c.done;) {
|
30
|
+
let item = _c.value;
|
31
|
+
resArray.push(item);
|
32
|
+
}
|
33
|
+
}
|
34
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
35
|
+
finally {
|
36
|
+
try {
|
37
|
+
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
38
|
+
}
|
39
|
+
finally { if (e_1) throw e_1.error; }
|
40
|
+
}
|
41
|
+
console.log(resArray);
|
42
|
+
});
|
43
|
+
}
|
44
|
+
listSupportedPrivateLinkResources().catch(console.error);
|
45
|
+
//# sourceMappingURL=privateLinkResourcesListSupportedSample.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"privateLinkResourcesListSupportedSample.js","sourceRoot":"","sources":["../../samples-dev/privateLinkResourcesListSupportedSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,iCAAiC;;;QAC9C,MAAM,cAAc,GAAG,kBAAkB,CAAC;QAC1C,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,eAAe,GAAG,eAAe,CAAC;QACxC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,wBAAwB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACxE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,oBAAoB,CAAC,aAAa,CAC9D,iBAAiB,EACjB,eAAe,CAChB,CAAA,IAAA;gBAHU,IAAI,IAAI,WAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,iCAAiC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"referenceDataSetsCreateOrUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/referenceDataSetsCreateOrUpdateSample.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __awaiter } from "tslib";
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
10
|
+
// Licensed under the MIT License.
|
11
|
+
import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights";
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
/**
|
14
|
+
* This sample demonstrates how to Create or update a reference data set in the specified environment.
|
15
|
+
*
|
16
|
+
* @summary Create or update a reference data set in the specified environment.
|
17
|
+
* x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/ReferenceDataSetsCreate.json
|
18
|
+
*/
|
19
|
+
function referenceDataSetsCreate() {
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
21
|
+
const subscriptionId = "subid";
|
22
|
+
const resourceGroupName = "rg1";
|
23
|
+
const environmentName = "env1";
|
24
|
+
const referenceDataSetName = "rds1";
|
25
|
+
const parameters = {
|
26
|
+
keyProperties: [
|
27
|
+
{ name: "DeviceId1", type: "String" },
|
28
|
+
{ name: "DeviceFloor", type: "Double" }
|
29
|
+
],
|
30
|
+
location: "West US"
|
31
|
+
};
|
32
|
+
const credential = new DefaultAzureCredential();
|
33
|
+
const client = new TimeSeriesInsightsClient(credential, subscriptionId);
|
34
|
+
const result = yield client.referenceDataSets.createOrUpdate(resourceGroupName, environmentName, referenceDataSetName, parameters);
|
35
|
+
console.log(result);
|
36
|
+
});
|
37
|
+
}
|
38
|
+
referenceDataSetsCreate().catch(console.error);
|
39
|
+
//# sourceMappingURL=referenceDataSetsCreateOrUpdateSample.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"referenceDataSetsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/referenceDataSetsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,wBAAwB,EACzB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,uBAAuB;;QACpC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,KAAK,CAAC;QAChC,MAAM,eAAe,GAAG,MAAM,CAAC;QAC/B,MAAM,oBAAoB,GAAG,MAAM,CAAC;QACpC,MAAM,UAAU,GAA6C;YAC3D,aAAa,EAAE;gBACb,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACrC,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,QAAQ,EAAE;aACxC;YACD,QAAQ,EAAE,SAAS;SACpB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,wBAAwB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACxE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,iBAAiB,CAAC,cAAc,CAC1D,iBAAiB,EACjB,eAAe,EACf,oBAAoB,EACpB,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,uBAAuB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"referenceDataSetsDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/referenceDataSetsDeleteSample.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __awaiter } from "tslib";
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
10
|
+
// Licensed under the MIT License.
|
11
|
+
import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights";
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
/**
|
14
|
+
* This sample demonstrates how to Deletes the reference data set with the specified name in the specified subscription, resource group, and environment
|
15
|
+
*
|
16
|
+
* @summary Deletes the reference data set with the specified name in the specified subscription, resource group, and environment
|
17
|
+
* x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/ReferenceDataSetsDelete.json
|
18
|
+
*/
|
19
|
+
function referenceDataSetsDelete() {
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
21
|
+
const subscriptionId = "subid";
|
22
|
+
const resourceGroupName = "rg1";
|
23
|
+
const environmentName = "env1";
|
24
|
+
const referenceDataSetName = "rds1";
|
25
|
+
const credential = new DefaultAzureCredential();
|
26
|
+
const client = new TimeSeriesInsightsClient(credential, subscriptionId);
|
27
|
+
const result = yield client.referenceDataSets.delete(resourceGroupName, environmentName, referenceDataSetName);
|
28
|
+
console.log(result);
|
29
|
+
});
|
30
|
+
}
|
31
|
+
referenceDataSetsDelete().catch(console.error);
|
32
|
+
//# sourceMappingURL=referenceDataSetsDeleteSample.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"referenceDataSetsDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/referenceDataSetsDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,uBAAuB;;QACpC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,KAAK,CAAC;QAChC,MAAM,eAAe,GAAG,MAAM,CAAC;QAC/B,MAAM,oBAAoB,GAAG,MAAM,CAAC;QACpC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,wBAAwB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACxE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,iBAAiB,CAAC,MAAM,CAClD,iBAAiB,EACjB,eAAe,EACf,oBAAoB,CACrB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,uBAAuB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"referenceDataSetsGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/referenceDataSetsGetSample.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __awaiter } from "tslib";
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
10
|
+
// Licensed under the MIT License.
|
11
|
+
import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights";
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
/**
|
14
|
+
* This sample demonstrates how to Gets the reference data set with the specified name in the specified environment.
|
15
|
+
*
|
16
|
+
* @summary Gets the reference data set with the specified name in the specified environment.
|
17
|
+
* x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/ReferenceDataSetsGet.json
|
18
|
+
*/
|
19
|
+
function referenceDataSetsGet() {
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
21
|
+
const subscriptionId = "subid";
|
22
|
+
const resourceGroupName = "rg1";
|
23
|
+
const environmentName = "env1";
|
24
|
+
const referenceDataSetName = "rds1";
|
25
|
+
const credential = new DefaultAzureCredential();
|
26
|
+
const client = new TimeSeriesInsightsClient(credential, subscriptionId);
|
27
|
+
const result = yield client.referenceDataSets.get(resourceGroupName, environmentName, referenceDataSetName);
|
28
|
+
console.log(result);
|
29
|
+
});
|
30
|
+
}
|
31
|
+
referenceDataSetsGet().catch(console.error);
|
32
|
+
//# sourceMappingURL=referenceDataSetsGetSample.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"referenceDataSetsGetSample.js","sourceRoot":"","sources":["../../samples-dev/referenceDataSetsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,oBAAoB;;QACjC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,KAAK,CAAC;QAChC,MAAM,eAAe,GAAG,MAAM,CAAC;QAC/B,MAAM,oBAAoB,GAAG,MAAM,CAAC;QACpC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,wBAAwB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACxE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAC/C,iBAAiB,EACjB,eAAe,EACf,oBAAoB,CACrB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,oBAAoB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"referenceDataSetsListByEnvironmentSample.d.ts","sourceRoot":"","sources":["../../samples-dev/referenceDataSetsListByEnvironmentSample.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __awaiter } from "tslib";
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
10
|
+
// Licensed under the MIT License.
|
11
|
+
import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights";
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
/**
|
14
|
+
* This sample demonstrates how to Lists all the available reference data sets associated with the subscription and within the specified resource group and environment.
|
15
|
+
*
|
16
|
+
* @summary Lists all the available reference data sets associated with the subscription and within the specified resource group and environment.
|
17
|
+
* x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/ReferenceDataSetsListByEnvironment.json
|
18
|
+
*/
|
19
|
+
function referenceDataSetsListByEnvironment() {
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
21
|
+
const subscriptionId = "subid";
|
22
|
+
const resourceGroupName = "rg1";
|
23
|
+
const environmentName = "env1";
|
24
|
+
const credential = new DefaultAzureCredential();
|
25
|
+
const client = new TimeSeriesInsightsClient(credential, subscriptionId);
|
26
|
+
const result = yield client.referenceDataSets.listByEnvironment(resourceGroupName, environmentName);
|
27
|
+
console.log(result);
|
28
|
+
});
|
29
|
+
}
|
30
|
+
referenceDataSetsListByEnvironment().catch(console.error);
|
31
|
+
//# sourceMappingURL=referenceDataSetsListByEnvironmentSample.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"referenceDataSetsListByEnvironmentSample.js","sourceRoot":"","sources":["../../samples-dev/referenceDataSetsListByEnvironmentSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,kCAAkC;;QAC/C,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,KAAK,CAAC;QAChC,MAAM,eAAe,GAAG,MAAM,CAAC;QAC/B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,wBAAwB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACxE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,iBAAiB,CAAC,iBAAiB,CAC7D,iBAAiB,EACjB,eAAe,CAChB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,kCAAkC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"referenceDataSetsUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/referenceDataSetsUpdateSample.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __awaiter } from "tslib";
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
10
|
+
// Licensed under the MIT License.
|
11
|
+
import { TimeSeriesInsightsClient } from "@azure/arm-timeseriesinsights";
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
13
|
+
/**
|
14
|
+
* This sample demonstrates how to Updates the reference data set with the specified name in the specified subscription, resource group, and environment.
|
15
|
+
*
|
16
|
+
* @summary Updates the reference data set with the specified name in the specified subscription, resource group, and environment.
|
17
|
+
* x-ms-original-file: specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/preview/2021-03-31-preview/examples/ReferenceDataSetsPatchTags.json
|
18
|
+
*/
|
19
|
+
function referenceDataSetsUpdate() {
|
20
|
+
return __awaiter(this, void 0, void 0, function* () {
|
21
|
+
const subscriptionId = "subid";
|
22
|
+
const resourceGroupName = "rg1";
|
23
|
+
const environmentName = "env1";
|
24
|
+
const referenceDataSetName = "rds1";
|
25
|
+
const referenceDataSetUpdateParameters = {
|
26
|
+
tags: { someKey: "someValue" }
|
27
|
+
};
|
28
|
+
const credential = new DefaultAzureCredential();
|
29
|
+
const client = new TimeSeriesInsightsClient(credential, subscriptionId);
|
30
|
+
const result = yield client.referenceDataSets.update(resourceGroupName, environmentName, referenceDataSetName, referenceDataSetUpdateParameters);
|
31
|
+
console.log(result);
|
32
|
+
});
|
33
|
+
}
|
34
|
+
referenceDataSetsUpdate().catch(console.error);
|
35
|
+
//# sourceMappingURL=referenceDataSetsUpdateSample.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"referenceDataSetsUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/referenceDataSetsUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,wBAAwB,EACzB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,uBAAuB;;QACpC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,KAAK,CAAC;QAChC,MAAM,eAAe,GAAG,MAAM,CAAC;QAC/B,MAAM,oBAAoB,GAAG,MAAM,CAAC;QACpC,MAAM,gCAAgC,GAAqC;YACzE,IAAI,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE;SAC/B,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,wBAAwB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACxE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,iBAAiB,CAAC,MAAM,CAClD,iBAAiB,EACjB,eAAe,EACf,oBAAoB,EACpB,gCAAgC,CACjC,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,uBAAuB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -137,20 +137,20 @@ export interface CreateOrUpdateTrackedResourceProperties {
|
|
137
137
|
[propertyName: string]: string;
|
138
138
|
};
|
139
139
|
}
|
140
|
-
/**
|
140
|
+
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
141
141
|
export interface Resource {
|
142
142
|
/**
|
143
|
-
*
|
143
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
144
144
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
145
145
|
*/
|
146
146
|
readonly id?: string;
|
147
147
|
/**
|
148
|
-
*
|
148
|
+
* The name of the resource
|
149
149
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
150
150
|
*/
|
151
151
|
readonly name?: string;
|
152
152
|
/**
|
153
|
-
*
|
153
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
154
154
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
155
155
|
*/
|
156
156
|
readonly type?: string;
|
@@ -253,6 +253,33 @@ export interface AccessPolicyListResponse {
|
|
253
253
|
/** Result of the List access policies operation. */
|
254
254
|
value?: AccessPolicyResource[];
|
255
255
|
}
|
256
|
+
/** The Private Endpoint resource. */
|
257
|
+
export interface PrivateEndpoint {
|
258
|
+
/**
|
259
|
+
* The ARM identifier for Private Endpoint
|
260
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
261
|
+
*/
|
262
|
+
readonly id?: string;
|
263
|
+
}
|
264
|
+
/** A collection of information about the state of the connection between service consumer and provider. */
|
265
|
+
export interface PrivateLinkServiceConnectionState {
|
266
|
+
/** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
|
267
|
+
status?: PrivateEndpointServiceConnectionStatus;
|
268
|
+
/** The reason for approval/rejection of the connection. */
|
269
|
+
description?: string;
|
270
|
+
/** A message indicating if changes on the service provider require any updates on the consumer. */
|
271
|
+
actionsRequired?: string;
|
272
|
+
}
|
273
|
+
/** List of private endpoint connection associated with the specified storage account */
|
274
|
+
export interface PrivateEndpointConnectionListResult {
|
275
|
+
/** Array of private endpoint connections */
|
276
|
+
value?: PrivateEndpointConnection[];
|
277
|
+
}
|
278
|
+
/** A list of private link resources */
|
279
|
+
export interface PrivateLinkResourceListResult {
|
280
|
+
/** Array of private link resources */
|
281
|
+
value?: PrivateLinkResource[];
|
282
|
+
}
|
256
283
|
/** 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. */
|
257
284
|
export interface WarmStoreConfigurationProperties {
|
258
285
|
/** ISO8601 timespan specifying the number of days the environment's events will be available for query from the warm store. */
|
@@ -373,6 +400,35 @@ export declare type AccessPolicyResource = Resource & {
|
|
373
400
|
/** The list of roles the principal is assigned on the environment. */
|
374
401
|
roles?: AccessPolicyRole[];
|
375
402
|
};
|
403
|
+
/** The Private Endpoint Connection resource. */
|
404
|
+
export declare type PrivateEndpointConnection = Resource & {
|
405
|
+
/**
|
406
|
+
* Provisioning state of the private endpoint connection.
|
407
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
408
|
+
*/
|
409
|
+
readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
|
410
|
+
/** The resource of private end point. */
|
411
|
+
privateEndpoint?: PrivateEndpoint;
|
412
|
+
/** The provisioning state of the private endpoint connection resource. */
|
413
|
+
groupIds?: string[];
|
414
|
+
/** A collection of information about the state of the connection between service consumer and provider. */
|
415
|
+
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
|
416
|
+
};
|
417
|
+
/** A private link resource */
|
418
|
+
export declare type PrivateLinkResource = Resource & {
|
419
|
+
/**
|
420
|
+
* The private link resource group id.
|
421
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
422
|
+
*/
|
423
|
+
readonly groupId?: string;
|
424
|
+
/**
|
425
|
+
* The private link resource required member names.
|
426
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
427
|
+
*/
|
428
|
+
readonly requiredMembers?: string[];
|
429
|
+
/** The private link resource Private link DNS zone name. */
|
430
|
+
requiredZoneNames?: string[];
|
431
|
+
};
|
376
432
|
/** Parameters supplied to the Update Environment operation to update a Gen1 environment. */
|
377
433
|
export declare type Gen1EnvironmentUpdateParameters = EnvironmentUpdateParameters & {
|
378
434
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
@@ -471,6 +527,13 @@ export declare type Gen2EnvironmentCreateOrUpdateParameters = EnvironmentCreateO
|
|
471
527
|
storageConfiguration: Gen2StorageConfigurationInput;
|
472
528
|
/** 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. */
|
473
529
|
warmStoreConfiguration?: WarmStoreConfigurationProperties;
|
530
|
+
/** 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. */
|
531
|
+
publicNetworkAccess?: PublicNetworkAccess;
|
532
|
+
/**
|
533
|
+
* The list of private endpoint connections to the environment.
|
534
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
535
|
+
*/
|
536
|
+
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
474
537
|
};
|
475
538
|
/** Parameters supplied to the Create or Update Event Source operation for an EventHub event source. */
|
476
539
|
export declare type EventHubEventSourceCreateOrUpdateParameters = EventSourceCreateOrUpdateParameters & {
|
@@ -573,6 +636,13 @@ export declare type Gen2EnvironmentResourceProperties = EnvironmentResourcePrope
|
|
573
636
|
storageConfiguration: Gen2StorageConfigurationOutput;
|
574
637
|
/** 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. */
|
575
638
|
warmStoreConfiguration?: WarmStoreConfigurationProperties;
|
639
|
+
/** 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. */
|
640
|
+
publicNetworkAccess?: PublicNetworkAccess;
|
641
|
+
/**
|
642
|
+
* The list of private endpoint connections to the environment.
|
643
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
644
|
+
*/
|
645
|
+
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
576
646
|
};
|
577
647
|
/** Properties of an event source that reads events from an event broker in Azure. */
|
578
648
|
export declare type AzureEventSourceProperties = EventSourceCommonProperties & {
|
@@ -646,6 +716,13 @@ export declare type Gen2EnvironmentResource = EnvironmentResource & {
|
|
646
716
|
storageConfiguration: Gen2StorageConfigurationOutput;
|
647
717
|
/** 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. */
|
648
718
|
warmStoreConfiguration?: WarmStoreConfigurationProperties;
|
719
|
+
/** 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. */
|
720
|
+
publicNetworkAccess?: PublicNetworkAccess;
|
721
|
+
/**
|
722
|
+
* The list of private endpoint connections to the environment.
|
723
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
724
|
+
*/
|
725
|
+
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
649
726
|
};
|
650
727
|
/** An event source that receives its data from an Azure EventHub. */
|
651
728
|
export declare type EventHubEventSourceResource = EventSourceResource & {
|
@@ -895,6 +972,40 @@ export declare enum KnownAccessPolicyRole {
|
|
895
972
|
* **Contributor**
|
896
973
|
*/
|
897
974
|
export declare type AccessPolicyRole = string;
|
975
|
+
/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
|
976
|
+
export declare enum KnownPrivateEndpointConnectionProvisioningState {
|
977
|
+
Succeeded = "Succeeded",
|
978
|
+
Creating = "Creating",
|
979
|
+
Deleting = "Deleting",
|
980
|
+
Failed = "Failed"
|
981
|
+
}
|
982
|
+
/**
|
983
|
+
* Defines values for PrivateEndpointConnectionProvisioningState. \
|
984
|
+
* {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
|
985
|
+
* this enum contains the known values that the service supports.
|
986
|
+
* ### Known values supported by the service
|
987
|
+
* **Succeeded** \
|
988
|
+
* **Creating** \
|
989
|
+
* **Deleting** \
|
990
|
+
* **Failed**
|
991
|
+
*/
|
992
|
+
export declare type PrivateEndpointConnectionProvisioningState = string;
|
993
|
+
/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
|
994
|
+
export declare enum KnownPrivateEndpointServiceConnectionStatus {
|
995
|
+
Pending = "Pending",
|
996
|
+
Approved = "Approved",
|
997
|
+
Rejected = "Rejected"
|
998
|
+
}
|
999
|
+
/**
|
1000
|
+
* Defines values for PrivateEndpointServiceConnectionStatus. \
|
1001
|
+
* {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
|
1002
|
+
* this enum contains the known values that the service supports.
|
1003
|
+
* ### Known values supported by the service
|
1004
|
+
* **Pending** \
|
1005
|
+
* **Approved** \
|
1006
|
+
* **Rejected**
|
1007
|
+
*/
|
1008
|
+
export declare type PrivateEndpointServiceConnectionStatus = string;
|
898
1009
|
/** Known values of {@link StorageLimitExceededBehavior} that the service accepts. */
|
899
1010
|
export declare enum KnownStorageLimitExceededBehavior {
|
900
1011
|
PurgeOldData = "PurgeOldData",
|
@@ -921,6 +1032,20 @@ export declare enum KnownPropertyType {
|
|
921
1032
|
* **String**
|
922
1033
|
*/
|
923
1034
|
export declare type PropertyType = string;
|
1035
|
+
/** Known values of {@link PublicNetworkAccess} that the service accepts. */
|
1036
|
+
export declare enum KnownPublicNetworkAccess {
|
1037
|
+
Enabled = "enabled",
|
1038
|
+
Disabled = "disabled"
|
1039
|
+
}
|
1040
|
+
/**
|
1041
|
+
* Defines values for PublicNetworkAccess. \
|
1042
|
+
* {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,
|
1043
|
+
* this enum contains the known values that the service supports.
|
1044
|
+
* ### Known values supported by the service
|
1045
|
+
* **enabled** \
|
1046
|
+
* **disabled**
|
1047
|
+
*/
|
1048
|
+
export declare type PublicNetworkAccess = string;
|
924
1049
|
/** Known values of {@link IngressState} that the service accepts. */
|
925
1050
|
export declare enum KnownIngressState {
|
926
1051
|
Disabled = "Disabled",
|
@@ -1091,6 +1216,29 @@ export interface AccessPoliciesListByEnvironmentOptionalParams extends coreClien
|
|
1091
1216
|
/** Contains response data for the listByEnvironment operation. */
|
1092
1217
|
export declare type AccessPoliciesListByEnvironmentResponse = AccessPolicyListResponse;
|
1093
1218
|
/** Optional parameters. */
|
1219
|
+
export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
1220
|
+
}
|
1221
|
+
/** Contains response data for the createOrUpdate operation. */
|
1222
|
+
export declare type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection;
|
1223
|
+
/** Optional parameters. */
|
1224
|
+
export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
|
1225
|
+
}
|
1226
|
+
/** Contains response data for the get operation. */
|
1227
|
+
export declare type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
|
1228
|
+
/** Optional parameters. */
|
1229
|
+
export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
|
1230
|
+
}
|
1231
|
+
/** Optional parameters. */
|
1232
|
+
export interface PrivateEndpointConnectionsListByEnvironmentOptionalParams extends coreClient.OperationOptions {
|
1233
|
+
}
|
1234
|
+
/** Contains response data for the listByEnvironment operation. */
|
1235
|
+
export declare type PrivateEndpointConnectionsListByEnvironmentResponse = PrivateEndpointConnectionListResult;
|
1236
|
+
/** Optional parameters. */
|
1237
|
+
export interface PrivateLinkResourcesListSupportedOptionalParams extends coreClient.OperationOptions {
|
1238
|
+
}
|
1239
|
+
/** Contains response data for the listSupported operation. */
|
1240
|
+
export declare type PrivateLinkResourcesListSupportedResponse = PrivateLinkResourceListResult;
|
1241
|
+
/** Optional parameters. */
|
1094
1242
|
export interface TimeSeriesInsightsClientOptionalParams extends coreClient.ServiceClientOptions {
|
1095
1243
|
/** server parameter */
|
1096
1244
|
$host?: string;
|