@azure/arm-appconfiguration 2.0.0 → 3.0.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 +11 -0
- package/LICENSE +21 -0
- package/LICENSE.txt +1 -1
- package/README.md +70 -80
- package/dist/index.js +3105 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/appConfigurationManagementClient.d.ts +22 -0
- package/dist-esm/src/appConfigurationManagementClient.d.ts.map +1 -0
- package/dist-esm/src/appConfigurationManagementClient.js +55 -0
- package/dist-esm/src/appConfigurationManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +826 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +59 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +38 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +464 -547
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +20 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +162 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/configurationStores.d.ts +139 -0
- package/dist-esm/src/operations/configurationStores.d.ts.map +1 -0
- package/dist-esm/src/operations/configurationStores.js +655 -0
- package/dist-esm/src/operations/configurationStores.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/keyValues.d.ts +76 -0
- package/dist-esm/src/operations/keyValues.d.ts.map +1 -0
- package/dist-esm/src/operations/keyValues.js +284 -0
- package/dist-esm/src/operations/keyValues.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +39 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +147 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +84 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +350 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts +47 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.js +170 -0
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/configurationStores.d.ts +86 -0
- package/dist-esm/src/operationsInterfaces/configurationStores.d.ts.map +1 -0
- package/{src/models/privateLinkResourcesMappers.ts → dist-esm/src/operationsInterfaces/configurationStores.js} +2 -8
- package/dist-esm/src/operationsInterfaces/configurationStores.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +13 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/keyValues.d.ts +50 -0
- package/dist-esm/src/operationsInterfaces/keyValues.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/keyValues.js} +2 -1
- package/dist-esm/src/operationsInterfaces/keyValues.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +18 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/{esm/models/privateLinkResourcesMappers.js → dist-esm/src/operationsInterfaces/operations.js} +2 -2
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +58 -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 +21 -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/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +65 -32
- package/review/arm-appconfiguration.api.md +665 -0
- package/rollup.config.js +181 -30
- package/src/appConfigurationManagementClient.ts +80 -40
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +644 -1242
- package/src/models/mappers.ts +467 -557
- package/src/models/parameters.ts +119 -46
- package/src/operations/configurationStores.ts +638 -419
- package/src/operations/index.ts +1 -2
- package/src/operations/keyValues.ts +266 -209
- package/src/operations/operations.ts +108 -121
- package/src/operations/privateEndpointConnections.ts +343 -181
- package/src/operations/privateLinkResources.ts +157 -123
- package/src/operationsInterfaces/configurationStores.ts +168 -0
- package/src/operationsInterfaces/index.ts +13 -0
- package/src/operationsInterfaces/keyValues.ts +91 -0
- package/src/operationsInterfaces/operations.ts +38 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +111 -0
- package/src/operationsInterfaces/privateLinkResources.ts +44 -0
- package/tsconfig.json +3 -3
- package/types/arm-appconfiguration.d.ts +1171 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-appconfiguration.js +0 -2849
- package/dist/arm-appconfiguration.js.map +0 -1
- package/dist/arm-appconfiguration.min.js +0 -1
- package/dist/arm-appconfiguration.min.js.map +0 -1
- package/esm/appConfigurationManagementClient.d.ts +0 -28
- package/esm/appConfigurationManagementClient.d.ts.map +0 -1
- package/esm/appConfigurationManagementClient.js +0 -41
- package/esm/appConfigurationManagementClient.js.map +0 -1
- package/esm/appConfigurationManagementClientContext.d.ts +0 -22
- package/esm/appConfigurationManagementClientContext.d.ts.map +0 -1
- package/esm/appConfigurationManagementClientContext.js +0 -60
- package/esm/appConfigurationManagementClientContext.js.map +0 -1
- package/esm/models/configurationStoresMappers.d.ts +0 -2
- package/esm/models/configurationStoresMappers.d.ts.map +0 -1
- package/esm/models/configurationStoresMappers.js +0 -9
- package/esm/models/configurationStoresMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -1433
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/keyValuesMappers.d.ts +0 -2
- package/esm/models/keyValuesMappers.d.ts.map +0 -1
- package/esm/models/keyValuesMappers.js +0 -9
- package/esm/models/keyValuesMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -42
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -12
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -117
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
- package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.js +0 -9
- package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
- package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
- package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
- package/esm/models/privateLinkResourcesMappers.js.map +0 -1
- package/esm/operations/configurationStores.d.ts +0 -219
- package/esm/operations/configurationStores.d.ts.map +0 -1
- package/esm/operations/configurationStores.js +0 -441
- package/esm/operations/configurationStores.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/keyValues.d.ts +0 -127
- package/esm/operations/keyValues.d.ts.map +0 -1
- package/esm/operations/keyValues.js +0 -216
- package/esm/operations/keyValues.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -67
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -114
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/privateEndpointConnections.d.ts +0 -117
- package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
- package/esm/operations/privateEndpointConnections.js +0 -238
- package/esm/operations/privateEndpointConnections.js.map +0 -1
- package/esm/operations/privateLinkResources.d.ts +0 -76
- package/esm/operations/privateLinkResources.d.ts.map +0 -1
- package/esm/operations/privateLinkResources.js +0 -119
- package/esm/operations/privateLinkResources.js.map +0 -1
- package/src/appConfigurationManagementClientContext.ts +0 -67
- package/src/models/configurationStoresMappers.ts +0 -35
- package/src/models/keyValuesMappers.ts +0 -31
- package/src/models/operationsMappers.ts +0 -23
- package/src/models/privateEndpointConnectionsMappers.ts +0 -31
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { PrivateEndpointConnections } from "../operationsInterfaces";
|
|
3
|
+
import { AppConfigurationManagementClient } from "../appConfigurationManagementClient";
|
|
4
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
5
|
+
import { PrivateEndpointConnection, PrivateEndpointConnectionsListByConfigurationStoreOptionalParams, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsCreateOrUpdateOptionalParams, PrivateEndpointConnectionsCreateOrUpdateResponse, PrivateEndpointConnectionsDeleteOptionalParams } from "../models";
|
|
6
|
+
/** Class containing PrivateEndpointConnections operations. */
|
|
7
|
+
export declare class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections {
|
|
8
|
+
private readonly client;
|
|
9
|
+
/**
|
|
10
|
+
* Initialize a new instance of the class PrivateEndpointConnections class.
|
|
11
|
+
* @param client Reference to the service client
|
|
12
|
+
*/
|
|
13
|
+
constructor(client: AppConfigurationManagementClient);
|
|
14
|
+
/**
|
|
15
|
+
* Lists all private endpoint connections for a configuration store.
|
|
16
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
17
|
+
* @param configStoreName The name of the configuration store.
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
listByConfigurationStore(resourceGroupName: string, configStoreName: string, options?: PrivateEndpointConnectionsListByConfigurationStoreOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
|
|
21
|
+
private listByConfigurationStorePagingPage;
|
|
22
|
+
private listByConfigurationStorePagingAll;
|
|
23
|
+
/**
|
|
24
|
+
* Lists all private endpoint connections for a configuration store.
|
|
25
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
26
|
+
* @param configStoreName The name of the configuration store.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
private _listByConfigurationStore;
|
|
30
|
+
/**
|
|
31
|
+
* Gets the specified private endpoint connection associated with the configuration store.
|
|
32
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
33
|
+
* @param configStoreName The name of the configuration store.
|
|
34
|
+
* @param privateEndpointConnectionName Private endpoint connection name
|
|
35
|
+
* @param options The options parameters.
|
|
36
|
+
*/
|
|
37
|
+
get(resourceGroupName: string, configStoreName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* Update the state of the specified private endpoint connection associated with the configuration
|
|
40
|
+
* store.
|
|
41
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
42
|
+
* @param configStoreName The name of the configuration store.
|
|
43
|
+
* @param privateEndpointConnectionName Private endpoint connection name
|
|
44
|
+
* @param privateEndpointConnection The private endpoint connection properties.
|
|
45
|
+
* @param options The options parameters.
|
|
46
|
+
*/
|
|
47
|
+
beginCreateOrUpdate(resourceGroupName: string, configStoreName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
|
|
48
|
+
/**
|
|
49
|
+
* Update the state of the specified private endpoint connection associated with the configuration
|
|
50
|
+
* store.
|
|
51
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
52
|
+
* @param configStoreName The name of the configuration store.
|
|
53
|
+
* @param privateEndpointConnectionName Private endpoint connection name
|
|
54
|
+
* @param privateEndpointConnection The private endpoint connection properties.
|
|
55
|
+
* @param options The options parameters.
|
|
56
|
+
*/
|
|
57
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, configStoreName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
|
|
58
|
+
/**
|
|
59
|
+
* Deletes a private endpoint connection.
|
|
60
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
61
|
+
* @param configStoreName The name of the configuration store.
|
|
62
|
+
* @param privateEndpointConnectionName Private endpoint connection name
|
|
63
|
+
* @param options The options parameters.
|
|
64
|
+
*/
|
|
65
|
+
beginDelete(resourceGroupName: string, configStoreName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
66
|
+
/**
|
|
67
|
+
* Deletes a private endpoint connection.
|
|
68
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
69
|
+
* @param configStoreName The name of the configuration store.
|
|
70
|
+
* @param privateEndpointConnectionName Private endpoint connection name
|
|
71
|
+
* @param options The options parameters.
|
|
72
|
+
*/
|
|
73
|
+
beginDeleteAndWait(resourceGroupName: string, configStoreName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
|
|
74
|
+
/**
|
|
75
|
+
* ListByConfigurationStoreNext
|
|
76
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
77
|
+
* @param configStoreName The name of the configuration store.
|
|
78
|
+
* @param nextLink The nextLink from the previous successful call to the ListByConfigurationStore
|
|
79
|
+
* method.
|
|
80
|
+
* @param options The options parameters.
|
|
81
|
+
*/
|
|
82
|
+
private _listByConfigurationStoreNext;
|
|
83
|
+
}
|
|
84
|
+
//# sourceMappingURL=privateEndpointConnections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAIrE,OAAO,EAAE,gCAAgC,EAAE,MAAM,qCAAqC,CAAC;AACvF,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,yBAAyB,EAEzB,gEAAgE,EAEhE,2CAA2C,EAC3C,qCAAqC,EACrC,sDAAsD,EACtD,gDAAgD,EAChD,8CAA8C,EAE/C,MAAM,WAAW,CAAC;AAGnB,8DAA8D;AAC9D,qBAAa,8BACX,YAAW,0B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,EACzB,eAAe,EAAE,MAAM,EACvB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC;IAUhB;;;;;;;OAOG;IACH,OAAO,CAAC,6BAA6B;CAWtC"}
|
|
@@ -0,0 +1,350 @@
|
|
|
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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
import { LroEngine } from "@azure/core-lro";
|
|
13
|
+
import { LroImpl } from "../lroImpl";
|
|
14
|
+
/// <reference lib="esnext.asynciterable" />
|
|
15
|
+
/** Class containing PrivateEndpointConnections operations. */
|
|
16
|
+
export class PrivateEndpointConnectionsImpl {
|
|
17
|
+
/**
|
|
18
|
+
* Initialize a new instance of the class PrivateEndpointConnections class.
|
|
19
|
+
* @param client Reference to the service client
|
|
20
|
+
*/
|
|
21
|
+
constructor(client) {
|
|
22
|
+
this.client = client;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Lists all private endpoint connections for a configuration store.
|
|
26
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
27
|
+
* @param configStoreName The name of the configuration store.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
listByConfigurationStore(resourceGroupName, configStoreName, options) {
|
|
31
|
+
const iter = this.listByConfigurationStorePagingAll(resourceGroupName, configStoreName, options);
|
|
32
|
+
return {
|
|
33
|
+
next() {
|
|
34
|
+
return iter.next();
|
|
35
|
+
},
|
|
36
|
+
[Symbol.asyncIterator]() {
|
|
37
|
+
return this;
|
|
38
|
+
},
|
|
39
|
+
byPage: () => {
|
|
40
|
+
return this.listByConfigurationStorePagingPage(resourceGroupName, configStoreName, options);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
listByConfigurationStorePagingPage(resourceGroupName, configStoreName, options) {
|
|
45
|
+
return __asyncGenerator(this, arguments, function* listByConfigurationStorePagingPage_1() {
|
|
46
|
+
let result = yield __await(this._listByConfigurationStore(resourceGroupName, configStoreName, options));
|
|
47
|
+
yield yield __await(result.value || []);
|
|
48
|
+
let continuationToken = result.nextLink;
|
|
49
|
+
while (continuationToken) {
|
|
50
|
+
result = yield __await(this._listByConfigurationStoreNext(resourceGroupName, configStoreName, continuationToken, options));
|
|
51
|
+
continuationToken = result.nextLink;
|
|
52
|
+
yield yield __await(result.value || []);
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
listByConfigurationStorePagingAll(resourceGroupName, configStoreName, options) {
|
|
57
|
+
return __asyncGenerator(this, arguments, function* listByConfigurationStorePagingAll_1() {
|
|
58
|
+
var e_1, _a;
|
|
59
|
+
try {
|
|
60
|
+
for (var _b = __asyncValues(this.listByConfigurationStorePagingPage(resourceGroupName, configStoreName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
61
|
+
const page = _c.value;
|
|
62
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
66
|
+
finally {
|
|
67
|
+
try {
|
|
68
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
69
|
+
}
|
|
70
|
+
finally { if (e_1) throw e_1.error; }
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Lists all private endpoint connections for a configuration store.
|
|
76
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
77
|
+
* @param configStoreName The name of the configuration store.
|
|
78
|
+
* @param options The options parameters.
|
|
79
|
+
*/
|
|
80
|
+
_listByConfigurationStore(resourceGroupName, configStoreName, options) {
|
|
81
|
+
return this.client.sendOperationRequest({ resourceGroupName, configStoreName, options }, listByConfigurationStoreOperationSpec);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Gets the specified private endpoint connection associated with the configuration store.
|
|
85
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
86
|
+
* @param configStoreName The name of the configuration store.
|
|
87
|
+
* @param privateEndpointConnectionName Private endpoint connection name
|
|
88
|
+
* @param options The options parameters.
|
|
89
|
+
*/
|
|
90
|
+
get(resourceGroupName, configStoreName, privateEndpointConnectionName, options) {
|
|
91
|
+
return this.client.sendOperationRequest({
|
|
92
|
+
resourceGroupName,
|
|
93
|
+
configStoreName,
|
|
94
|
+
privateEndpointConnectionName,
|
|
95
|
+
options
|
|
96
|
+
}, getOperationSpec);
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Update the state of the specified private endpoint connection associated with the configuration
|
|
100
|
+
* store.
|
|
101
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
102
|
+
* @param configStoreName The name of the configuration store.
|
|
103
|
+
* @param privateEndpointConnectionName Private endpoint connection name
|
|
104
|
+
* @param privateEndpointConnection The private endpoint connection properties.
|
|
105
|
+
* @param options The options parameters.
|
|
106
|
+
*/
|
|
107
|
+
beginCreateOrUpdate(resourceGroupName, configStoreName, privateEndpointConnectionName, privateEndpointConnection, options) {
|
|
108
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
109
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
110
|
+
return this.client.sendOperationRequest(args, spec);
|
|
111
|
+
});
|
|
112
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
113
|
+
var _a;
|
|
114
|
+
let currentRawResponse = undefined;
|
|
115
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
116
|
+
const callback = (rawResponse, flatResponse) => {
|
|
117
|
+
currentRawResponse = rawResponse;
|
|
118
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
119
|
+
};
|
|
120
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
121
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
122
|
+
return {
|
|
123
|
+
flatResponse,
|
|
124
|
+
rawResponse: {
|
|
125
|
+
statusCode: currentRawResponse.status,
|
|
126
|
+
body: currentRawResponse.parsedBody,
|
|
127
|
+
headers: currentRawResponse.headers.toJSON()
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
});
|
|
131
|
+
const lro = new LroImpl(sendOperation, {
|
|
132
|
+
resourceGroupName,
|
|
133
|
+
configStoreName,
|
|
134
|
+
privateEndpointConnectionName,
|
|
135
|
+
privateEndpointConnection,
|
|
136
|
+
options
|
|
137
|
+
}, createOrUpdateOperationSpec);
|
|
138
|
+
return new LroEngine(lro, {
|
|
139
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
140
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
141
|
+
});
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Update the state of the specified private endpoint connection associated with the configuration
|
|
146
|
+
* store.
|
|
147
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
148
|
+
* @param configStoreName The name of the configuration store.
|
|
149
|
+
* @param privateEndpointConnectionName Private endpoint connection name
|
|
150
|
+
* @param privateEndpointConnection The private endpoint connection properties.
|
|
151
|
+
* @param options The options parameters.
|
|
152
|
+
*/
|
|
153
|
+
beginCreateOrUpdateAndWait(resourceGroupName, configStoreName, privateEndpointConnectionName, privateEndpointConnection, options) {
|
|
154
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
155
|
+
const poller = yield this.beginCreateOrUpdate(resourceGroupName, configStoreName, privateEndpointConnectionName, privateEndpointConnection, options);
|
|
156
|
+
return poller.pollUntilDone();
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Deletes a private endpoint connection.
|
|
161
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
162
|
+
* @param configStoreName The name of the configuration store.
|
|
163
|
+
* @param privateEndpointConnectionName Private endpoint connection name
|
|
164
|
+
* @param options The options parameters.
|
|
165
|
+
*/
|
|
166
|
+
beginDelete(resourceGroupName, configStoreName, privateEndpointConnectionName, options) {
|
|
167
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
168
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
169
|
+
return this.client.sendOperationRequest(args, spec);
|
|
170
|
+
});
|
|
171
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
172
|
+
var _a;
|
|
173
|
+
let currentRawResponse = undefined;
|
|
174
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
175
|
+
const callback = (rawResponse, flatResponse) => {
|
|
176
|
+
currentRawResponse = rawResponse;
|
|
177
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
178
|
+
};
|
|
179
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
180
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
181
|
+
return {
|
|
182
|
+
flatResponse,
|
|
183
|
+
rawResponse: {
|
|
184
|
+
statusCode: currentRawResponse.status,
|
|
185
|
+
body: currentRawResponse.parsedBody,
|
|
186
|
+
headers: currentRawResponse.headers.toJSON()
|
|
187
|
+
}
|
|
188
|
+
};
|
|
189
|
+
});
|
|
190
|
+
const lro = new LroImpl(sendOperation, {
|
|
191
|
+
resourceGroupName,
|
|
192
|
+
configStoreName,
|
|
193
|
+
privateEndpointConnectionName,
|
|
194
|
+
options
|
|
195
|
+
}, deleteOperationSpec);
|
|
196
|
+
return new LroEngine(lro, {
|
|
197
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
198
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
199
|
+
});
|
|
200
|
+
});
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* Deletes a private endpoint connection.
|
|
204
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
205
|
+
* @param configStoreName The name of the configuration store.
|
|
206
|
+
* @param privateEndpointConnectionName Private endpoint connection name
|
|
207
|
+
* @param options The options parameters.
|
|
208
|
+
*/
|
|
209
|
+
beginDeleteAndWait(resourceGroupName, configStoreName, privateEndpointConnectionName, options) {
|
|
210
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
211
|
+
const poller = yield this.beginDelete(resourceGroupName, configStoreName, privateEndpointConnectionName, options);
|
|
212
|
+
return poller.pollUntilDone();
|
|
213
|
+
});
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* ListByConfigurationStoreNext
|
|
217
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
218
|
+
* @param configStoreName The name of the configuration store.
|
|
219
|
+
* @param nextLink The nextLink from the previous successful call to the ListByConfigurationStore
|
|
220
|
+
* method.
|
|
221
|
+
* @param options The options parameters.
|
|
222
|
+
*/
|
|
223
|
+
_listByConfigurationStoreNext(resourceGroupName, configStoreName, nextLink, options) {
|
|
224
|
+
return this.client.sendOperationRequest({ resourceGroupName, configStoreName, nextLink, options }, listByConfigurationStoreNextOperationSpec);
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
// Operation Specifications
|
|
228
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
229
|
+
const listByConfigurationStoreOperationSpec = {
|
|
230
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/privateEndpointConnections",
|
|
231
|
+
httpMethod: "GET",
|
|
232
|
+
responses: {
|
|
233
|
+
200: {
|
|
234
|
+
bodyMapper: Mappers.PrivateEndpointConnectionListResult
|
|
235
|
+
},
|
|
236
|
+
default: {
|
|
237
|
+
bodyMapper: Mappers.ErrorResponse
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
queryParameters: [Parameters.apiVersion],
|
|
241
|
+
urlParameters: [
|
|
242
|
+
Parameters.$host,
|
|
243
|
+
Parameters.subscriptionId,
|
|
244
|
+
Parameters.resourceGroupName,
|
|
245
|
+
Parameters.configStoreName
|
|
246
|
+
],
|
|
247
|
+
headerParameters: [Parameters.accept],
|
|
248
|
+
serializer
|
|
249
|
+
};
|
|
250
|
+
const getOperationSpec = {
|
|
251
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
252
|
+
httpMethod: "GET",
|
|
253
|
+
responses: {
|
|
254
|
+
200: {
|
|
255
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
256
|
+
},
|
|
257
|
+
default: {
|
|
258
|
+
bodyMapper: Mappers.ErrorResponse
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
queryParameters: [Parameters.apiVersion],
|
|
262
|
+
urlParameters: [
|
|
263
|
+
Parameters.$host,
|
|
264
|
+
Parameters.subscriptionId,
|
|
265
|
+
Parameters.resourceGroupName,
|
|
266
|
+
Parameters.configStoreName,
|
|
267
|
+
Parameters.privateEndpointConnectionName
|
|
268
|
+
],
|
|
269
|
+
headerParameters: [Parameters.accept],
|
|
270
|
+
serializer
|
|
271
|
+
};
|
|
272
|
+
const createOrUpdateOperationSpec = {
|
|
273
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
274
|
+
httpMethod: "PUT",
|
|
275
|
+
responses: {
|
|
276
|
+
200: {
|
|
277
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
278
|
+
},
|
|
279
|
+
201: {
|
|
280
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
281
|
+
},
|
|
282
|
+
202: {
|
|
283
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
284
|
+
},
|
|
285
|
+
204: {
|
|
286
|
+
bodyMapper: Mappers.PrivateEndpointConnection
|
|
287
|
+
},
|
|
288
|
+
default: {
|
|
289
|
+
bodyMapper: Mappers.ErrorResponse
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
requestBody: Parameters.privateEndpointConnection,
|
|
293
|
+
queryParameters: [Parameters.apiVersion],
|
|
294
|
+
urlParameters: [
|
|
295
|
+
Parameters.$host,
|
|
296
|
+
Parameters.subscriptionId,
|
|
297
|
+
Parameters.resourceGroupName,
|
|
298
|
+
Parameters.configStoreName,
|
|
299
|
+
Parameters.privateEndpointConnectionName
|
|
300
|
+
],
|
|
301
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
302
|
+
mediaType: "json",
|
|
303
|
+
serializer
|
|
304
|
+
};
|
|
305
|
+
const deleteOperationSpec = {
|
|
306
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
307
|
+
httpMethod: "DELETE",
|
|
308
|
+
responses: {
|
|
309
|
+
200: {},
|
|
310
|
+
201: {},
|
|
311
|
+
202: {},
|
|
312
|
+
204: {},
|
|
313
|
+
default: {
|
|
314
|
+
bodyMapper: Mappers.ErrorResponse
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
queryParameters: [Parameters.apiVersion],
|
|
318
|
+
urlParameters: [
|
|
319
|
+
Parameters.$host,
|
|
320
|
+
Parameters.subscriptionId,
|
|
321
|
+
Parameters.resourceGroupName,
|
|
322
|
+
Parameters.configStoreName,
|
|
323
|
+
Parameters.privateEndpointConnectionName
|
|
324
|
+
],
|
|
325
|
+
headerParameters: [Parameters.accept],
|
|
326
|
+
serializer
|
|
327
|
+
};
|
|
328
|
+
const listByConfigurationStoreNextOperationSpec = {
|
|
329
|
+
path: "{nextLink}",
|
|
330
|
+
httpMethod: "GET",
|
|
331
|
+
responses: {
|
|
332
|
+
200: {
|
|
333
|
+
bodyMapper: Mappers.PrivateEndpointConnectionListResult
|
|
334
|
+
},
|
|
335
|
+
default: {
|
|
336
|
+
bodyMapper: Mappers.ErrorResponse
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
queryParameters: [Parameters.apiVersion],
|
|
340
|
+
urlParameters: [
|
|
341
|
+
Parameters.$host,
|
|
342
|
+
Parameters.subscriptionId,
|
|
343
|
+
Parameters.resourceGroupName,
|
|
344
|
+
Parameters.configStoreName,
|
|
345
|
+
Parameters.nextLink
|
|
346
|
+
],
|
|
347
|
+
headerParameters: [Parameters.accept],
|
|
348
|
+
serializer
|
|
349
|
+
};
|
|
350
|
+
//# sourceMappingURL=privateEndpointConnections.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnections.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,Y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ACpB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,eAAe;QAC1B,UAAU,CAAC,6BAA6B;KACzC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,yCAAyC,GAA6B;IAC1E,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mCAAmC;SACxD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,eAAe;QAC1B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { PrivateLinkResources } from "../operationsInterfaces";
|
|
3
|
+
import { AppConfigurationManagementClient } from "../appConfigurationManagementClient";
|
|
4
|
+
import { PrivateLinkResource, PrivateLinkResourcesListByConfigurationStoreOptionalParams, PrivateLinkResourcesGetOptionalParams, PrivateLinkResourcesGetResponse } from "../models";
|
|
5
|
+
/** Class containing PrivateLinkResources operations. */
|
|
6
|
+
export declare class PrivateLinkResourcesImpl implements PrivateLinkResources {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class PrivateLinkResources class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: AppConfigurationManagementClient);
|
|
13
|
+
/**
|
|
14
|
+
* Gets the private link resources that need to be created for a configuration store.
|
|
15
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
16
|
+
* @param configStoreName The name of the configuration store.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
listByConfigurationStore(resourceGroupName: string, configStoreName: string, options?: PrivateLinkResourcesListByConfigurationStoreOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
|
|
20
|
+
private listByConfigurationStorePagingPage;
|
|
21
|
+
private listByConfigurationStorePagingAll;
|
|
22
|
+
/**
|
|
23
|
+
* Gets the private link resources that need to be created for a configuration store.
|
|
24
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
25
|
+
* @param configStoreName The name of the configuration store.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
private _listByConfigurationStore;
|
|
29
|
+
/**
|
|
30
|
+
* Gets a private link resource that need to be created for a configuration store.
|
|
31
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
32
|
+
* @param configStoreName The name of the configuration store.
|
|
33
|
+
* @param groupName The name of the private link resource group.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
get(resourceGroupName: string, configStoreName: string, groupName: string, options?: PrivateLinkResourcesGetOptionalParams): Promise<PrivateLinkResourcesGetResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* ListByConfigurationStoreNext
|
|
39
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
40
|
+
* @param configStoreName The name of the configuration store.
|
|
41
|
+
* @param nextLink The nextLink from the previous successful call to the ListByConfigurationStore
|
|
42
|
+
* method.
|
|
43
|
+
* @param options The options parameters.
|
|
44
|
+
*/
|
|
45
|
+
private _listByConfigurationStoreNext;
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=privateLinkResources.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"privateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operations/privateLinkResources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAI/D,OAAO,EAAE,gCAAgC,EAAE,MAAM,qCAAqC,CAAC;AACvF,OAAO,EACL,mBAAmB,EAEnB,0DAA0D,EAE1D,qCAAqC,EACrC,+BAA+B,EAEhC,MAAM,WAAW,CAAC;AAGnB,wDAAwD;AACxD,qBAAa,wBAAyB,YAAW,oBAAoB;IACnE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmC;IAE1D;;;OAGG;gBACS,MAAM,EAAE,gCAAgC;IAIpD;;;;;OAKG;IACI,wBAAwB,CAC7B,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,0DAA0D,GACnE,0BAA0B,CAAC,mBAAmB,CAAC;YAuBnC,kCAAkC;YAwBlC,iCAAiC;IAchD;;;;;OAKG;IACH,OAAO,CAAC,yBAAyB;IAWjC;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC;IAO3C;;;;;;;OAOG;IACH,OAAO,CAAC,6BAA6B;CAWtC"}
|