@azure/arm-appconfiguration 1.2.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/README.md +72 -75
- 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 +588 -313
- 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 +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +4 -5
- 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/dist-esm/src/operationsInterfaces/configurationStores.js +9 -0
- 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/dist-esm/src/operationsInterfaces/keyValues.js +9 -0
- 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/dist-esm/src/operationsInterfaces/operations.js +9 -0
- 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 -31
- package/review/arm-appconfiguration.api.md +665 -0
- package/rollup.config.js +181 -30
- package/src/appConfigurationManagementClient.ts +82 -35
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +680 -893
- package/src/models/mappers.ts +657 -367
- package/src/models/parameters.ts +126 -44
- package/src/operations/configurationStores.ts +657 -495
- package/src/operations/index.ts +4 -5
- package/src/operations/keyValues.ts +396 -0
- package/src/operations/operations.ts +113 -123
- package/src/operations/privateEndpointConnections.ts +350 -186
- package/src/operations/privateLinkResources.ts +162 -126
- 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 -2213
- 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 -21
- package/esm/appConfigurationManagementClient.d.ts.map +0 -1
- package/esm/appConfigurationManagementClient.js +0 -36
- package/esm/appConfigurationManagementClient.js.map +0 -1
- package/esm/appConfigurationManagementClientContext.d.ts +0 -16
- package/esm/appConfigurationManagementClientContext.d.ts.map +0 -1
- package/esm/appConfigurationManagementClientContext.js +0 -56
- 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 -1073
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -31
- 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 -11
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -108
- 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 +0 -9
- package/esm/models/privateLinkResourcesMappers.js.map +0 -1
- package/esm/operations/configurationStores.d.ts +0 -243
- package/esm/operations/configurationStores.d.ts.map +0 -1
- package/esm/operations/configurationStores.js +0 -466
- 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/operations.d.ts +0 -67
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -111
- 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 -236
- 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 -117
- package/esm/operations/privateLinkResources.js.map +0 -1
- package/src/appConfigurationManagementClientContext.ts +0 -62
- package/src/models/configurationStoresMappers.ts +0 -30
- package/src/models/operationsMappers.ts +0 -16
- package/src/models/privateEndpointConnectionsMappers.ts +0 -24
- package/src/models/privateLinkResourcesMappers.ts +0 -13
|
@@ -1,28 +1,37 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
* license information.
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
5
4
|
*
|
|
6
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
9
7
|
*/
|
|
10
8
|
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
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";
|
|
14
13
|
import * as Parameters from "../models/parameters";
|
|
15
|
-
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";
|
|
16
24
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
25
|
+
/// <reference lib="esnext.asynciterable" />
|
|
26
|
+
/** Class containing PrivateLinkResources operations. */
|
|
27
|
+
export class PrivateLinkResourcesImpl implements PrivateLinkResources {
|
|
28
|
+
private readonly client: AppConfigurationManagementClient;
|
|
20
29
|
|
|
21
30
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
31
|
+
* Initialize a new instance of the class PrivateLinkResources class.
|
|
32
|
+
* @param client Reference to the service client
|
|
24
33
|
*/
|
|
25
|
-
constructor(client:
|
|
34
|
+
constructor(client: AppConfigurationManagementClient) {
|
|
26
35
|
this.client = client;
|
|
27
36
|
}
|
|
28
37
|
|
|
@@ -30,169 +39,196 @@ export class PrivateLinkResources {
|
|
|
30
39
|
* Gets the private link resources that need to be created for a configuration store.
|
|
31
40
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
32
41
|
* @param configStoreName The name of the configuration store.
|
|
33
|
-
* @param
|
|
34
|
-
* @returns Promise<Models.PrivateLinkResourcesListByConfigurationStoreResponse>
|
|
42
|
+
* @param options The options parameters.
|
|
35
43
|
*/
|
|
36
|
-
listByConfigurationStore(
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
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(
|
|
53
85
|
resourceGroupName,
|
|
54
86
|
configStoreName,
|
|
87
|
+
continuationToken,
|
|
55
88
|
options
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
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
|
+
}
|
|
59
107
|
}
|
|
60
108
|
|
|
61
109
|
/**
|
|
62
|
-
* Gets
|
|
63
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
64
|
-
* @param configStoreName The name of the configuration store.
|
|
65
|
-
* @param groupName The name of the private link resource group.
|
|
66
|
-
* @param [options] The optional parameters
|
|
67
|
-
* @returns Promise<Models.PrivateLinkResourcesGetResponse>
|
|
68
|
-
*/
|
|
69
|
-
get(resourceGroupName: string, configStoreName: string, groupName: string, options?: msRest.RequestOptionsBase): Promise<Models.PrivateLinkResourcesGetResponse>;
|
|
70
|
-
/**
|
|
110
|
+
* Gets the private link resources that need to be created for a configuration store.
|
|
71
111
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
72
112
|
* @param configStoreName The name of the configuration store.
|
|
73
|
-
* @param
|
|
74
|
-
* @param callback The callback
|
|
113
|
+
* @param options The options parameters.
|
|
75
114
|
*/
|
|
76
|
-
|
|
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
|
+
|
|
77
126
|
/**
|
|
127
|
+
* Gets a private link resource that need to be created for a configuration store.
|
|
78
128
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
|
79
129
|
* @param configStoreName The name of the configuration store.
|
|
80
130
|
* @param groupName The name of the private link resource group.
|
|
81
|
-
* @param options The
|
|
82
|
-
* @param callback The callback
|
|
131
|
+
* @param options The options parameters.
|
|
83
132
|
*/
|
|
84
|
-
get(
|
|
85
|
-
|
|
133
|
+
get(
|
|
134
|
+
resourceGroupName: string,
|
|
135
|
+
configStoreName: string,
|
|
136
|
+
groupName: string,
|
|
137
|
+
options?: PrivateLinkResourcesGetOptionalParams
|
|
138
|
+
): Promise<PrivateLinkResourcesGetResponse> {
|
|
86
139
|
return this.client.sendOperationRequest(
|
|
87
|
-
{
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
groupName,
|
|
91
|
-
options
|
|
92
|
-
},
|
|
93
|
-
getOperationSpec,
|
|
94
|
-
callback) as Promise<Models.PrivateLinkResourcesGetResponse>;
|
|
140
|
+
{ resourceGroupName, configStoreName, groupName, options },
|
|
141
|
+
getOperationSpec
|
|
142
|
+
);
|
|
95
143
|
}
|
|
96
144
|
|
|
97
145
|
/**
|
|
98
|
-
*
|
|
99
|
-
* @param
|
|
100
|
-
* @param
|
|
101
|
-
* @
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
106
|
-
* @param callback The callback
|
|
107
|
-
*/
|
|
108
|
-
listByConfigurationStoreNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.PrivateLinkResourceListResult>): void;
|
|
109
|
-
/**
|
|
110
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
111
|
-
* @param options The optional parameters
|
|
112
|
-
* @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.
|
|
113
152
|
*/
|
|
114
|
-
|
|
115
|
-
|
|
153
|
+
private _listByConfigurationStoreNext(
|
|
154
|
+
resourceGroupName: string,
|
|
155
|
+
configStoreName: string,
|
|
156
|
+
nextLink: string,
|
|
157
|
+
options?: PrivateLinkResourcesListByConfigurationStoreNextOptionalParams
|
|
158
|
+
): Promise<PrivateLinkResourcesListByConfigurationStoreNextResponse> {
|
|
116
159
|
return this.client.sendOperationRequest(
|
|
117
|
-
{
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
},
|
|
121
|
-
listByConfigurationStoreNextOperationSpec,
|
|
122
|
-
callback) as Promise<Models.PrivateLinkResourcesListByConfigurationStoreNextResponse>;
|
|
160
|
+
{ resourceGroupName, configStoreName, nextLink, options },
|
|
161
|
+
listByConfigurationStoreNextOperationSpec
|
|
162
|
+
);
|
|
123
163
|
}
|
|
124
164
|
}
|
|
125
|
-
|
|
126
165
|
// Operation Specifications
|
|
127
|
-
const serializer =
|
|
128
|
-
|
|
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",
|
|
129
171
|
httpMethod: "GET",
|
|
130
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/privateLinkResources",
|
|
131
|
-
urlParameters: [
|
|
132
|
-
Parameters.subscriptionId,
|
|
133
|
-
Parameters.resourceGroupName,
|
|
134
|
-
Parameters.configStoreName
|
|
135
|
-
],
|
|
136
|
-
queryParameters: [
|
|
137
|
-
Parameters.apiVersion
|
|
138
|
-
],
|
|
139
|
-
headerParameters: [
|
|
140
|
-
Parameters.acceptLanguage
|
|
141
|
-
],
|
|
142
172
|
responses: {
|
|
143
173
|
200: {
|
|
144
174
|
bodyMapper: Mappers.PrivateLinkResourceListResult
|
|
145
175
|
},
|
|
146
176
|
default: {
|
|
147
|
-
bodyMapper: Mappers.
|
|
177
|
+
bodyMapper: Mappers.ErrorResponse
|
|
148
178
|
}
|
|
149
179
|
},
|
|
150
|
-
|
|
151
|
-
};
|
|
152
|
-
|
|
153
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
154
|
-
httpMethod: "GET",
|
|
155
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/privateLinkResources/{groupName}",
|
|
180
|
+
queryParameters: [Parameters.apiVersion],
|
|
156
181
|
urlParameters: [
|
|
182
|
+
Parameters.$host,
|
|
157
183
|
Parameters.subscriptionId,
|
|
158
184
|
Parameters.resourceGroupName,
|
|
159
|
-
Parameters.configStoreName
|
|
160
|
-
Parameters.groupName
|
|
161
|
-
],
|
|
162
|
-
queryParameters: [
|
|
163
|
-
Parameters.apiVersion
|
|
164
|
-
],
|
|
165
|
-
headerParameters: [
|
|
166
|
-
Parameters.acceptLanguage
|
|
185
|
+
Parameters.configStoreName
|
|
167
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",
|
|
168
194
|
responses: {
|
|
169
195
|
200: {
|
|
170
196
|
bodyMapper: Mappers.PrivateLinkResource
|
|
171
197
|
},
|
|
172
198
|
default: {
|
|
173
|
-
bodyMapper: Mappers.
|
|
199
|
+
bodyMapper: Mappers.ErrorResponse
|
|
174
200
|
}
|
|
175
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],
|
|
176
211
|
serializer
|
|
177
212
|
};
|
|
178
|
-
|
|
179
|
-
const listByConfigurationStoreNextOperationSpec: msRest.OperationSpec = {
|
|
180
|
-
httpMethod: "GET",
|
|
181
|
-
baseUrl: "https://management.azure.com",
|
|
213
|
+
const listByConfigurationStoreNextOperationSpec: coreClient.OperationSpec = {
|
|
182
214
|
path: "{nextLink}",
|
|
183
|
-
|
|
184
|
-
Parameters.nextPageLink
|
|
185
|
-
],
|
|
186
|
-
headerParameters: [
|
|
187
|
-
Parameters.acceptLanguage
|
|
188
|
-
],
|
|
215
|
+
httpMethod: "GET",
|
|
189
216
|
responses: {
|
|
190
217
|
200: {
|
|
191
218
|
bodyMapper: Mappers.PrivateLinkResourceListResult
|
|
192
219
|
},
|
|
193
220
|
default: {
|
|
194
|
-
bodyMapper: Mappers.
|
|
221
|
+
bodyMapper: Mappers.ErrorResponse
|
|
195
222
|
}
|
|
196
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],
|
|
197
233
|
serializer
|
|
198
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
|
+
}
|