@azure/arm-timeseriesinsights 2.0.0-alpha.20220421.1 → 2.1.0-beta.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 +37 -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 +19 -11
- 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/LICENSE.txt +0 -21
@@ -0,0 +1,81 @@
|
|
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
|
+
|
9
|
+
import {
|
10
|
+
PrivateEndpointConnection,
|
11
|
+
PrivateEndpointConnectionsCreateOrUpdateOptionalParams,
|
12
|
+
PrivateEndpointConnectionsCreateOrUpdateResponse,
|
13
|
+
PrivateEndpointConnectionsGetOptionalParams,
|
14
|
+
PrivateEndpointConnectionsGetResponse,
|
15
|
+
PrivateEndpointConnectionsDeleteOptionalParams,
|
16
|
+
PrivateEndpointConnectionsListByEnvironmentOptionalParams,
|
17
|
+
PrivateEndpointConnectionsListByEnvironmentResponse
|
18
|
+
} from "../models";
|
19
|
+
|
20
|
+
/** Interface representing a PrivateEndpointConnections. */
|
21
|
+
export interface PrivateEndpointConnections {
|
22
|
+
/**
|
23
|
+
* Updates a Private Endpoint connection of the environment in the given resource group.
|
24
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
25
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
26
|
+
* specified resource group.
|
27
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
28
|
+
* Azure resource
|
29
|
+
* @param privateEndpointConnection The definition of the private endpoint connection to update.
|
30
|
+
* @param options The options parameters.
|
31
|
+
*/
|
32
|
+
createOrUpdate(
|
33
|
+
resourceGroupName: string,
|
34
|
+
environmentName: string,
|
35
|
+
privateEndpointConnectionName: string,
|
36
|
+
privateEndpointConnection: PrivateEndpointConnection,
|
37
|
+
options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams
|
38
|
+
): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
|
39
|
+
/**
|
40
|
+
* Gets the details of the private endpoint connection of the environment in the given resource group.
|
41
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
42
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
43
|
+
* specified resource group.
|
44
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
45
|
+
* Azure resource
|
46
|
+
* @param options The options parameters.
|
47
|
+
*/
|
48
|
+
get(
|
49
|
+
resourceGroupName: string,
|
50
|
+
environmentName: string,
|
51
|
+
privateEndpointConnectionName: string,
|
52
|
+
options?: PrivateEndpointConnectionsGetOptionalParams
|
53
|
+
): Promise<PrivateEndpointConnectionsGetResponse>;
|
54
|
+
/**
|
55
|
+
* Disconnects the private endpoint connection and deletes it from the environment.
|
56
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
57
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
58
|
+
* specified resource group.
|
59
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
60
|
+
* Azure resource
|
61
|
+
* @param options The options parameters.
|
62
|
+
*/
|
63
|
+
delete(
|
64
|
+
resourceGroupName: string,
|
65
|
+
environmentName: string,
|
66
|
+
privateEndpointConnectionName: string,
|
67
|
+
options?: PrivateEndpointConnectionsDeleteOptionalParams
|
68
|
+
): Promise<void>;
|
69
|
+
/**
|
70
|
+
* Gets a list of all private endpoint connections in the given environment.
|
71
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
72
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
73
|
+
* specified resource group.
|
74
|
+
* @param options The options parameters.
|
75
|
+
*/
|
76
|
+
listByEnvironment(
|
77
|
+
resourceGroupName: string,
|
78
|
+
environmentName: string,
|
79
|
+
options?: PrivateEndpointConnectionsListByEnvironmentOptionalParams
|
80
|
+
): Promise<PrivateEndpointConnectionsListByEnvironmentResponse>;
|
81
|
+
}
|
@@ -0,0 +1,30 @@
|
|
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
|
+
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
10
|
+
import {
|
11
|
+
PrivateLinkResource,
|
12
|
+
PrivateLinkResourcesListSupportedOptionalParams
|
13
|
+
} from "../models";
|
14
|
+
|
15
|
+
/// <reference lib="esnext.asynciterable" />
|
16
|
+
/** Interface representing a PrivateLinkResources. */
|
17
|
+
export interface PrivateLinkResources {
|
18
|
+
/**
|
19
|
+
* Gets a list of all supported private link resource types for the given environment.
|
20
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
21
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
22
|
+
* specified resource group.
|
23
|
+
* @param options The options parameters.
|
24
|
+
*/
|
25
|
+
listSupported(
|
26
|
+
resourceGroupName: string,
|
27
|
+
environmentName: string,
|
28
|
+
options?: PrivateLinkResourcesListSupportedOptionalParams
|
29
|
+
): PagedAsyncIterableIterator<PrivateLinkResource>;
|
30
|
+
}
|
@@ -7,20 +7,25 @@
|
|
7
7
|
*/
|
8
8
|
|
9
9
|
import * as coreClient from "@azure/core-client";
|
10
|
+
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
10
11
|
import * as coreAuth from "@azure/core-auth";
|
11
12
|
import {
|
12
13
|
OperationsImpl,
|
13
14
|
EnvironmentsImpl,
|
14
15
|
EventSourcesImpl,
|
15
16
|
ReferenceDataSetsImpl,
|
16
|
-
AccessPoliciesImpl
|
17
|
+
AccessPoliciesImpl,
|
18
|
+
PrivateEndpointConnectionsImpl,
|
19
|
+
PrivateLinkResourcesImpl
|
17
20
|
} from "./operations";
|
18
21
|
import {
|
19
22
|
Operations,
|
20
23
|
Environments,
|
21
24
|
EventSources,
|
22
25
|
ReferenceDataSets,
|
23
|
-
AccessPolicies
|
26
|
+
AccessPolicies,
|
27
|
+
PrivateEndpointConnections,
|
28
|
+
PrivateLinkResources
|
24
29
|
} from "./operationsInterfaces";
|
25
30
|
import { TimeSeriesInsightsClientOptionalParams } from "./models";
|
26
31
|
|
@@ -56,7 +61,7 @@ export class TimeSeriesInsightsClient extends coreClient.ServiceClient {
|
|
56
61
|
credential: credentials
|
57
62
|
};
|
58
63
|
|
59
|
-
const packageDetails = `azsdk-js-arm-timeseriesinsights/2.0.
|
64
|
+
const packageDetails = `azsdk-js-arm-timeseriesinsights/2.1.0-beta.1`;
|
60
65
|
const userAgentPrefix =
|
61
66
|
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
62
67
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
@@ -71,20 +76,46 @@ export class TimeSeriesInsightsClient extends coreClient.ServiceClient {
|
|
71
76
|
userAgentOptions: {
|
72
77
|
userAgentPrefix
|
73
78
|
},
|
74
|
-
baseUri:
|
79
|
+
baseUri:
|
80
|
+
options.endpoint ?? options.baseUri ?? "https://management.azure.com"
|
75
81
|
};
|
76
82
|
super(optionsWithDefaults);
|
83
|
+
|
84
|
+
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
85
|
+
const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();
|
86
|
+
const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(
|
87
|
+
(pipelinePolicy) =>
|
88
|
+
pipelinePolicy.name ===
|
89
|
+
coreRestPipeline.bearerTokenAuthenticationPolicyName
|
90
|
+
);
|
91
|
+
if (!bearerTokenAuthenticationPolicyFound) {
|
92
|
+
this.pipeline.removePolicy({
|
93
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
94
|
+
});
|
95
|
+
this.pipeline.addPolicy(
|
96
|
+
coreRestPipeline.bearerTokenAuthenticationPolicy({
|
97
|
+
scopes: `${optionsWithDefaults.baseUri}/.default`,
|
98
|
+
challengeCallbacks: {
|
99
|
+
authorizeRequestOnChallenge:
|
100
|
+
coreClient.authorizeRequestOnClaimChallenge
|
101
|
+
}
|
102
|
+
})
|
103
|
+
);
|
104
|
+
}
|
105
|
+
}
|
77
106
|
// Parameter assignments
|
78
107
|
this.subscriptionId = subscriptionId;
|
79
108
|
|
80
109
|
// Assigning values to Constant parameters
|
81
110
|
this.$host = options.$host || "https://management.azure.com";
|
82
|
-
this.apiVersion = options.apiVersion || "
|
111
|
+
this.apiVersion = options.apiVersion || "2021-03-31-preview";
|
83
112
|
this.operations = new OperationsImpl(this);
|
84
113
|
this.environments = new EnvironmentsImpl(this);
|
85
114
|
this.eventSources = new EventSourcesImpl(this);
|
86
115
|
this.referenceDataSets = new ReferenceDataSetsImpl(this);
|
87
116
|
this.accessPolicies = new AccessPoliciesImpl(this);
|
117
|
+
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
|
118
|
+
this.privateLinkResources = new PrivateLinkResourcesImpl(this);
|
88
119
|
}
|
89
120
|
|
90
121
|
operations: Operations;
|
@@ -92,4 +123,6 @@ export class TimeSeriesInsightsClient extends coreClient.ServiceClient {
|
|
92
123
|
eventSources: EventSources;
|
93
124
|
referenceDataSets: ReferenceDataSets;
|
94
125
|
accessPolicies: AccessPolicies;
|
126
|
+
privateEndpointConnections: PrivateEndpointConnections;
|
127
|
+
privateLinkResources: PrivateLinkResources;
|
95
128
|
}
|
package/tsconfig.json
CHANGED
@@ -9,11 +9,25 @@
|
|
9
9
|
"esModuleInterop": true,
|
10
10
|
"allowSyntheticDefaultImports": true,
|
11
11
|
"forceConsistentCasingInFileNames": true,
|
12
|
-
"lib": [
|
12
|
+
"lib": [
|
13
|
+
"es6",
|
14
|
+
"dom"
|
15
|
+
],
|
13
16
|
"declaration": true,
|
14
17
|
"outDir": "./dist-esm",
|
15
|
-
"importHelpers": true
|
18
|
+
"importHelpers": true,
|
19
|
+
"paths": {
|
20
|
+
"@azure/arm-timeseriesinsights": [
|
21
|
+
"./src/index"
|
22
|
+
]
|
23
|
+
}
|
16
24
|
},
|
17
|
-
"include": [
|
18
|
-
|
19
|
-
|
25
|
+
"include": [
|
26
|
+
"./src/**/*.ts",
|
27
|
+
"./test/**/*.ts",
|
28
|
+
"samples-dev/**/*.ts"
|
29
|
+
],
|
30
|
+
"exclude": [
|
31
|
+
"node_modules"
|
32
|
+
]
|
33
|
+
}
|
@@ -746,6 +746,13 @@ export declare type Gen2EnvironmentCreateOrUpdateParameters = EnvironmentCreateO
|
|
746
746
|
storageConfiguration: Gen2StorageConfigurationInput;
|
747
747
|
/** 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. */
|
748
748
|
warmStoreConfiguration?: WarmStoreConfigurationProperties;
|
749
|
+
/** 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. */
|
750
|
+
publicNetworkAccess?: PublicNetworkAccess;
|
751
|
+
/**
|
752
|
+
* The list of private endpoint connections to the environment.
|
753
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
754
|
+
*/
|
755
|
+
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
749
756
|
};
|
750
757
|
|
751
758
|
/** 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. */
|
@@ -781,6 +788,13 @@ export declare type Gen2EnvironmentResource = EnvironmentResource & {
|
|
781
788
|
storageConfiguration: Gen2StorageConfigurationOutput;
|
782
789
|
/** 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. */
|
783
790
|
warmStoreConfiguration?: WarmStoreConfigurationProperties;
|
791
|
+
/** 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. */
|
792
|
+
publicNetworkAccess?: PublicNetworkAccess;
|
793
|
+
/**
|
794
|
+
* The list of private endpoint connections to the environment.
|
795
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
796
|
+
*/
|
797
|
+
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
784
798
|
};
|
785
799
|
|
786
800
|
/** Properties of the Gen2 environment. */
|
@@ -791,6 +805,13 @@ export declare type Gen2EnvironmentResourceProperties = EnvironmentResourcePrope
|
|
791
805
|
storageConfiguration: Gen2StorageConfigurationOutput;
|
792
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. */
|
793
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[];
|
794
815
|
};
|
795
816
|
|
796
817
|
/** Parameters supplied to the Update Environment operation to update a Gen2 environment. */
|
@@ -1012,6 +1033,21 @@ export declare enum KnownLocalTimestampFormat {
|
|
1012
1033
|
Embedded = "Embedded"
|
1013
1034
|
}
|
1014
1035
|
|
1036
|
+
/** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
|
1037
|
+
export declare enum KnownPrivateEndpointConnectionProvisioningState {
|
1038
|
+
Succeeded = "Succeeded",
|
1039
|
+
Creating = "Creating",
|
1040
|
+
Deleting = "Deleting",
|
1041
|
+
Failed = "Failed"
|
1042
|
+
}
|
1043
|
+
|
1044
|
+
/** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
|
1045
|
+
export declare enum KnownPrivateEndpointServiceConnectionStatus {
|
1046
|
+
Pending = "Pending",
|
1047
|
+
Approved = "Approved",
|
1048
|
+
Rejected = "Rejected"
|
1049
|
+
}
|
1050
|
+
|
1015
1051
|
/** Known values of {@link PropertyType} that the service accepts. */
|
1016
1052
|
export declare enum KnownPropertyType {
|
1017
1053
|
String = "String"
|
@@ -1027,6 +1063,12 @@ export declare enum KnownProvisioningState {
|
|
1027
1063
|
Deleting = "Deleting"
|
1028
1064
|
}
|
1029
1065
|
|
1066
|
+
/** Known values of {@link PublicNetworkAccess} that the service accepts. */
|
1067
|
+
export declare enum KnownPublicNetworkAccess {
|
1068
|
+
Enabled = "enabled",
|
1069
|
+
Disabled = "disabled"
|
1070
|
+
}
|
1071
|
+
|
1030
1072
|
/** Known values of {@link ReferenceDataKeyPropertyType} that the service accepts. */
|
1031
1073
|
export declare enum KnownReferenceDataKeyPropertyType {
|
1032
1074
|
String = "String",
|
@@ -1194,6 +1236,178 @@ export declare interface OperationsListOptionalParams extends coreClient.Operati
|
|
1194
1236
|
/** Contains response data for the list operation. */
|
1195
1237
|
export declare type OperationsListResponse = OperationListResult;
|
1196
1238
|
|
1239
|
+
/** The Private Endpoint resource. */
|
1240
|
+
export declare interface PrivateEndpoint {
|
1241
|
+
/**
|
1242
|
+
* The ARM identifier for Private Endpoint
|
1243
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
1244
|
+
*/
|
1245
|
+
readonly id?: string;
|
1246
|
+
}
|
1247
|
+
|
1248
|
+
/** The Private Endpoint Connection resource. */
|
1249
|
+
export declare type PrivateEndpointConnection = Resource & {
|
1250
|
+
/**
|
1251
|
+
* Provisioning state of the private endpoint connection.
|
1252
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
1253
|
+
*/
|
1254
|
+
readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
|
1255
|
+
/** The resource of private end point. */
|
1256
|
+
privateEndpoint?: PrivateEndpoint;
|
1257
|
+
/** The provisioning state of the private endpoint connection resource. */
|
1258
|
+
groupIds?: string[];
|
1259
|
+
/** A collection of information about the state of the connection between service consumer and provider. */
|
1260
|
+
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
|
1261
|
+
};
|
1262
|
+
|
1263
|
+
/** List of private endpoint connection associated with the specified storage account */
|
1264
|
+
export declare interface PrivateEndpointConnectionListResult {
|
1265
|
+
/** Array of private endpoint connections */
|
1266
|
+
value?: PrivateEndpointConnection[];
|
1267
|
+
}
|
1268
|
+
|
1269
|
+
/**
|
1270
|
+
* Defines values for PrivateEndpointConnectionProvisioningState. \
|
1271
|
+
* {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
|
1272
|
+
* this enum contains the known values that the service supports.
|
1273
|
+
* ### Known values supported by the service
|
1274
|
+
* **Succeeded** \
|
1275
|
+
* **Creating** \
|
1276
|
+
* **Deleting** \
|
1277
|
+
* **Failed**
|
1278
|
+
*/
|
1279
|
+
export declare type PrivateEndpointConnectionProvisioningState = string;
|
1280
|
+
|
1281
|
+
/** Interface representing a PrivateEndpointConnections. */
|
1282
|
+
export declare interface PrivateEndpointConnections {
|
1283
|
+
/**
|
1284
|
+
* Updates a Private Endpoint connection of the environment in the given resource group.
|
1285
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
1286
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
1287
|
+
* specified resource group.
|
1288
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
1289
|
+
* Azure resource
|
1290
|
+
* @param privateEndpointConnection The definition of the private endpoint connection to update.
|
1291
|
+
* @param options The options parameters.
|
1292
|
+
*/
|
1293
|
+
createOrUpdate(resourceGroupName: string, environmentName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
|
1294
|
+
/**
|
1295
|
+
* Gets the details of the private endpoint connection of the environment in the given resource group.
|
1296
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
1297
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
1298
|
+
* specified resource group.
|
1299
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
1300
|
+
* Azure resource
|
1301
|
+
* @param options The options parameters.
|
1302
|
+
*/
|
1303
|
+
get(resourceGroupName: string, environmentName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
|
1304
|
+
/**
|
1305
|
+
* Disconnects the private endpoint connection and deletes it from the environment.
|
1306
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
1307
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
1308
|
+
* specified resource group.
|
1309
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
1310
|
+
* Azure resource
|
1311
|
+
* @param options The options parameters.
|
1312
|
+
*/
|
1313
|
+
delete(resourceGroupName: string, environmentName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
|
1314
|
+
/**
|
1315
|
+
* Gets a list of all private endpoint connections in the given environment.
|
1316
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
1317
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
1318
|
+
* specified resource group.
|
1319
|
+
* @param options The options parameters.
|
1320
|
+
*/
|
1321
|
+
listByEnvironment(resourceGroupName: string, environmentName: string, options?: PrivateEndpointConnectionsListByEnvironmentOptionalParams): Promise<PrivateEndpointConnectionsListByEnvironmentResponse>;
|
1322
|
+
}
|
1323
|
+
|
1324
|
+
/** Optional parameters. */
|
1325
|
+
export declare interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
1326
|
+
}
|
1327
|
+
|
1328
|
+
/** Contains response data for the createOrUpdate operation. */
|
1329
|
+
export declare type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection;
|
1330
|
+
|
1331
|
+
/** Optional parameters. */
|
1332
|
+
export declare interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
|
1333
|
+
}
|
1334
|
+
|
1335
|
+
/** Optional parameters. */
|
1336
|
+
export declare interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
|
1337
|
+
}
|
1338
|
+
|
1339
|
+
/** Contains response data for the get operation. */
|
1340
|
+
export declare type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
|
1341
|
+
|
1342
|
+
/** Optional parameters. */
|
1343
|
+
export declare interface PrivateEndpointConnectionsListByEnvironmentOptionalParams extends coreClient.OperationOptions {
|
1344
|
+
}
|
1345
|
+
|
1346
|
+
/** Contains response data for the listByEnvironment operation. */
|
1347
|
+
export declare type PrivateEndpointConnectionsListByEnvironmentResponse = PrivateEndpointConnectionListResult;
|
1348
|
+
|
1349
|
+
/**
|
1350
|
+
* Defines values for PrivateEndpointServiceConnectionStatus. \
|
1351
|
+
* {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
|
1352
|
+
* this enum contains the known values that the service supports.
|
1353
|
+
* ### Known values supported by the service
|
1354
|
+
* **Pending** \
|
1355
|
+
* **Approved** \
|
1356
|
+
* **Rejected**
|
1357
|
+
*/
|
1358
|
+
export declare type PrivateEndpointServiceConnectionStatus = string;
|
1359
|
+
|
1360
|
+
/** A private link resource */
|
1361
|
+
export declare type PrivateLinkResource = Resource & {
|
1362
|
+
/**
|
1363
|
+
* The private link resource group id.
|
1364
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
1365
|
+
*/
|
1366
|
+
readonly groupId?: string;
|
1367
|
+
/**
|
1368
|
+
* The private link resource required member names.
|
1369
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
1370
|
+
*/
|
1371
|
+
readonly requiredMembers?: string[];
|
1372
|
+
/** The private link resource Private link DNS zone name. */
|
1373
|
+
requiredZoneNames?: string[];
|
1374
|
+
};
|
1375
|
+
|
1376
|
+
/** A list of private link resources */
|
1377
|
+
export declare interface PrivateLinkResourceListResult {
|
1378
|
+
/** Array of private link resources */
|
1379
|
+
value?: PrivateLinkResource[];
|
1380
|
+
}
|
1381
|
+
|
1382
|
+
/** Interface representing a PrivateLinkResources. */
|
1383
|
+
export declare interface PrivateLinkResources {
|
1384
|
+
/**
|
1385
|
+
* Gets a list of all supported private link resource types for the given environment.
|
1386
|
+
* @param resourceGroupName Name of an Azure Resource group.
|
1387
|
+
* @param environmentName The name of the Time Series Insights environment associated with the
|
1388
|
+
* specified resource group.
|
1389
|
+
* @param options The options parameters.
|
1390
|
+
*/
|
1391
|
+
listSupported(resourceGroupName: string, environmentName: string, options?: PrivateLinkResourcesListSupportedOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
|
1392
|
+
}
|
1393
|
+
|
1394
|
+
/** Optional parameters. */
|
1395
|
+
export declare interface PrivateLinkResourcesListSupportedOptionalParams extends coreClient.OperationOptions {
|
1396
|
+
}
|
1397
|
+
|
1398
|
+
/** Contains response data for the listSupported operation. */
|
1399
|
+
export declare type PrivateLinkResourcesListSupportedResponse = PrivateLinkResourceListResult;
|
1400
|
+
|
1401
|
+
/** A collection of information about the state of the connection between service consumer and provider. */
|
1402
|
+
export declare interface PrivateLinkServiceConnectionState {
|
1403
|
+
/** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
|
1404
|
+
status?: PrivateEndpointServiceConnectionStatus;
|
1405
|
+
/** The reason for approval/rejection of the connection. */
|
1406
|
+
description?: string;
|
1407
|
+
/** A message indicating if changes on the service provider require any updates on the consumer. */
|
1408
|
+
actionsRequired?: string;
|
1409
|
+
}
|
1410
|
+
|
1197
1411
|
/**
|
1198
1412
|
* Defines values for PropertyType. \
|
1199
1413
|
* {@link KnownPropertyType} can be used interchangeably with PropertyType,
|
@@ -1217,6 +1431,16 @@ export declare type PropertyType = string;
|
|
1217
1431
|
*/
|
1218
1432
|
export declare type ProvisioningState = string;
|
1219
1433
|
|
1434
|
+
/**
|
1435
|
+
* Defines values for PublicNetworkAccess. \
|
1436
|
+
* {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess,
|
1437
|
+
* this enum contains the known values that the service supports.
|
1438
|
+
* ### Known values supported by the service
|
1439
|
+
* **enabled** \
|
1440
|
+
* **disabled**
|
1441
|
+
*/
|
1442
|
+
export declare type PublicNetworkAccess = string;
|
1443
|
+
|
1220
1444
|
/**
|
1221
1445
|
* Defines values for ReferenceDataKeyPropertyType. \
|
1222
1446
|
* {@link KnownReferenceDataKeyPropertyType} can be used interchangeably with ReferenceDataKeyPropertyType,
|
@@ -1376,20 +1600,20 @@ export declare interface ReferenceDataSetUpdateParameters {
|
|
1376
1600
|
};
|
1377
1601
|
}
|
1378
1602
|
|
1379
|
-
/**
|
1603
|
+
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
1380
1604
|
export declare interface Resource {
|
1381
1605
|
/**
|
1382
|
-
*
|
1606
|
+
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
1383
1607
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
1384
1608
|
*/
|
1385
1609
|
readonly id?: string;
|
1386
1610
|
/**
|
1387
|
-
*
|
1611
|
+
* The name of the resource
|
1388
1612
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
1389
1613
|
*/
|
1390
1614
|
readonly name?: string;
|
1391
1615
|
/**
|
1392
|
-
*
|
1616
|
+
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
1393
1617
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
1394
1618
|
*/
|
1395
1619
|
readonly type?: string;
|
@@ -1471,6 +1695,8 @@ export declare class TimeSeriesInsightsClient extends coreClient.ServiceClient {
|
|
1471
1695
|
eventSources: EventSources;
|
1472
1696
|
referenceDataSets: ReferenceDataSets;
|
1473
1697
|
accessPolicies: AccessPolicies;
|
1698
|
+
privateEndpointConnections: PrivateEndpointConnections;
|
1699
|
+
privateLinkResources: PrivateLinkResources;
|
1474
1700
|
}
|
1475
1701
|
|
1476
1702
|
/** Optional parameters. */
|
package/LICENSE.txt
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2020 Microsoft
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
13
|
-
copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
-
SOFTWARE.
|