@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
|
@@ -3,25 +3,35 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
7
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
7
|
*/
|
|
9
8
|
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import * as
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { PrivateLinkResources } from "../operationsInterfaces";
|
|
11
|
+
import * as coreClient from "@azure/core-client";
|
|
12
|
+
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { AppConfigurationManagementClient } from "../appConfigurationManagementClient";
|
|
15
|
+
import {
|
|
16
|
+
PrivateLinkResource,
|
|
17
|
+
PrivateLinkResourcesListByConfigurationStoreNextOptionalParams,
|
|
18
|
+
PrivateLinkResourcesListByConfigurationStoreOptionalParams,
|
|
19
|
+
PrivateLinkResourcesListByConfigurationStoreResponse,
|
|
20
|
+
PrivateLinkResourcesGetOptionalParams,
|
|
21
|
+
PrivateLinkResourcesGetResponse,
|
|
22
|
+
PrivateLinkResourcesListByConfigurationStoreNextResponse
|
|
23
|
+
} from "../models";
|
|
15
24
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
25
|
+
/// <reference lib="esnext.asynciterable" />
|
|
26
|
+
/** Class containing PrivateLinkResources operations. */
|
|
27
|
+
export class PrivateLinkResourcesImpl implements PrivateLinkResources {
|
|
28
|
+
private readonly client: AppConfigurationManagementClient;
|
|
19
29
|
|
|
20
30
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @param
|
|
31
|
+
* Initialize a new instance of the class PrivateLinkResources class.
|
|
32
|
+
* @param client Reference to the service client
|
|
23
33
|
*/
|
|
24
|
-
constructor(client:
|
|
34
|
+
constructor(client: AppConfigurationManagementClient) {
|
|
25
35
|
this.client = client;
|
|
26
36
|
}
|
|
27
37
|
|
|
@@ -29,115 +39,136 @@ export class PrivateLinkResources {
|
|
|
29
39
|
* Gets the private link resources that need to be created for a configuration store.
|
|
30
40
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
31
41
|
* @param configStoreName The name of the configuration store.
|
|
32
|
-
* @param
|
|
33
|
-
* @returns Promise<Models.PrivateLinkResourcesListByConfigurationStoreResponse>
|
|
42
|
+
* @param options The options parameters.
|
|
34
43
|
*/
|
|
35
|
-
listByConfigurationStore(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
44
|
+
public listByConfigurationStore(
|
|
45
|
+
resourceGroupName: string,
|
|
46
|
+
configStoreName: string,
|
|
47
|
+
options?: PrivateLinkResourcesListByConfigurationStoreOptionalParams
|
|
48
|
+
): PagedAsyncIterableIterator<PrivateLinkResource> {
|
|
49
|
+
const iter = this.listByConfigurationStorePagingAll(
|
|
50
|
+
resourceGroupName,
|
|
51
|
+
configStoreName,
|
|
52
|
+
options
|
|
53
|
+
);
|
|
54
|
+
return {
|
|
55
|
+
next() {
|
|
56
|
+
return iter.next();
|
|
57
|
+
},
|
|
58
|
+
[Symbol.asyncIterator]() {
|
|
59
|
+
return this;
|
|
60
|
+
},
|
|
61
|
+
byPage: () => {
|
|
62
|
+
return this.listByConfigurationStorePagingPage(
|
|
63
|
+
resourceGroupName,
|
|
64
|
+
configStoreName,
|
|
65
|
+
options
|
|
66
|
+
);
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
private async *listByConfigurationStorePagingPage(
|
|
72
|
+
resourceGroupName: string,
|
|
73
|
+
configStoreName: string,
|
|
74
|
+
options?: PrivateLinkResourcesListByConfigurationStoreOptionalParams
|
|
75
|
+
): AsyncIterableIterator<PrivateLinkResource[]> {
|
|
76
|
+
let result = await this._listByConfigurationStore(
|
|
77
|
+
resourceGroupName,
|
|
78
|
+
configStoreName,
|
|
79
|
+
options
|
|
80
|
+
);
|
|
81
|
+
yield result.value || [];
|
|
82
|
+
let continuationToken = result.nextLink;
|
|
83
|
+
while (continuationToken) {
|
|
84
|
+
result = await this._listByConfigurationStoreNext(
|
|
52
85
|
resourceGroupName,
|
|
53
86
|
configStoreName,
|
|
87
|
+
continuationToken,
|
|
54
88
|
options
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
89
|
+
);
|
|
90
|
+
continuationToken = result.nextLink;
|
|
91
|
+
yield result.value || [];
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
private async *listByConfigurationStorePagingAll(
|
|
96
|
+
resourceGroupName: string,
|
|
97
|
+
configStoreName: string,
|
|
98
|
+
options?: PrivateLinkResourcesListByConfigurationStoreOptionalParams
|
|
99
|
+
): AsyncIterableIterator<PrivateLinkResource> {
|
|
100
|
+
for await (const page of this.listByConfigurationStorePagingPage(
|
|
101
|
+
resourceGroupName,
|
|
102
|
+
configStoreName,
|
|
103
|
+
options
|
|
104
|
+
)) {
|
|
105
|
+
yield* page;
|
|
106
|
+
}
|
|
58
107
|
}
|
|
59
108
|
|
|
60
109
|
/**
|
|
61
|
-
* Gets
|
|
62
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
63
|
-
* @param configStoreName The name of the configuration store.
|
|
64
|
-
* @param groupName The name of the private link resource group.
|
|
65
|
-
* @param [options] The optional parameters
|
|
66
|
-
* @returns Promise<Models.PrivateLinkResourcesGetResponse>
|
|
67
|
-
*/
|
|
68
|
-
get(resourceGroupName: string, configStoreName: string, groupName: string, options?: msRest.RequestOptionsBase): Promise<Models.PrivateLinkResourcesGetResponse>;
|
|
69
|
-
/**
|
|
110
|
+
* Gets the private link resources that need to be created for a configuration store.
|
|
70
111
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
71
112
|
* @param configStoreName The name of the configuration store.
|
|
72
|
-
* @param
|
|
73
|
-
* @param callback The callback
|
|
113
|
+
* @param options The options parameters.
|
|
74
114
|
*/
|
|
75
|
-
|
|
115
|
+
private _listByConfigurationStore(
|
|
116
|
+
resourceGroupName: string,
|
|
117
|
+
configStoreName: string,
|
|
118
|
+
options?: PrivateLinkResourcesListByConfigurationStoreOptionalParams
|
|
119
|
+
): Promise<PrivateLinkResourcesListByConfigurationStoreResponse> {
|
|
120
|
+
return this.client.sendOperationRequest(
|
|
121
|
+
{ resourceGroupName, configStoreName, options },
|
|
122
|
+
listByConfigurationStoreOperationSpec
|
|
123
|
+
);
|
|
124
|
+
}
|
|
125
|
+
|
|
76
126
|
/**
|
|
127
|
+
* Gets a private link resource that need to be created for a configuration store.
|
|
77
128
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
78
129
|
* @param configStoreName The name of the configuration store.
|
|
79
130
|
* @param groupName The name of the private link resource group.
|
|
80
|
-
* @param options The
|
|
81
|
-
* @param callback The callback
|
|
131
|
+
* @param options The options parameters.
|
|
82
132
|
*/
|
|
83
|
-
get(
|
|
84
|
-
|
|
133
|
+
get(
|
|
134
|
+
resourceGroupName: string,
|
|
135
|
+
configStoreName: string,
|
|
136
|
+
groupName: string,
|
|
137
|
+
options?: PrivateLinkResourcesGetOptionalParams
|
|
138
|
+
): Promise<PrivateLinkResourcesGetResponse> {
|
|
85
139
|
return this.client.sendOperationRequest(
|
|
86
|
-
{
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
groupName,
|
|
90
|
-
options
|
|
91
|
-
},
|
|
92
|
-
getOperationSpec,
|
|
93
|
-
callback) as Promise<Models.PrivateLinkResourcesGetResponse>;
|
|
140
|
+
{ resourceGroupName, configStoreName, groupName, options },
|
|
141
|
+
getOperationSpec
|
|
142
|
+
);
|
|
94
143
|
}
|
|
95
144
|
|
|
96
145
|
/**
|
|
97
|
-
*
|
|
98
|
-
* @param
|
|
99
|
-
* @param
|
|
100
|
-
* @
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
105
|
-
* @param callback The callback
|
|
106
|
-
*/
|
|
107
|
-
listByConfigurationStoreNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.PrivateLinkResourceListResult>): void;
|
|
108
|
-
/**
|
|
109
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
110
|
-
* @param options The optional parameters
|
|
111
|
-
* @param callback The callback
|
|
146
|
+
* ListByConfigurationStoreNext
|
|
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 nextLink The nextLink from the previous successful call to the ListByConfigurationStore
|
|
150
|
+
* method.
|
|
151
|
+
* @param options The options parameters.
|
|
112
152
|
*/
|
|
113
|
-
|
|
114
|
-
|
|
153
|
+
private _listByConfigurationStoreNext(
|
|
154
|
+
resourceGroupName: string,
|
|
155
|
+
configStoreName: string,
|
|
156
|
+
nextLink: string,
|
|
157
|
+
options?: PrivateLinkResourcesListByConfigurationStoreNextOptionalParams
|
|
158
|
+
): Promise<PrivateLinkResourcesListByConfigurationStoreNextResponse> {
|
|
115
159
|
return this.client.sendOperationRequest(
|
|
116
|
-
{
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
},
|
|
120
|
-
listByConfigurationStoreNextOperationSpec,
|
|
121
|
-
callback) as Promise<Models.PrivateLinkResourcesListByConfigurationStoreNextResponse>;
|
|
160
|
+
{ resourceGroupName, configStoreName, nextLink, options },
|
|
161
|
+
listByConfigurationStoreNextOperationSpec
|
|
162
|
+
);
|
|
122
163
|
}
|
|
123
164
|
}
|
|
124
|
-
|
|
125
165
|
// Operation Specifications
|
|
126
|
-
const serializer =
|
|
127
|
-
|
|
166
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
167
|
+
|
|
168
|
+
const listByConfigurationStoreOperationSpec: coreClient.OperationSpec = {
|
|
169
|
+
path:
|
|
170
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/privateLinkResources",
|
|
128
171
|
httpMethod: "GET",
|
|
129
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/privateLinkResources",
|
|
130
|
-
urlParameters: [
|
|
131
|
-
Parameters.subscriptionId,
|
|
132
|
-
Parameters.resourceGroupName,
|
|
133
|
-
Parameters.configStoreName
|
|
134
|
-
],
|
|
135
|
-
queryParameters: [
|
|
136
|
-
Parameters.apiVersion
|
|
137
|
-
],
|
|
138
|
-
headerParameters: [
|
|
139
|
-
Parameters.acceptLanguage
|
|
140
|
-
],
|
|
141
172
|
responses: {
|
|
142
173
|
200: {
|
|
143
174
|
bodyMapper: Mappers.PrivateLinkResourceListResult
|
|
@@ -146,24 +177,20 @@ const listByConfigurationStoreOperationSpec: msRest.OperationSpec = {
|
|
|
146
177
|
bodyMapper: Mappers.ErrorResponse
|
|
147
178
|
}
|
|
148
179
|
},
|
|
149
|
-
|
|
150
|
-
};
|
|
151
|
-
|
|
152
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
153
|
-
httpMethod: "GET",
|
|
154
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/privateLinkResources/{groupName}",
|
|
180
|
+
queryParameters: [Parameters.apiVersion],
|
|
155
181
|
urlParameters: [
|
|
182
|
+
Parameters.$host,
|
|
156
183
|
Parameters.subscriptionId,
|
|
157
184
|
Parameters.resourceGroupName,
|
|
158
|
-
Parameters.configStoreName
|
|
159
|
-
Parameters.groupName
|
|
160
|
-
],
|
|
161
|
-
queryParameters: [
|
|
162
|
-
Parameters.apiVersion
|
|
163
|
-
],
|
|
164
|
-
headerParameters: [
|
|
165
|
-
Parameters.acceptLanguage
|
|
185
|
+
Parameters.configStoreName
|
|
166
186
|
],
|
|
187
|
+
headerParameters: [Parameters.accept],
|
|
188
|
+
serializer
|
|
189
|
+
};
|
|
190
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
191
|
+
path:
|
|
192
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/privateLinkResources/{groupName}",
|
|
193
|
+
httpMethod: "GET",
|
|
167
194
|
responses: {
|
|
168
195
|
200: {
|
|
169
196
|
bodyMapper: Mappers.PrivateLinkResource
|
|
@@ -172,22 +199,20 @@ const getOperationSpec: msRest.OperationSpec = {
|
|
|
172
199
|
bodyMapper: Mappers.ErrorResponse
|
|
173
200
|
}
|
|
174
201
|
},
|
|
202
|
+
queryParameters: [Parameters.apiVersion],
|
|
203
|
+
urlParameters: [
|
|
204
|
+
Parameters.$host,
|
|
205
|
+
Parameters.subscriptionId,
|
|
206
|
+
Parameters.resourceGroupName,
|
|
207
|
+
Parameters.configStoreName,
|
|
208
|
+
Parameters.groupName
|
|
209
|
+
],
|
|
210
|
+
headerParameters: [Parameters.accept],
|
|
175
211
|
serializer
|
|
176
212
|
};
|
|
177
|
-
|
|
178
|
-
const listByConfigurationStoreNextOperationSpec: msRest.OperationSpec = {
|
|
179
|
-
httpMethod: "GET",
|
|
180
|
-
baseUrl: "https://management.azure.com",
|
|
213
|
+
const listByConfigurationStoreNextOperationSpec: coreClient.OperationSpec = {
|
|
181
214
|
path: "{nextLink}",
|
|
182
|
-
|
|
183
|
-
Parameters.nextPageLink
|
|
184
|
-
],
|
|
185
|
-
queryParameters: [
|
|
186
|
-
Parameters.apiVersion
|
|
187
|
-
],
|
|
188
|
-
headerParameters: [
|
|
189
|
-
Parameters.acceptLanguage
|
|
190
|
-
],
|
|
215
|
+
httpMethod: "GET",
|
|
191
216
|
responses: {
|
|
192
217
|
200: {
|
|
193
218
|
bodyMapper: Mappers.PrivateLinkResourceListResult
|
|
@@ -196,5 +221,14 @@ const listByConfigurationStoreNextOperationSpec: msRest.OperationSpec = {
|
|
|
196
221
|
bodyMapper: Mappers.ErrorResponse
|
|
197
222
|
}
|
|
198
223
|
},
|
|
224
|
+
queryParameters: [Parameters.apiVersion],
|
|
225
|
+
urlParameters: [
|
|
226
|
+
Parameters.$host,
|
|
227
|
+
Parameters.subscriptionId,
|
|
228
|
+
Parameters.resourceGroupName,
|
|
229
|
+
Parameters.configStoreName,
|
|
230
|
+
Parameters.nextLink
|
|
231
|
+
],
|
|
232
|
+
headerParameters: [Parameters.accept],
|
|
199
233
|
serializer
|
|
200
234
|
};
|
|
@@ -0,0 +1,168 @@
|
|
|
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 { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
ConfigurationStore,
|
|
13
|
+
ConfigurationStoresListOptionalParams,
|
|
14
|
+
ConfigurationStoresListByResourceGroupOptionalParams,
|
|
15
|
+
ApiKey,
|
|
16
|
+
ConfigurationStoresListKeysOptionalParams,
|
|
17
|
+
ConfigurationStoresGetOptionalParams,
|
|
18
|
+
ConfigurationStoresGetResponse,
|
|
19
|
+
ConfigurationStoresCreateOptionalParams,
|
|
20
|
+
ConfigurationStoresCreateResponse,
|
|
21
|
+
ConfigurationStoresDeleteOptionalParams,
|
|
22
|
+
ConfigurationStoreUpdateParameters,
|
|
23
|
+
ConfigurationStoresUpdateOptionalParams,
|
|
24
|
+
ConfigurationStoresUpdateResponse,
|
|
25
|
+
RegenerateKeyParameters,
|
|
26
|
+
ConfigurationStoresRegenerateKeyOptionalParams,
|
|
27
|
+
ConfigurationStoresRegenerateKeyResponse
|
|
28
|
+
} from "../models";
|
|
29
|
+
|
|
30
|
+
/// <reference lib="esnext.asynciterable" />
|
|
31
|
+
/** Interface representing a ConfigurationStores. */
|
|
32
|
+
export interface ConfigurationStores {
|
|
33
|
+
/**
|
|
34
|
+
* Lists the configuration stores for a given subscription.
|
|
35
|
+
* @param options The options parameters.
|
|
36
|
+
*/
|
|
37
|
+
list(
|
|
38
|
+
options?: ConfigurationStoresListOptionalParams
|
|
39
|
+
): PagedAsyncIterableIterator<ConfigurationStore>;
|
|
40
|
+
/**
|
|
41
|
+
* Lists the configuration stores for a given resource group.
|
|
42
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
43
|
+
* @param options The options parameters.
|
|
44
|
+
*/
|
|
45
|
+
listByResourceGroup(
|
|
46
|
+
resourceGroupName: string,
|
|
47
|
+
options?: ConfigurationStoresListByResourceGroupOptionalParams
|
|
48
|
+
): PagedAsyncIterableIterator<ConfigurationStore>;
|
|
49
|
+
/**
|
|
50
|
+
* Lists the access key for the specified configuration 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 options The options parameters.
|
|
54
|
+
*/
|
|
55
|
+
listKeys(
|
|
56
|
+
resourceGroupName: string,
|
|
57
|
+
configStoreName: string,
|
|
58
|
+
options?: ConfigurationStoresListKeysOptionalParams
|
|
59
|
+
): PagedAsyncIterableIterator<ApiKey>;
|
|
60
|
+
/**
|
|
61
|
+
* Gets the properties of the specified configuration store.
|
|
62
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
63
|
+
* @param configStoreName The name of the configuration store.
|
|
64
|
+
* @param options The options parameters.
|
|
65
|
+
*/
|
|
66
|
+
get(
|
|
67
|
+
resourceGroupName: string,
|
|
68
|
+
configStoreName: string,
|
|
69
|
+
options?: ConfigurationStoresGetOptionalParams
|
|
70
|
+
): Promise<ConfigurationStoresGetResponse>;
|
|
71
|
+
/**
|
|
72
|
+
* Creates a configuration store with the specified parameters.
|
|
73
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
74
|
+
* @param configStoreName The name of the configuration store.
|
|
75
|
+
* @param configStoreCreationParameters The parameters for creating a configuration store.
|
|
76
|
+
* @param options The options parameters.
|
|
77
|
+
*/
|
|
78
|
+
beginCreate(
|
|
79
|
+
resourceGroupName: string,
|
|
80
|
+
configStoreName: string,
|
|
81
|
+
configStoreCreationParameters: ConfigurationStore,
|
|
82
|
+
options?: ConfigurationStoresCreateOptionalParams
|
|
83
|
+
): Promise<
|
|
84
|
+
PollerLike<
|
|
85
|
+
PollOperationState<ConfigurationStoresCreateResponse>,
|
|
86
|
+
ConfigurationStoresCreateResponse
|
|
87
|
+
>
|
|
88
|
+
>;
|
|
89
|
+
/**
|
|
90
|
+
* Creates a configuration store with the specified parameters.
|
|
91
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
92
|
+
* @param configStoreName The name of the configuration store.
|
|
93
|
+
* @param configStoreCreationParameters The parameters for creating a configuration store.
|
|
94
|
+
* @param options The options parameters.
|
|
95
|
+
*/
|
|
96
|
+
beginCreateAndWait(
|
|
97
|
+
resourceGroupName: string,
|
|
98
|
+
configStoreName: string,
|
|
99
|
+
configStoreCreationParameters: ConfigurationStore,
|
|
100
|
+
options?: ConfigurationStoresCreateOptionalParams
|
|
101
|
+
): Promise<ConfigurationStoresCreateResponse>;
|
|
102
|
+
/**
|
|
103
|
+
* Deletes a configuration store.
|
|
104
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
105
|
+
* @param configStoreName The name of the configuration store.
|
|
106
|
+
* @param options The options parameters.
|
|
107
|
+
*/
|
|
108
|
+
beginDelete(
|
|
109
|
+
resourceGroupName: string,
|
|
110
|
+
configStoreName: string,
|
|
111
|
+
options?: ConfigurationStoresDeleteOptionalParams
|
|
112
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
113
|
+
/**
|
|
114
|
+
* Deletes a configuration store.
|
|
115
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
116
|
+
* @param configStoreName The name of the configuration store.
|
|
117
|
+
* @param options The options parameters.
|
|
118
|
+
*/
|
|
119
|
+
beginDeleteAndWait(
|
|
120
|
+
resourceGroupName: string,
|
|
121
|
+
configStoreName: string,
|
|
122
|
+
options?: ConfigurationStoresDeleteOptionalParams
|
|
123
|
+
): Promise<void>;
|
|
124
|
+
/**
|
|
125
|
+
* Updates a configuration store with the specified parameters.
|
|
126
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
127
|
+
* @param configStoreName The name of the configuration store.
|
|
128
|
+
* @param configStoreUpdateParameters The parameters for updating a configuration store.
|
|
129
|
+
* @param options The options parameters.
|
|
130
|
+
*/
|
|
131
|
+
beginUpdate(
|
|
132
|
+
resourceGroupName: string,
|
|
133
|
+
configStoreName: string,
|
|
134
|
+
configStoreUpdateParameters: ConfigurationStoreUpdateParameters,
|
|
135
|
+
options?: ConfigurationStoresUpdateOptionalParams
|
|
136
|
+
): Promise<
|
|
137
|
+
PollerLike<
|
|
138
|
+
PollOperationState<ConfigurationStoresUpdateResponse>,
|
|
139
|
+
ConfigurationStoresUpdateResponse
|
|
140
|
+
>
|
|
141
|
+
>;
|
|
142
|
+
/**
|
|
143
|
+
* Updates a configuration store with the specified parameters.
|
|
144
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
145
|
+
* @param configStoreName The name of the configuration store.
|
|
146
|
+
* @param configStoreUpdateParameters The parameters for updating a configuration store.
|
|
147
|
+
* @param options The options parameters.
|
|
148
|
+
*/
|
|
149
|
+
beginUpdateAndWait(
|
|
150
|
+
resourceGroupName: string,
|
|
151
|
+
configStoreName: string,
|
|
152
|
+
configStoreUpdateParameters: ConfigurationStoreUpdateParameters,
|
|
153
|
+
options?: ConfigurationStoresUpdateOptionalParams
|
|
154
|
+
): Promise<ConfigurationStoresUpdateResponse>;
|
|
155
|
+
/**
|
|
156
|
+
* Regenerates an access key for the specified configuration store.
|
|
157
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
158
|
+
* @param configStoreName The name of the configuration store.
|
|
159
|
+
* @param regenerateKeyParameters The parameters for regenerating an access key.
|
|
160
|
+
* @param options The options parameters.
|
|
161
|
+
*/
|
|
162
|
+
regenerateKey(
|
|
163
|
+
resourceGroupName: string,
|
|
164
|
+
configStoreName: string,
|
|
165
|
+
regenerateKeyParameters: RegenerateKeyParameters,
|
|
166
|
+
options?: ConfigurationStoresRegenerateKeyOptionalParams
|
|
167
|
+
): Promise<ConfigurationStoresRegenerateKeyResponse>;
|
|
168
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
export * from "./configurationStores";
|
|
10
|
+
export * from "./operations";
|
|
11
|
+
export * from "./privateEndpointConnections";
|
|
12
|
+
export * from "./privateLinkResources";
|
|
13
|
+
export * from "./keyValues";
|
|
@@ -0,0 +1,91 @@
|
|
|
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 { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
KeyValue,
|
|
13
|
+
KeyValuesListByConfigurationStoreOptionalParams,
|
|
14
|
+
KeyValuesGetOptionalParams,
|
|
15
|
+
KeyValuesGetResponse,
|
|
16
|
+
KeyValuesCreateOrUpdateOptionalParams,
|
|
17
|
+
KeyValuesCreateOrUpdateResponse,
|
|
18
|
+
KeyValuesDeleteOptionalParams
|
|
19
|
+
} from "../models";
|
|
20
|
+
|
|
21
|
+
/// <reference lib="esnext.asynciterable" />
|
|
22
|
+
/** Interface representing a KeyValues. */
|
|
23
|
+
export interface KeyValues {
|
|
24
|
+
/**
|
|
25
|
+
* Lists the key-values for a given 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(
|
|
31
|
+
resourceGroupName: string,
|
|
32
|
+
configStoreName: string,
|
|
33
|
+
options?: KeyValuesListByConfigurationStoreOptionalParams
|
|
34
|
+
): PagedAsyncIterableIterator<KeyValue>;
|
|
35
|
+
/**
|
|
36
|
+
* Gets the properties of the specified key-value.
|
|
37
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
38
|
+
* @param configStoreName The name of the configuration store.
|
|
39
|
+
* @param keyValueName Identifier of key and label combination. Key and label are joined by $
|
|
40
|
+
* character. Label is optional.
|
|
41
|
+
* @param options The options parameters.
|
|
42
|
+
*/
|
|
43
|
+
get(
|
|
44
|
+
resourceGroupName: string,
|
|
45
|
+
configStoreName: string,
|
|
46
|
+
keyValueName: string,
|
|
47
|
+
options?: KeyValuesGetOptionalParams
|
|
48
|
+
): Promise<KeyValuesGetResponse>;
|
|
49
|
+
/**
|
|
50
|
+
* Creates a key-value.
|
|
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 keyValueName Identifier of key and label combination. Key and label are joined by $
|
|
54
|
+
* character. Label is optional.
|
|
55
|
+
* @param options The options parameters.
|
|
56
|
+
*/
|
|
57
|
+
createOrUpdate(
|
|
58
|
+
resourceGroupName: string,
|
|
59
|
+
configStoreName: string,
|
|
60
|
+
keyValueName: string,
|
|
61
|
+
options?: KeyValuesCreateOrUpdateOptionalParams
|
|
62
|
+
): Promise<KeyValuesCreateOrUpdateResponse>;
|
|
63
|
+
/**
|
|
64
|
+
* Deletes a key-value.
|
|
65
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
66
|
+
* @param configStoreName The name of the configuration store.
|
|
67
|
+
* @param keyValueName Identifier of key and label combination. Key and label are joined by $
|
|
68
|
+
* character. Label is optional.
|
|
69
|
+
* @param options The options parameters.
|
|
70
|
+
*/
|
|
71
|
+
beginDelete(
|
|
72
|
+
resourceGroupName: string,
|
|
73
|
+
configStoreName: string,
|
|
74
|
+
keyValueName: string,
|
|
75
|
+
options?: KeyValuesDeleteOptionalParams
|
|
76
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
77
|
+
/**
|
|
78
|
+
* Deletes a key-value.
|
|
79
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
80
|
+
* @param configStoreName The name of the configuration store.
|
|
81
|
+
* @param keyValueName Identifier of key and label combination. Key and label are joined by $
|
|
82
|
+
* character. Label is optional.
|
|
83
|
+
* @param options The options parameters.
|
|
84
|
+
*/
|
|
85
|
+
beginDeleteAndWait(
|
|
86
|
+
resourceGroupName: string,
|
|
87
|
+
configStoreName: string,
|
|
88
|
+
keyValueName: string,
|
|
89
|
+
options?: KeyValuesDeleteOptionalParams
|
|
90
|
+
): Promise<void>;
|
|
91
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
OperationDefinition,
|
|
12
|
+
OperationsListOptionalParams,
|
|
13
|
+
CheckNameAvailabilityParameters,
|
|
14
|
+
OperationsCheckNameAvailabilityOptionalParams,
|
|
15
|
+
OperationsCheckNameAvailabilityResponse
|
|
16
|
+
} from "../models";
|
|
17
|
+
|
|
18
|
+
/// <reference lib="esnext.asynciterable" />
|
|
19
|
+
/** Interface representing a Operations. */
|
|
20
|
+
export interface Operations {
|
|
21
|
+
/**
|
|
22
|
+
* Lists the operations available from this provider.
|
|
23
|
+
* @param options The options parameters.
|
|
24
|
+
*/
|
|
25
|
+
list(
|
|
26
|
+
options?: OperationsListOptionalParams
|
|
27
|
+
): PagedAsyncIterableIterator<OperationDefinition>;
|
|
28
|
+
/**
|
|
29
|
+
* Checks whether the configuration store name is available for use.
|
|
30
|
+
* @param checkNameAvailabilityParameters The object containing information for the availability
|
|
31
|
+
* request.
|
|
32
|
+
* @param options The options parameters.
|
|
33
|
+
*/
|
|
34
|
+
checkNameAvailability(
|
|
35
|
+
checkNameAvailabilityParameters: CheckNameAvailabilityParameters,
|
|
36
|
+
options?: OperationsCheckNameAvailabilityOptionalParams
|
|
37
|
+
): Promise<OperationsCheckNameAvailabilityResponse>;
|
|
38
|
+
}
|